/* Import Google Fonts (Outfit & Plus Jakarta Sans) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors matched to the Lime & Dark Green theme */
  --bg-lime-gradient: linear-gradient(135deg, #E2FCA4 0%, #A2ED64 100%);
  /* Vivid Lime Gradient for accents */
  --bg-primary: linear-gradient(90deg, #B4D68A 0%, #A3CB82 100%);
  --bg-secondary: #0A2E22;
  /* Deep Dark Green / Navy */
  --bg-mint-light: #E8F6F1;
  /* Light Mint backdrop */
  --bg-card: #FFFFFF;

  --accent-green: #12A171;
  /* Vibrant Mint/Teal (from the icons) */
  --accent-orange: #F59E0B;
  /* Vibrant Orange (kept for fallback) */
  --brand-gradient: linear-gradient(135deg, #1EB284 0%, #12865E 100%);
  /* Combined Teal gradient */
  --accent-green-dark: #0A7A54;
  /* Deep Teal (for links and text hover contrast) */

  --text-primary: #041B14;
  /* Deep Dark Green for maximum text contrast */
  --text-secondary: #17362C;
  /* Dark Slate Green for readable subtexts */
  --text-muted: #4A635A;
  /* Slate for muted text elements */

  --border-color: #E2E8F0;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

/* Page Transition Animation */
.page-fade-in {
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

html, body {
  background: var(--bg-card);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — full-width dark bar like reference */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 60px;
  height: 90px;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

/* Hidden state when scrolling down */
.navbar-wrapper.nav-hidden {
  transform: translateY(-100%);
}

/* Scrolled state and solid state for all pages */
.navbar-wrapper.nav-scrolled,
.navbar-wrapper.solid-nav {
  background: var(--bg-lime-gradient);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-wrapper .logo {
  color: var(--bg-secondary);
  padding-top: 15px;
}

.navbar-wrapper .logo span {
  color: var(--bg-secondary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

/* Logo is dark on all pages */
.navbar-wrapper.nav-scrolled .logo span,
.navbar-wrapper.solid-nav .logo span {
  color: var(--bg-secondary);
}

.navbar-wrapper .call-btn {
  background: #FFFFFF;
  color: var(--bg-secondary);
}

.navbar-wrapper .call-btn:hover {
  background: #E2FCA4;
  color: var(--bg-secondary);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--bg-secondary);
  z-index: 11;
}

.logo img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}


.site-footer .logo img {
  height: 42px;
  /* Increased logo image height in footer */
}

.nav-menu-container {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-width: 550px;
}

.menu-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 6px);
  /* Reveal a slim line of the background color below the tab */
  z-index: 0;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  list-style: none;
  gap: 32px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-secondary);
  margin-top: -12px;
}

/* Base list item resets and flex alignment */
.nav-links>li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  height: 90px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-secondary);
  height: 100%;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-green-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Active Page Highlight */
.nav-links a.active {
  color: var(--accent-green-dark);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover::after,
.nav-links li:hover>a::after,
.nav-links li:hover>.dropdown-trigger::after {
  width: 100%;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

/* Dropdown Menu Box */
.dropdown-menu {
  position: absolute;
  top: 80px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 46, 39, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13, 46, 39, 0.08);
  padding: 12px 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.dropdown-menu li {
  position: relative;
  display: block !important;
  width: 100%;
  padding: 0;
}

.dropdown-menu li a,
.submenu-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  width: 100%;
}

.dropdown-menu li:hover>a,
.dropdown-menu li:hover>.submenu-trigger {
  background-color: var(--bg-mint-light);
  color: var(--accent-green);
  /* Changed to brand pink */
}

/* Hover Show logic */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Submenu Position (Life, Health, Motor, Non Motor sub options) */
.submenu {
  position: absolute;
  top: -12px;
  left: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 46, 39, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13, 46, 39, 0.08);
  padding: 12px 0;
  list-style: none;
  min-width: 250px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
}

.has-submenu:hover .submenu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.submenu-trigger::after {
  content: '\203A';
  /* single right chevron */
  font-size: 1.2rem;
  margin-left: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 11;
  padding-top: 15px;
}

.call-btn {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.call-btn:hover {
  background: var(--brand-gradient);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Hero Section — seamless with lime background */
.hero {
  background: var(--bg-lime-gradient);
  padding: 100px 0 120px;
  /* Increased bottom padding to fit graphics */
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  /* Increased min-height */
}

.hero .container {
  max-width: 1300px;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-center {
  text-align: center;
  max-width: 760px;
  margin: 70px auto 40px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--bg-secondary);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-brand {
  color: var(--accent-green-dark);
  display: inline-block;
  font-weight: 900;
  font-size: 1.3em;
  margin-top: 8px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 580px;
  font-weight: 500;
  opacity: 0;
  animation: slideUpFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    color: var(--accent-green);
  }

  50% {
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.8), 0 0 50px rgba(6, 182, 212, 0.4);
    color: #FFFFFF;
  }
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-badge-avatars {
  display: flex;
}

.hero-badge-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.hero-badge-avatar:first-child {
  margin-left: 0;
}

.hero-badge-info {
  text-align: left;
}

.hero-badge-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  /* High contrast white */
  line-height: 1.2;
}

.hero-badge-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  /* High contrast light white */
  font-weight: 600;
}

/* Absolute side graphics positioning matching screenshot layout */
/* Absolute side graphics positioning with gentle floating animations */
.hero-left-graphic {
  position: absolute;
  left: 20px;
  bottom: 0px;
  /* Adjusted to fit reduced hero height */
  width: 340px;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  z-index: 2;
  pointer-events: none;
  animation: floatGraphic 6s ease-in-out infinite;
  /* Re-enabled floating hand graphic */
}

@keyframes floatGraphic {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-right-graphic {
  position: absolute;
  right: 20px;
  bottom: 0px;
  /* Adjusted to fit reduced hero height */
  width: 380px;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  z-index: 2;
  pointer-events: none;
  animation: floatGraphic 6s ease-in-out infinite 1s;
  /* Floats slightly offset from left graphic */
}

/* Hero Bottom Divider/Mask curve */
.hero-bottom-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 3;
}

.hero-bottom-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}



/* Brands License line */
.brands-strip {
  padding: 110px 0 60px;
  text-align: center;
}

.brands-strip p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brands-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Categories Section */
.categories {
  padding: 30px 0 60px;
  /* Balanced top padding */
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background-color: var(--bg-mint-light);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.08);
}

.category-icon {
  width: 48px;
  height: 48px;
  background-color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bg-secondary);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.category-arrow-btn {
  width: 36px;
  height: 36px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.category-card:hover .category-arrow-btn {
  background: var(--brand-gradient);
}

/* Accordion & Segments Double Panel Layout */
.double-panel {
  padding: 80px 0;
  background-color: transparent;
}

.double-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Accordion Side */
.accordion-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--bg-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header.active {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
}

.accordion-content {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.accordion-content.active {
  display: block;
}

.accordion-img {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.accordion-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Segments Side */
.segments-side h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-secondary);
  margin-bottom: 32px;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.segment-card {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.segment-card-img {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.segment-badge {
  background-color: var(--bg-mint-light);
  color: var(--accent-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 12px;
}

.segment-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: #E2F6C5;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.pricing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: transparent;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: var(--bg-secondary);
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--bg-secondary);
}

input:checked+.slider:before {
  transform: translateX(24px);
  background-color: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background-color: #FFFFFF;
  border-radius: 28px;
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.pricing-card.popular {
  border: 2px solid var(--bg-secondary);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
}

.plan-type-badge {
  background-color: var(--bg-mint-light);
  color: var(--accent-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 24px;
}

.pricing-card.popular .plan-type-badge {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-secondary);
  font-family: var(--font-heading);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.pricing-feature-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.btn-pricing {
  width: 100%;
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-card.popular .btn-pricing {
  background: var(--brand-gradient);
}

/* Testimonial Stories */
.stories {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.stories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.stories-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-secondary);
}

.stories-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.story-arrow.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border-color: var(--accent-green);
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.story-image-block {
  height: 360px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
}

.story-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card {
  background-color: #F8FAFC;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.story-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-author-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.story-author-info h4 {
  font-size: 0.85rem;
  font-weight: 800;
}

.story-author-info p {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Footer styling */
footer {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  padding: 50px 0 25px;
  /* Reduced padding from 80px to shorten div length */
}

.footer-top-curve-wrapper {
  position: relative;
  width: 100%;
  height: 130px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: flex-start;
}

.footer-curve-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0px 8px 16px rgba(11, 25, 54, 0.15));
}

.newsletter-wrapper {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-secondary);
  margin-top: 4px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: #F8FAFC;
  font-weight: 500;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form button {
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  background-color: #3b9b72;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: #2f7c5b;
  transform: translateY(-1px);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
  /* Reduced from 60px to shorten height */
}

.footer-brand .logo {
  color: #FFFFFF;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  /* Light white for contrast */
  line-height: 1.5;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--brand-gradient);
  color: #FFFFFF;
}

.footer-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  /* Changed to white with opacity for high contrast */
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-green-dark);
  /* Bright cyan on hover */
}

.footer-address {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  /* Changed to white with opacity */
  line-height: 1.6;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  /* Changed to white with opacity */
}

/* Align contact items perfectly in right column on desktop */
.footer-col-right .contact-details li {
  flex-direction: row-reverse;
  text-align: right;
}

.contact-details li svg {
  color: var(--accent-green);
  /* Brand pink instead of lime green */
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-addr-text {
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  /* Reduced padding from 32px to shorten height */
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  /* Changed to light white */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .double-panel-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col-center,
  .footer-col-right {
    align-items: flex-start;
    text-align: left;
  }

  .footer-col-right .contact-details li {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .site-footer {
    padding: 36px 0 24px !important;
    margin-top: 0 !important;
  }

  .footer-tab-shape {
    display: none !important;
  }

  .footer-grid {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 18px;
  }

  .footer-brand p {
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a,
  .contact-details li {
    font-size: 0.82rem;
  }

  .contact-details li svg {
    margin-top: 2px;
  }

  .footer-bottom {
    padding-top: 14px;
    font-size: 0.72rem;
    padding-bottom: 45px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .floating-call {
    bottom: 78px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .floating-call svg {
    width: 20px;
    height: 20px;
  }
}

/* Navigation Dropdowns & Submenus */
.nav-links li.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: transparent;
  box-shadow: 0 10px 25px rgba(13, 46, 39, 0.15);
  border-radius: 12px;
  list-style: none;
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  text-align: left;
}

.dropdown-menu li {
  display: block !important;
  width: 100%;
}

.dropdown-menu li a,
.submenu-trigger {
  display: block;
  padding: 10px 24px;
  color: var(--bg-secondary) !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.dropdown-menu li a:hover,
.submenu-trigger:hover {
  background-color: var(--bg-mint-light);
  color: var(--accent-green-dark) !important;
}

/* Hover behaviors for dropdown */
.nav-links li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu layout styling */
.dropdown-menu li.has-submenu {
  position: relative;
}

.submenu-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: transparent;
  box-shadow: 0 10px 25px rgba(13, 46, 39, 0.15);
  border-radius: 12px;
  list-style: none;
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
  text-align: left;
}

.dropdown-menu li.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu li a {
  color: var(--bg-secondary) !important;
}

/* Category Tabbed Layout Styling */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  outline: none;
}

.tab-btn svg {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green-dark);
}

.tab-btn.active {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  border-color: var(--bg-secondary);
  box-shadow: 0 6px 15px rgba(13, 46, 39, 0.15);
}

.tab-btn.active svg {
  color: #acee58;
}

.tab-content-wrapper {
  background-color: var(--bg-mint-light);
  border-radius: 32px;
  padding: 48px;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(13, 46, 39, 0.03);
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

.tab-pane-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.tab-pane-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--bg-secondary);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.tab-pane-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.pane-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pane-highlights li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pane-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--brand-gradient);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.tab-action-btn {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 12px;
  display: inline-block;
  transition: var(--transition-fast);
}

.tab-action-btn:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-2px);
}

.tab-pane-image {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustment for Tab pane */
@media (max-width: 768px) {
  .tab-pane-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tab-pane-image {
    height: 240px;
    order: -1;
  }

  .tab-content-wrapper {
    padding: 24px;
  }
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: rgba(11, 25, 54, 0.95);
  /* Midnight Navy instead of dark green */
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border-left: 5px solid var(--accent-green);
  /* Brand pink instead of lime green */
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 10px 25px rgba(11, 25, 54, 0.25);
  min-width: 320px;
  max-width: 450px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 1.4rem;
  color: var(--accent-green-dark);
  /* Brand cyan instead of lime green */
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Discover Services (Carousel Slider) Styles */
.discover-services-carousel {
  padding: 50px 0 40px;
  /* Reduced top padding */
  background-color: transparent;
  overflow: hidden;
}

.discover-carousel-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.carousel-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-secondary);
  outline: none;
}

.carousel-arrow:hover {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  border-color: var(--bg-secondary);
}

.carousel-track-container {
  width: 100%;
  padding: 10px 0 20px;
  position: relative;
  /* Restored moderate bottom padding */
}

/* Gradient fade effect on the edges while scrolling */
.carousel-track-container::before,
.carousel-track-container::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 20px;
  width: 60px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.carousel-track-container::before {
  left: 0;
  display: none;
}

.carousel-track-container::after {
  right: 0;
  display: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  /* Reduced gap from 32px */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 10px 40px 10px;
}

/* Hide scrollbars for track */
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background-color: #EAFBF2;
  background-image: repeating-radial-gradient(circle at 50% -20%, transparent 0, transparent 15px, rgba(0, 0, 0, 0.015) 15px, rgba(0, 0, 0, 0.015) 30px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Removed overflow: hidden so button can hang out */
}

.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 46, 34, 0.08);
  border-color: rgba(10, 46, 34, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-secondary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.carousel-card:hover .card-icon {
  transform: scale(1.1);
  color: var(--bg-secondary);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.carousel-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-secondary);
  margin-bottom: 12px;
}

.carousel-card p {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

.card-arrow-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 48px;
  height: 48px;
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(11, 25, 54, 0.2);
}

.carousel-card:hover .card-arrow-btn {
  background-color: var(--bg-secondary);
  /* Keep it dark green */
  color: #FFFFFF;
  transform: translate(-50%, 50%) rotate(45deg);
  box-shadow: 0 8px 20px rgba(10, 46, 34, 0.4);
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 290px;
    height: 360px;
    padding: 36px 24px;
  }

  .carousel-track {
    gap: 20px;
  }
}

/* Loan Solutions Section */
.loan-solutions {
  padding: 80px 0 40px;
  background-color: transparent;
}

.loan-solutions .section-header {
  text-align: left;
  max-width: 480px;
  margin-left: 0;
  margin-bottom: 20px;
}

.loan-solutions .section-title {
  font-size: 2.5rem;
  color: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.loan-solutions .section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.loans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 0;
  /* Header is now inside, so no top margin */
  align-items: start;
  /* Align to top so we can stagger with margins */
}

.loan-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loan-item:hover {
  transform: translateY(-10px);
}

/* Middle item is staggered downwards slightly */
.loan-item.staggered {
  margin-top: 80px;
  /* Aligns with bottom of title */
}

.loan-item.staggered:hover {
  transform: translateY(-10px);
  /* Reset hover to normal */
}

/* Right item aligned perfectly at top */
.loan-item.right-item {
  margin-top: 0;
}

.loan-image-container {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
  margin-bottom: -10px;
  transform: translateY(-15px);
  /* Overlap with card */
  z-index: 2;
  mix-blend-mode: multiply;
  /* Blends the entire container to hide white bounding boxes */
}

.loan-image-bg {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: #E8F5E9;
  /* Soft green backdrop */
  border-radius: 40px;
  z-index: -1;
}

/* Create abstract shapes for backgrounds */
.shape-1 {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background-color: #E6F7F0;
  /* Brighter mint green */
  transform: rotate(-15deg) scale(1.1);
}

.shape-2 {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background-color: #E6F7F0;
  transform: scale(1.1);
}

.shape-3 {
  border-radius: 50% 50% 30% 70% / 50% 50% 70% 50%;
  background-color: #E6F7F0;
  transform: rotate(15deg) scale(1.1);
}

.loan-image {
  max-width: 100%;
  max-height: 110%;
  object-fit: contain;
  /* Use mix-blend-mode to blend the white background of the generated images */
  mix-blend-mode: multiply;
  filter: contrast(1.05) brightness(1.02);
  /* Ensures off-white is pure white for seamless blending */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loan-item:hover .loan-image {
  transform: translateY(-15px) scale(1.05);
}

.loan-card {
  width: 100%;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  z-index: 1;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.loan-item:hover .loan-card {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.outline-card {
  background-color: #FFFFFF;
  border: 2px solid #9FD88A;
  /* Lime green */
}

.outline-card .loan-card-title {
  color: var(--bg-secondary);
}

.outline-card .loan-card-desc,
.outline-card .loan-link {
  color: var(--text-secondary);
}

.solid-card {
  background: var(--bg-primary);
  color: var(--bg-secondary);
}

.solid-card .loan-card-title,
.solid-card .loan-card-desc,
.solid-card .loan-link {
  color: var(--bg-secondary);
}

.loan-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.loan-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.loan-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.loan-link:hover {
  opacity: 0.8;
}

.loan-item:hover .loan-link {
  color: var(--bg-secondary) !important;
}

@media (max-width: 900px) {
  .loans-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .loan-item.staggered {
    transform: none;
  }
}

/* --- Mobile Responsive Styles & Navigation --- */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--bg-secondary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.navbar-wrapper.solid-nav .mobile-menu-toggle span,
.navbar-wrapper.nav-scrolled .mobile-menu-toggle span {
  background-color: var(--bg-secondary);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(-2px, -1px);
}

@media (max-width: 1024px) {
  .navbar-wrapper {
    padding: 0 24px;
    height: 70px;
  }

  .nav-menu-container {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transition: left 0.3s ease;
    min-width: unset;
    overflow-y: auto;
  }

  .nav-menu-container.active {
    left: 0;
  }

  .menu-bg-svg {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    margin-top: 0;
    align-items: flex-start;
  }

  .nav-links>li {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav-links a {
    font-size: 1.2rem;
    height: auto;
    padding: 10px 0;
    width: 100%;
    color: var(--text-primary);
  }

  .nav-links a::after {
    display: none;
  }

  .dropdown-menu,
  .submenu {
    position: static;
    opacity: 1;
    transform: none;
    box-shadow: none;
    pointer-events: auto;
    background: transparent;
    border: none;
    padding-left: 20px;
    display: none;
  }

  .dropdown.active>.dropdown-menu,
  .has-submenu.active>.submenu {
    display: block;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-top: 20px;
  }

  .nav-actions {
    display: none;
    /* Hide call-btn on mobile to save space */
  }

  /* Layout adjustments */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-left-graphic,
  .hero-right-graphic {
    opacity: 0.15;
    z-index: 0;
  }

  .premium-grid,
  .categories-grid,
  .double-panel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .carousel-card {
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .premium-title {
    font-size: 1.8rem;
  }

  .tab-layout-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tab-image-wrapper {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .tab-image-backdrop {
    border-radius: 20px;
  }

  .tab-featured-img {
    border-radius: 12px;
  }

  .filters-container {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 300px;
  }

  .premium-image-col {
    height: 300px;
  }

  .hero-left-graphic {
    left: -50px;
    width: 250px;
  }

  .hero-right-graphic {
    right: -50px;
    width: 250px;
  }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.floating-whatsapp svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Floating Call Button */
.floating-call {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #1A73E8;
  /* Classic mobile phone blue */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.floating-call svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-call:hover {
  background-color: #1557B0;
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Scroll Animations */
.scroll-hide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hide-bottom {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hide-top {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-show {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* FAQ Section */
.faq-section {
  padding: 0 0 80px;
  background-color: transparent;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
  height: max-content;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item details {
  width: 100%;
}

.faq-item summary {
  padding: 24px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none; /* Hide default arrow in safari */
}

.faq-item summary::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--bg-secondary);
  border-bottom: 2.5px solid var(--bg-secondary);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 5px;
}

.faq-item details[open] summary::after {
  transform: rotate(225deg);
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
  animation: faqSlideDown 0.3s ease-out;
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Partners & Tie-ups Section */
.partners-section {
  padding: 80px 0;
  background: #F8FAFC;
  position: relative;
}

.partners-section.dark-theme {
  background: var(--bg-secondary);
  color: #FFFFFF;
}

.partners-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.partners-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(18, 161, 113, 0.12);
  color: var(--accent-green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.partners-section.dark-theme .partners-badge {
  background: rgba(46, 213, 115, 0.15);
  color: var(--accent-green);
}

.partners-header h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.partners-section.dark-theme .partners-header h2 {
  color: #FFFFFF;
}

.partners-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.partners-section.dark-theme .partners-header p {
  color: rgba(255, 255, 255, 0.8);
}

.partner-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(18, 161, 113, 0.2);
}

.partners-section.dark-theme .partner-group-title {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.partner-group-title svg {
  color: var(--accent-green-dark);
}

.partners-section.dark-theme .partner-group-title svg {
  color: var(--accent-green);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.partners-grid:has(.partner-card-logo-only),
.partners-grid.partners-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.partner-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 22px;
  height: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.partner-card.partner-card-logo-only,
.partner-card:not(:has(.partner-info)) {
  min-height: auto;
  height: 92px;
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(18, 161, 113, 0.14);
  border-color: rgba(18, 161, 113, 0.4);
}

.partner-card.partner-card-logo-only:hover,
.partner-card:not(:has(.partner-info)):hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(18, 161, 113, 0.12);
}

.partner-logo-box {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.partner-card img,
.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.partner-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.3;
}

.partner-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.partner-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 161, 113, 0.08);
  color: #0f766e;
  border: 1px solid rgba(18, 161, 113, 0.2);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.partners-section.dark-theme .partner-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.partners-section.dark-theme .partner-logo-box {
  background: #1F2937;
  border-color: rgba(255, 255, 255, 0.05);
}

.partners-section.dark-theme .partner-name {
  color: #F8FAFC;
}

.partners-section.dark-theme .partner-desc {
  color: #94A3B8;
}

.partners-section.dark-theme .partner-tag {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.25);
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partners-grid:has(.partner-card-logo-only),
  .partners-grid.partners-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .partner-card {
    padding: 16px;
    min-height: auto;
  }

  .partner-card.partner-card-logo-only,
  .partner-card:not(:has(.partner-info)) {
    height: 72px;
    padding: 8px 12px;
  }

  .partner-logo-box {
    height: 100px;
    margin-bottom: 12px;
  }
}