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

:root {
  /* Colors */
  --primary: #21D3CA;
  --primary-dark: #1AB3AC;
  --primary-light: #E9FBFB;
  --accent: #FFC107; /* A subtle warm contrast if needed, optional */
  --secondary: #0f172a;
  --text-dark: #1e293b;
  --text-body: #475569;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 90px;
  --top-bar-height: 48px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-white);
}

.section-dark {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--bg-white);
}

/* --- Premium Hero Re-design --- */
.hero-premium {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/premium-hero-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 40%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.trust-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(33, 211, 202, 0.15);
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(33, 211, 202, 0.3);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.hero-title-large {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 25px;
  color: white;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-feature-pills {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-feature-pills span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1rem;
}

.hero-feature-pills i {
  color: var(--primary);
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-premium-main {
  background: var(--primary);
  color: #0f172a;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 10px 20px -5px rgba(33, 211, 202, 0.4);
}

.btn-premium-outline {
  padding: 16px 36px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Glass Form Card */
.glass-hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 45px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.form-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hero-split-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-split-form input, .hero-split-form select {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  outline: none;
  font-family: var(--font-body);
}

.hero-split-form select option {
  background: #0f172a;
  color: white;
}

.btn-primary-glint {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #0f172a;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 10px;
}

/* Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.6;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: white;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
  0% { transform: translate(-50%, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Typography Utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 30px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(0, 167, 237, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 167, 237, 0.4);
}

.btn-header {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.top-bar-call-btn {
  display: none; /* Hidden on desktop */
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-whatsapp {
  border: 2px solid #25D366;
  color: #25D366;
  background-color: transparent;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Glassmorphism Classes */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glass);
  border-radius: var(--border-radius-lg);
  padding: 30px;
}

/* Header & Nav */
.top-bar-wrapper {
  position: relative;
  width: 100%;
  z-index: 1001;
}

.top-bar {
  background-color: #0b1121;
  padding: 10px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  color: white;
  min-height: var(--top-bar-height);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.top-bar-left span, .top-bar-left a {
  display: flex;
  align-items: center;
}

.top-bar-left i {
  color: var(--primary);
  margin-right: 8px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  padding: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-wa-btn {
  display: none; /* Hidden on desktop */
  font-size: 1.5rem;
  color: #25D366;
  transition: transform 0.2s ease;
}
.mobile-wa-btn:hover {
  transform: scale(1.1);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px; /* Reduced gap slightly for balance */
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 15px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Sticky CTA */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.floating-whatsapp { background-color: #25D366; }
.floating-call { background-color: var(--primary); }

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-white);
  min-width: 160px;
  box-shadow: var(--shadow-md);
  z-index: 1001;
  border-radius: var(--border-radius-sm);
  top: 100%;
  left: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 12px 16px;
  display: block;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Added Service Page Components */
/* Updated Premium Service Hero */
.hero-services {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/premium-hero-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-services h1 {
  color: white !important;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-services .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label-light {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.seo-content h2, .seo-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.seo-content p {
  margin: 20px 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.compliance-box {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 35px;
  border-top: 5px solid var(--primary);
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  font-size: 1rem;
}

.compliance-item {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--bg-light);
  padding: 15px;
  border-radius: 8px;
}

.compliance-item i {
  font-size: 1.4rem;
}

.consult-form-card {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  padding: 40px;
  border-top: 5px solid var(--primary);
  position: sticky;
  top: 100px;
}

/* Hardcoded Footer Classes */
.footer-main {
  background-color: #0b1121;
  color: #cbd5e1;
  padding: 60px 0 20px;
  border-top: 3px solid var(--primary);
  font-family: var(--font-body);
}

.footer-main h4 {
  color: #f8fafc;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 30px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .desktop-text { display: none !important; }
  .mobile-text { display: inline-block !important; }
  .header .btn { padding: 10px 20px; font-size: 0.9rem; }
  .btn-header { display: none !important; } /* Hidden from second bar on mobile */
  .header-reviews { display: none !important; }
  
  .top-bar-call-btn {
    display: flex !important;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
  }
  
  .header-right { 
    gap: 10px; 
    flex-shrink: 0;
  }

  /* Mobile Hero Overrides */
  .hero {
    min-height: 60vh;
    padding-top: 50px;
    background-attachment: scroll; /* Fixed is buggy on mobile */
    text-align: center;
  }

  .hero .section-title {
    font-size: 2.2rem !important;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
  }

  .hero .hero-content {
    margin-bottom: 40px;
  }
  
  /* Mobile Hero Premium Overrides */
  .hero-premium {
    padding: 60px 0;
    min-height: initial;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title-large {
    font-size: 2.5rem;
  }

  .hero-feature-pills {
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-premium-main, .btn-premium-outline {
    width: 100%;
  }

  .hero-stats-row {
    justify-content: center;
    gap: 20px;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .glass-hero-card {
    padding: 30px 20px;
  }
  
  .hero ul li {
    justify-content: center;
  }
  
  .mobile-wa-btn { display: flex; z-index: 10; }
  
  /* Centered Logo on Mobile */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }
  
  .logo img { height: 35px; } /* Slightly smaller for mobile centering */
  
  .floating-actions {
    flex-direction: row;
    justify-content: space-between;
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  /* Mobile Menu Open State */
  .nav-links.active {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 15px;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Mobile Dropdown Logic */
  .dropdown-content { display: none; }
  .dropdown.active .dropdown-content { 
    display: block !important; 
    position: static; 
    width: 100%; 
    box-shadow: none; 
    background: #f1f5f9; 
    border-radius: 8px;
    margin-top: 10px;
  }
}

/* Footer Pro Animations */
.footer-social {
  transition: all 0.2s ease;
  display: inline-flex;
}
.footer-social:hover {
  color: #ffffff !important;
  opacity: 0.8;
}
