:root {
    --primary-color: #0a3d62;
    --secondary-color: #3c6382;
    --accent-color: #60a3bc;
    --light-blue: #e8f4f8;
    --success-color: #38ada9;
    --warning-color: #f6b93b;
    --danger-color: #e55039;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Top Header Bar Styles */
.top-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

    .top-header i {
        margin-right: 5px;
        color: var(--accent-color);
    }

    .top-header span {
        margin: 0 8px;
    }

/* Main Header Styles */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

    .main-header.scrolled {
        padding: 10px 0;
        box-shadow: var(--shadow-lg);
    }

    .main-header .clinic-logo {
        max-height: 80px;
        margin-right: 20px;
        transition: var(--transition);
    }

    .main-header.scrolled .clinic-logo {
        max-height: 60px;
    }

    .main-header h3 {
        margin: 0;
        font-weight: 700;
        color: var(--primary-color);
        font-size: 24px;
        transition: var(--transition);
    }

    .main-header.scrolled h3 {
        font-size: 20px;
    }

    .main-header .tagline {
        font-size: 13px;
        color: var(--text-light);
    }

/* Scroll to Top Button */
.tap-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

    .tap-top.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .tap-top:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(10, 61, 98, 0.3);
    }

    .tap-top i {
        font-size: 24px;
    }

/* Footer Styles */
.footer-style-1 {
    background: linear-gradient(135deg, #1e3c72 0%, var(--primary-color) 100%);
    color: var(--white);
    margin-top: 80px;
}

    .footer-style-1 .section-b-space {
        padding: 60px 0 30px;
    }

    .footer-style-1 img {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .footer-style-1 p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.8;
    }

.footer-title h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title h4::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-content ul li {
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.7);
        transition: var(--transition);
        cursor: pointer;
        padding-left: 20px;
        position: relative;
    }

        .footer-content ul li::before {
            content: '\f285';
            font-family: 'remixicon';
            position: absolute;
            left: 0;
            color: var(--accent-color);
        }

        .footer-content ul li:hover {
            color: var(--white);
            padding-left: 25px;
        }

.footer-content .contact-list li {
    padding-left: 30px;
}

    .footer-content .contact-list li i {
        position: absolute;
        left: 0;
        top: 3px;
        color: var(--accent-color);
        font-size: 18px;
    }

.sub-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-end p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-end i {
    margin-right: 5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Utility Classes */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

    .loading-overlay.hide {
        opacity: 0;
        pointer-events: none;
    }

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-blue);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        font-size: 11px;
    }

        .top-header span {
            display: block;
            margin: 5px 0;
        }

    .main-header h3 {
        font-size: 18px;
    }

    .main-header .tagline {
        font-size: 11px;
    }

    .tap-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

