body {
}

/* Plan footer: price + buy button */
.plan-footer { 
    gap: 1rem; /* space between price and button */
}
.plan-price {
    font-weight: 500;
    color: #333;
}
.plan-buy {
    /* ensure consistent button height and padding */
    padding: .55rem 1.2rem;
    border-radius: 28px;
}

@media (max-width: 575.98px) {
    .plan-footer {
        justify-content: flex-start !important;
    }
    .plan-buy {
        margin-left: 0;
    }
}

/* ================= PREMIUM THEME ENHANCEMENTS ================= */

/* Smooth gradient backgrounds for sections and headers */
.bg-gradient-premium {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    color: #FAF9F6;
}

/* Premium Card Hover Effects */
.rounded-10px {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.rounded-10px:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 114, 188, 0.12) !important;
    border-color: rgba(41, 171, 226, 0.3);
}

/* Enhanced Buttons with subtle glow and gradient */
.btn-main, a.btn-main {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.25);
}

.btn-main:hover, a.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(2, 114, 188, 0.4);
}

/* Subtle continuous pulse animation for key elements (like the hero button) */
@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(41, 171, 226, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0); }
}

.fx-slide {
    animation: softPulse 2.5s infinite;
}

/* Image Hover Scale enhancement */
.hover-scale-1-2 {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.hover.circle:hover .hover-scale-1-2 {
    transform: scale(1.08) !important;
}

/* Subtle glassmorphism for top bar and header */
header.smaller {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Clean up legal text layout */
.content-policy {
    background: #FAF9F6;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.content-policy h3 {
    margin-top: 30px;
    color: var(--primary-color);
    font-size: 22px;
}

.content-policy p, .content-policy ul {
    color: var(--body-font-color);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .content-policy {
        padding: 24px 18px !important;
        margin-top: -20px !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   PROFESSIONAL RESPONSIVE & ADAPTIVE DESIGN SYSTEM (Mobile / Tablet / Desktop)
   ========================================================================== */

/* --- Universal Viewport & Overflow Protection --- */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body,
#wrapper {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img, video, svg, iframe {
    max-width: 100%;
    height: auto;
}

/* --- Fluid Responsive Typography --- */
h1, .h1 {
    font-size: clamp(26px, 5.5vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: clamp(22px, 4.2vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h3, .h3 {
    font-size: clamp(18px, 3.2vw, 24px);
    line-height: 1.3;
}

p {
    font-size: 15px;
    line-height: 1.68;
}

.subtitle, .subtitle.s2 {
    font-size: clamp(11.5px, 2.5vw, 13.5px) !important;
    letter-spacing: 1.5px !important;
    line-height: 1.4;
}

/* --- Hero CTA & Pricing Alignment (Fixes Mobile Price Collisions) --- */
.hero-cta-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-cta-group .price-inline {
    margin-left: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.hero-cta-group .price-inline strong {
    color: #FAF9F6;
    font-size: 19px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .hero-cta-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 12px auto 0 !important;
        text-align: center !important;
    }

    .hero-cta-group .btn-glow,
    .hero-cta-group .btn-main {
        width: auto !important;
        min-width: 230px !important;
        max-width: 100% !important;
        justify-content: center !important;
        padding: 14px 28px !important;
        font-size: 15px !important;
        text-align: center !important;
    }

    .hero-cta-group .price-inline {
        font-size: 14px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        padding: 5px 16px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }
}

/* --- Subheader & Banner Responsive Adaptation --- */
#subheader {
    padding: clamp(110px, 18vw, 160px) 0 clamp(40px, 7vw, 70px) !important;
    text-align: center;
}

#subheader h1 {
    font-size: clamp(26px, 5.5vw, 46px);
    margin-bottom: 8px;
}

.crumb-wrapper {
    position: relative;
    z-index: 5;
    margin-top: 15px;
}

@media (max-width: 767px) {
    #subheader img.abs {
        display: none !important;
    }
    .crumb-wrapper {
        margin-top: 8px;
    }
}

/* --- Swiper Hero Slider on Homepage --- */
@media (max-width: 768px) {
    .mh-800 {
        min-height: 540px !important;
        height: auto !important;
    }
    .swiper-inner {
        padding: 130px 0 70px !important;
        min-height: 540px !important;
        display: flex !important;
        align-items: center !important;
    }
    .sw-caption {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        padding: 0 !important;
    }
    .sw-caption h1 {
        font-size: clamp(24px, 6.2vw, 34px) !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
    }
    .sw-overlay.op-3 {
        opacity: 0.55 !important; /* Higher contrast on mobile for bright backgrounds */
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Clean navigation via touch swipe on mobile */
    }
}

/* --- Mobile Input & Form Optimizations (Prevents iOS Auto-Zoom) --- */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea,
    .form-control,
    .form-control-custom {
        font-size: 16px !important; /* Critical: 16px prevents iOS Safari auto-zoom */
        min-height: 48px !important;
        border-radius: 10px !important;
    }
    
    .btn-main,
    .btn-pay,
    button[type="submit"] {
        min-height: 48px !important;
        font-size: 15px !important;
        padding: 12px 24px !important;
    }
}

/* --- Plan Pricing Cards Grid (plans.aspx) --- */
.plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    border: 1.5px solid #e6ebf0;
    background: #ffffff;
    padding: 34px 26px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(2, 114, 188, 0.12);
    border-color: #29abe2;
}

.plan-head h3 {
    font-size: 22px;
    font-weight: 700;
    color: #07426b;
    margin-bottom: 4px;
}

.plan-head p {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 18px;
}

.plan-price {
    padding: 16px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 20px;
}

.plan-price .price-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0272bc;
}

.plan-price .price-value {
    font-size: clamp(28px, 4.5vw, 36px);
    font-weight: 800;
    color: #07426b;
    line-height: 1.1;
    margin: 4px 0 6px;
}

.plan-price .price-value small {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.plan-price .price-sub {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.plan-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ul-check {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.ul-check li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    border-bottom: 1px solid #f1f5f9;
}

.ul-check li:last-child {
    border-bottom: none;
}

.ul-check li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #0272bc;
    font-weight: 800;
    font-size: 13px;
}

.plan-cta .btn-main {
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 600;
    font-size: 14.5px;
}

.plan-cta p.fs-12 {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .plan-card {
        padding: 24px 18px;
        margin-bottom: 16px;
    }
}

/* --- Team & Health Consultant Card Touch Enhancement --- */
@media (max-width: 991px) {
    .rounded-1.bg-color-op-3 {
        border-radius: 16px !important;
        overflow: hidden;
    }
    
    /* Make touch overlays clean and accessible */
    .hover-op-1 {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .hover:active .hover-op-1,
    .hover:focus .hover-op-1 {
        opacity: 1;
    }
}

/* --- Checkout & Booking Card Polish --- */
@media (max-width: 768px) {
    .co-card,
    .summary-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    
    .co-card-title {
        font-size: 18px !important;
    }
    
    .checkout-section {
        padding: 30px 0 60px !important;
    }
    
    .summary-card {
        position: relative !important;
        top: 0 !important;
        margin-top: 20px !important;
    }

    /* Padding overrides for small screens */
    .p-40, .p-50, .p-60 {
        padding: 24px 18px !important;
    }

    /* Background image side columns */
    div[data-bgimage] {
        min-height: 260px;
        background-size: cover !important;
        background-position: center !important;
    }

    /* Contact icon text block on mobile */
    .ms-80px {
        margin-left: 70px !important;
    }

    /* Mobile Header & Brand Polish */
    .menu_side_area .btn-main {
        display: none !important;
    }

    #logo img {
        max-height: 40px !important;
        width: auto !important;
    }

    header .header-inner {
        padding: 10px 0 !important;
    }
}



