/* ========================================
   VANJOLE CLINIC - MAIN STYLES
   ======================================== */
.hero-title {
    margin: 15px;
    line-height: 1.3;
    color: #ffffff;
}

/* वरचा छोटा text */
.tagline {
    display: block;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Clinic name मोठा पण balanced */
.clinic-name {
    display: block;
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 800;
    margin-top: 8px;
}



:root {
    --primary-red: #9f121a;
    --secondary-maroon: #63070d;
    --accent-blue: #0000FF;
    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --hover-color: #ffca00;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #edecec;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    background-color: rgba(99, 7, 13, 0);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(99, 7, 13, 0.8);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--hover-color);
    border-bottom-color: var(--hover-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(180deg, #c70f18 0%, #63070d 100%);
    color: var(--text-light);
    padding: 120px 0;
    margin-top: -70px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::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 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 55em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ECG Animation */
.ecg-animation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 100px;
    opacity: 1;
}

.ecg-animation svg {
    width: 100%;
    height: 100%;
}

.ecg-line {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: ecgAnimation 3s linear infinite;
}

@keyframes ecgAnimation {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

/* Heartbeat Animation */
.heartbeat-icon {
    position: absolute;
    top: 70px;
    right: middle;
    font-size: 2.5em;
    color: var(--hover-color);
    animation: heartbeat 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    z-index: 10;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    75% {
        transform: scale(1.15);
        opacity: 0.85;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    color: var(--primary-red);
    box-shadow: 0 5px 15px var(--hover-color)(0, 108, 177, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ========================================
   QUICK INFO STRIP
   ======================================== */

.quick-info {
    background-color: var(--bg-light);
    padding: 50px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 20px;
}

.info-item i {
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: inline-block;
}

.info-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-item p {
    color: #666;
    font-size: 0.95em;
}

.info-item a {
    color: #666;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* ========================================
   FEATURED SERVICES
   ======================================== */

.featured-services {
    padding: 80px 0;
}

.featured-services h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.section-subtitle {
    text-align: center;
    color: #2c2c2c;
    margin-bottom: 50px;
    font-size: 1.1em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.read-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--hover-color);
    margin-right: 5px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-maroon));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    color: var(--text-light);
    opacity: 0.9;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ========================================
   OPD TIMING SECTION
   ======================================== */

.opd-timing {
    background: linear-gradient(180deg, #9f121a 0%, #63070d 100%);
    color: var(--text-light);
    padding: 80px 0;
}

.opd-timing h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.timing-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.timing-card i {
    font-size: 3em;
    color: var(--hover-color);
    margin-bottom: 20px;
    display: inline-block;
}

.timing-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    margin-bottom: 20px;
}

.timing-card p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.timing-card .note {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.9;
}

.timing-card a {
    color: #ffffff;
    text-decoration: none;
}

.timing-card a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stars {
    margin-bottom: 15px;
}

.stars i {
    color: var(--hover-color);
    margin-right: 3px;
    font-size: 0.9em;
}

.testimonial-card p {
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.7;
}

.patient-name {
    font-weight: 600;
    color: var(--primary-red);
    font-style: normal;
}

/* ========================================
   QUICK CONTACT SECTION
   ======================================== */

.quick-contact {
    background: linear-gradient(180deg, var(--primary-red), #63070d);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.quick-contact h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.quick-contact p {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--hover-color);
}

.footer-section i {
    color: var(--accent-blue);
    margin-right: 10px;
    width: 20px;
}
.footer-section i:hover {
    color: var(--hover-color);
}

.footer-note {
    background-color: var(--secondary-maroon);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 0.9em;
    color: #ccc;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9em;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--secondary-maroon);
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .featured-services h2,
    .testimonials h2,
    .opd-timing h2,
    .quick-contact h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .services-grid,
    .testimonials-grid,
    .timing-grid {
        grid-template-columns: 1fr;
    }
}
