@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Modern CSS Custom Properties */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #198754;
    --accent-color: #20c997;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #495057;
    --gray-900: #212529;

    /* Modern Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #002df3 0%, #0400ff 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-info: linear-gradient(135deg, #002df3 0%, #0400ff 100%);

    /* Border Radius */
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

/* Modern Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--gray-800);
    background-color: var(--gray-100);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Modern Top Contact Bar */
.top-contact-bar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-contact-bar .contact-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-contact-bar .contact-item:hover {
    transform: translateY(-1px);
}

.top-contact-bar .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.top-contact-bar .contact-text {
    color: var(--white);
}

.top-contact-bar .contact-text small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Social Links */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    color: white !important;
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.instagram:hover {
    background: #e4405f;
}

.social-link.youtube:hover {
    background: #ff0000;
}

/* Modern Main Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary-color);
}

.logo-img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.clinic-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.clinic-tagline {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.clinic-address {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    display: inline-flex;
}

/* Modern CTA Buttons */
.btn {
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.btn-emergency {
    background: var(--warning-color);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

.btn-outline-success {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--gradient-success);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Emergency Button */
.emergency-btn {
    background: rgba(255, 193, 7, 0.2) !important;
    color: var(--warning-color) !important;
    font-weight: 700;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        background: rgba(255, 193, 7, 0.2) !important;
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
        background: rgba(255, 193, 7, 0.3) !important;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        background: rgba(255, 193, 7, 0.2) !important;
    }
}

/* Modern Responsive Design */
@media (max-width: 992px) {
    .clinic-title {
        font-size: 2rem;
    }

    .header-cta .cta-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }

    .btn-lg {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-contact-bar .contact-info {
        justify-content: center;
        gap: 1rem !important;
    }

    .contact-item .contact-text {
        display: none;
    }

    .contact-item .contact-icon {
        width: 35px;
        height: 35px;
    }

    .clinic-title {
        font-size: 1.75rem;
    }

    .header-cta {
        text-align: center;
        margin-top: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .top-contact-bar {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .header-info {
        margin: 1rem 0;
    }

    .clinic-title {
        font-size: 1.5rem;
    }
}

/* Modern Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Header Navbar Styling */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

/* Logo Section */
.logo-section .logo-img {
    max-height: 98px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-section .logo-img:hover {
    transform: scale(1.05);
}

.text-logo .clinic-name {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Header Info */
.header-info .clinic-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header-info .clinic-tagline {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

.clinic-address {
    font-size: 0.9rem;
}

/* Header CTA Buttons */
.header-cta .btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
}

.header-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Navigation */
.modern-nav {
    background: linear-gradient(135deg, #0040ff 0%, #0400ff 100%);
    backdrop-filter: blur(10px);
    border: none;
    padding: 0.75rem 0;
}

.modern-nav .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.modern-nav .navbar-nav .nav-link:hover,
.modern-nav .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.modern-nav .navbar-nav .nav-link i {
    font-size: 0.9rem;
}

/* Dropdown Menu */
.modern-nav .dropdown-menu {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.modern-nav .dropdown-item {
    color: #2c3e50;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.modern-nav .dropdown-item:hover {
    background: linear-gradient(135deg, #002df3 0%, #0400ff 100%);
    color: white;
    padding-left: 2rem;
}

.modern-nav .dropdown-item i {
    font-size: 0.9rem;
    width: 20px;
}

.modern-nav .dropdown-divider {
    margin: 0.5rem 1rem;
    border-color: #e9ecef;
}

/* Emergency and WhatsApp Buttons */
.emergency-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white !important;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Navbar Toggler */
.modern-nav .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.modern-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.modern-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .header-info {
        text-align: center;
        margin: 1rem 0;
    }

    .header-info .clinic-title {
        font-size: 1.5rem;
    }

    .header-cta {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .modern-nav .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .modern-nav .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    .emergency-btn,
    .whatsapp-btn {
        margin: 0.25rem 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-info .clinic-title {
        font-size: 1.3rem;
    }

    .header-info .clinic-tagline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .modern-nav .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .stat-box {
        padding: 12px 8px;
    }

    .cta-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .logo-section .logo-img {
        max-height: 80px;
    }

    .header-info .clinic-title {
        font-size: 1.2rem;
    }

    .header-cta .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .modern-nav {
        padding: 0.5rem 0;
    }
}


/* Confidential Consultation Banner */
.consultation-banner {
    position: relative;
    overflow: hidden;
}

.consultation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.consultation-banner .container {
    position: relative;
    z-index: 2;
}

.banner-icon {
    opacity: 0.9;
}

.consultation-features .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.consultation-buttons .btn {
    min-width: 120px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.consultation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.consultation-note {
    font-size: 0.85rem;
}

/* Floating Consultation Button */
.floating-consultation-btn {
    position: fixed;
    bottom: 20px;
    right: 100px;
    z-index: 1000;
}

.btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-floating:hover {
    width: 200px;
    border-radius: 30px;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.floating-text {
    position: absolute;
    left: 60px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-floating:hover .floating-text {
    opacity: 1;
}

/* Quick Consultation Modal */
.consultation-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.consultation-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-assurance {
    border-left: 4px solid #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-banner .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .banner-icon {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }

    .consultation-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .consultation-buttons .btn {
        width: 100%;
    }

    .floating-consultation-btn {
        bottom: 20px;
        right: 20px;
    }

    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .btn-floating:hover {
        width: 50px;
        border-radius: 50%;
    }

    .floating-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .consultation-banner h4 {
        font-size: 1.25rem;
    }

    .consultation-banner p {
        font-size: 0.9rem;
    }

    .consultation-features .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.25rem;
    }
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-widget h5.footer-title {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h5.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-desc {
    color: #b8c5d6;
    line-height: 1.7;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Social Links Footer */
.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-link-footer {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-footer:hover {
    transform: translateY(-3px) scale(1.1);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link-footer.facebook:hover {
    background: #1877f2;
}

.social-link-footer.twitter:hover {
    background: #1da1f2;
}

.social-link-footer.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-footer.youtube:hover {
    background: #ff0000;
}

/* Contact Info Footer */
.contact-info-footer .contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-footer {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-text-footer h6 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text-footer p {
    color: #b8c5d6;
    margin: 0;
    line-height: 1.5;
}

.contact-text-footer a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-footer a:hover {
    color: #ffffff;
}

/* Mega Menu Styles */
.mega-dropdown .mega-menu {
    width: 600px;
    padding: 2rem;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
}

.mega-menu .dropdown-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    padding: 0.5rem 0 1rem 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1rem;
}

.mega-menu .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.mega-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #002df3 0%, #0400ff 100%);
    color: white;
    transform: translateX(5px);
}

/* Special CTA Button */
.btn-appointment-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-cta 2s infinite;
}

.btn-appointment-cta:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    text-decoration: none;
}

@keyframes pulse-cta {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .mega-dropdown .mega-menu {
        width: 100%;
        padding: 1rem;
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
    }

    .btn-appointment-cta {
        margin: 1rem 0;
        display: block;
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .mega-menu .row {
        margin: 0;
    }

    .mega-menu .col-md-6 {
        padding: 0;
        margin-bottom: 1.5rem;
    }
}



/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.copyright-text {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-btn a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.floating-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.floating-btn a:hover::before {
    left: 100%;
}

.floating-btn a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn a {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.call-btn a {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.appointment-btn a {
    background: var(--gradient-primary);
}

/* Floating Tooltip */
.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Scrolled Navbar Effect */
.modern-nav.scrolled {
    background: rgba(13, 110, 253, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Modern Card Components */
.modern-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: none;
}

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

.modern-card .card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modern-card .card-body {
    padding: 2rem;
}

.modern-card .card-footer {
    background: var(--gray-100);
    border: none;
    padding: 1.5rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Home Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23007bff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-description {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

.hero-buttons .btn {
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.emergency-card {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.consultation-card {
    bottom: 20%;
    left: -10%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Services Section Styles */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Service Tabs */
.service-tabs {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tabs .nav-link {
    border: none;
    border-radius: 40px;
    padding: 15px 30px;
    font-weight: 600;
    color: #6c757d;
    background: transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.service-tabs .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.service-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.service-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-tabs .nav-link.active:hover::before {
    left: 100%;
}

/* Service Cards Enhanced */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Service Icons with Category Colors */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.male-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.female-icon {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.couples-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover .service-icon::before {
    transform: translateX(100%);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-features .fas.fa-check {
    color: #28a745 !important;
    font-size: 0.9rem;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simplified About Doctor Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.qualification-list {
    list-style: none;
    padding: 0;
}

.qualification-list li {
    padding: 6px 0;
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.stat-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.approach-highlights {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-location {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.emergency-banner .btn-light {
    font-weight: 600;
    border-radius: 50px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .header-info {
        text-align: center;
        margin: 1rem 0;
    }

    .header-info .clinic-title {
        font-size: 1.5rem;
    }

    .header-cta {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .modern-nav .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .modern-nav .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    .emergency-btn,
    .whatsapp-btn {
        margin: 0.25rem 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-info .clinic-title {
        font-size: 1.3rem;
    }

    .header-info .clinic-tagline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .modern-nav .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .logo-section .logo-img {
        max-height: 80px;
    }

    .header-info .clinic-title {
        font-size: 1.2rem;
    }

    .header-cta .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .modern-nav {
        padding: 0.5rem 0;
    }
}


/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-widget h5.footer-title {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h5.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-desc {
    color: #b8c5d6;
    line-height: 1.7;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Social Links Footer */
.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-link-footer {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-footer:hover {
    transform: translateY(-3px) scale(1.1);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link-footer.facebook:hover {
    background: #1877f2;
}

.social-link-footer.twitter:hover {
    background: #1da1f2;
}

.social-link-footer.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-footer.youtube:hover {
    background: #ff0000;
}

/* Contact Info Footer */
.contact-info-footer .contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-footer {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-text-footer h6 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text-footer p {
    color: #b8c5d6;
    margin: 0;
    line-height: 1.5;
}

.contact-text-footer a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-footer a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.copyright-text {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-btn a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.floating-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.floating-btn a:hover::before {
    left: 100%;
}

.floating-btn a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn a {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.call-btn a {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.appointment-btn a {
    background: var(--gradient-primary);
}

/* Floating Tooltip */
.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Scrolled Navbar Effect */
.modern-nav.scrolled {
    background: rgba(13, 110, 253, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Modern Card Components */
.modern-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: none;
}

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

.modern-card .card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modern-card .card-body {
    padding: 2rem;
}

.modern-card .card-footer {
    background: var(--gray-100);
    border: none;
    padding: 1.5rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-actions {
        right: 15px;
        bottom: 15px;
        gap: 0.75rem;
    }

    .floating-btn a {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .floating-tooltip {
        display: none;
    }

    .footer-main {
        text-align: center;
    }

    .footer-bottom-links {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-card .card-body {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Modern Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Contact Page Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23007bff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Contact Information Section */
.contact-info-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

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

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-card-text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.contact-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-link:hover {
    color: var(--primary-dark);
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.contact-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-form-content {
    padding: 2.5rem;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-form-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.form-sidebar-content {
    text-align: center;
}

.form-sidebar-content h3 {
    margin-bottom: 2rem;
}

.form-sidebar-content ul {
    list-style: none;
    padding: 0;
}

.form-sidebar-content li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: white;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: white;
    transition: display 0.3s ease;
}

.faq-answer p {
    color: var(--gray-600);
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.contact-cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.contact-cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.contact-cta-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    display: none;
}

.form-message.success {
    background: rgba(25, 135, 84, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    display: block;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-form-container .row>div:last-child {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-form-content {
        padding: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.75rem;
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .contact-cta-title {
        font-size: 1.75rem;
    }

    .contact-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 4rem 0;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .contact-cta-title {
        font-size: 1.5rem;
    }
}

/* Treatment Page Styles */
.treatment-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
}

.treatment-content {
    padding: 4rem 0;
}

.problem-info {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.problem-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.problem-info ul {
    list-style-type: none;
    padding-left: 0;
}

.problem-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.problem-info li:last-child {
    border-bottom: none;
}

.problem-info li i {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.appointment-card{
    margin-top: 15px;
}