:root {
  --bg: #050816;
  --bg-card: #0b1020;
  --accent: #06b6d4;
  --accent-soft: rgba(6, 182, 212, 0.1);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --radius-lg: 14px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}


/* ========== NAVIGATION ========== */
nav {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  padding: 16px 0;
  margin-bottom: 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .page {
  padding: 0 16px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
}

/* Desktop Links */
.nav-links {
  display: flex;
  flex-wrap: wrap; /* This ensures items wrap if they exceed 100% width on desktop */
  justify-content: flex-end; 
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevents individual link text from breaking into two lines */
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* Hamburger Button Styles (Hidden on Desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger Animation turning into an "X" */
.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Layout */
@media (max-width: 850px) { /* Increased breakpoint to 850px because of 6 items */
  .menu-toggle {
    display: block; /* Show hamburger button */
  }

  .nav-links {
    display: none; /* Hide standard row */
    flex-direction: column;
    width: 100%;
    background: rgba(15, 23, 42, 0.98); 
    position: absolute;
    top: 55px; /* Drops right below the nav bar */
    left: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    gap: 0;
  }

  /* When JS adds '.active' class, show the mobile menu */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 0;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separator lines */
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a.active {
    border-bottom: none;
    color: var(--accent);
  }
}

/* ========== HERO ========== */

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  padding: 24px 20px;
  border-radius: 18px;
  background: linear-gradient(
      130deg,
      rgba(6, 182, 212, 0.08),
      rgba(248, 250, 252, 0.02)
    ),
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.25), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 80% 0, rgba(52, 211, 153, 0.16), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-bottom: 4px;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 640px;
}

/* ========== SECTION TITLE ========== */

.section-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 16px;
}

/* ========== PROJECT GRID (HOME PAGE) ========== */

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project-card {
  background: linear-gradient(160deg, #020617, #020617 45%, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.project-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 20% 0%, #1d4ed8, #020617 60%);
  position: relative;
  overflow: hidden;
}

.project-media-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.project-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-accent {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(8, 47, 73, 0.9);
  color: #e0f2fe;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.project-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-title {
  font-size: 15px;
  font-weight: 600;
}

.project-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.project-impact {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-impact-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
  font-size: 11px;
}

.project-impact-main {
  font-size: 12px;
  color: #e5e7eb;
}

.project-section-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 2px;
}

.project-text {
  font-size: 13px;
  color: var(--text-main);
}

.project-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.project-list li::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent);
}

.project-footer {
  padding: 0 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  margin-top: auto;
}

.stack-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
}

/* ========== SKILLS ========== */

.skills {
  margin-bottom: 40px;
}

.skills-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .skills-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.skills-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 16px 14px 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.8);
}

.skills-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.skill-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

/* ========== ABOUT ========== */

.about {
  margin-bottom: 32px;
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.about-text {
  font-size: 14px;
  color: var(--text-main);
}

/* ========== CONTACT ========== */

.contact {
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 14px;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 2px;
}

.contact-value {
  color: #e5e7eb;
}

.contact-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%);
  font-size: 13px;
  color: #e0f2fe;
}

.contact-cta span {
  font-size: 16px;
}

/* ========== PROJECT DETAIL PAGE ========== */

.project-detail {
  max-width: 900px;
  margin: 0 auto;
}

.project-detail-hero {
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 0%, #1d4ed8, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  position: relative;
}

.project-detail-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.project-detail-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.project-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-detail-section {
  margin-bottom: 32px;
}

.project-detail-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.project-detail-section p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--text-main);
}

.project-detail-section ul {
  list-style: none;
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-detail-section li::before {
  content: "▸ ";
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}

.project-detail-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.metric-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.project-detail-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.7);
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: rgba(6, 182, 212, 0.8);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ========== BACK TO HOME ========== */

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.back-home:hover {
  gap: 12px;
  text-decoration: none;
}

.back-home::before {
  content: "← ";
}


 /* Gallery Styles */
    .project-gallery {
      margin: 40px 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 16px;
    }

    .gallery-item {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      border: 1px solid rgba(148, 163, 184, 0.35);
      transition: all 0.3s ease;
    }

    .gallery-item:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
    }

    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .gallery-item-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
      padding: 16px;
      color: #e5e7eb;
      font-size: 13px;
      font-weight: 500;
    }

    /* Lightbox/Modal Styles */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 1000;
      align-items: center;
      justify-content: center;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox-content {
      position: relative;
      max-width: 90%;
      max-height: 90%;
    }

    .lightbox-image {
      max-width: 100%;
      max-height: 100%;
      border-radius: 8px;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 20px;
      color: #e5e7eb;
      font-size: 32px;
      cursor: pointer;
      background: rgba(0, 0, 0, 0.7);
      border: none;
      padding: 10px 15px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .lightbox-close:hover {
      background: var(--accent);
      color: #020617;
    }

    .gallery-section-title {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: #9ca3af;
      margin-bottom: 16px;
      margin-top: 32px;
    }

        /* Hero Carousel Styles */
    .hero-carousel {
      position: relative;
      width: 100%;
      height: 400px;
      margin-bottom: 40px;
      border-radius: 12px;
      overflow: hidden;
    }

    .carousel-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
    }

    .carousel-slide.active {
      opacity: 1;
      z-index: 10;
    }

    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .carousel-controls {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 20;
    }

    .carousel-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }

    .carousel-dot.active {
      background: #fff;
      width: 32px;
      border-radius: 6px;
    }

    .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      background: rgba(0, 0, 0, 0.5);
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 15;
      border-radius: 4px;
    }

    .carousel-arrow:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    .carousel-arrow.prev {
      left: 20px;
    }

    .carousel-arrow.next {
      right: 20px;
    }

    /* Project Card Image Slider */
    .project-card-carousel {
      position: relative;
      width: 100%;
      height: 200px;
      background: linear-gradient(135deg, #1a4d7f 0%, #0f172a 100%);
      border-radius: 8px 8px 0 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-slide-card {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    .carousel-slide-card.active {
      opacity: 1;
    }

    .carousel-slide-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .project-card-label {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(0, 0, 0, 0.6);
      color: #e5e7eb;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      z-index: 10;
    }

    .card-carousel-controls {
      position: absolute;
      bottom: 12px;
      left: 12px;
      display: flex;
      gap: 6px;
      z-index: 10;
    }

    .card-carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }

    .card-carousel-dot.active {
      background: #fff;
      width: 20px;
      border-radius: 4px;
    }

    .card-carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      background: rgba(0, 0, 0, 0.4);
      border: none;
      color: white;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 15;
      border-radius: 4px;
    }

    .card-carousel-arrow:hover {
      background: rgba(0, 0, 0, 0.7);
    }

    .card-carousel-arrow.prev {
      left: 8px;
    }

    .card-carousel-arrow.next {
      right: 8px;
    }

    /* 2-Column About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 2fr; /* Makes the text column twice as wide as the image */
  }
}

/* Image Column Styles */
.about-image-col {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.about-profile-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.4); /* Cyan accent border */
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-image-backdrop {
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.15), transparent 70%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  z-index: 1;
}

/* Text Column Styles */
.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about-heading span {
  color: var(--accent);
}

.about-text strong {
  color: #fff;
  font-weight: 600;
}

/* Small Stats Row under the story */
.about-stats-row {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-stat .stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.about-stat .stat-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
}

/* About Gallery Carousel Styles */
.about-carousel {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: #0b1020;
}

.about-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.about-carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.about-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots for the About Gallery */
.about-carousel-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.about-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}



.calc-button {
    margin-top: 14px;
    margin-bottom: 13px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 9px 24px;
    border-radius: 999px;
    border: 1px solid rgba(6, 182, 212, 0.7);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%);
    font-size: 13px;
    color: #e0f2fe;
}

    /* Responsive */
    @media (max-width: 768px) {
      .hero-carousel {
        height: 250px;
      }

      .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }

      .carousel-arrow.prev {
        left: 10px;
      }

      .carousel-arrow.next {
        right: 10px;
      }

      .project-card-carousel {
        height: 150px;
      }
    }