/* ======================
   Base CSS & Variables
====================== */
:root {
    --primary: #662853;
    --primary-light: #8e4277;
    --primary-dark: #461736;
    --secondary: #e6b3c9;
    --accent: #ff6b6b;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f9f9fc;
    --white: #ffffff;
    --whatsapp: #25d366;
    
    --grad-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --grad-overlay: linear-gradient(to right, rgba(102,40,83,0.9), rgba(142,66,119,0.7));
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(102,40,83,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ======================
   Typography & Utils
====================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

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

.text-light h2, .text-light p {
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102,40,83,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,40,83,0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.pt-4 { padding-top: 2rem; }

/* ======================
   Header
====================== */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h2 {
    margin: 0;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary);
}

.header-logo {
    max-height: 60px;
    width: auto;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

.header-phone i {
    margin-right: 5px;
}

/* ======================
   Banner Section
====================== */
.banner-section {
    position: relative;
    width: 100%;
}

.swiper-slide picture img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(102,40,83,0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
}

/* ======================
   Consultation Form
====================== */
.consultation-section {
    position: relative;
    z-index: 10;
    padding: 60px 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--primary);
    font-size: 2rem;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
    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(102,40,83,0.1);
}

.form-message {
    grid-column: span 2;
}

.btn-submit {
    grid-column: span 2;
    background: var(--grad-primary);
    color: white;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.btn-submit:hover {
    box-shadow: 0 10px 20px rgba(102,40,83,0.3);
    transform: translateY(-2px);
}

.highlights-panel h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.highlights-panel p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.c-icon {
    width: 45px;
    height: 45px;
    background: rgba(102,40,83,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.c-text p {
    margin: 0;
    font-size: 0.95rem;
}

/* ======================
   Services Section
====================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-box-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
    transition: var(--transition);
}

.service-box h4 {
    font-size: 1.1rem;
    padding: 20px 10px;
    margin: 0;
    color: var(--text-main);
    transition: var(--transition);
}

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

.service-box:hover .service-box-img {
    transform: scale(1.03); /* Subtle zoom effect */
}

.service-box:hover h4 {
    color: var(--primary);
}

/* ======================
   Treatments Section
====================== */
.treatments-section {
    padding: 80px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.treatments-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg);
}

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

.treatment-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--white);
    transition: var(--transition);
    text-align: center;
}

.treatment-card .t-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.treatment-card h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.treatment-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.treatment-card:hover {
    background: var(--white);
    transform: translateY(-10px);
}

.treatment-card:hover h3, .treatment-card:hover p {
    color: var(--text-main);
}
.treatment-card:hover .t-icon {
    background: var(--grad-primary);
    color: var(--white);
}

/* ======================
   Why Choose Us
====================== */
.why-choose-section {
    padding: 100px 0;
    background: var(--white);
}

.container-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-content {
    flex: 1;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

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

.why-image {
    flex: 1;
}

.rounded-img {
    border-radius: 20px;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ======================
   Doctors Section
====================== */
.doctors-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.doctor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding-bottom: 20px;
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doctorSwiper .swiper-slide {
    height: auto;
}

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

.doc-avatar {
    width: 100%;
    height: 250px;
    background: rgba(102,40,83,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doc-info h4 {
    color: var(--primary);
    font-size: 1.3rem;
}

.doc-info span {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ======================
   Insta Reels Section
====================== */
.reels-section {
    padding: 80px 0;
    background: var(--white);
}

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

.reel-box {
    background: var(--bg-light);
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(102,40,83,0.2);
    transition: var(--transition);
}

.reel-box:hover {
    border-color: var(--primary);
    background: rgba(102,40,83,0.05);
}

.reel-placeholder {
    text-align: center;
    color: var(--primary);
}

.reel-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

/* ======================
   Searches Section
====================== */
.searches-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    background: var(--white);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

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

.footer-logo {
    max-height: 80px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
}

.footer-col-single {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-col p i {
    margin-right: 10px;
    color: var(--secondary);
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-flex p {
    margin: 0;
}


/* ======================
   Floating/Sticky Widgets
====================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--whatsapp);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: bounce float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    background: #1ebe5d;
    color: white;
    transform: scale(1.05);
}

.floating-whatsapp i {
    font-size: 1.5rem;
}

.mobile-sticky-footer {
    display: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ======================
   Media Queries (Responsive)
====================== */
@media (max-width: 992px) {
    .container-flex {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consultation-grid {
        grid-template-columns: 1fr;
    }
    .consultation-form {
        grid-template-columns: 1fr;
    }
    .form-message, .btn-submit {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .swiper-slide picture img {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .header-contact .btn {
        display: none; /* Hide book appt on mobile header */
    }
    .header-phone {
        font-size: 0.95rem; /* Slightly smaller to fit single line */
    }
    .swiper-slide picture img {
        height: auto;
        object-fit: scale-down;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .consultation-section {
        padding: 40px 15px;
    }
    .glass-panel {
        padding: 25px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col p {
        justify-content: center;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Toggle Widgets */
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
    
    /* Sticky Mobile Footer */
    .mobile-sticky-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        display: flex;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 999;
        height: 55px;
    }
    
    .action-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--white);
        border-right: 1px solid rgba(255,255,255,0.2);
        transition: var(--transition);
    }
    
    .action-btn i {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    
    .call-btn { 
        background: #662853; /* Blue for call */
    }
    .wa-btn { 
        background: #662853; 
    }
    .book-btn {
        background: #662853;
        border: none;
    }
    
    body {
        padding-bottom: 55px; /* Space for sticky footer */
    }
}
