/* ==========================================================================
   1. CORE INITIALIZATION & BASE RULES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #081018;
    color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.inner-page {
    background: #ffffff;
    color: #081018;
}

.page-hero {
    padding: 95px 0;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(rgba(8, 16, 24, .78), rgba(8, 16, 24, .78)),
        url('../images/about-clinic.jpg') center/cover;
}

.page-hero span {
    display: inline-block;
    margin-bottom: 14px;
    color: #00ff9d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    font-size: 44px;
    line-height: 1.25;
}

.page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #d7e2ec;
    font-size: 16px;
    line-height: 1.8;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 30px;
    background: #00ff9d;
    color: #081018;
    font-weight: 700;
}

.page-section {
    padding: 90px 0;
    background: #ffffff;
}

.inner-page .treatments-section {
    background: #081018;
}

.inner-page .treatments-section .section-heading h2 {
    color: #f8fafc;
}

.page-section.alt {
    background: #f6faf8;
}

.notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #e9fff7;
    color: #066746;
    font-weight: 600;
}

.form-group textarea {
    width: 100%;
    min-height: 130px;
    padding: 15px 18px;
    border: 1px solid #dfe8e4;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: vertical;
}

.form-note {
    margin-top: 14px;
    color: #66727d;
    font-size: 13px;
    line-height: 1.6;
}

.admin-panel {
    max-width: 860px;
    margin: 70px auto;
    padding: 34px;
    border-radius: 22px;
    background: #ffffff;
    color: #081018;
}

.admin-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ==========================================================================
   2. NAVBAR & TOP NAVIGATION BLOCK (DESKTOP)
   ========================================================================== */
.navbar {
    height: 110px;
    padding: 0 5%;
    background: #0b1117;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 255, 157, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
}

.logo img {
    height: 75px;
    width: auto;
    transition: 0.3s;
}

.logo img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #00ff9d;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #00ff9d;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hide cross icon strictly on desktops */
.close-menu {
    display: none !important;
}

/* Appointment Button styling */
.book-btn {
    background: #00ff9d;
    padding: 12px 24px;
    border-radius: 30px;
    color: #081018 !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 48px;
}

.book-btn:hover {
    background: #00e58f;
    box-shadow: 0 0 18px rgba(0, 255, 157, .45);
    transform: translateY(-2px);
}

.burger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #00ff9d;
    transition: 0.3s;
}

.burger:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   3. MODERN PREMIUM FOOTER DESIGN
   ========================================================================== */
footer {
    background: #0a121c; /* Soft Premium Slate Navy Dark Blend */
    padding: 55px 5% 25px;
    border-top: 1px solid rgba(0, 255, 157, 0.12);
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    height: 65px;
    margin-bottom: 18px;
}

.footer-box h3 {
    color: #00ff9d;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-box p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 13.5px;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box a {
    color: #cbd5e1;
    font-size: 13.5px;
}

.footer-box a:hover {
    color: #00ff9d;
    padding-left: 5px;
}

.footer-box .contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.footer-box .contact-details p i {
    color: #00ff9d;
    margin-right: 12px;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Social Media Grid Styling */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 157, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
}

.footer-socials a:hover {
    background: #00ff9d;
    color: #081018;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
    transform: translateY(-3px);
}

/* Copyright & Talk2Market Tag */
.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: #8a949d;
    font-size: 13px;
}

.copyright p {
    margin-bottom: 4px;
}

.developer-tag {
    font-size: 13px;
    letter-spacing: 0.2px;
}

.developer-tag a {
    color: #00ff9d;
    font-weight: 600;
    border-bottom: 1px dashed rgba(0, 255, 157, 0.3);
}

.developer-tag a:hover {
    border-bottom: 1px solid #00ff9d;
}

/* ==========================================================================
   4. STICKY FLOATING ACTION BUTTONS LAYER (ALWAYS VISIBLE)
   ========================================================================== */
.floating-actions-container {
    position: fixed;
    bottom: 35px;
    right: 35px;
    display: block;
    z-index: 9999; /* Higher layer priority */
}

.floating-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    margin-top: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.floating-action-btn:hover {
    transform: scale(1.1) translateY(-2px);
}

.whatsapp-action {
    background: #25D366;
    animation: actionPulseGreen 2.5s infinite linear;
}

.call-action {
    background: #00ff9d;
    color: #060b11;
    animation: actionPulseNeon 2.5s infinite linear;
}

@keyframes actionPulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes actionPulseNeon {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(0, 255, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

/* ==========================================================================
   5. DEVICE ADAPTABILITY & MEDIA QUERIES (MOBILE)
   ========================================================================== */
@media(max-width: 768px) {
    .navbar {
        height: 90px;
        padding: 0 20px;
    }

    .logo img {
        height: 65px;
    }

    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 90px);
        background: rgba(11, 17, 23, 0.98);
        backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 25px;
        gap: 8px;
        transition: right .45s ease;
        border-left: 1px solid rgba(0, 255, 157, .15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, .35);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 15px;
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }
    
    .nav-links a::after {
        display: none !important;
    }

    /* Force cross close-button parameters specifically for mobile drawer open states */
    .close-menu {
        display: block !important;
        font-size: 26px;
        color: #00ff9d;
        cursor: pointer;
        margin-bottom: 15px;
        width: 100%;
        text-align: right;
    }

    .nav-links .book-btn {
        width: 100%;
        margin-top: 15px;
        border-radius: 12px;
    }

    /* Footer adjustments on small devices */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    footer {
        text-align: center;
        padding-bottom: 170px !important; /* Space reserve so sticky buttons do not block content views */
    }

    .footer-logo {
        margin: auto auto 20px;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-box .contact-details p {
        justify-content: center;
    }

    .floating-actions-container {
        bottom: 25px;
        right: 25px;
    }

    .floating-action-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .page-hero {
        padding: 70px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .page-section {
        padding: 70px 0;
    }
}
