/* ADVANCED FRAMER AESTHETIC - TURQUOISE ACCENT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --surface: rgba(249, 250, 251, 0.7);
  --surface-2: rgba(241, 245, 249, 0.8);
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(226, 232, 240, 0.8);
  
  /* Premium Turquoise */
  --accent: #0d9488; 
  --accent-light: #ccfbf1;
  --accent-hover: #0f766e;
  
  --font-s: 'Inter', sans-serif;
  --font-h: 'Outfit', sans-serif;
  
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgb(13 148 136 / 0.1), 0 2px 4px -2px rgb(13 148 136 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-hover: 0 30px 40px -10px rgb(0 0 0 / 0.1), 0 10px 20px -10px rgb(0 0 0 / 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-padding-top: 150px; /* Offset for main nav + sub nav */
  scroll-behavior: smooth;
}

/* LENIS SMOOTH SCROLL RESET */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-s);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* UNIVERSAL GRID BACKGROUND */
.ambient-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image: 
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 20%) scale(1.1); }
  100% { transform: translate(-10%, -10%) scale(0.9); }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 { font-family: var(--font-h); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
img { max-width: 100%; display: block; }

.muted { color: var(--muted); }
.accent-text { color: var(--accent); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-6 { padding-top: 3rem; }
.w-100 { width: 100%; }

/* UTILS */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section { padding: 2.5rem 0; position: relative; }
.bg-alt { background: var(--surface); backdrop-filter: blur(20px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.icon { vertical-align: middle; margin-right: 0.4rem; color: var(--accent); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.5rem 0; z-index: 100;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 5%; position: relative; }
.logo { font-family: var(--font-h); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); z-index: 10; position: relative; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }

@media (min-width: 901px) {
  .nav-links { 
    justify-content: center;
    position: absolute; left: 5%; right: 5%; top: 0; bottom: 0;
    pointer-events: none;
  }
  .nav-links > li { pointer-events: auto; }
  .nav-links > li:last-child { position: absolute; right: 0; }
}
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* SPECIAL NAV BUTTON */
.btn-nav {
  background: var(--text);
  color: #fff !important;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: flex; align-items: center; gap: 0.5rem;
  border: 1px solid transparent;
}

.nav-burger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 101; }
.nav-burger span { display: block; position: absolute; height: 3px; border-radius: 3px; width: 100%; background: var(--accent); transition: 0.3s var(--ease); }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  z-index: 99;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.25rem;
  padding: 6rem 1rem 2rem; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: 0.4s var(--ease);
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-family: var(--font-h); font-size: clamp(1.2rem, 4vh, 1.5rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; transition: transform 0.3s, color 0.3s; }
.nav-mobile a:hover { color: var(--accent); transform: scale(1.05); }

/* DESKTOP DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.5rem 0; min-width: 180px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
  list-style: none; z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li { padding: 0.2rem 1.2rem; display: block; }
.nav-dropdown-menu a { font-size: 0.9rem; color: var(--text); display: block; padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.03); }
.nav-dropdown-menu li:last-child a { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--accent); }

/* MOBILE DROPDOWN */
.mobile-dropdown { text-align: center; width: 100%; }
.mobile-dropdown summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-h); font-size: clamp(1.2rem, 4vh, 1.5rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; transition: color 0.3s;
}
.mobile-dropdown summary::-webkit-details-marker { display: none; }
.mobile-dropdown summary:hover { color: var(--accent); }
.mobile-dropdown-content { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; margin-bottom: 0.5rem; }
.mobile-dropdown-content a { font-family: var(--font-s); font-size: clamp(1rem, 3vh, 1.2rem); font-weight: 500; color: var(--muted); }

/* HERO - SPLIT LAYOUT */
.hero-split {
  padding: 7rem 0 3rem;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hero-split p { margin: 1.5rem 0 2.5rem; font-size: 1.25rem; max-width: 500px; }
.hero-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-hover);
  position: relative;
}
.hero-img-box img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 900px) {
  .section { padding: 1.5rem 0; }
  .page-hero { padding: 5rem 0 2rem; min-height: unset; }
  footer { padding: 1.5rem 0 1rem; }
  .hero-split { grid-template-columns: 1fr; text-align: center; padding-top: 6rem; }
  .hero-split p { margin-left: auto; margin-right: auto; }
  .hero-img-box { aspect-ratio: 16/9; max-width: 600px; margin: 0 auto; }
}

/* GENERIC HERO (Other Pages) */
.page-hero {
  padding: 7rem 0 3rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh;
}
.page-hero p { margin: 1.5rem auto 0; font-size: 1.25rem; max-width: 650px; }

/* =========================================
   TABLE STYLES FOR PROJECTS PAGE
   ========================================= */
.tbl-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  min-width: 800px;
}
.data-table th, .data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--surface-2);
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}
.data-table tr:hover {
  background: var(--surface);
}
.data-table td {
  color: var(--muted);
  font-size: 0.95rem;
  vertical-align: top;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 100px;
  font-weight: 500; font-size: 1rem; cursor: pointer;
  border: none; white-space: nowrap;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); border: 1px solid var(--border); color: var(--text); }

/* =========================================
   SHOWCASE GRID & ACCORDION
   ========================================= */
/* SHOWCASE GRID (Projects) */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 3.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.showcase-card:nth-child(even) .showcase-content {
  order: 2;
}
.showcase-card:nth-child(even) .showcase-media {
  order: 1;
}
.showcase-media img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .showcase-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .showcase-card:nth-child(even) .showcase-content,
  .showcase-card:nth-child(even) .showcase-media {
    order: unset;
  }
}

/* ACCORDION LIST */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.accordion-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion-header:hover {
  background: rgba(255, 255, 255, 0.8);
}
.accordion-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.accordion-num {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  width: 25px;
}
.accordion-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}
.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--muted);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content {
  padding: 0 2rem 2rem 5rem;
}
@media (max-width: 600px) {
  .accordion-title { gap: 1rem; flex-direction: column; align-items: flex-start; }
  .accordion-content { padding: 0 1.5rem 1.5rem 1.5rem; }
  .accordion-header { padding: 1.25rem 1.5rem; }
}

/* CARDS & GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* PREMIUM CARDS (matching testimonial box) */
.premium-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.premium-h2 {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 3rem;
}

/* SKILLS / PILLS */
.pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pill {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  background: var(--surface-2); color: var(--text);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill-tag {
  background: rgba(255,255,255,0.9); border: 1px solid var(--border); color: var(--text);
  padding: 0.5rem 1.2rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* TABLES */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); }
.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th, .tbl td { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.tbl th { background: var(--surface); font-weight: 600; font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tbl tr:last-child td { border-bottom: none; }

/* TIMELINE */
.timeline { border-left: 2px solid var(--border); padding-left: 2rem; margin-left: 1rem; }
.t-item { position: relative; margin-bottom: 2.5rem; }
.t-dot {
  position: absolute; left: -2.4rem; top: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.t-date { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.t-title { font-family: var(--font-h); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.t-org { font-size: 1.1rem; color: var(--accent); margin-bottom: 1rem; }

/* CINEMATIC ANIMATIONS (GSAP Controlled) */
.reveal {
  opacity: 0; 
  visibility: hidden;
}

/* FOOTER */
footer { background: #050505; color: #ffffff; padding: 3rem 0 1rem; border-top: none; position: relative; z-index: 20; }
footer .logo { color: #ffffff !important; }
footer .logo span { color: var(--accent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; gap: 2rem; margin-bottom: 4rem; }
.foot-col h5 { font-size: 1rem; margin-bottom: 1.5rem; color: #ffffff; }
.foot-col p { color: rgba(255,255,255,0.7) !important; }
.foot-col a { display: block; margin-bottom: 0.8rem; color: rgba(255,255,255,0.7) !important; transition: color 0.3s ease; }
.foot-col a:hover { color: #ffffff !important; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.foot-bottom p { color: rgba(255,255,255,0.5) !important; }

/* MISC COMPONENTS */
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 1rem; }
.sec-hd { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .section { padding: 1.5rem 0; }
  .page-hero { padding: 5rem 0 2rem; min-height: unset; }
  footer { padding: 1.5rem 0 1rem; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4, .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* TESTIMONIALS SWIPER & SCROLL */
.testimonial-swiper {
  width: 100%;
}
.rec-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.rec-text-scroll {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 10px;
}
.rec-text-scroll::-webkit-scrollbar { width: 6px; }
.rec-text-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.rec-text-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }

.add-testimonial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 50%;
  font-size: 1.5rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.add-testimonial-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 25px rgba(13, 148, 136, 0.4);
}
@media (max-width: 900px) {
  .add-testimonial-btn {
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    margin-top: 1rem;
  }
  .add-testimonial-btn:hover {
    transform: scale(1.1);
  }
}
.rec-author { display: flex; align-items: center; gap: 1rem; }
.rec-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-light); flex-shrink: 0; }
.rec-author strong { display: block; color: var(--text); font-family: var(--font-h); font-size: 1.1rem; }
.rec-author span { font-size: 0.85rem; color: var(--muted); }

/* CONTACT PAGE "LOVABLE" UI */
/* CONTACT PAGE "LOVABLE" UI */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  padding: 3rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  position: sticky;
  top: 130px;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 4px var(--accent-light);
}

/* PROBLEM CARDS STYLING */
.problem-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}
.problem-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}
.problem-card i {
  font-size: 1.8rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.problem-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.problem-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.problem-card:hover i {
  color: var(--accent);
}
.problem-card.active {
  background: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.15);
}
.problem-card.active i {
  color: var(--accent);
}
.problem-card.active span {
  color: var(--accent-hover);
}
.problem-card .subtext {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: normal;
  margin-top: 2px;
  line-height: 1.3;
}
.problem-card.active .subtext {
  color: var(--accent);
}

/* SUPPORT BADGES */
.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
}
.bmac-badge {
  background: #FFDD00;
  color: #000000 !important;
}
.bmac-badge:hover {
  background: #ffea5c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.selar-badge {
  background: #E51A4B;
  color: #ffffff !important;
}
.selar-badge:hover {
  background: #ff3e6c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .section { padding: 1.5rem 0; }
  .page-hero { padding: 5rem 0 2rem; min-height: unset; }
  footer { padding: 1.5rem 0 1rem; }
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-card { position: static; padding: 2rem; }
}

/* PROJECT CATEGORY FILTER */
.proj-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.proj-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.proj-filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg);
}
.proj-filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.proj-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.proj-count span {
  color: var(--accent);
}
/* Card show/hide animation */
.card[data-category] {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.card.proj-hidden {
  display: none;
}
tr.proj-hidden {
  display: none;
}
@media (max-width: 600px) {
  .proj-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .proj-filter-bar::-webkit-scrollbar { display: none; }
}

/* IMAGE PLACEHOLDERS & MASONRY */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.work-img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}
.work-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work-img-wrap:hover img { transform: scale(1.05); }

/* GALLERY SWIPER */
.gallery-swiper-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-swiper-wrapper swiper-container {
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.gallery-swiper-wrapper swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.gallery-swiper-wrapper swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* MODAL & CAROUSEL STYLES */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; transition: opacity 0.3s var(--ease);
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
  background: var(--bg); border-radius: var(--r-md);
  width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto;
  position: relative; padding: 2rem; box-shadow: var(--shadow-hover);
  transform: translateY(20px); transition: transform 0.3s var(--ease);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--surface); border: none; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; color: var(--text); z-index: 10;
  transition: background 0.3s;
}
.modal-close:hover { background: var(--border); }
.modal-body { margin-top: 1rem; }

/* Carousel */
.carousel-container {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--r-md); background: var(--surface); margin-bottom: 1.5rem;
}
.carousel-track {
  display: flex; transition: transform 0.4s var(--ease);
}
.carousel-slide {
  min-width: 100%; display: flex; flex-direction: column;
}
.carousel-slide img {
  width: 100%; height: auto; max-height: 500px; object-fit: contain; background: #000;
}
.carousel-caption {
  padding: 1rem; font-size: 0.9rem; color: var(--muted); text-align: center; background: var(--surface-2);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.8); border: none; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; box-shadow: var(--shadow-sm); z-index: 5;
}
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Clickable News Card */
.news-card { cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card .work-img-wrap { height: 200px; margin-bottom: 1.5rem; border-radius: var(--r-sm); }


/* FILTER BUTTONS */
.filter-btn {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 0.5rem 1.5rem; border-radius: 100px; font-weight: 500; cursor: pointer;
  transition: all 0.3s var(--ease); font-size: 0.95rem;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* CREATIVE HERO - LANDING PAGE */
.hero-creative {
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-hello {
  position: relative;
  margin-bottom: 2rem;
  z-index: 10;
}

/* HERO PREMIUM */
.hero-premium {
  width: 100%;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg);
  z-index: 1; 
  overflow: hidden;
}

.premium-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),

}

.premium-content {
  position: relative;
  width: 100%;
  padding-top: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.premium-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-s);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.premium-eyebrow .line {
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.premium-h1 {
  font-family: var(--font-h);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 1rem 0;
}

.premium-desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 3rem 0;
}

.premium-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
}

/* Restored Premium Buttons */
.btn-pro-dark {
  background: var(--text);
  color: #fff !important;
  padding: 1rem 2.2rem;
  border-radius: 50px; /* pill shape for a more premium modern look */
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-pro-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(253, 133, 58, 0.3);
}

.btn-pro-outline {
  background: transparent;
  color: var(--text) !important;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}
.btn-pro-outline:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.03);
}

/* Pulsing Beep Arrow */
.pulse-arrow {
  position: absolute;
  left: -45px;
  top: 50%;
  margin-top: -12px; /* Half height */
  animation: pulse-beep 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes pulse-beep {
  0% { transform: translateX(0) scale(1); opacity: 0.5; }
  50% { transform: translateX(10px) scale(1.1); opacity: 1; }
  100% { transform: translateX(0) scale(1); opacity: 0.5; }
}

.premium-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.premium-img {
  width: 100%;
  max-width: 600px;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.premium-testimonial {
  position: absolute;
  top: 30%;
  left: 0;
  transform: translateX(-40%);
  display: flex;
  align-items: center;
  z-index: 10;
}
.testimonial-line {
  width: 120px;
  height: 1px;
  background-color: var(--border);
}
.testimonial-box {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  max-width: 280px;
}
.testimonial-box p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.8rem;
  color: var(--text);
  line-height: 1.5;
}
.testimonial-box span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Ensure the rest of the page slides over the hero */
.parallax-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--bg);
  background-image: 
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.05);
  padding-top: 4rem; /* add padding so it looks like a card */
  margin-top: 100vh; /* Start the content below the fixed hero */
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 900px) {
  .premium-testimonial {
    display: none;
  }
  .premium-content {
    padding-top: 16vh;
    padding-left: 5%;
    padding-right: 5%;
  }
  .premium-img {
    max-width: 90%;
  }
}

/* SUB-NAVIGATION & DYNAMIC GALLERY */
.sub-nav {
  position: sticky !important;
  top: 70px !important;
  z-index: 90 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.sub-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}
.sub-nav a:hover {
  color: var(--accent);
}
.gallery-folders {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-folder-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--font-s);
}
.gallery-folder-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.gallery-folder-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.gallery-item:hover {
  transform: scale(1.02);
}

/* FILE EXPLORER FOLDER STYLE */
.gallery-folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.folder-card {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.folder-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.folder-card:hover .folder-icon-wrapper {
  background: var(--accent-light);
  color: var(--accent);
}
.folder-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(100, 116, 139, 0.08);
  border-radius: 10px;
  padding: 0.6rem;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.folder-card[data-folder="ALL"] .folder-icon-wrapper {
  background: var(--accent-light);
  color: var(--accent);
}
.folder-info {
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.folder-name {
  font-weight: 600;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-meta {
  font-size: 0.8rem;
  margin: 2px 0 0 0;
  color: var(--muted);
}


