/* 
   Aastha Homoeo Clinic - Stylesheet
   Design: Clean, Modern, Professional, Soft
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-blue: #0056b3;
    --secondary-green: #28a745;
    --accent-blue: #e7f1ff;
    --accent-green: #e9f7ef;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-off-white: #fcfcfc;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

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

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

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

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

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 60px;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

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

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-header {
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

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

.btn-whatsapp {
    background-color: var(--secondary-green);
}

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

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

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

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

.hero-image {
    flex: 1;
    position: relative;
}

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

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-green);
}

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

/* --- Testimonials --- */
.testimonials {
    background-color: var(--accent-blue);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.testimonial-item {
    min-width: calc(33.333% - 14px);
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

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

/* --- Marquee Gallery --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 40px 0;
}

.marquee-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 30s linear infinite;
}

.marquee-item {
    width: 250px;
    padding: 0 10px;
}

.marquee-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

/* --- Footer --- */
footer {
    position: relative;
    color: white;
    padding: 60px 0 30px;
    background: url('banner doodle.jpeg') repeat;
    background-size: 200px; /* Adjust size as needed for the doodle */
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.9); /* Using primary blue with high opacity */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 25px;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    display: block;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Add style for images in service icons */
.service-icon img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px; /* Changed to match theme border radius instead of circle */
    margin: 0 auto 20px;
}


/* --- Floating Buttons --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.btn-top {
    background: var(--primary-blue);
    color: white;
    visibility: hidden;
    opacity: 0;
}

.btn-top.show {
    visibility: visible;
    opacity: 1;
}

.btn-wa-float {
    background: #25d366;
    color: white;
}

/* --- Contact Form --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

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

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

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.btn-submit {
    background: var(--secondary-green);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
}

/* --- Maps --- */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
}

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

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In real app, we'd add a toggle */
    }
    .menu-toggle {
        display: block;
    }
    .header-actions {
        display: none;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .testimonial-item {
        min-width: 100%;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}
