/* ==========================================================================
   WAY2PHILIPPINES - MBBS MEDICAL EDUCATION
   Color Scheme & Design Tokens matching the Brand Logo:
   - Primary Medical Green : #008744 (Shield & Medical Emblem)
   - Primary Dark Green    : #006633
   - Primary Light Green   : #e8f7ee
   - Accent Orange         : #f36c21 (The "(2)" in WAY(2)PHILIPPINES)
   - Accent Orange Dark    : #d9550e
   - Accent Orange Light   : #fff2ea
   - Dark Typography       : #151d24 (Title "WAY PHILIPPINES")
   - Subtitle Gray         : #5e6871 ("MEDICAL EDUCATION")
   - Light Neutral Bg      : #f8fafc
   ========================================================================== */

:root {
    --color-green-primary: #008744;
    --color-green-dark: #006633;
    --color-green-light: #e8f7ee;
    --color-green-glow: rgba(0, 135, 68, 0.15);

    --color-orange-accent: #f36c21;
    --color-orange-dark: #d9550e;
    --color-orange-light: #fff2ea;
    --color-orange-glow: rgba(243, 108, 33, 0.2);

    --color-dark-text: #151d24;
    --color-body-text: #334155;
    --color-gray-subtext: #5e6871;
    --color-border: #e2e8f0;
    --color-border-green: #cbead7;

    --color-white: #ffffff;
    --color-surface-light: #f8fafc;
    --color-surface-card: #ffffff;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 10px 30px -5px rgba(0, 135, 68, 0.12);
    --header-height: 84px;
}

/* --------------------------------------------------------------------------
   RESET & GLOBAL STYLES
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* --------------------------------------------------------------------------
   TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background: linear-gradient(90deg, #005a2b 0%, #00793c 100%);
    color: #ffffff;
    font-size: 0.825rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-info i {
    color: #ffab70;
    margin-right: 5px;
}

.top-info a {
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.top-info a:hover {
    color: #ffc9a5;
    text-decoration: underline;
}

.top-info .divider {
    opacity: 0.4;
    user-select: none;
}

.top-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* NMC Validity Pill Badge matching Reference */
.nmc-validity-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #eef8ff;
    padding: 3px 14px 3px 5px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nmc-validity-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.badge-check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #008744;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.72rem;
    box-shadow: 0 1px 4px rgba(0, 135, 68, 0.3);
}

.badge-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 0.79rem;
    font-weight: 800;
    color: #0b2540;
    letter-spacing: -0.1px;
}

.badge-subtitle {
    font-family: var(--font-body);
    font-size: 0.67rem;
    color: #3b5062;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   STICKY HEADER & NAV BAR
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 135, 68, 0.12);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    height: 74px;
    box-shadow: 0 4px 20px rgba(0, 50, 20, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

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

/* Brand Logo (Left) */
.brand-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 8px 0;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.site-header.scrolled .logo-image {
    height: 52px;
}

.brand-logo:hover .logo-image {
    transform: scale(1.02);
}

/* Right Navigation Group (Nav Links + Action Buttons) */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--color-dark-text);
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.2px;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-green-primary) 0%, var(--color-orange-accent) 100%);
    border-radius: 4px;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-green-primary);
}

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

.nav-link.active {
    color: var(--color-green-primary);
}

/* Right Navigation Action Buttons (WhatsApp Now, Call Now, Apply Now) */
.nav-actions-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    line-height: 1;
    white-space: nowrap;
}

.nav-btn-wa {
    background: #25d366;
    color: #ffffff !important;
    border: 1px solid #1ebd5a;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
}

.nav-btn-wa:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.42);
    color: #ffffff !important;
}

.nav-btn-wa i {
    font-size: 1.05rem;
    color: #ffffff !important;
}

.nav-btn-call {
    background: #0284c7;
    color: #ffffff !important;
    border: 1px solid #0284c7;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.28);
}

.nav-btn-call:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.42);
    color: #ffffff !important;
}

.nav-btn-call i {
    font-size: 0.92rem;
    color: #ffffff !important;
}

.nav-btn-apply {
    background: linear-gradient(135deg, var(--color-orange-accent) 0%, #ff4500 100%);
    color: #ffffff !important;
    border: 1px solid var(--color-orange-accent);
    padding: 9px 20px;
    box-shadow: 0 4px 14px rgba(243, 108, 33, 0.35);
}

.nav-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243, 108, 33, 0.45);
    color: #ffffff !important;
}

.nav-btn-apply i {
    font-size: 0.82rem;
    transition: transform var(--transition-fast);
}

.nav-btn-apply:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION TOGGLE (HAMBURGER)
   -------------------------------------------------------------------------- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--color-green-light);
    border: 1px solid var(--color-border-green);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: background-color var(--transition-fast);
}

.mobile-toggle:hover {
    background: #d9f3e3;
}

.hamburger-bar {
    width: 24px;
    height: 2.5px;
    background-color: var(--color-green-primary);
    border-radius: 4px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   HERO SECTION SLIDESHOW (CAROUSEL)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 420px;
    background-color: #f6fcf8;
    overflow: hidden;
    border-bottom: 2px solid var(--color-border-green);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 420px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    padding-top: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background image handling with clean natural display */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Base definition for slide background overlay pseudo-element */
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 580px;
    padding: 0;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.6s ease 0.15s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e6f6ec;
    color: var(--color-green-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 135, 68, 0.25);
    box-shadow: 0 2px 6px rgba(0, 135, 68, 0.08);
}

.hero-badge i {
    color: var(--color-orange-accent);
}

/* Hero Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--color-dark-text);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.hero-title-highlight {
    display: block;
    color: var(--color-green-primary);
    font-size: 1.68rem;
    font-weight: 700;
    margin-top: 3px;
}

/* Hero Validity Cards Group (Fit content width, no extra whitespace) */
.hero-validity-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 6px 0 14px 0;
    width: fit-content;
    max-width: 100%;
}

.hero-validity-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-validity-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    border-left: 4px solid var(--color-green-primary);
    box-shadow: 0 4px 12px rgba(0, 60, 25, 0.08);
    border-top: 1px solid #e1efe6;
    border-right: 1px solid #e1efe6;
    border-bottom: 1px solid #e1efe6;
    width: fit-content;
    max-width: 100%;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-validity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 60, 25, 0.12);
}

.hero-validity-card.compact {
    padding: 5px 12px;
}

.hero-validity-card.compact .validity-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.85rem;
}

.hero-validity-card.compact .validity-title {
    font-size: 0.84rem;
    font-weight: 700;
}

.validity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #e8f7ee;
    color: var(--color-green-primary);
    border-radius: 50%;
    font-size: 1rem;
}

.validity-content {
    display: flex;
    flex-direction: column;
}

.validity-title {
    font-family: var(--font-heading);
    font-size: 0.90rem;
    font-weight: 800;
    color: #0b2540;
    line-height: 1.2;
}

.validity-desc {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #4b5d6e;
    font-weight: 500;
    margin-top: 1px;
}

/* Features List */
.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 26px;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-dark-text);
}

.feature-item i {
    color: var(--color-orange-accent);
    font-weight: 900;
    font-size: 0.85rem;
}

/* Hero CTA Button Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta-group .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: 28px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange-accent) 0%, #ff4500 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(243, 108, 33, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(243, 108, 33, 0.45);
    color: #ffffff;
}

.btn-primary i {
    transition: transform var(--transition-fast);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary,
.btn-call-expert,
.hero-cta-group .btn-secondary,
.hero-cta-group .btn-call-expert {
    background: #0284c7 !important;
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: 1.5px solid #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

.btn-secondary i,
.btn-call-expert i,
.hero-cta-group .btn-secondary i,
.hero-cta-group .btn-call-expert i {
    color: #ffffff !important;
}

.btn-secondary:hover,
.btn-call-expert:hover,
.hero-cta-group .btn-secondary:hover,
.hero-cta-group .btn-call-expert:hover {
    background: #0369a1 !important;
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
}

/* Carousel Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 135, 68, 0.25);
    color: var(--color-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--color-green-primary);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 135, 68, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.prev-arrow {
    left: 16px;
}

.next-arrow {
    right: 16px;
}

/* Carousel Dots / Pagination */
.slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-normal);
}

.slider-dot:hover {
    background: #94a3b8;
}

.slider-dot.active {
    width: 28px;
    background: var(--color-green-primary);
}

/* --------------------------------------------------------------------------
   ABOUT US SECTION
   -------------------------------------------------------------------------- */
.about-section {
    padding: 35px 0 45px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Media Column */
.about-media-col {
    position: relative;
    width: 100%;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 20px 45px -10px rgba(0, 135, 68, 0.18);
    border: 4px solid #ffffff;
    background: #ffffff;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 135, 68, 0.12) 0%, rgba(243, 108, 33, 0.12) 100%);
    z-index: -1;
}

.about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 18px;
    display: block;
    transition: transform var(--transition-normal);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

/* Right Content Column - Proportional & Elegant */
.about-content-col {
    display: flex;
    flex-direction: column;
}

.about-header {
    display: flex;
    flex-direction: column;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-green-light);
    color: var(--color-green-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.825rem;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 135, 68, 0.2);
    width: fit-content;
}

.about-main-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--color-dark-text);
    line-height: 1.22;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.about-highlight-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #f6fcf8 100%);
    border-left: 4px solid var(--color-green-primary);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-top: 1px solid #d4ede0;
    border-right: 1px solid #d4ede0;
    border-bottom: 1px solid #d4ede0;
}

.about-highlight-box p {
    color: #104826;
    font-weight: 600;
    font-size: 0.985rem;
    line-height: 1.62;
}

.about-description p {
    color: var(--color-body-text);
    font-size: 0.965rem;
    line-height: 1.62;
    margin-bottom: 12px;
}

.about-goal-note {
    background: #fff8f3;
    border: 1px solid #ffe3d1;
    border-left: 4px solid var(--color-orange-accent);
    padding: 13px 18px;
    border-radius: 10px;
    color: #7a350a !important;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 0 !important;
    font-size: 0.925rem;
    line-height: 1.48;
}

.about-goal-note i {
    color: var(--color-orange-accent);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.about-goal-note span {
    display: inline;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US SECTION (CONTINUOUS MOVING SHOWCASE)
   -------------------------------------------------------------------------- */
.why-choose-section {
    padding: 40px 0 35px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2f2e7;
    border-bottom: 1px solid #e2f2e7;
}

.text-center {
    text-align: center;
}

.why-choose-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--color-dark-text);
    margin-top: 6px;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.why-choose-description {
    font-size: 1.02rem;
    color: var(--color-gray-subtext);
    max-width: 780px;
    margin: 0 auto 8px auto;
    line-height: 1.62;
}

/* Continuous Marquee Carousel Track */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 22px 0 25px 0;
    /* Soft edge fade masks */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marqueeContinuous 26s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeContinuous {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-mobile-hint {
    display: none;
}

@media (min-width: 769px) {
    .mobile-loop-clone {
        display: none !important;
    }
}

/* Feature Cards matching user's image icons */
.why-card {
    flex: 0 0 270px;
    width: 270px;
    height: 235px;
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 40, 20, 0.06);
    border: 1px solid #e3e8ee;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 135, 68, 0.18);
    border-color: var(--color-green-primary);
    z-index: 5;
}

/* Circular Icons matching image exactly */
.why-icon-circle {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.95rem;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-fast);
}

.why-card:hover .why-icon-circle {
    transform: scale(1.08);
}

/* Blue circle for University */
.icon-blue {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}

/* Orange circle for Food */
.icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

/* Green circle for Hospital */
.icon-green {
    background: linear-gradient(135deg, #008744 0%, #006633 100%);
    color: #ffffff;
}

/* Purple circle for NEET */
.icon-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0d2840;
    line-height: 1.3;
    margin-bottom: 2px;
}

.why-card-sub {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   LEAD FORM SECTION (HIGH-CONVERTING TWO-COLUMN LAYOUT)
   -------------------------------------------------------------------------- */
.lead-form-section {
    padding: 45px 0 32px 0;
    background: #0d171d;
    background-image:
        radial-gradient(circle at 12% 20%, rgba(0, 135, 68, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 88% 80%, rgba(243, 108, 33, 0.22) 0%, transparent 45%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.lead-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 56px;
    align-items: stretch;
}

/* Left Column - Guidance Benefits */
.lead-info-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 108, 33, 0.16);
    color: #ff8c42;
    border: 1px solid rgba(243, 108, 33, 0.4);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    width: fit-content;
}

.lead-info-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.lead-title-accent {
    color: var(--color-orange-accent);
}

.lead-info-sub {
    font-size: 1.02rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lead-features-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    margin-top: 4px;
}

.lead-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 13px 20px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.lead-feature-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(0, 135, 68, 0.5);
    transform: translateX(6px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.icon-grad {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
}

.icon-money {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.icon-doc {
    background: rgba(0, 135, 68, 0.2);
    color: #4ade80;
}

.icon-visa {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.icon-nmc {
    background: rgba(243, 108, 33, 0.2);
    color: #fb923c;
}

.icon-student {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.feature-text {
    display: flex;
    align-items: center;
}

.feature-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

/* Right Column - White Card Form */
.lead-card-col {
    position: relative;
}

.lead-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: var(--color-dark-text);
}

.lead-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-green-light);
    color: var(--color-green-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.lead-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #0d2840;
    line-height: 1.25;
    margin-bottom: 4px;
}

.lead-card-desc {
    font-size: 0.88rem;
    color: var(--color-gray-subtext);
    margin-bottom: 22px;
}

/* Form Fields */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.req {
    color: #ef4444;
}

/* Radio Pill Group for Question 1 */
.radio-pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.radio-pill {
    cursor: pointer;
}

.radio-pill input {
    display: none;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #f8fafc;
    color: #334155;
    transition: all var(--transition-fast);
}

.radio-pill input:checked+.pill-btn {
    background: var(--color-green-light);
    border-color: var(--color-green-primary);
    color: var(--color-green-primary);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 135, 68, 0.15);
}

/* Inline Form Group for Question 3 (Saves Vertical Space) */
.form-group-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-group-inline .form-label {
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.35;
    flex: 1 1 auto;
}

.form-group-inline .radio-pill-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.form-group-inline .pill-btn {
    padding: 6px 14px;
    font-size: 0.825rem;
    border-radius: 20px;
}

/* Input Fields with Icons */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--color-dark-text);
    background: #ffffff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--color-green-primary);
    box-shadow: 0 0 0 3px var(--color-green-glow);
}

/* Phone input with +91 prefix */
.phone-input-box .country-prefix {
    position: absolute;
    left: 14px;
    font-weight: 700;
    color: #334155;
    font-size: 0.92rem;
    border-right: 1px solid #cbd5e1;
    padding-right: 8px;
    line-height: 1;
}

.phone-input-box input {
    padding-left: 56px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Captcha Verification Row */
.captcha-group {
    margin-top: 14px;
    margin-bottom: 16px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-canvas-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 145px;
    min-width: 145px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.captcha-canvas-box:hover {
    border-color: var(--color-green-primary);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 3px var(--color-green-glow);
}

.captcha-canvas-box canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.btn-captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    color: #475569;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-captcha-refresh:hover {
    background: var(--color-green-light);
    color: var(--color-green-primary);
    border-color: var(--color-green-primary);
    transform: rotate(45deg);
}

.captcha-input-wrap {
    flex: 1;
}

.captcha-input-wrap input {
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 1rem;
}

/* Submit Button */
.btn-lead-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-orange-accent) 0%, #ff4500 100%);
    color: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 22px rgba(243, 108, 33, 0.35);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-lead-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(243, 108, 33, 0.45);
    color: #ffffff;
}

.btn-lead-submit:hover i {
    transform: translateX(4px);
}

.form-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 14px;
    text-align: center;
}

.form-security-note i {
    color: var(--color-green-primary);
}

/* Success Message */
.form-success-message {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    color: #065f46;
    margin-top: 16px;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    font-size: 2.2rem;
    color: var(--color-green-primary);
    margin-bottom: 8px;
}

.form-success-message h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #064e3b;
}

.form-success-message p {
    font-size: 0.88rem;
    color: #047857;
}

/* --------------------------------------------------------------------------
   SITE FOOTER (SECTION 6) - Clean Light / White Theme
   -------------------------------------------------------------------------- */
.site-footer {
    background: #ffffff;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 60px 0 44px 0;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr;
    gap: 48px;
    align-items: flex-start;
    width: 100%;
}

/* Col 1: Brand (Leftmost - Aligned with Header Logo) */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-block;
    background: transparent;
    padding: 0;
    margin: 0 0 16px 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform var(--transition-fast);
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.footer-text {
    font-size: 0.88rem;
    line-height: 1.62;
    color: #475569;
    margin-bottom: 20px;
    max-width: 440px;
}

/* Social & Contact Icons in Col 1 */
.footer-social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border: 1px solid #e2e8f0;
}

.icon-fb:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(24, 119, 242, 0.25);
}

.icon-insta:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    border-color: #dc2743;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(220, 39, 67, 0.25);
}

.icon-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
}

.icon-call:hover {
    background: var(--color-orange-accent);
    color: #ffffff;
    border-color: var(--color-orange-accent);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(243, 108, 33, 0.25);
}

/* Col 2: Quick Links */
.footer-col-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--color-green-primary);
    border-radius: 2px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.footer-links-list a i {
    font-size: 0.72rem;
    color: var(--color-green-primary);
    transition: transform var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--color-green-primary);
    transform: translateX(4px);
}

.footer-links-list a:hover i {
    color: var(--color-orange-accent);
}

/* Col 3: Direct Contact Cards (Connect With Us) */
.footer-col-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

.footer-contact-desc {
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 16px;
    max-width: 300px;
    line-height: 1.5;
}

.footer-phone-card,
.footer-wa-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    width: fit-content;
    max-width: 240px;
    transition: all var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.footer-phone-card:hover,
.footer-wa-card:hover {
    background: #f1f5f9;
    border-color: var(--color-green-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.phone-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(243, 108, 33, 0.12);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.wa-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(37, 211, 102, 0.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.phone-card-info,
.wa-card-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.phone-card-info span,
.wa-card-info span {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.phone-card-info strong,
.wa-card-info strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 22px 0;
    width: 100%;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

.disclaimer-text {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-green-primary);
    color: #ffffff;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 135, 68, 0.25);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-right: 190px;
}

.back-to-top:hover {
    background: var(--color-orange-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 108, 33, 0.35);
}

/* --------------------------------------------------------------------------
   FLOATING ACTION TOGGLES (WHATSAPP & CALL NOW)
   -------------------------------------------------------------------------- */
.floating-contact-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: auto;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    padding: 0 12px;
    border-radius: 30px;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    transition: max-width 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
        padding 0.35s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-btn-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn-call {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.floating-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
}

.floating-btn-text {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 0;
    transition: max-width 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
        opacity 0.25s ease,
        margin-left 0.3s ease;
}

/* Expanded State (via 2s auto-expanded class OR intentional hover) */
.floating-btn:hover,
.floating-btn.auto-expanded {
    max-width: 170px;
    padding: 0 18px 0 14px;
}

.floating-btn:hover .floating-btn-text,
.floating-btn.auto-expanded .floating-btn-text {
    max-width: 120px;
    opacity: 1;
    margin-left: 9px;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-btn-wa:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.floating-btn-call:hover {
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.55);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    :root {
        --header-height: 76px;
    }

    .hide-mobile {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background: #ffffff;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 0px solid transparent;
    }

    .nav-menu.is-open {
        height: 200px;
        border-bottom: 2px solid var(--color-green-primary);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 14px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 8px 0;
        font-size: 1.02rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-actions-group {
        gap: 8px;
    }

    .nav-btn-wa span,
    .nav-btn-call span {
        display: none;
    }

    .nav-btn-wa,
    .nav-btn-call {
        padding: 0;
        width: 38px;
        height: 38px;
        justify-content: center;
        border-radius: 50%;
    }

    .nav-btn-apply {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hero Responsive Tablet */
    .hero-section,
    .hero-slider,
    .hero-slide {
        min-height: 420px;
        height: 420px;
    }

    .hero-content {
        max-width: 480px;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-title-highlight {
        font-size: 1.55rem;
    }

    .hero-slide-bg::after {
        display: block;
        background: linear-gradient(90deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.88) 50%,
                rgba(255, 255, 255, 0.35) 75%,
                transparent 100%);
    }

    /* About Section Responsive Tablet & Mobile */
    .about-section {
        padding: 40px 0;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .about-content-col {
        display: contents;
    }

    .about-header {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-header .about-main-title {
        margin-bottom: 0;
    }

    .about-media-col {
        order: 2;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .about-highlight-box {
        order: 3;
        margin-bottom: 0;
    }

    .about-description {
        order: 4;
    }

    /* Lead Form Responsive Tablet */
    .lead-form-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .lead-info-col,
    .lead-card-col {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .lead-features-list {
        flex: none;
        gap: 12px;
    }

    .lead-info-title {
        font-size: 2.2rem;
    }

    /* Footer Responsive Tablet */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    /* Hide WhatsApp and Call Now buttons from Navbar on mobile view */
    .nav-actions-group .nav-btn-wa,
    .nav-actions-group .nav-btn-call {
        display: none !important;
    }

    .hero-section,
    .hero-slider,
    .hero-slide {
        min-height: auto;
        height: auto;
        position: relative;
    }

    .hero-slide {
        position: relative;
        display: none;
        padding: 30px 0 45px 0;
    }

    .hero-slide.active {
        display: block;
    }

    .hero-slide-bg::after {
        display: block;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.68) 0%,
                rgba(255, 255, 255, 0.52) 36%,
                rgba(240, 252, 245, 0.42) 70%,
                rgba(224, 247, 233, 0.55) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 5px 0 15px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        color: #081a10;
        font-weight: 800;
        display: inline-block;
        background: linear-gradient(90deg,
                rgba(255, 255, 255, 0.80) 0%,
                rgba(255, 255, 255, 0.65) 65%,
                rgba(255, 255, 255, 0.25) 100%);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        padding: 6px 12px;
        border-radius: 12px;
        border-left: 3px solid var(--color-green-primary);
        text-shadow:
            0 1px 1px #ffffff,
            0 0 10px rgba(255, 255, 255, 0.95);
        margin-bottom: 8px;
    }

    .hero-title-highlight {
        font-size: 1.45rem;
        color: #00733a;
        font-weight: 800;
        text-shadow:
            0 1px 1px #ffffff,
            0 0 8px rgba(255, 255, 255, 0.95);
    }

    .slider-arrow {
        display: none;
    }

    .slider-pagination {
        bottom: 12px;
    }

    .about-section {
        padding: 35px 0;
    }

    /* Why Choose Us Tablet */
    .why-choose-section {
        padding: 40px 0 45px 0;
    }

    .why-choose-title {
        font-size: 1.95rem;
    }

    .why-choose-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    /* Why Choose Us Mobile Interactive Horizontal Scroll Track */
    .marquee-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
        touch-action: pan-x pan-y;
        cursor: grab;
        scrollbar-width: none;
        padding: 16px 0 20px 0;
        mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
    }

    .marquee-wrapper::-webkit-scrollbar {
        display: none;
    }

    .marquee-wrapper:active {
        cursor: grabbing;
    }

    .marquee-track {
        animation: none !important;
        gap: 16px;
        padding: 0 16px;
        will-change: scroll-position;
    }

    .why-card {
        flex: 0 0 250px;
        width: 250px;
        padding: 24px 18px 20px 18px;
        user-select: none;
        -webkit-user-select: none;
    }

    .why-icon-circle {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .marquee-mobile-hint {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 6px auto 0 auto;
        padding: 5px 14px;
        background: #eef8f2;
        border: 1px solid rgba(0, 135, 68, 0.2);
        border-radius: 20px;
        color: var(--color-green-primary);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .marquee-mobile-hint i {
        font-size: 0.8rem;
        animation: pulseArrows 1.8s ease-in-out infinite;
    }

    @keyframes pulseArrows {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(3px);
        }
    }

    /* Footer Mobile & Small Tablet */
    .footer-top {
        padding: 45px 0 30px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 72px; /* Leaves clear breathing room above floating contact buttons */
    }

    .footer-legal {
        align-items: center;
    }

    .back-to-top {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-image {
        height: 48px;
    }

    .site-header.scrolled .logo-image {
        height: 44px;
    }

    .top-info {
        font-size: 0.775rem;
    }

    .hero-title {
        font-size: 1.65rem;
        padding: 6px 10px;
        text-shadow:
            0 1px 1px #ffffff,
            0 0 10px rgba(255, 255, 255, 0.95);
    }

    .hero-title-highlight {
        font-size: 1.35rem;
        text-shadow:
            0 1px 1px #ffffff,
            0 0 8px rgba(255, 255, 255, 0.95);
    }

    .hero-validity-card {
        padding: 10px 14px;
        gap: 10px;
    }

    .validity-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 1.1rem;
    }

    .validity-title {
        font-size: 0.95rem;
    }

    .validity-desc {
        font-size: 0.75rem;
    }

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

    .hero-cta-group .btn {
        width: 100%;
    }

    /* About Mobile */
    .about-main-title {
        font-size: 1.75rem;
    }

    /* Why Choose Mobile */
    .why-choose-title {
        font-size: 1.65rem;
    }

    /* Lead Form Mobile */
    .lead-form-section {
        padding: 40px 0 28px 0;
    }

    .lead-info-title {
        font-size: 1.85rem;
    }

    .lead-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

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

    .lead-card-title {
        font-size: 1.45rem;
    }

    .radio-pill-group {
        flex-direction: column;
    }

    .pill-btn {
        width: 100%;
        justify-content: center;
    }

    /* Keep Question 3 Yes/No compact and inline on mobile */
    .form-group-inline {
        flex-wrap: wrap;
        gap: 8px;
    }

    .form-group-inline .radio-pill-group {
        flex-direction: row;
        width: auto;
    }

    .form-group-inline .pill-btn {
        width: auto;
        padding: 6px 12px;
    }

    /* Floating Contact Toggles on Mobile */
    .floating-contact-container {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-btn {
        height: 44px;
        min-width: 44px;
        max-width: 44px;
        padding: 0 10px;
    }

    .floating-btn:hover,
    .floating-btn.auto-expanded {
        max-width: 160px;
        padding: 0 15px 0 11px;
    }
}