:root {
    --primary-blue: #096ae9;
    --soft-blue: #e3f2fd;
    --dark-blue: #1565c0;
    --accent-blue: #90caf9;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--soft-blue);
    z-index: -1;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-primary-small {
    background: var(--primary-blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7)), url('assets/menopause-hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index:2 ;
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(244, 143, 177, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(244, 143, 177, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary-blue);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--soft-blue);
}

.doctor-brief {
    display: flex;
    gap: 40px;
}

.brief-item {
    display: flex;
    flex-direction: column;
}

.count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floating 3s ease-in-out infinite;
}

.expert-card {
    top: 20%;
    right: -20px;
}

.expert-card i {
    color: #ffd700;
}

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

/* Sections Global */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.centered::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* About Session */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.text-pink {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.badge-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    background: var(--soft-blue);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Services */
.services {
    background: #fafafa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Disease Cards */
.disease-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.disease-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.card-inner {
    padding: 30px;
}

.disease-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.details-content.active {
    max-height: 500px;
}

.details-content h4 {
    margin: 15px 0 10px;
    color: var(--text-dark);
}

.details-content ul {
    list-style: none;
    margin-bottom: 15px;
}

.details-content ul li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 8px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Fees */
.fees {
    background: linear-gradient(to bottom, #fff, var(--soft-blue));
}

.fees-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.fee-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    width: 350px;
    box-shadow: var(--shadow);
}

.fee-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.fee-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 20px 0;
}

.fee-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.fee-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4CAF50;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.payment-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Appointment Form */
.appointment-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--soft-blue);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 143, 177, 0.4);
}

.status-msg {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

.status-msg.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: var(--soft-blue);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.whatsapp-float:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3, .footer-col h4 {
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.footer-col p {
    color: #bbb;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .doctor-brief { justify-content: center; }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease-out forwards;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
    }

    .btn-primary-small {
        margin: 0 auto;
        display: inline-block;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section-title { font-size: 2rem; }
    
    .fees-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .fee-card {
        width: 100%;
        max-width: 400px;
    }
    
    .fee-card.featured {
        transform: scale(1);
    }
    
    .appointment-card {
        padding: 30px 20px;
    }
}

/* New Multi-page Styles */
.page-hero {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.about-grid-alt {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0;
    align-items: flex-start;
}

.about-image-large img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.check-list {
    list-style: none;
    margin: 20px 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-blue);
}

/* Video Hero Styles */
.hero-video-container {
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-label {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.video-label i {
    color: #ff0000;
    font-size: 1.2rem;
}

/* Disease Detail Page */
.disease-detail {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.disease-meta {
    margin: 20px 0 40px;
    display: flex;
    gap: 20px;
}

.category-tag {
    background: var(--soft-blue);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.highlight-box {
    background: #f8f9fa;
    padding: 30px;
    border-left: 5px solid var(--primary-blue);
    border-radius: 10px;
    margin: 30px 0;
}

.cta-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--soft-blue);
    border-radius: 20px;
    text-align: center;
}

.cta-section p {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Horizontal Dr Card */
.dr-card-horizontal {
    display: flex;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.dr-img {
    width: 300px;
}

.dr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dr-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dr-details h2 {
    margin-bottom: 5px;
}

.dr-details .deg {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.link-btn {
    margin-top: 20px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .about-grid-alt, .dr-card-horizontal {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .dr-img { width: 100%; height: 300px; }
    .about-image-large { order: -1; }
}

/* Hero Osteoporosis Highlight */
.hero-osteo-highlight {
    margin-top: 20px;
    height: 180px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-osteo-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.osteo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(9, 106, 233, 0.9), rgba(9, 106, 233, 0.4));
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.osteo-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.osteo-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 15px !important;
    line-height: 1.4;
    max-width: 80% !important;
}

.link-btn-white {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-btn-white:hover {
    text-decoration: underline;
}

/* Osteoporosis Feature Section */
.osteo-feature {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.osteo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.osteo-text h2 {
    margin-bottom: 25px;
}

.osteo-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Dark Footer */
.dark-footer {
    background: #111;
    color: #fff;
    padding: 80px 0 0;
}

.dark-footer .footer-col h3, 
.dark-footer .footer-col h4 {
    color: #fff;
}

.dark-footer .footer-col p, 
.dark-footer .footer-col ul li a {
    color: #aaa;
}

.dark-footer .footer-col ul li a:hover {
    color: var(--primary-blue);
}

.dark-footer .footer-bottom {
    border-top: 1px solid #222;
    margin-top: 50px;
    padding: 30px 0;
    color: #666;
}

/* Contact Page Specific */
.contact-detailed {
    padding: 80px 0;
}

.info-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
}

/* Form Date/Time Styling */
input[type="date"], 
input[type="time"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
}

input[type="date"]:focus, 
input[type="time"]:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px var(--soft-blue);
}

@media (max-width: 992px) {
    .osteo-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .osteo-text {
        order: 2;
    }
    
    .osteo-video {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
        background-position: 70% center; /* Adjust to show subject better on mobile */
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .doctor-brief {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Advanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
}

.disease-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
}
