@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter:wght@300;400;500;600;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Brand Colors */
  --primary-yellow: #fdbb11;
  
  /* Depth Dark Theme Colors */
  --dark-base: #080a0a;
  --dark-depth: #111414;
  --dark-card: #181d1d;
  
  /* Light Theme Colors */
  --light-base: #ffffff;
  --light-depth: #f3f4f4;
  --light-card: #ffffff;
  
  /* Typography Colors */
  --text-dark: #1c2020;
  --text-light: #f4f6f6;
  --text-muted: #788282;
  
  /* Borders & Shadows */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.06);
  --glow-yellow: rgba(253, 187, 17, 0.15);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
  
  /* Fonts */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Fira Code', monospace;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 12px;
}

/* CSS Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light-base);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--border-radius);
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

img:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22), 0 0 25px var(--glow-yellow);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-yellow); }
.text-secondary { color: var(--primary-yellow); }

.bg-dark { 
  background-color: var(--dark-base); 
  color: var(--text-light); 
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--text-light);
}

.bg-darker { 
  background-color: #030404; 
  color: var(--text-light); 
}

.bg-light { 
  background-color: var(--light-depth); 
}

.bg-yellow { 
  background-color: var(--primary-yellow); 
  color: var(--dark-base); 
}
.bg-yellow h2, .bg-yellow p {
  color: var(--dark-base);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--primary-yellow);
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
}

/* Decorative background lighting accents */
.bg-glow-wrapper {
  position: relative;
  overflow: hidden;
}
.bg-glow-light {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(253, 187, 17, 0.05) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i, .btn svg {
  transition: var(--transition);
}

.btn:hover i, .btn:hover svg {
  transform: translateX(5px);
}

/* Base Contextual Buttons (defaults to light background style) */
.btn-secondary {
  background-color: var(--primary-yellow);
  color: var(--dark-base);
  border: 2px solid var(--primary-yellow);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: transparent;
  color: var(--dark-base);
  border-color: rgba(8, 10, 10, 0.5);
  box-shadow: 0 10px 25px rgba(253, 187, 17, 0.25);
}

/* On dark backgrounds */
header .btn-secondary,
.bg-dark .btn-secondary,
.bg-darker .btn-secondary,
.scrollytelling-card .btn-secondary,
.hero .btn-secondary,
.contact-form .btn-secondary {
  background-color: var(--primary-yellow);
  color: var(--dark-base);
  border-color: var(--primary-yellow);
}
header .btn-secondary:hover,
.bg-dark .btn-secondary:hover,
.bg-darker .btn-secondary:hover,
.scrollytelling-card .btn-secondary:hover,
.hero .btn-secondary:hover,
.contact-form .btn-secondary:hover {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

/* On yellow backgrounds (.bg-yellow) */
.bg-yellow .btn-secondary {
  background-color: var(--dark-base);
  color: var(--text-light);
  border-color: var(--dark-base);
}
.bg-yellow .btn-secondary:hover {
  background-color: transparent;
  color: var(--dark-base);
  border-color: rgba(8, 10, 10, 0.5);
  box-shadow: 0 10px 25px rgba(8, 10, 10, 0.25);
}

/* Header & Navbar (Glassmorphism) */
header {
  background-color: rgba(8, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 120px;
  margin: -36px 0;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  transition: none;
}

.logo-img:hover {
  box-shadow: none !important;
  transform: none !important;
}



.logo-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0px;
  color: var(--text-light);
}
.logo-text span {
  color: var(--primary-yellow);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a5b4b4;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-yellow);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-yellow);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 650px;
  background: url('./assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 10, 10, 0.95) 0%, rgba(8, 10, 10, 0.6) 50%, rgba(8, 10, 10, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 850px;
}

.hero-content h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  color: #b1b9b9;
  max-width: 650px;
  line-height: 1.6;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layout Overlaps & Asymmetric Grids */
.about-grid, .why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  position: relative;
  z-index: 2;
}

.overlap-image-wrapper {
  position: relative;
  padding: 20px;
}

.overlap-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  border: 3px solid var(--primary-yellow);
  border-radius: var(--border-radius);
  z-index: 0;
  pointer-events: none;
}

.overlap-image-wrapper img {
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
}

/* Premium Cards & Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--dark-depth);
  padding: 45px 35px;
  border-radius: var(--border-radius);
  text-align: left;
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary-yellow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-yellow);
  border-color: rgba(253, 187, 17, 0.3);
}

.service-card:hover::before {
  height: 100%;
}

.service-card .icon {
  margin-bottom: 25px;
  color: var(--primary-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(253, 187, 17, 0.06);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.service-card:hover .icon {
  background-color: var(--primary-yellow);
  color: var(--dark-base);
  transform: rotate(5deg) scale(1.05);
}

.service-card .icon .lucide {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.service-card p {
  color: #9ab0b0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 25px;
  color: var(--primary-yellow);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card .read-more span {
  transition: var(--transition);
}

.service-card:hover .read-more span {
  transform: translateX(5px);
}

/* Features list with technical indicators */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.features-list li {
  position: relative;
  padding-left: 45px;
}

.features-list li .feature-icon {
  position: absolute;
  left: 0;
  top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(253, 187, 17, 0.08);
  color: var(--primary-yellow);
  border-radius: 50%;
}

.features-list li strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-weight: 700;
}

.features-list li p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background-color: var(--dark-depth);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  color: var(--text-light);
  position: relative;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-yellow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 20px var(--glow-yellow);
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--primary-yellow);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.value-card h3 .lucide {
  color: var(--primary-yellow);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.value-card p {
  color: #9ab0b0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Leadership Message */
.leadership-section {
  background-color: var(--dark-depth);
  border-radius: 12px;
  padding: 60px;
  border: 1px solid var(--border-dark);
  margin-top: 50px;
  border-left: 6px solid var(--primary-yellow);
  position: relative;
}

.leadership-quote {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
}

.leadership-author {
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--primary-yellow);
  font-size: 1.1rem;
}

.leadership-title {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 5px;
  text-transform: uppercase;
}

/* Project Support Box (Asymmetric Detail) */
.project-support-box {
  background-color: var(--dark-depth);
  color: var(--text-light);
  border-radius: 12px;
  padding: 60px;
  margin-top: 80px;
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.project-support-box::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 187, 17, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.project-support-box h2 {
  font-size: 2.2rem;
  color: var(--primary-yellow);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: -0.5px;
}

.project-support-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #b1b9b9;
  margin-bottom: 20px;
  max-width: 900px;
}

/* Contact layout & Form elements */
.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin-top: 40px;
  border: 4px solid var(--light-card);
}

.contact-form {
  background-color: var(--dark-depth);
  color: var(--text-light);
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--dark-base);
  color: var(--text-light);
  margin-top: 5px;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
  background-color: var(--dark-base);
  box-shadow: 0 0 0 4px var(--glow-yellow);
}

.contact-form form input::placeholder,
.contact-form form textarea::placeholder {
  color: var(--text-muted);
}

/* Contact page icons & tags */
.contact-item-icon {
  color: var(--primary-yellow);
  margin-right: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer Section */
footer {
  background-color: #030404;
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0px;
  color: var(--text-light);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-yellow);
}

.footer-col ul li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  color: #a5b4b4;
}

.footer-col ul li a:hover {
  color: var(--primary-yellow);
  transform: translateX(4px);
}

.footer-col ul li .contact-item-icon {
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page Headers */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #080a0a 0%, #111414 100%);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(253, 187, 17, 0.04) 0%, transparent 70%);
  top: -50px;
  left: -50px;
  pointer-events: none;
}

/* Service item detailed styling on Services page */
.service-item-icon {
  color: var(--primary-yellow);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(253, 187, 17, 0.08);
  border-radius: var(--border-radius);
}

.service-item-icon .lucide {
  width: 44px;
  height: 44px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid, .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.8rem; }
  .section-title { font-size: 2.2rem; }
  
  .menu-toggle {
    display: block !important;
    z-index: 1001;
  }
  
  .nav-links { 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(8, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .leadership-section {
    padding: 30px;
  }
  .project-support-box {
    padding: 35px;
  }
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-sticky:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-sticky svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-sticky svg {
    width: 26px;
    height: 26px;
  }
}

/* 3D Scroll Reveal Animations */
.reveal-container {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.reveal-3d {
  opacity: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), 
              opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), 
              filter 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-3d--flip-up {
  transform: rotateX(-35deg) translateY(60px) translateZ(-80px);
  filter: blur(4px);
}

.reveal-3d--flip-down {
  transform: rotateX(35deg) translateY(-60px) translateZ(-80px);
  filter: blur(4px);
}

.reveal-3d--tilt-left {
  transform: rotateY(-25deg) translateX(-60px) translateZ(-60px);
  filter: blur(4px);
}

.reveal-3d--tilt-right {
  transform: rotateY(25deg) translateX(60px) translateZ(-60px);
  filter: blur(4px);
}

.reveal-3d--scale-up {
  transform: scale(0.85) translateZ(-150px);
  filter: blur(12px);
}

.reveal-3d--unfold {
  transform-origin: top;
  transform: rotateX(-90deg) translateZ(100px);
  filter: blur(8px);
}

.reveal-3d--rotate-glide {
  transform: rotate(-6deg) translateY(70px) translateX(-30px) translateZ(-40px);
  filter: blur(3px);
}

.reveal-visible {
  transform: rotateX(0deg) rotateY(0deg) translateX(0) translateY(0) translateZ(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

/* Reduced Motion Compatibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-3d {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ScrollFloat styles from React Bits */
.scroll-float {
  overflow: hidden;
  display: block;
}

.scroll-float-text {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: inherit;
  line-height: inherit;
  color: inherit;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

/* Scrollytelling 3D Experience styles */
.scrollytelling-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Pinned by ScrollTrigger */
  background-color: #080a0a;
  overflow: hidden;
  z-index: 10;
}

.scrollytelling-sticky {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #080a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrolly-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.scrollytelling-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, #080a0a 95%);
  pointer-events: none;
  z-index: 2;
}

.scrollytelling-bottom-fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #080a0a);
  pointer-events: none;
  z-index: 3;
}

/* Loader style */
.scrollytelling-loader {
  position: absolute;
  inset: 0;
  background-color: #080a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99;
  color: var(--text-light);
  gap: 20px;
}

.scrolly-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(253, 187, 17, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-yellow);
  animation: scrolly-spin 1s ease-in-out infinite;
}

@keyframes scrolly-spin {
  to { transform: rotate(360deg); }
}

.scrollytelling-loader p {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary-yellow);
}

/* Text Container & Cards */
.scrollytelling-text-container {
  position: absolute;
  top: 80px; /* Offset for sticky header */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}

.scrollytelling-overlay-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  z-index: 5;
}

.text-overlay-1 {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scrollytelling-overlay-wrapper.flex-center {
  justify-content: center;
  align-items: center;
}

.scrollytelling-overlay-wrapper.flex-left {
  justify-content: flex-start;
  align-items: center;
  padding-left: 10%;
}

.scrollytelling-overlay-wrapper.flex-right {
  justify-content: flex-end;
  align-items: center;
  padding-right: 10%;
}

.scrollytelling-card {
  max-width: 500px;
  padding: 40px;
  background: rgba(8, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  color: var(--text-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Custom scrollbar for scrollytelling cards */
.scrollytelling-card::-webkit-scrollbar {
  width: 6px;
}
.scrollytelling-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.scrollytelling-card::-webkit-scrollbar-thumb {
  background: rgba(253, 187, 17, 0.3);
  border-radius: 4px;
}
.scrollytelling-card::-webkit-scrollbar-thumb:hover {
  background: rgba(253, 187, 17, 0.6);
}

.scrollytelling-overlay-wrapper.services-overlay-wrapper {
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.scrollytelling-overlay-wrapper.services-overlay-wrapper .scrollytelling-card {
  max-width: 1100px;
  width: 95%;
  text-align: center;
}

/* Styling service cards inside the scrollytelling card to blend with dark glassmorphism */
.scrollytelling-card .service-card {
  background-color: rgba(17, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
}

.scrollytelling-card .service-card:hover {
  background-color: rgba(24, 29, 29, 0.85);
  border-color: rgba(253, 187, 17, 0.3);
}

.scrollytelling-accent {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--primary-yellow);
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
}

.scrollytelling-card h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-light);
}

.scrollytelling-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(244, 246, 246, 0.8);
}

/* Map & Forms */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-form {
  background: var(--dark-depth);
  padding: 40px;
  border-radius: var(--border-radius);
  color: var(--text-light);
}
.contact-form label {
  color: var(--text-light);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-family: var(--font-body);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scrollytelling-overlay-wrapper.flex-left,
  .scrollytelling-overlay-wrapper.flex-right {
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.floating-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.floating-contact.active .floating-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-btn, .floating-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.floating-btn:hover, .floating-main-btn:hover {
  transform: scale(1.1);
}
.whatsapp-btn {
  background-color: #25d366;
}
.phone-btn {
  background-color: var(--primary-yellow);
  color: var(--dark-base);
}
.floating-main-btn {
  background-color: var(--dark-depth);
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}
.floating-main-btn .icon-close {
}

.scrollytelling-overlay-wrapper.flex-left {
  justify-content: flex-start;
  align-items: center;
  padding-left: 10%;
}

.scrollytelling-overlay-wrapper.flex-right {
  justify-content: flex-end;
  align-items: center;
  padding-right: 10%;
}

.scrollytelling-card {
  max-width: 500px;
  padding: 40px;
  background: rgba(8, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  color: var(--text-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Custom scrollbar for scrollytelling cards */
.scrollytelling-card::-webkit-scrollbar {
  width: 6px;
}
.scrollytelling-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.scrollytelling-card::-webkit-scrollbar-thumb {
  background: rgba(253, 187, 17, 0.3);
  border-radius: 4px;
}
.scrollytelling-card::-webkit-scrollbar-thumb:hover {
  background: rgba(253, 187, 17, 0.6);
}

.scrollytelling-overlay-wrapper.services-overlay-wrapper {
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.scrollytelling-overlay-wrapper.services-overlay-wrapper .scrollytelling-card {
  max-width: 1100px;
  width: 95%;
  text-align: center;
}

/* Styling service cards inside the scrollytelling card to blend with dark glassmorphism */
.scrollytelling-card .service-card {
  background-color: rgba(17, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
}

.scrollytelling-card .service-card:hover {
  background-color: rgba(24, 29, 29, 0.85);
  border-color: rgba(253, 187, 17, 0.3);
}

.scrollytelling-accent {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--primary-yellow);
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
}

.scrollytelling-card h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-light);
}

.scrollytelling-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(244, 246, 246, 0.8);
}

/* Map & Forms */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-form {
  background: var(--dark-depth);
  padding: 40px;
  border-radius: var(--border-radius);
  color: var(--text-light);
}
.contact-form label {
  color: var(--text-light);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-family: var(--font-body);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scrollytelling-overlay-wrapper.flex-left,
  .scrollytelling-overlay-wrapper.flex-right {
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.floating-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.floating-contact.active .floating-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-btn, .floating-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.floating-btn:hover, .floating-main-btn:hover {
  transform: scale(1.1);
}
.whatsapp-btn {
  background-color: #25d366;
}
.phone-btn {
  background-color: var(--primary-yellow);
  color: var(--dark-base);
}
.floating-main-btn {
  background-color: var(--dark-depth);
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}
.floating-main-btn .icon-close {
  display: none;
}
.floating-contact.active .floating-main-btn .icon-open {
  display: none;
}
.floating-contact.active .floating-main-btn .icon-close {
  display: block;
}

/* Mobile Progressive Disclosure */
.read-more-toggle {
  display: none;
}

/* Responsive Typography Overrides for Mobile */
@media (max-width: 768px) {
  /* Hero & Page Headers */
  h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    letter-spacing: -1px !important;
  }
  
  /* Section Headers */
  h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
  }
  
  /* Card Headers & Subtitles */
  h3 {
    font-size: 1.4rem !important;
  }
  
  /* Paragraphs and Body Text */
  p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }
  
  /* Make sure hero cards don't overflow */
  .scrollytelling-card {
    padding: 25px 20px !important;
    max-width: 100% !important;
  }
  
  .features-list strong {
    font-size: 1.05rem !important;
  }
  
  /* Leadership Message Mobile Fixes */
  .leadership-section {
    padding: 25px !important;
  }
  .leadership-quote {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  
  /* Mobile Truncation */
  .mobile-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
  }
  .mobile-truncate.expanded {
    -webkit-line-clamp: unset;
  }
  .read-more-toggle {
    display: block !important;
    background: none;
    border: none;
    color: var(--primary-yellow);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    margin: 8px auto 25px auto !important;
    padding: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
  }
  
  /* Fix horizontal overflow and center align cards on mobile */
  .services-grid, .values-grid, .about-grid {
    grid-template-columns: 1fr !important;
  }
  
  .service-card, .value-card {
    text-align: center !important;
    padding: 30px 20px !important;
  }
  
  .service-card .icon, .value-card h3 {
    justify-content: center !important;
  }
  
  /* Mobile Height & Spacing Optimizations */
  .map-container {
    height: 300px !important;
  }
  footer {
    padding: 40px 0 20px !important;
  }
  .page-header {
    padding: 60px 0 !important;
  }
  .contact-form {
    padding: 30px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.9rem !important;
  }
  h2 {
    font-size: 1.6rem !important;
  }
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--dark-depth);
  transition: var(--transition);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.portfolio-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 10, 0.9) 0%, rgba(8, 10, 10, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  text-align: left;
  color: var(--text-light);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay-content {
  transform: translateY(0);
}

.portfolio-overlay-content i {
  color: var(--primary-yellow);
  margin-bottom: 10px;
  display: block;
}

.portfolio-overlay-content h4 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: var(--text-light);
}

.portfolio-overlay-content p {
  font-size: 0.85rem;
  color: #a5b4b4;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Leadership Layout Update */
.leadership-section {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.leadership-image-wrapper {
  flex: 0 0 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 4px solid var(--light-card);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.leadership-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.leadership-content {
  flex: 1;
}

@media (max-width: 768px) {
  .leadership-section {
    flex-direction: column;
    text-align: center;
    padding: 30px !important;
  }
  .leadership-image-wrapper {
    flex: 0 0 200px;
    width: 200px;
    margin: 0 auto 20px;
  }
  .leadership-quote i {
    left: 50% !important;
    transform: translateX(-50%);
    top: -30px !important;
  }
}

/* Client Logo Marquee */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 0 25px;
  animation: scroll 30s linear infinite;
}

.marquee-content img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition);
  max-width: 150px;
}

.marquee-content img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .marquee-content {
    gap: 30px;
  }
  .marquee-content img {
    height: 40px;
    max-width: 120px;
  }
}

/* Gallery Page Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.gallery-item {
  width: 100%;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .logo-img {
    height: 80px;
    margin: -16px 0;
  }
}
