:root {
  --primary: #00587c;
  --secondary: #1c8bcb;
  --dark-text: #002f43;
  --accent: #ffffff;
  --lime: #9fb815;
  --gold: #e7a305;
  --purple: #a32990;
  --light-bg: #f1f6d7;
  --cream: #fef0d0;
  --lime-green: #bad036;
  --pale-blue: #e9f4fa;
  --bg-off-white: #f5f5f5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--dark-text);
  /* Matches footer to prevent white gaps */
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-text);
  background-color: var(--accent);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-text);
}

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, color 0.3s ease;
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

#main-header.scrolled .header-nav-link,
#main-header.scrolled .logo-text,
#main-header.scrolled .login-btn {
  color: var(--dark-text);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: inherit;
}

.header-nav-link {
  font-size: 0.75rem;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: inherit;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.header-nav-link:hover {
  opacity: 0.7;
  color: var(--secondary);
}

.login-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  font-size: 0.7rem;
  color: inherit;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

#main-header.scrolled .login-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--dark-text);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}

.nav-dropdown-menu a:hover {
  background: var(--pale-blue);
  color: var(--primary);
  padding-left: 24px;
}

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  background: linear-gradient(180deg, var(--dark-text) 0%, #001a26 100%);
  color: white;
  position: fixed;
  inset: 0;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer::-webkit-scrollbar {
  display: none;
}

.mobile-drawer {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.drawer-content {
  flex: 1;
  padding: 40px 32px;
  overflow-y: auto;
}

.drawer-content::-webkit-scrollbar {
  display: none;
}

.drawer-content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.drawer-link {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
  transition: all 0.3s ease;
}

.drawer-link:hover {
  color: var(--secondary);
  transform: translateX(10px);
}

.drawer-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.drawer-sub-link {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-sub-link:hover {
  color: white;
  padding-left: 10px;
  border-bottom-color: var(--secondary);
}

.drawer-sub-link:last-of-type {
  border-bottom: none;
}

/* Mobile Drawer Dropdown */
.drawer-dropdown {
  margin-bottom: 8px;
}

.drawer-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.drawer-dropdown-header span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

.drawer-dropdown-header svg {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.drawer-dropdown.active .drawer-dropdown-header svg {
  transform: rotate(180deg);
  color: white;
}

.drawer-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 16px;
}

.drawer-dropdown.active .drawer-dropdown-content {
  max-height: 1000px;
  /* Large enough to fit all links */
  padding-top: 8px;
  padding-bottom: 16px;
}

/* ===== INNER PAGE HERO ===== */
.inner-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary) 50%, #004a6b 100%);
}

.inner-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 47, 67, 0.92) 0%, rgba(0, 88, 124, 0.85) 100%);
}

.inner-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.inner-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 40px;
}

.inner-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.inner-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.inner-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.inner-hero .breadcrumb a:hover {
  color: var(--secondary);
}

.inner-hero .breadcrumb svg {
  width: 12px;
  height: 12px;
}

.inner-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
  margin-top: 1rem;
  font-weight: 300;
}

.inner-hero .hero-line {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin-top: 1.5rem;
  border-radius: 2px;
}

/* ===== CONTENT SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--pale-blue);
}

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

.section-cream {
  background: var(--cream);
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-title.primary {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
  max-width: 700px;
}

/* ===== FEATURE CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary);
  transition: height 0.4s ease;
  border-radius: 0 0 2px 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--pale-blue);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.feature-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== STAT CARDS ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.stat-card .stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== ACCORDION ===== */
.accordion {
  max-width: 800px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-header .acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--primary);
}

.accordion-item.active .accordion-header .acc-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 0 20px 0;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* ===== CONTENT BLOCK (text + image) ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse>* {
  direction: ltr;
}

.content-block-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.content-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  border-radius: 12px;
}

.content-block-img::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--secondary);
  border-radius: 12px;
  z-index: -1;
}

/* ===== LIST STYLES ===== */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pale-blue);
  border: 2px solid var(--secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-text), var(--primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 30px 30px;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

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

/* ===== TEAM CARD ===== */
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-card-img {
  height: 280px;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card-body p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 12px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: white;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card .quote-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card .author-role {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CONTACT FORM ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--dark-text);
  outline: none;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--secondary);
  padding-left: 4px;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-top: 16px;
}

.submit-btn {
  background: var(--dark-text);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.submit-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--dark-text);
  color: white;
  padding: 96px 0 calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

#site-footer .footer-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.05em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  margin-bottom: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: white;
}

.why-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: #64748b;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: white;
}

/* ===== WHATSAPP & SCROLL TOP ===== */
#whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1010;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  background: #128C7E;
}

#scrollTopBtn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  background: var(--primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background: var(--dark-text);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .inner-hero h1 {
    font-size: 2.8rem;
  }

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

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

  .content-block.reverse {
    direction: ltr;
  }

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

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container {
    padding: 0 24px;
  }

  .inner-hero-content {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  #main-header {
    height: 70px;
  }

  .inner-hero {
    min-height: 320px;
    padding-top: 70px;
  }

  .inner-hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .inner-hero h1 {
    font-size: 1.8rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card .stat-num {
    font-size: 2rem;
  }

  .container {
    padding: 0 16px;
  }

  .inner-hero-content {
    padding: 30px 16px;
  }
}

/* ===== CAREERS MODAL POPUP STYLES ===== */
.careers-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 47, 67, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.careers-modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 47, 67, 0.12), 0 4px 12px rgba(0, 47, 67, 0.04);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.careers-modal-overlay.active .careers-modal-container {
  transform: scale(1) translateY(0);
}

.careers-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 2px solid var(--secondary);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.careers-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.careers-modal-close-icon {
  background: rgba(0, 0, 0, 0.03);
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.careers-modal-close-icon:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  transform: rotate(90deg);
}

.careers-modal-form {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  overflow-y: auto;
  max-height: calc(85vh - 140px);
}

.careers-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.careers-form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  text-align: left;
}

.careers-form-group input[type="text"],
.careers-form-group input[type="email"],
.careers-form-group select,
.careers-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  box-sizing: border-box;
  outline: none;
  color: var(--dark-text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-form-group input[type="text"]::placeholder,
.careers-form-group input[type="email"]::placeholder,
.careers-form-group textarea::placeholder {
  color: #94a3b8;
}

.careers-form-group input:focus,
.careers-form-group select:focus,
.careers-form-group textarea:focus {
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 139, 203, 0.15);
}

.careers-form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300587c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
  cursor: pointer;
}

.careers-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.careers-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.careers-close-btn {
  background: #d44000;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-close-btn:hover {
  background: #b83700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 64, 0, 0.2);
}

.careers-close-btn:active {
  transform: translateY(0);
}

.careers-submit-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-submit-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 139, 203, 0.2);
}

.careers-submit-btn:active {
  transform: translateY(0);
}

.careers-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 28px;
  text-align: center;
}

.careers-success-icon {
  width: 72px;
  height: 72px;
  background: #def7ec;
  color: #03543f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(3, 84, 63, 0.1);
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.careers-success-state h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #03543f;
}

.careers-success-state p {
  color: #4b5563;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 360px;
}

@keyframes scaleUp {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== RATING STARS SYSTEM ===== */
.rating-stars {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 0;
}

.rating-stars .star-btn {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #d1d5db; /* gray-300 */
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  outline: none;
}

.rating-stars .star-btn:hover {
  transform: scale(1.2);
}

.rating-stars .star-btn.active {
  color: #fbbf24; /* yellow-400 */
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}