/* Global Styles & Variables */
:root {
    --primary-color: #0f3460;
    /* Deep Blue */
    --secondary-color: #1a1a2e;
    /* Darker Navy */
    --accent-color: #e94560;
    /* Vibrant Red/Pink for CTAs - or maybe Gold */
    --accent-gold: #c5a059;
    /* Premium Gold */
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    /* Global Vibrant Background */
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 50%, #FFF3E0 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    background-attachment: fixed;
    /* Makes it stay processing scroll */
}

/* Glassmorphism for containers/sections to maintain readability */
.section-padding {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* Remove solid backgrounds to let gradient show, or use glass */
.bg-light,
.bg-white,
.about,
.doctors,
.treatments,
.appointment {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 20px 0;
    /* Add separation to see background between sections */
    border-radius: 20px;
    /* Soft edges */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Hero can keep its own special vibrant setup or merge. 
   Currently hero has its own. Let's keep hero unique but consistent. */


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 10px auto 30px;
}

.divider.white {
    background-color: var(--bg-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: white;
}

.btn-secondary {
    background-color: #25D366;
    /* WhatsApp Color */
    color: white;
}

.btn-secondary:hover {
    background-color: #128C7E;
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-white {
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-google {
    background-color: #DB4437;
    color: white;
}

.btn-instagram {
    background-color: #C13584;
    color: white;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    /* Slightly smaller to fit better */
    width: auto;
}

.logo h1,
.logo h2 {
    font-size: 1.2rem;
    /* Much smaller than default heading */
    margin-bottom: 0;
    /* Remove default margin */
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-list li a:hover::after {
    width: 100%;
}

.header-contact a {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Almost full height */
    /* Hero Background Slideshow */
    background-color: #f0f8ff;
    /* Fallback */
    background-image: url('../assets/images/hero-skin.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: heroSlideshow 10s infinite;

    display: flex;
    align-items: center;
    margin-top: 80px;
    /* Offset fixed header */
    position: relative;
    overflow: hidden;
}

@keyframes heroSlideshow {
    0% {
        background-image: linear-gradient(135deg, rgba(255, 240, 245, 0.7) 0%, rgba(227, 242, 253, 0.7) 100%), url('../assets/images/hero-skin.jpg');
    }

    45% {
        background-image: linear-gradient(135deg, rgba(255, 240, 245, 0.7) 0%, rgba(227, 242, 253, 0.7) 100%), url('../assets/images/hero-skin.jpg');
    }

    50% {
        background-image: linear-gradient(135deg, rgba(255, 240, 245, 0.7) 0%, rgba(227, 242, 253, 0.7) 100%), url('../assets/images/hero-hair.jpg');
    }

    95% {
        background-image: linear-gradient(135deg, rgba(255, 240, 245, 0.7) 0%, rgba(227, 242, 253, 0.7) 100%), url('../assets/images/hero-hair.jpg');
    }

    100% {
        background-image: linear-gradient(135deg, rgba(255, 240, 245, 0.7) 0%, rgba(227, 242, 253, 0.7) 100%), url('../assets/images/hero-skin.jpg');
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Vibrant Abstract Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, rgba(197, 160, 89, 0.1) 60%, transparent 80%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
    animation: floatShape 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 52, 96, 0.1) 0%, rgba(87, 198, 225, 0.15) 60%, transparent 80%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
    animation: floatShape 12s infinite alternate-reverse;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    animation: fadeInLeft 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero h1 .highlight {
    color: var(--accent-gold);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.about-content p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: var(--light-text);
}

.mission-quote {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-style: italic;
    margin-top: 30px;
}

/* Doctors Section */
.bg-light {
    background-color: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doctor-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    padding: 30px;
    text-align: center;
    /* Center align for clean look if no photo */
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.designation {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-details {
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    background: #f4f6f8;
    padding: 15px;
    border-radius: 8px;
}

.doctor-details li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.doctor-bio {
    color: var(--light-text);
    font-size: 0.95rem;
    text-align: justify;
}

/* Treatments Section */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.treatment-category {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.treatment-category:hover {
    border-color: var(--accent-gold);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.treatment-category h3 {
    margin-bottom: 20px;
}

.treatment-category ul {
    text-align: left;
    display: inline-block;
}

.treatment-category li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    color: var(--light-text);
}

.treatment-category li:last-child {
    border-bottom: none;
}

/* Why Choose Us - Keep dark but add gradient */
.bg-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border-radius: 20px;
    margin: 20px 0;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark i {
    color: white !important;
    /* Force white for visibility */
}

/* Container Adjustments for the separate section look */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Reviews */
.reviews-cta {
    margin: 30px 0;
}

/* Appointment Form */
.col-form {
    flex: 2;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.col-contact {
    flex: 1;
    margin-left: 30px;
}

.row {
    display: flex;
}

.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;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.full-width {
    width: 100%;
}

.contact-info-box {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-info-box h3 {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    gap: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.info-item a {
    color: white;
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .h1 {
        font-size: 2.5rem;
    }

    .row {
        flex-direction: column;
    }

    .col-contact {
        margin-left: 0;
        margin-top: 30px;
    }

    .hero {
        height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        transition: 0.3s;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .header-contact {
        display: none;
    }

    /* Show in menu instead or hide */
    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}