/* Dr. Guddi Clinic - Modern Homeopathic Website Styles */

:root {
    --primary-gold: #E89C3F;
    --primary-brown: #5C3D2E;
    --accent-cream: #FAF6F0;
    --text-dark: #3E2723;
    --text-light: #F5F5F5;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    /* Account for fixed header + some spacing */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
.clinic_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.clinic_header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px var(--shadow);
}

.clinic_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

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

.clinic_logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.clinic_logo:hover img {
    transform: scale(1.05);
}

.clinic_menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.clinic_menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.clinic_menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.clinic_menu a:hover::after {
    width: 80%;
}

.clinic_menu a:hover {
    color: var(--primary-gold);
}

.clinic_btn_primary {
    background: linear-gradient(135deg, var(--primary-gold), #d68a30);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 156, 63, 0.3);
}

.clinic_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 156, 63, 0.4);
}

/* Mobile Menu Toggle */
.menu_toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}


.menu_toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-brown);
    transition: all 0.3s ease;
}

/* Book Appointment Button - Prominent Orange */
.clinic_btn_appointment {
    background: linear-gradient(135deg, var(--primary-gold), #d68a30) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 156, 63, 0.4);
}

.clinic_btn_appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 156, 63, 0.6) !important;
    color: white !important;
}

.clinic_btn_appointment::after {
    display: none !important;
}

/* Sign In Button - Subtle Border Style */
.clinic_btn_signin {
    background: transparent !important;
    border: 2px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
    padding: 0.5rem 1.25rem !important;
}

.clinic_btn_signin:hover {
    background: var(--primary-gold) !important;
    color: white !important;
}

.clinic_btn_signin::after {
    display: none !important;
}


/* ===== HERO SECTION ===== */
.hero_section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-cream) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.hero_title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero_subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero_description {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.4s ease;
}

.hero_buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.6s ease;
}

.clinic_btn_secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clinic_btn_secondary:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
}

/* Floating Animation Background */
.floating_shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: var(--primary-brown);
    border-radius: 50%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation-delay: 10s;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 120px;
    /* Prevent overlap with fixed header */
}

.section_title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section_subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* ===== SERVICE CARDS ===== */
.services_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service_card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold), #d68a30);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service_card:hover::before {
    transform: scaleX(1);
}

.service_icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service_title {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.service_description {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about_image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about_image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about_image:hover img {
    transform: scale(1.05);
}

.about_text h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.about_text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact_card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-gold);
}

.contact_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(232, 156, 63, 0.2);
}

.contact_card:nth-child(1) {
    border-top-color: #3b82f6;
    /* Blue for location */
}

.contact_card:nth-child(2) {
    border-top-color: #10b981;
    /* Green for phone */
}

.contact_card:nth-child(3) {
    border-top-color: #f59e0b;
    /* Orange for email */
}

.contact_card:nth-child(4) {
    border-top-color: #8b5cf6;
    /* Purple for hours */
}

.contact_icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232, 156, 63, 0.1), rgba(232, 156, 63, 0.05));
}

.contact_card:nth-child(1) .contact_icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.contact_card:nth-child(2) .contact_icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: #10b981;
}

.contact_card:nth-child(3) .contact_icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.contact_card:nth-child(4) .contact_icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    color: #8b5cf6;
}

.contact_title {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact_card p {
    color: var(--text-dark);
    line-height: 1.6;
    word-break: break-word;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.clinic_footer {
    background: var(--primary-brown);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer_content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer_logo {
    margin-bottom: 1rem;
}

.footer_logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer_text {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer_social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social_icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: white;
}

.social_facebook {
    background: linear-gradient(135deg, #1877f2, #0d5acf);
}

.social_instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social_linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.social_youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social_icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    opacity: 0.8;
}

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

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

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .clinic_menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 80px);
        padding: 2rem;
        box-shadow: -5px 0 20px var(--shadow);
        transition: right 0.3s ease;
    }

    .clinic_menu.active {
        right: 0;
    }

    .menu_toggle {
        display: flex;
    }

    .hero_title {
        font-size: 2.5rem;
    }

    .hero_subtitle {
        font-size: 1.2rem;
    }

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

    .hero_buttons {
        flex-direction: column;
    }

    .contact_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero_title {
        font-size: 2rem;
    }

    .section_title {
        font-size: 2rem;
    }

    .services_grid,
    .contact_grid {
        grid-template-columns: 1fr;
    }
}