/* ============================================================
   ROOT VARIABLES - RED & ORANGERED GRADIENT THEME
============================================================ */
:root {
  --primary: #e8200a;
  --secondary: #ff4500;
  --accent: #ff6b2b;
  --gradient: linear-gradient(135deg, #e8200a 0%, #ff4500 50%, #ff6b2b 100%);
  --gradient-rev: linear-gradient(135deg, #ff6b2b 0%, #ff4500 50%, #e8200a 100%);
  --glow: rgba(232, 32, 10, 0.35);

  /* Light theme */
  --bg: #ffffff;
  --bg2: #fff5f3;
  --bg3: #ffe8e3;
  --surface: #ffffff;
  --surface2: #f9f9f9;
  --text: #1a1a1a;
  --text2: #444444;
  --text3: #777777;
  --border: rgba(232, 32, 10, 0.15);
  --shadow: rgba(0,0,0,0.08);
  --topbar-bg: #1a0500;
  --topbar-text: #ffffff;
  --nav-bg: rgba(255,255,255,0.95);
  --nav-scroll-bg: rgba(255,255,255,0.98);
  --card-bg: #ffffff;
  --footer-bg: #0f0200;
}

[data-theme="dark"] {
  --bg: #0d0302;
  --bg2: #150503;
  --bg3: #1e0705;
  --surface: #1a0805;
  --surface2: #220a06;
  --text: #f5f5f5;
  --text2: #cccccc;
  --text3: #999999;
  --border: rgba(232, 32, 10, 0.25);
  --shadow: rgba(0,0,0,0.5);
  --nav-bg: rgba(13,3,2,0.95);
  --nav-scroll-bg: rgba(13,3,2,0.99);
  --card-bg: #1a0805;
  --footer-bg: #060100;
}

div p{
  text-align: justify !important;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   TOPBAR (desktop only)
============================================================ */
#topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(232,32,10,0.4);
  display: block;
}

#topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#topbar .topbar-email a {
  color: #ffaa88;
  font-size: 13px;
  transition: color 0.3s;
}
#topbar .topbar-email a:hover { color: var(--accent); }
#topbar .topbar-email i { margin-right: 6px; }

#topbar .topbar-social a {
  color: rgba(255,255,255,0.7);
  margin-left: 12px;
  font-size: 15px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
#topbar .topbar-social a:hover { color: var(--accent); transform: scale(1.2); }

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, box-shadow 0.4s;
  padding: 0;
}

#mainNav.scrolled {
  background: var(--nav-scroll-bg);
  box-shadow: 0 4px 30px var(--shadow);
}

#mainNav .navbar-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

#mainNav .navbar-brand span {
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text2) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s, background 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }

/* Theme Toggle */
#themeToggle {
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  width: 26px; height: 26px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 0 3px var(--border);
  margin-left: 10px;
}
#themeToggle:hover { transform: rotate(30deg) scale(1.1); box-shadow: 0 0 14px var(--glow); }

/* Hamburger custom */
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger-icon span {
  display: block; width: 26px; height: 2.5px;
  background: var(--gradient);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   SIDEMENU (mobile right-to-left)
============================================================ */
#sideMenu {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: var(--surface);
  z-index: 1100;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 2px solid var(--border);
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  overflow-y: auto;
  padding: 0;
}

#sideMenu.open { right: 0; }

.side-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: var(--gradient);
}

.side-menu-header .brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

#sideMenuClose {
  background: rgba(255,255,255,0.2);
  border: none; border-radius: 8px;
  width: 36px; height: 36px;
  color: #fff; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
#sideMenuClose:hover { background: rgba(255,255,255,0.35); }

.side-nav-links { padding: 20px 0; }

.side-nav-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 500;
  color: var(--text2);
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.side-nav-links a i {
  width: 20px; text-align: center; color: var(--primary);
}

.side-nav-links a:hover,
.side-nav-links a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--bg2);
  padding-left: 30px;
}

.side-social {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px;
}
.side-social a {
  width: 38px; height: 38px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 16px;
  transition: all 0.3s;
}
.side-social a:hover { background: var(--gradient); color: #fff; }

/* Overlay */
#sideOverlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1099;
  backdrop-filter: blur(2px);
}
#sideOverlay.show { display: block; }

/* mobile responsive website logo */
@media(max-width:500px){
  .nav-logo{
    width : 40px !important;
  }
  .navbar-brand{
    font-size: 16px !important;
  }
}

/* ============================================================
   BACKGROUND CANVAS ANIMATION
============================================================ */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  min-height: 92vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,32,10,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,69,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  animation: slideDown 0.6s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .outline-text {
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text3);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.btn-primary-custom {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px var(--glow);
  position: relative; overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary-custom:hover::before { transform: translateX(0); }
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--glow);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--glow);
}

/* Hero Graphic */
.hero-graphic {
  position: relative;
}

.hero-card-float {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card-float::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px var(--shadow);
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  animation: float 3s ease-in-out infinite;
  min-width: 140px;
}

.stat-card:nth-child(2) { animation-delay: 1.5s; }

.stat-card .icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  flex-shrink: 0;
}

.stat-card .val {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-card .lbl {
  font-size: 11px; color: var(--text3); margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   SECTIONS COMMON
============================================================ */
section { padding: 90px 0; }

.section-tag {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text3);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
}

/* Divider line */
.gradient-divider {
  height: 4px;
  background: var(--gradient);
  border-radius: 4px;
  width: 60px;
  margin-bottom: 24px;
}

/* ============================================================
   CARDS
============================================================ */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--shadow);
  border-color: rgba(232,32,10,0.3);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px var(--glow);
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }

.feature-card h5 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}

.feature-card p {
  color: var(--text3); font-size: 14px; line-height: 1.7;
}

/* Stats Row */
.stat-block {
  text-align: center; padding: 24px;
}
.stat-block .number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-block .label {
  color: var(--text3); font-size: 14px; margin-top: 6px;
}

/* ============================================================
   SERVICE CARDS
============================================================ */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--shadow);
}

.service-card-header {
  background: var(--gradient);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.service-card-header::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.service-card-header i {
  font-size: 2rem; color: #fff; position: relative; z-index: 1;
}

.service-card-header h5 {
  font-family: 'Syne', sans-serif;
  color: #fff; font-size: 1.15rem; font-weight: 700;
  margin-top: 12px; position: relative; z-index: 1;
}

.service-card-body { padding: 24px; }
.service-card-body p { color: var(--text3); font-size: 14px; line-height: 1.7; }
.service-card-body ul li {
  color: var(--text2); font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.service-card-body ul li:last-child { border-bottom: none; }
.service-card-body ul li i { color: var(--primary); font-size: 11px; }

/* ============================================================
   PROJECT CARDS
============================================================ */
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--shadow);
}

.project-img {
  height: 200px;
  /* background: var(--gradient); */
  background: transparent;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.project-img-inner {
  font-size: 4rem; 
  /* opacity: 0.3; */
}

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  gap: 12px;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay a {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 16px;
  transition: all 0.3s;
}
.project-overlay a:hover { background: var(--gradient); color: #fff; }

.project-body { padding: 22px; }
.project-body .tag {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}
.project-body h5 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.project-body p { color: var(--text3); font-size: 13px; line-height: 1.6; }

.tech-badge {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px; font-weight: 600;
  margin: 3px 2px;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-img-wrap {
  position: relative; padding: 20px;
}

.about-img-box {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--gradient);
  height: 420px;
  display: flex; align-items: center; justify-content: center;
}

.about-img-box .big-icon {
  font-size: 8rem;
  color: rgba(255,255,255,0.2);
}

.about-img-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.3), transparent);
}

.about-badge-float {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 10px 40px var(--shadow);
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.about-badge-float .icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}

.value-item {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:last-child { border-bottom: none; }

.value-icon {
  width: 44px; height: 44px;
  background: var(--bg2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.value-item:hover .value-icon {
  background: var(--gradient); color: #fff;
}

.value-item h6 {
  font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.value-item p { color: var(--text3); font-size: 13px; line-height: 1.6; }

/* Team */
.team-card {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem; color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 20px var(--glow);
}
.team-card h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem; color: var(--text);
}
.team-card .role { color: var(--primary); font-size: 13px; margin-bottom: 12px; }
.team-social a {
  margin: 0 5px; color: var(--text3); font-size: 15px; transition: color 0.3s;
}
.team-social a:hover { color: var(--primary); }

/* ============================================================
   CONTACT
============================================================ */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px var(--shadow);
}
.contact-info-card .ci-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card h6 { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-info-card p { color: var(--text3); font-size: 14px; margin: 0; }

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px var(--shadow);
}

.form-label {
  font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px;
}

.form-control, .form-select {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
  background: var(--bg2);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,32,10,0.1);
  color: var(--text);
}
.form-control::placeholder { color: var(--text3); }

textarea.form-control { resize: none; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: var(--bg2);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(232,32,10,0.08) 0%, transparent 70%);
}

.page-hero .breadcrumb {
  background: none; padding: 0; margin-bottom: 16px;
  --bs-breadcrumb-divider-color: var(--text3);
}
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text3); }

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: var(--text); line-height: 1.1;
}
.page-hero p { color: var(--text3); font-size: 1.05rem; max-width: 100%; }

/* ============================================================
   FILTER TABS (projects)
============================================================ */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--glow);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px; margin-right: 8px;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--gradient); color: #fff; border-color: transparent;
}

.footer-heading {
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 20px;
  position: relative; padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--gradient);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a i { font-size: 10px; color: var(--primary); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.5); font-size: 14px;
}
.footer-contact li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  margin-top: 50px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom span { color: var(--primary); }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ============================================================
   SCROLL TO TOP
============================================================ */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--gradient);
  color: #fff; border: none; border-radius: 12px;
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px var(--glow);
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s; z-index: 900;
}
#scrollTop.show { opacity: 1; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-3px); box-shadow: 0 10px 28px var(--glow); }

/* ============================================================
   PRELOADER
============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-bar {
  width: 200px; height: 4px;
  background: var(--bg3);
  border-radius: 4px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: var(--gradient);
  border-radius: 4px;
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ============================================================
   PROGRESS BARS
============================================================ */
.skill-bar { margin-bottom: 20px; }
.skill-bar label {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600;
  color: var(--text2); margin-bottom: 6px;
}
.skill-track {
  height: 8px; background: var(--bg3);
  border-radius: 8px; overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 8px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   TIMELINE
============================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -28px; top: 4px;
  width: 16px; height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item h6 {
  font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.timeline-item .meta {
  font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 6px;
}
.timeline-item p { color: var(--text3); font-size: 13px; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {
  #topbar { display: none !important; }
  .hero-section { text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-graphic { margin-top: 40px; }
  .stat-card { display: none; }
  .section-desc { margin: 0 auto; }
}

@media (max-width: 576px) {
  section { padding: 60px 0; }
  .contact-form-card { padding: 24px; }
  .hero-title { font-size: 2rem; }
}

/* Animate.css custom delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* BG gradient sections */
.bg-gradient-section {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.bg-gradient-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,32,10,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Map placeholder */
.map-placeholder {
  height: 350px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  color: var(--text3); font-size: 15px;
}
.map-placeholder i { font-size: 3rem; color: var(--primary); opacity: 0.5; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-bg);
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--text);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--primary); }
.faq-question i { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-question.open i { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text3); font-size: 14px; line-height: 1.7;
}
.faq-answer.open { max-height: 200px; padding: 0 22px 18px; }