/* ==========================================================================
   Dr. Afeera Suha's Wellness Clinic - Base Styles
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-color: #1F7A6C; /* Deep modern green */
    --primary-light: #2c9b8a;
    --primary-dark: #12554a;
    --secondary-color: #EAF6F6; /* Soft Blue */
    --secondary-dark: #b3dfdf;
    --accent-color: #4DB6AC; 
    
    /* Backgrounds */
    --bg-main: #FFFFFF;
    --bg-light: #EAF6F6; 
    --bg-dark: #1A1A1A;
    --bg-gradient: linear-gradient(135deg, #EAF6F6 0%, #FFFFFF 100%);
    --bg-green-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Text Colors */
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --text-light: #ffffff;
    
    /* Dimensions & Spacing */
    --nav-height: 80px;
    --section-padding: 80px 20px;
    --container-width: 1200px;
    --border-radius: 10px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(31, 122, 108, 0.08); /* Soft primary tint shadow */
    --shadow-md: 0 10px 25px rgba(31, 122, 108, 0.12);
    --shadow-lg: 0 20px 40px rgba(31, 122, 108, 0.15);
    --shadow-glow: 0 10px 30px rgba(31, 122, 108, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-gradient { background: var(--bg-gradient); }
.bg-green-gradient { background: var(--bg-green-gradient); }
.bg-green-gradient h2, .bg-green-gradient p { color: var(--text-light); }
.text-white { color: var(--text-light) !important; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.text-highlight { color: var(--primary-color); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.shadow-lg { box-shadow: var(--shadow-lg); }

/* Layout Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    .section {
        padding: 60px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-dark);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color) !important;
}
.btn-outline-light {
    border: 2px solid white;
    color: white;
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Video Testimonials Section
   ========================================================================== */

.video-testimonials {
    background-color: var(--bg-main);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

.video-info p::before {
    content: '"';
}

.video-info p::after {
    content: '"';
}

/* Base Responsive Container Padding */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 85px; /* Taller for breathing space */
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 15px 0; /* Add top and bottom breathing space (breathing room) */
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

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

.logo img {
    width: auto;
    object-fit: contain;
}

.nav-logo {
    height: 45px;
}

.footer-logo {
    height: 28px; /* More minimal as requested */
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Small gap between name and tagline */
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    white-space: nowrap; /* Prevent "Dr." from breaking to next line */
}

.logo-sub {
    font-size: 0.8rem;
    color: #4B5563;
    font-weight: 500;
}

.footer .logo-name {
    color: white;
    font-size: 1.15rem; /* Proportional to footers */
}

.footer .logo-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem; 
}

/* Hide tagline on very small screens to prevent navbar overflow */
@media (max-width: 400px) {
    .logo-sub {
        display: none;
    }
    .logo-name {
        font-size: 1.15rem;
    }
    .nav-logo {
        height: 38px;
    }
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: var(--transition);
    border-radius: 3px;
}

@media (min-width: 992px) {
    .nav-menu {
        display: block;
    }
    .hamburger {
        display: none;
    }
    .display-mobile-none {
        display: inline-flex;
    }
}
@media (max-width: 991px) {
    .display-mobile-none {
        display: none;
    }
    /* Mobile Menu Active State */
    .nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #f0f0f0;
        animation: slideDown 0.3s ease forwards;
        z-index: 999;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 60px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31,122,108,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-blob {
    position: relative;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: var(--primary-color);
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.hero-image-blob::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: white;
    border-radius: inherit;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
    color: var(--primary-color);
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 3s;
}

.floating-card h4 {
    margin: 0;
    font-size: 0.95rem;
}

.floating-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (min-width: 992px) {
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.25rem; }
}

@media (max-width: 767px) {
    .hero { 
        min-height: auto; 
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
        text-align: center;
        overflow: hidden; /* Prevent any floating items from causing scroll */
    }
    .hero-container { 
        display: flex; 
        flex-direction: column; 
        align-items: center;
        gap: 40px;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-content { 
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-title { 
        font-size: 2rem; 
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        font-size: 1rem;
    }
    .hero-buttons { 
        flex-direction: column; 
        width: 100%; 
        gap: 12px;
    }
    .hero-buttons .btn { 
        width: 100% !important; 
        padding: 16px 20px;
        font-size: 1.1rem;
        box-sizing: border-box;
    }
    .hero-image-wrapper { 
        margin-top: 0; 
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero-image-blob {
        max-width: 300px;
        width: 100%;
    }
    .card-1, .card-2 { 
        display: none; /* Hide floating cards on small mobile to prevent overlap/overflow */
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-content .credentials {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: -10px;
    margin-bottom: 20px;
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary-color);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 25px;
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(31,122,108,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-main);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .why-points { grid-template-columns: 1fr 1fr; }
}

.why-point {
    display: flex;
    gap: 15px;
}

.point-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.point-text h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.point-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.rounded-image {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Timings Section
   ========================================================================== */

.timings {
    margin-top: -60px; /* Overlap the previous section */
    position: relative;
    z-index: 10;
    padding: 0;
}

.info-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.timings-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.card-header {
    background: var(--primary-color);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.card-header i {
    font-size: 28px;
}

.card-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.card-body {
    padding: 30px;
}

.timing-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.1rem;
}

.timing-list li:last-child {
    border-bottom: none;
}

.timing-list li .days {
    font-weight: 500;
}

.timing-list li .hours {
    color: var(--primary-dark);
    font-weight: 600;
}

.timing-list li.closed .hours {
    color: #e53935;
}

.note {
    display: block;
    margin-top: 20px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

@media (max-width: 576px) {
    .timing-list li {
        flex-direction: column;
        gap: 5px;
    }
    .timings { margin-top: 40px; padding: 40px 0; }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-container {
    background: var(--bg-green-gradient);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.cta-container h2 {
    color: white;
    font-size: 2.2rem;
}

.cta-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Back to top and Utilities
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: white;
}

/* Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Multi-Page Additions
   ========================================================================== */

.page-header {
    padding: 100px 0 60px;
    margin-top: calc(var(--nav-height) - 10px);
}

.bg-main { background-color: var(--bg-main); }

/* Booking Form */
.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .booking-wrapper { grid-template-columns: 1fr 1.5fr; }
}

.booking-info { padding: 40px; }
.booking-perks { list-style: none; padding: 0; }
.booking-perks li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: white; font-weight: 500;}
.booking-perks i { color: var(--accent-color); }
.booking-form-area { padding: 40px; }

.form-group { margin-bottom: 20px; text-align: left;}
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; }
.required { color: #e53935; }
.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-control:focus { 
    outline: none; 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px rgba(31,122,108,0.2); 
    background-color: white;
}

textarea.form-control { resize: vertical; min-height: 100px; }

.submit-btn { width: 100%; justify-content: center; font-size: 1.1rem; padding: 16px; margin-top: 10px; }
.form-disclaimer { font-size: 0.85rem; color: var(--text-muted); text-align: center; }

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover { 
    transform: scale(1.1); 
    color: white; 
}

/* Quick Actions Chips */
.quick-actions .chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 767px) {
    .quick-actions .chips-container, 
    .section-ctas, 
    .cta-buttons {
        justify-content: center;
        text-align: center;
    }
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #25D366;
}
.text-whatsapp { color: #25D366; }


/* Mobile Action Bar */
/* Mobile Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: white;
}

.mobile-action-btn.call-action { background: var(--primary-color); }
.mobile-action-btn.wa-action { background: #25D366; }

.mobile-action-btn.wa-action:hover,
.mobile-action-btn.call-action:hover {
    color: white;
}

@media (max-width: 767px) {
    .mobile-action-bar { display: flex; }
    .floating-whatsapp { bottom: 85px; } /* Push floating button up */
    body { padding-bottom: 60px; } /* Prevent footer from hiding behind bar */
    .hide-mobile { display: none; }
}

/* Header CTA fix / Shadow glow */
.shadow-glow { box-shadow: var(--shadow-glow); }
/* ==========================================================================
   Comprehensive Mobile Responsiveness (Overrides)
   ========================================================================== */

@media (max-width: 767px) {
    /* 1. Global Reset & Overflows */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    body {
        padding-bottom: 80px !important; /* Ensure content cleared by sticky bar */
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .section {
        padding: 40px 0 !important;
    }

    /* 2. Global Stacking Enforcement */
    .grid-2, .grid-3, .services-grid, .video-grid, .stats-grid, 
    .footer-container, .why-points, .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
    }

    /* 3. Header & Navbar Resizing */
    .header {
        height: auto !important;
        min-height: 65px !important;
        padding-top: 12px !important; /* Added breathe space from top */
        padding-bottom: 8px !important;
    }

    .nav-logo {
        height: 34px !important;
    }

    .logo-name {
        font-size: 1.05rem !important;
        white-space: nowrap !important;
    }

    .logo-sub {
        display: block !important; /* Enable on mobile as requested */
        font-size: 0.7rem !important;
        color: #6B7280 !important;
    }

    .nav-menu.active {
        top: 100% !important; /* Always start right below header */
        z-index: 999 !important;
    }

    /* 4. Hero Section Reset (No overlaps) */
    .hero {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
        height: auto !important;
        text-align: center !important;
    }

    .hero-content {
        order: 1 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .hero-buttons {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 20px !important;
    }

    .hero-image-wrapper {
        order: 3 !important;
        margin-top: 25px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .hero-image-blob {
        max-width: 240px !important;
        margin: 0 auto !important;
    }

    /* 5. Mobile Action Bar Fix */
    .mobile-action-bar {
        height: 55px !important;
        display: flex !important;
        z-index: 1000 !important;
    }

    .mobile-action-btn {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }

    .floating-whatsapp {
        bottom: 80px !important;
    }

    /* 6. Media and Components Scales */
    img, video, iframe {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .about-preview .grid-2,
    .contact-container .grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* 7. Footer Branding Reset (Strict Matching) */
    .footer-brand {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer .logo {
        justify-content: center !important;
        margin: 0 auto 15px auto !important;
    }

    .footer-logo {
        height: 24px !important;
    }

    .footer-links {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-links ul {
        align-items: center !important;
    }

    /* 8. Global UI Cleanup */
    .display-mobile-none, .floating-card {
        display: none !important;
    }

    .display-mobile-only {
        display: block !important;
    }

    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.3rem !important; }
    .section-title { font-size: 1.6rem !important; }

    .btn {
        width: 100% !important;
        padding: 15px 20px !important;
        justify-content: center !important;
    }
}
