/* ==========================================================================
   FONT-FACE DECLARATIONS
   ========================================================================== */
@font-face {
  font-family: 'Vilane';
  src: url('Vilane-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vilane SemiBold';
  src: url('Vilane-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   DESIGN VARIABLES (EXACT BRAND PALETTE)
   ========================================================================== */
:root {
  /* Fonts */
  --font-heading: 'Vilane', sans-serif;
  --font-subheading: 'Vilane SemiBold', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Brand Palette Colors */
  --classic-blue: #0F4C81;
  /* Primary Brand Color */
  --classic-blue-hover: #0a3861;
  /* Darker Blue for Buttons */
  --classic-blue-light: #eaf2f8;
  /* Soft Blue Tint for backgrounds/badges */

  --sea-green: #4caf50;
  /* Accent / Secondary Color */
  --sea-green-hover: #3d8b40;
  /* Darker Green for Buttons */
  --sea-green-light: #edf7ed;
  /* Soft Green Tint */

  --white: #FFFFFF;
  /* Backgrounds & Light Text */
  --black: #070707;
  /* Main Headings & Body Text */

  /* UI Neutral Tones */
  --text-muted: #555555;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(7, 7, 7, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 76, 129, 0.12);
  --shadow-lg: 0 20px 30px -10px rgba(7, 7, 7, 0.15);

  /* Layout */
  --container-max: 1200px;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Rules */
h1,
h2,
.main-heading {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--black);
}

h3,
h4,
h5,
.sub-heading {
  font-family: var(--font-subheading);
  line-height: 1.35;
  color: var(--black);
}

p,
span,
a,
input,
select,
textarea,
button {
  font-family: var(--font-body);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--classic-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--classic-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--sea-green);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--sea-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--classic-blue);
  color: var(--classic-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--classic-blue);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--classic-blue);
}

.btn-light:hover {
  background-color: var(--classic-blue-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.section-tag {
  display: inline-block;
  color: var(--sea-green);
  font-family: var(--font-subheading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   IMAGE PLACEHOLDER STYLES
   ========================================================================== */
.image-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
  border: 2px dashed var(--border-color);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.image-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: var(--classic-blue);
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT HEADER BAR
   ========================================================================== */
.top-bar {
  background-color: var(--black);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.6rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  gap: 1.5rem;
}

.top-link {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-link i {
  color: var(--sea-green);
}

.top-link:hover {
  color: var(--sea-green);
}

.top-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}

.top-hours i {
  color: var(--sea-green);
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo Styling */
.brand-logo {
  display: flex;
  align-items: center;
}

.site-logo {
  max-height: 55px;
  /* Adjust height to fit your navbar cleanly */
  width: auto;
  /* Keeps the logo aspect ratio intact */
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--black);
}

.nav-link:hover,
.nav-link.active {
  color: var(--classic-blue);
}

.nav-btn {
  background-color: var(--sea-green);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
}

.nav-btn:hover {
  background-color: var(--sea-green-hover);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
}

/* ==========================================================================
   2. HERO HEADER (FULL BACKGROUND COVER)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;

  /* Full Section Background Image */
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--black);
  /* Fallback while image loads */
}

/* Semi-transparent overlay to ensure text readability while leaving the right image vibrant */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgb(255, 255, 255) 0%,
      /* Solid white behind the text on left */
      rgba(255, 255, 255, 0.91) 45%,
      /* Transition starts fading quickly */
      rgba(255, 255, 255, 0.349) 65%,
      /* Mostly clear near the center */
      rgba(255, 255, 255, 0) 75%
      /* Completely 100% clear over the image on right */
    );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  /* Keeps content above background overlay */
}

.hero-content {
  max-width: 620px;
  /* Constrains text width on the left side */
}

.hero-badge {
  display: inline-block;
  background-color: var(--sea-green-light);
  color: var(--sea-green-hover);
  font-family: var(--font-subheading);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--sea-green);
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}


.hero-script {
  font-family: 'Vilane', sans-serif;
  font-size: 3.5rem;
  color: var(--sea-green);
  /* Medium Sea Green #4caf50 */
  line-height: 1;
  text-transform: none;
}

/* 2. Bold Headline: "QUALITY CARE" */
.hero-heading-bold {
  font-family: 'Vilane', sans-serif;
  font-weight: 700;
  font-size: 4.25rem;
  color: var(--classic-blue);
  /* Classic Blue #0F4C81 */
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

/* 3. Green Divider Line */
.hero-divider {
  width: 100%;
  max-width: 520px;
  height: 3px;
  background-color: var(--sea-green);
  margin: 0.85rem 0 1rem 0;
  border-radius: 2px;
}

/* 4. Description Subtext: "THROUGH COMPASSION..." */
.hero-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
  max-width: 520px;
}

.accent-dot {
  color: var(--sea-green);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive Overrides for Mobile & Tablet */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.80) 100%);
  }

  .hero-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   STATS / COUNTER BANNER STYLES
   ========================================================================== */
.stats-banner {
  padding: 2.5rem 0;
  width: 100%;
  clear: both;
}

.stats-card {
  position: relative;
  background: linear-gradient(135deg,
      rgba(15, 76, 129, 0.92) 0%,
      rgba(7, 7, 7, 0.88) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  /* Background image with overlay */
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   STATS CARDS GRID STYLES (MATCHING REFERENCE VIDEO LAYOUT)
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
  /* Soft background to highlight white cards */
  width: 100%;
  clear: both;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Individual Card Styling */
.stat-card {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Subtle Hover Effect */
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* Big Green Number Style */
.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--sea-green);
  /* Green color as shown in reference video */
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

/* Label Style */
.stat-card .stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  /* Medium grey text */
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   3. BRIEF INTRODUCTION
   ========================================================================== */
.intro-section {
  padding: 5rem 0;
  background-color: var(--white);
  text-align: center;
}

.intro-container {
  max-width: 800px;
}

.intro-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
  /* Keeps cards aligned at the same height */
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--classic-blue);
}

/* Image Wrapper: Locks Height & Fits All Images Perfectly */
.service-image-wrapper {
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--classic-blue-light);
  position: relative;
}

/* Image Styling */
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-content {
  padding: 2rem;
  flex: 1;
  /* Ensures equal inner height on both cards */
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: var(--classic-blue-light);
  color: var(--classic-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.service-list i {
  color: var(--sea-green);
  margin-top: 0.2rem;
}

/* ==========================================================================
   5. WHY CHOOSE HOPE HOME CARE
   ========================================================================== */
.why-us-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.description {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--sea-green-light);
  color: var(--sea-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-title {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. LICENSING & TRUST BANNER (WITH LOW OPACITY BACKGROUND IMAGE)
   ========================================================================== */
.trust-banner {
  position: relative;
  /* Essential for positioning the pseudo-element overlay */
  background-color: var(--classic-blue);
  /* Base background color */
  color: var(--white);
  padding: 4.5rem 0;
  width: 100%;
  clear: both;
  overflow: hidden;
  /* Prevents background image from spilling out */
}

/* Pseudo-element for the low-opacity background image */
.trust-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 1. REPLACE WITH YOUR BACKGROUND IMAGE PATH */
  background-image: url('images/certified.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 2. CONTROL OPACITY HERE (0.1 to 0.2 works best for subtle watermarks) */
  opacity: 0.12;

  z-index: 1;
  /* Places background behind content */
}

.trust-container {
  position: relative;
  z-index: 2;
  /* Keeps text and badge above the background image */
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
}

/* Left Content Styling */
.trust-content {
  text-align: left;
  font-size: large;
}

.trust-title {
  font-size: 1.85rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.trust-text {
  color: var(--classic-blue-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Right Media / Badge Styling */
.trust-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--sea-green);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.trust-badge i {
  font-size: 1.2rem;
}

.trust-graphic i {
  font-size: 4rem;
  color: var(--white);
  opacity: 0.9;
}

/* ==========================================================================
   7. BOTTOM CTA BANNER STYLES (MATCHING REFERENCE LAYOUT)
   ========================================================================== */
.cta-banner {
  padding: 4rem 0;
  width: 100%;
  clear: both;
}

.cta-card {
  position: relative;
  background-color: #f4f8f7;
  /* Soft light greenish-grey background */
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Background Leaf Accents (Top-Left & Bottom-Left Watermarks) */
.cta-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16, 124, 65, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Left Content Area */
.cta-content {
  padding: 3.5rem 3rem;
  z-index: 2;
}

/* Green Pill Tag */
.cta-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(16, 124, 65, 0.1);
  color: var(--sea-green);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

/* Heading Styling */
.cta-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--classic-blue);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-heading .highlight-text {
  color: var(--sea-green);
}

/* Small Gold Accent Line under heading */
.cta-accent-line {
  width: 45px;
  height: 3px;
  background-color: #d97706;
  /* Warm subtle line as seen in reference */
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.cta-description {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Button Row Layout */
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Primary Green Button */
.cta-btn-main {
  background-color: var(--sea-green);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(16, 124, 65, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-btn-main:hover {
  background-color: #0d6334;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 124, 65, 0.35);
}

/* Secondary Phone Link Card */
.cta-phone-card {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  background-color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-phone-card:hover {
  border-color: var(--sea-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-phone-icon {
  font-size: 1.2rem;
  color: var(--sea-green);
}

.cta-phone-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cta-phone-info small {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.cta-phone-info span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--classic-blue);
}

/* Right Media / Image Area */
.cta-media {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Badge overlay on image */
.cta-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--sea-green);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.cta-floating-badge .badge-icon {
  font-size: 1.75rem;
  opacity: 0.95;
}

.cta-floating-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cta-floating-badge .badge-text strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.cta-floating-badge .badge-text span {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 400;
}

/* ==========================================================================
   SIDE-BY-SIDE 2-COLUMN INQUIRY SECTION
   ========================================================================== */

.inquiry-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

/* 2-Column Grid Layout */
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left Column Styling */
.section-tag {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F4C81;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.description {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Trust Checklist */
.inquiry-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.inquiry-trust-list li {
  font-size: 1rem;
  font-weight: 700;
  color: #0f4c81;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inquiry-trust-list li i {
  color: #22c55e;
  font-size: 1.15rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Icon Box Badge Styling */
.contact-detail-item i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #ffffff;
  color: #0f4c81 !important;
  /* Blue Icon Color */
  border-radius: 12px;
  /* Smooth Rounded Corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* Soft Drop Shadow */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 0;
}

/* Text Alignment Next to Box */
.contact-detail-item small {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.contact-detail-item a,
.contact-detail-item span {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

/* Right Column Form Card */
.inquiry-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.care-form .form-group {
  margin-bottom: 1.25rem;
}

.care-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.care-form input[type="text"],
.care-form input[type="tel"],
.care-form input[type="email"],
.care-form select {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  color: #334155;
  outline: none;
  transition: all 0.2s ease;
}

.care-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  color: #334155;
  outline: none;
  transition: all 0.2s ease;
  resize: vertical;
}

.care-form input:focus,
.care-form select:focus,
.care-form textarea:focus {
  border-color: #0f4c81;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.btn-tall {
  width: 100%;
  height: 52px;
  background-color: #0f4c81;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-tall:hover {
  background-color: #0a365c;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.main-footer {
  background-color: #030f1a;
  color: #d1d1d1;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-img {
  height: 55px;
  /* Adjust height to fit your specific logo proportions */
  width: auto;
  /* Maintains correct aspect ratio */
  max-width: 100%;
  /* Prevents overflow on mobile screens */
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  background: var(--classic-blue);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--sea-green);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-info i {
  color: var(--sea-green);
}

.footer-bottom {
  border-top: 1px solid #292828;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.licensing-note {
  color: var(--sea-green);
}

/* ==========================================================================
   ANIMATION CLASSES
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.slide-up {
  transform: translateY(40px);
}

.slide-right {
  transform: translateX(-40px);
}

.slide-left {
  transform: translateX(40px);
}

.zoom-in {
  transform: scale(0.92);
}

.fade-in {
  transform: none;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}


/* ==========================================================================
   ABOUT STORY SECTION (IMAGE + CONTENT SPLIT LAYOUT)
   ========================================================================== */

.about-story-section {
  padding: 5rem 0;
  background-color: var(--white, #ffffff);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Rounded Corner Image Styling */
.about-story-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 40px;
  /* Matching the ultra-rounded corners from reference */
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.about-story-img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

/* Content Styling */
.about-story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Small Subtitle Pill */
.story-pill-tag {
  display: inline-block;
  background-color: var(--classic-blue, #0f4c81);
  color: var(--white, #ffffff);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

/* Main Heading */
.story-main-heading {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--classic-blue, #0f4c81);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

/* Red / Accent Underline Effect for Emphasis */
.highlight-underline {
  position: relative;
  display: inline-block;
  color: var(--classic-blue, #0f4c81);
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--sea-green, #107c41);
  /* Brand Green highlight stroke */
  border-radius: 4px;
}

/* Paragraph Body Text */
.story-body-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 1.25rem;
}

.story-body-text p:last-child {
  margin-bottom: 2rem;
}

/* CTA Pill Button */
.story-btn {
  background-color: var(--sea-green, #107c41);
  color: var(--white, #ffffff);
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 124, 65, 0.25);
}

.story-btn:hover {
  background-color: var(--classic-blue, #0f4c81);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.3);
}

/* ==========================================================================
   COMPANY STORY ANIMATIONS & HOVER EFFECTS
   ========================================================================== */

/* 1. Base Hidden States */
.animate-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* 2. Scroll Revealed Active State */
.animate-slide-right.is-visible,
.animate-slide-up.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 3. Animated Text Highlight Underline */
.highlight-underline {
  position: relative;
  display: inline-block;
  color: var(--classic-blue, #0f4c81);
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0%;
  /* Starts invisible */
  height: 4px;
  background-color: var(--sea-green, #107c41);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
  /* Delayed trigger */
}

/* Triggers line animation when parent header is visible */
.animate-slide-up.is-visible .highlight-underline::after {
  width: 100%;
}

/* 4. Interactive Image Hover Effect */
.about-story-image-wrapper {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-story-image-wrapper:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 45px rgba(15, 76, 129, 0.12);
}

.about-story-img {
  transition: transform 0.6s ease;
}

.about-story-image-wrapper:hover .about-story-img {
  transform: scale(1.03);
}

/* ==========================================================================
   ABOUT PAGE SECTIONS
   ========================================================================== */

/* Helper utilities */
.text-center {
  text-align: center;
}

.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   2. Company Story Section
   -------------------------------------------------------------------------- */
.story-section {
  padding: 5rem 0;
  background-color: var(--light-bg, #f8fafc);
}

.story-card {
  background: var(--white, #ffffff);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--classic-blue, #0f4c81) 0%, var(--sea-green, #107c41) 100%);
}

.story-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-dark, #333333);
  margin-top: 1rem;
}

.story-highlights {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.story-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--classic-blue, #0f4c81);
  background: rgba(15, 76, 129, 0.06);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
}

.story-badge i {
  color: var(--sea-green, #107c41);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   3. Mission & Vision Section (Side-by-Side Cards)
   -------------------------------------------------------------------------- */
.mission-vision-section {
  padding: 5rem 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mv-card {
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.mission-card {
  background: var(--white, #ffffff);
  border: 1px solid rgba(15, 76, 129, 0.15);
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.05);
}

.vision-card {
  background: linear-gradient(135deg, var(--classic-blue, #0f4c81) 0%, #0a355c 100%);
  color: var(--white, #ffffff);
}

.mv-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.mission-card .mv-icon-wrapper {
  background: rgba(16, 124, 65, 0.1);
  color: var(--sea-green, #107c41);
}

.vision-card .mv-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white, #ffffff);
}

.mv-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mission-card .mv-tag {
  color: var(--sea-green, #107c41);
}

.vision-card .mv-tag {
  color: var(--sea-green, #40c47c);
}

.mv-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission-card .mv-title {
  color: var(--classic-blue, #0f4c81);
}

.vision-card .mv-title {
  color: var(--white, #ffffff);
}

.mv-description {
  font-size: 1.05rem;
  line-height: 1.7;
}

.mission-card .mv-description {
  color: #555555;
}

.vision-card .mv-description {
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   4. Core Values Grid
   -------------------------------------------------------------------------- */
.values-section {
  padding: 5rem 0;
  background-color: var(--light-bg, #f8fafc);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white, #ffffff);
  padding: 2.25rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.1);
  border-color: rgba(16, 124, 65, 0.3);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08) 0%, rgba(16, 124, 65, 0.08) 100%);
  color: var(--classic-blue, #0f4c81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
  background: var(--sea-green, #107c41);
  color: var(--white, #ffffff);
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--classic-blue, #0f4c81);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #666666;
}

/* ==========================================
   SCROLL REVEAL UTILITIES
   ========================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SERVICES PAGE: BREAKDOWN & GUARANTEE BOX
   ========================================================================== */

.services-breakdown-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.services-header {
  margin-bottom: 3.5rem;
}

.max-w-600 {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Side-by-Side Cards Grid */
.services-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.service-program-card {
  background: var(--white, #ffffff);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.05);
  border: 1px solid rgba(15, 76, 129, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 76, 129, 0.1);
}

.program-badge {
  display: inline-block;
  background-color: var(--classic-blue, #0f4c81);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.program-badge.badge-sea {
  background-color: var(--sea-green, #107c41);
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--classic-blue, #0f4c81);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.program-subtitle {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Feature Checklist */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.service-feature-list li {
  font-size: 1.02rem;
  color: #333333;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-feature-list li i {
  color: var(--sea-green, #107c41);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mdh-card .service-feature-list li i {
  color: var(--classic-blue, #0f4c81);
}

.btn-service-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background-color: rgba(15, 76, 129, 0.08);
  color: var(--classic-blue, #0f4c81);
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-service-select:hover {
  background-color: var(--classic-blue, #0f4c81);
  color: #ffffff;
}

.btn-service-select.btn-sea {
  background-color: rgba(16, 124, 65, 0.08);
  color: var(--sea-green, #107c41);
}

.btn-service-select.btn-sea:hover {
  background-color: var(--sea-green, #107c41);
  color: #ffffff;
}

/* ==================== 2. SERVICE GUARANTEE BOX ==================== */

.service-guarantee-box {
  background: var(--white, #ffffff);
  border-radius: 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  border: 2px solid var(--sea-green, #107c41);
}

.guarantee-image-wrapper {
  position: relative;
  min-height: 350px;
}

.guarantee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guarantee-overlay-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 76, 129, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.guarantee-content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guarantee-tag {
  color: var(--sea-green, #107c41);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: block;
}

.guarantee-statement {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--classic-blue, #0f4c81);
  line-height: 1.35;
  margin-bottom: 1rem;
  font-weight: 700;
}

.guarantee-subtext {
  color: #555555;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.guarantee-features {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.g-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--classic-blue, #0f4c81);
}

.g-feature-item i {
  color: var(--sea-green, #107c41);
  font-size: 1.1rem;
}











/* ==========================================================================
   GENERIC PAGE HERO BANNER (REUSABLE FOR ABOUT, CONTACT, SERVICES, ETC.)
   ========================================================================== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Specific Background Images for Subpages */
.about-hero {
  /* Replace 'images/about-hero-bg.jpg' with your actual image path */
  background-image: url('images/about.jpg');
}

.contact-hero {
  /* Replace 'images/contact-hero-bg.jpg' with your actual image path */
  background-image: url('images/contact-image.jpg');
}

.services-hero {
  /* Replace 'images/contact-hero-bg.jpg' with your actual image path */
  background-image: url('images/services-hero.jpg');
}

/* Semi-transparent Dark Blue Gradient Overlay */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 76, 129, 0.88) 0%,
      rgba(7, 7, 7, 0.82) 100%);
  z-index: 1;
}

.page-hero-container {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}

.page-hero-content {
  max-width: 680px;
  margin: 0 auto;
  color: var(--white, #ffffff);
}

.page-hero-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sea-green, #107c41);
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white, #ffffff);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.page-hero-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
}

/* ==========================================================================
   LOCATION MAP SECTION STYLES
   ========================================================================== */
/* Ensure touch events go straight to the map iframe */
.map-card {
  position: relative;
  z-index: 1;
}

.map-card iframe {
  pointer-events: auto !important;
  touch-action: auto !important;
}

/* Mobile Button Styling */
.mobile-map-button-wrapper {
  display: none;
  /* Hidden on desktop */
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: var(--sea-green, #107c41);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.mobile-map-btn:active {
  background-color: #0d6334;
}

/* Header Scrolled State */
.main-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

/* Scroll Reveal Initial & Animated States */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Alert Styles */
.form-alert {
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-alert.alert-success {
  background-color: rgba(16, 124, 65, 0.12);
  color: #107c41;
  border: 1px solid rgba(16, 124, 65, 0.3);
}


/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESPONSIVE PRIVATE PAY & FUNDING SECTION
   ========================================================================== */

.payment-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

/* Section Header */
.payment-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.payment-header .section-tag {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.payment-header .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.payment-header .section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Default Desktop Grid Layout */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card Base Styling */
.payment-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Top Accent Badge */
.payment-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #eab308;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Icon Box Styling */
.card-icon {
  width: 54px;
  height: 54px;
  background-color: #f0fdf4;
  color: #22c55e;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.card-icon.alt-icon {
  background-color: #eff6ff;
  color: #0f4c81;
}

.payment-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.payment-card p {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Checklist Details */
.payment-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-checklist li {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.payment-checklist li i {
  color: #22c55e;
  font-size: 0.9rem;
}

/* Info Callout Box */
.guidance-box {
  background-color: #f1f5f9;
  border-left: 4px solid #0f4c81;
  padding: 1rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.guidance-box i {
  color: #0f4c81;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.btn-secondary-link {
  color: #0f4c81;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.btn-secondary-link:hover {
  gap: 0.75rem;
  color: #0a365c;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet / Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-script {
    font-size: 2.5rem;
  }

  .hero-heading-bold {
    font-size: 3.25rem;
    letter-spacing: 1.5px;
  }

  .hero-description {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Grid Layout Spacing */
  .services-grid,
  .why-us-grid,
  .inquiry-grid {
    gap: 2rem;
  }
}

.mv-grid {
  grid-template-columns: 1fr;
}

.values-grid {
  grid-template-columns: repeat(2, 1fr);
}

about-story-grid {
  gap: 2.5rem;
}

.story-main-heading {
  font-size: 2.35rem;
}

.about-story-img {
  min-height: 380px;
}

.guarantee-content {
  padding: 2.5rem;
}

.guarantee-statement {
  font-size: 1.6rem;
}


/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  /* Hero Typography (Prevent horizontal overflow) */
  .hero-script {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    line-height: 1.1;
  }

  .hero-heading-bold {
    /* Using clamp so it shrinks gracefully on tiny screens */
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: 1px;
  }

  .hero-description {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 2rem 1.25rem;
  }

  .stat-card .stat-number {
    font-size: 2.5rem;
  }

  .trust-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .trust-content {
    text-align: center;
  }

  .trust-title {
    font-size: 1.5rem;
  }

  .trust-text {
    font-size: 0.95rem;
  }

  .trust-media {
    order: 2;
  }

  /* Convert grids to single column */
  .hero-grid,
  .why-us-grid,
  .services-grid,
  .inquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-us-media {
    order: 2;
  }

  .why-us-content {
    order: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-heading {
    font-size: 1.5rem;
  }
}

.cta-card {
  grid-template-columns: 1fr;
}

.cta-content {
  padding: 2.5rem 2rem;
}

.cta-heading {
  font-size: 2rem;
}

.cta-media {
  height: 300px;
}

.cta-floating-badge {
  bottom: 1rem;
  right: 1rem;
  padding: 0.75rem 1.25rem;
}

.contact-hero {
  min-height: 260px;
}

.contact-hero-title {
  font-size: 2.5rem;
}

.contact-hero-description {
  font-size: 0.98rem;
}

.mobile-map-button-wrapper {
  display: block;
}

.about-story-grid {
  grid-template-columns: 1fr;
  /* Stacks image on top, text on bottom */
  gap: 2rem;
}

.story-main-heading {
  font-size: 2rem;
}

.about-story-image-wrapper {
  border-radius: 30px;
}

.about-story-img {
  min-height: 340px;
}

.services-comparison-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-guarantee-box {
  grid-template-columns: 1fr;
}

.guarantee-image-wrapper {
  min-height: 260px;
}

.guarantee-features {
  flex-wrap: wrap;
  gap: 1rem;
}




/* Extra Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-script {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .inquiry-card {
    padding: 1.5rem;
  }
}

.cta-buttons {
  flex-direction: column;
  align-items: stretch;
}

.cta-btn-main {
  justify-content: center;
}

.cta-phone-card {
  justify-content: center;
}

.cta-media {
  height: 240px;
}

.contact-hero-title {
  font-size: 2rem;
}

.story-card {
  padding: 2.5rem 1.5rem;
}

.values-grid {
  grid-template-columns: 1fr;
}

.value-card-wide {
  grid-column: span 1;
}

.about-story-section {
  padding: 3.5rem 0;
}

.about-story-image-wrapper {
  border-radius: 20px;
}

.story-main-heading {
  font-size: 1.65rem;
}

.story-pill-tag {
  font-size: 0.75rem;
  padding: 0.25rem 1rem;
}

.story-body-text p {
  font-size: 0.98rem;
}

.story-btn {
  width: 100%;
  /* Full-width CTA button on small phones */
  text-align: center;
}

.service-program-card {
  padding: 1.75rem;
}

.guarantee-content {
  padding: 1.75rem;
}

.guarantee-statement {
  font-size: 1.35rem;
}

.whatsapp-float {
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  font-size: 26px;
}

/* Tablet View (Under 992px) */
@media (max-width: 992px) {
  .payment-section {
    padding: 4rem 0;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    /* Switch to 1 column */
    gap: 1.5rem;
    max-width: 650px;
    /* Center cards on tablet */
  }

  .payment-card {
    padding: 2rem;
  }
}

/* Small Mobile View (Under 576px) */
@media (max-width: 576px) {
  .payment-section {
    padding: 3rem 0;
  }

  .payment-header {
    margin-bottom: 2rem;
  }

  .payment-header .section-title {
    font-size: 1.75rem;
    /* Smaller heading for phone screens */
  }

  .payment-header .section-subtitle {
    font-size: 0.95rem;
  }

  .payment-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .payment-badge {
    position: static;
    /* Stack badge above title on small screens */
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
  }

  .card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .payment-card h3 {
    font-size: 1.25rem;
  }

  .guidance-box {
    padding: 0.85rem;
    font-size: 0.85rem;
  }
}