﻿/* ===== Base Styles ===== */
:root {
    --primary-color: #057cf2; /* Clinic's primary blue */
    --secondary-color: #f8f9fa; /* Light background */
    --accent-color: #e9f2ff; /* Light blue accent */
    --text-color: #333333; /* Dark text */
    --light-text: #6c757d; /* Gray text */
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed header */
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}



/*class used in company logo svg*/
.st0 {
    fill: #057cf2;
}














/* ===== Header Styles ===== */
:root {
    --primary-color: #057cf2;
    --primary-dark: #0468d7;
    --primary-light: rgba(5, 124, 242, 0.1);
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --light-text: #6c757d;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --accent-color: #f8f9fa;
}

/* Base Styles */
.doc-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(0);
    height:80px;
}

    .doc-header.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        background-color: rgba(255, 255, 255, 0.98);
    }

    .doc-header.scrolled-down {
        transform: translateY(-100%);
    }

    .doc-header.scrolled-up {
        transform: translateY(0);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

.doc-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.doc-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Logo Styles */
.doc-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    gap: 12px;
}

.doc-logo svg{
    width:30px;
    height:30px;
    transform:translateY(-5px);
}

.logo-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    transition: var(--transition);
}

.logo-sub {
    font-size: 13px;
    letter-spacing: 1.2px;
    color: var(--light-text);
    margin-top: 3px;
    transition: var(--transition);
}

.doc-logo:hover .logo-icon {
    transform: rotate(15deg);
}

.doc-logo:hover .logo-main {
    color: var(--primary-dark);
}

/* Navigation Styles */
.doc-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.doc-nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
}

    .nav-link span {
        position: relative;
        padding: 4px 0;
    }

        .nav-link span:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

    .nav-link:hover span:after {
        width: 100%;
    }

    .nav-link:hover {
        color: var(--primary-color);
    }

/* Button Styles */
.doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    line-height: 1;
    border: none;
    cursor: pointer;
}

    .doc-btn i {
        font-size: 14px;
    }

.doc-btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

    .doc-btn-outline:hover {
        background-color: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.doc-btn-solid {
    background-color: var(--primary-color);
    color: var(--white)!important;
    border: 1px solid var(--primary-color);
}

    .doc-btn-solid:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
        
    }

.doc-btn-schedule {
    padding: 10px 16px;
}

    .doc-btn-schedule:hover {
        background-color: #057cf20e;
    }





.doc-btn-login {
    padding: 10px 16px;
}


    .doc-btn-login span{
        color:white;
    }
    .doc-btn-login i {
        color: #fff;
    }


    /* Navigation Actions */
    .doc-nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

/* Mobile Menu Button */
.doc-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 1001;
}

.menu-icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform-origin: center;
}

.doc-mobile-menu-btn.open .menu-icon-bar:first-child {
    transform: translateY(7px) rotate(45deg);
}

.doc-mobile-menu-btn.open .menu-icon-bar:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.doc-mobile-menu-btn:hover {
    background-color: rgba(5, 124, 242, 0.2);
}

/* Mobile Overlay */
.doc-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

    .doc-mobile-overlay.open {
        opacity: 1;
        visibility: visible;
    }

/* Mobile Navigation (Apple-style) */
.doc-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background-color: var(--white);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

    .doc-mobile-nav.open {
        right: 0;
    }

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--light-text);
}

    .mobile-nav-close:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

.doc-mobile-nav-links {
    list-style: none;
    padding: 10px 0;
    flex: 1;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    transition: var(--transition);
    position: relative;
}

    .mobile-nav-link i:first-child {
        margin-right: 12px;
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }

    .mobile-nav-link i:last-child {
        color: var(--light-text);
        font-size: 14px;
    }

    .mobile-nav-link:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

        .mobile-nav-link:hover i:last-child {
            color: var(--primary-color);
        }

.doc-mobile-nav-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

    .doc-mobile-nav-actions .doc-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

/* ===== User Menu Styles ===== */
.doc-user-menu-container {
    position: relative;
}

.doc-user-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    transition: var(--transition);
    background-color: var(--primary-light);
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
    gap: 8px;
}

    .doc-user-btn:hover {
        background-color: rgba(5, 124, 242, 0.2);
    }

    .doc-user-btn.active {
        background-color: rgba(5, 124, 242, 0.2);
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(5, 124, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.doc-user-email {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color:white;
   
}

.dropdown-arrow {
    font-size: 12px;
    color: var(--light-text);
    transition: var(--transition);
}

.doc-user-btn.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.doc-appointment-indicator {
    margin-left: 4px;
    position: relative;
}

    .doc-appointment-indicator i {
        font-size: 14px;
    }

.fa-calendar-check {
    color: #28a745;
}

.fa-calendar-exclamation {
    color: #ffc107;
}

.doc-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

    .doc-user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.doc-user-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.doc-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--white);
    font-size: 20px;
}

.doc-user-info {
    flex: 1;
    min-width: 0;
}

.doc-user-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--white);
}

.doc-user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color) !important;
}

.doc-user-dropdown-body {
    padding: 8px 0;
}

.doc-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

    .doc-dropdown-item i:first-child {
        width: 20px;
        margin-right: 12px;
        text-align: center;
        color: var(--primary-color);
    }

    .doc-dropdown-item i:last-child {
        color: var(--light-text);
        font-size: 12px;
    }

    .doc-dropdown-item span {
        flex: 1;
    }

    .doc-dropdown-item:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }

        .doc-dropdown-item:hover i:last-child {
            color: var(--primary-color);
        }

/* Mobile User Menu Styles */
.doc-mobile-user-section {
    margin: 10px 0;
    border-radius: var(--border-radius-sm);
    background-color: var(--accent-color);
    overflow: hidden;
}

.doc-mobile-user-info {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

    .doc-mobile-user-info .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

.user-details {
    flex: 1;
    min-width: 0;
}

.doc-mobile-user-name {
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-mobile-user-email {
    font-size: 13px;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-mobile-appointment-indicator {
    margin-left: auto;
    font-size: 16px;
}

.doc-mobile-user-links {
    padding: 8px 0;
}

.doc-mobile-user-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    font-size: 16px;
}

    .doc-mobile-user-link i:first-child {
        margin-right: 12px;
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }

    .doc-mobile-user-link i:last-child {
        color: var(--light-text);
        font-size: 12px;
    }

    .doc-mobile-user-link:hover {
        background-color: rgba(5, 124, 242, 0.1);
        color: var(--primary-color);
    }

        .doc-mobile-user-link:hover i:last-child {
            color: var(--primary-color);
        }

/* Responsive Styles */
@media (max-width: 992px) {
    .doc-nav {
        display: none;
    }

    .doc-mobile-menu-btn {
        display: flex;
    }

    .doc-header-inner {
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .doc-user-btn .doc-user-email {
        display: none;
    }

    .doc-user-dropdown {
        width: 260px;
    }

    .doc-mobile-nav {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .doc-mobile-nav {
        width: 85%;
    }

    .doc-logo .logo-main {
        font-size: 20px;
    }

    .doc-logo .logo-sub {
        font-size: 12px;
    }

    .mobile-nav-link {
        padding: 14px 20px;
        font-size: 16px;
    }

    .doc-mobile-nav-actions {
        padding: 16px;
    }
}

/* Animation for mobile menu items */
.doc-mobile-nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.doc-mobile-nav.open .doc-mobile-nav-links li {
    opacity: 1;
    transform: translateX(0);
}

    .doc-mobile-nav.open .doc-mobile-nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .doc-mobile-nav.open .doc-mobile-nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .doc-mobile-nav.open .doc-mobile-nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .doc-mobile-nav.open .doc-mobile-nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .doc-mobile-nav.open .doc-mobile-nav-links li:nth-child(5) {
        transition-delay: 0.5s;
    }







































/* Modern Footer Styles */


.modern-footer {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    padding-top: 80px;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}



.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
    color:#fff;
}

.footer-social {
    margin-top: auto;
}

.social-title {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ffffffdf;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background-color: var(--accent-color);
        transform: translateY(-3px);
    }

/* Links Column */
.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    color:#fafafa
}

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: var(--accent-color);
    }

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
        padding-left: 15px;
    }

        .footer-nav a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background-color: var(--accent-color);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .footer-nav a:hover {
            color: white;
            padding-left: 20px;
        }

            .footer-nav a:hover::before {
                opacity: 1;
            }

/* Contact Column */
.footer-contact-col {
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .contact-item svg {
        flex-shrink: 0;
        margin-top: 3px;
    }

    .contact-item span {
        color:#fff;
        font-size: 0.95rem;
        line-height: 1.5;
        opacity: 0.8;
    }

.footer-hours {
    margin-top: auto;
    
}

.hours-title {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #fff;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
    font-size: 0.9rem;
}

    .hours-grid span:nth-child(odd) {
        font-weight: 500;
        opacity: 0.9;
        color:#fff;
    }

    .hours-grid span:nth-child(even) {
        opacity: 0.8;
        color: #f8f8f8;
        font-weight:500;
    }

/* Newsletter Column */
.footer-newsletter-col {
    display: flex;
    flex-direction: column;
}

.newsletter-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
    color: #f8f8f8;
}

.newsletter-form {
    margin-top: auto;
}

.form-group {
    position: relative;
    display: flex;
}

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: none;
        border-radius: 30px;
        background-color: rgba(255,255,255,0.1);
        color: white;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .form-group input:focus {
            outline: none;
            background-color: rgba(255,255,255,0.2);
            box-shadow: 0 0 0 2px var(--accent-color);
        }

        .form-group input::placeholder {
            color: rgba(255,255,255,0.7);
        }

    .form-group button {
        position: absolute;
        right: 5px;
        top: 5px;
        width: 35px;
        height: 35px;
        background-color: var(--accent-color);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .form-group button:hover {
            transform: scale(1.1);
        }

.form-message {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 20px;
    color: var(--accent-color);
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0,0,0,0.1);
    padding: 20px 0;
    margin-top: 60px;
}

    .footer-bottom .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        opacity: 0.7;
        margin: 0;
        color: #ffffff9c;
    }

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-legal a {
        color: white;
        text-decoration: none;
        font-size: 0.85rem;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

        .footer-legal a:hover {
            opacity: 1;
        }

    .footer-legal span {
        opacity: 0.5;
    }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        background-color: #c1121f;
        transform: translateY(-5px);
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-newsletter-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-newsletter-col {
        grid-column: span 1;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}














































.form-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-message.success {
        background-color: #d4edda;
        color: #155724;
    }

    .form-message.error {
        background-color: #f8d7da;
        color: #721c24;
    }

    .form-message.warning {
        background-color: #fff3cd;
        color: #856404;
    }

    .form-message.processing {
        background-color: #cce5ff;
        color: #004085;
    }