/* Base Variables & Reset */
:root {
    --primary: #2B5A9F;       /* Trustworthy Medical Blue */
    --primary-dark: #1e3f6f;  
    --secondary: #4CAF50;     /* Calm Light Green */
    --secondary-dark: #388e3c;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border: #e0e6ed;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust for sticky header */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.text-primary {
    color: var(--primary) !important;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.section-title {
    margin-bottom: 40px;
}

.section-title .sub-heading {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.top-bar i {
    margin-right: 5px;
    color: var(--secondary);
}

/* Header & Nav */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

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

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-dark);
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
    max-width: 600px;
}

.hero-content .subtitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Highlights */
.highlights {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 4px solid var(--primary);
    transition: var(--transition);
}

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

.highlight-card .icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

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

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .main-img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.experience-badge .text {
    line-height: 1.2;
    font-size: 0.9rem;
}

.about-content p.lead {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-box {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
}

.mv-box h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(43, 90, 159, 0.1);
    color: var(--primary);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

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

.service-card p {
    color: var(--text-light);
}

/* Doctor Section */
.doctor-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.qualifications {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.expertise-list {
    margin-top: 20px;
}

.expertise-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.expertise-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.doctor-image {
    text-align: center;
    position: relative;
    padding: 30px;
}

.img-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.img-wrapper img {
    border-radius: 20px;
    max-height: 550px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.img-wrapper .decorative-box {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: 20px;
    top: 20px;
    right: -20px;
    z-index: 1;
}

/* Testimonials & FAQs */
.testi-faq-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.patient-info .avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Accordion FAQs */
.accordion {
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: var(--transition);
}

.accordion-header:hover, .accordion-item.active .accordion-header {
    background-color: var(--primary);
    color: var(--white);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-light);
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item.active .accordion-body {
    padding: 20px;
    max-height: 1000px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
}

.info-card .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.map-container {
    flex-grow: 1;
    min-height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.contact-form-container {
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 90, 159, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 70px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
}

.footer-logo i {
    color: var(--secondary) !important;
}

.footer-col p {
    color: #cbd5e1;
    margin: 20px 0;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--secondary);
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

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

.footer-col ul li a {
    color: #cbd5e1;
}

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

.footer-bottom {
    background-color: #152b4d;
    padding: 20px 0;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h2 { font-size: 3rem; }
}

@media (max-width: 900px) {
    .about-inner, .doctor-inner, .testi-faq-inner, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image { margin-bottom: 40px; }
    .doctor-image { order: -1; }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: -1;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
    }
    
    .highlights-grid { grid-template-columns: 1fr; }
    
    .hero {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero-bg .overlay {
        background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%);
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }
    
    .mission-vision { grid-template-columns: 1fr; }
}
