:root {
    --primary: #0f172a;
    /* Dark Navy */
    --accent: #0ea5e9;
    /* Sky Blue */
    --gold: #d4af37;
    /* Subtle Gold for premium feel */
    --light: #f8fafc;
    --dark: #1e293b;
    --text: #334155;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Button & UI Components */
.btn {
    display: inline-flex;
    /* Better for vertical alignment */
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    /* Ensure vertical center alignment */
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

/* Social links default (footer) */
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

/* Social links in light cards (Contact Section) */
.contact-card .social-links a {
    background: var(--light);
    color: var(--primary);
}

.contact-card .social-links a:hover {
    background: var(--accent);
    color: var(--white);
}

.social-links a:hover {
    background: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('img/1.webp') no-repeat;
    background-position: 80% center;
    /* Moved image to the left (was center center/cover) */
    background-size: cover;
    opacity: 0.6;
    /* Slightly increased for better visibility */
    mix-blend-mode: normal;
    /* Removed overlay mode to see image better */
}

.hero::after {
    /* Gradient overlay to ensure text readability on the left */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Form Section (Floating / Sidebar style in larger screens or dedicated section) */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Features/HoLEP Info */
.features {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: var(--transition);
    z-index: -1;
    opacity: 0.05;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* FAQ Styles */
.faq-accordion {
    margin-top: 30px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text);
    border-top: 1px solid var(--light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background: var(--light);
    color: var(--accent);
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Video Section */
.video-section {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
}

.video-section h2 {
    color: var(--white);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Doctor Section */
.doctor-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.doctor-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.doctor-info {
    flex: 1;
}

/* Bio Wrapper for Mobile Stacking */
.bio-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content {
        text-align: center;
        /* Center content on mobile */
    }

    /* Fix mobile buttons */
    .hero .btn,
    .hero .btn-outline {
        display: block;
        /* Stack full width */
        width: 100%;
        margin: 0 0 15px 0 !important;
        /* Reset margins and add bottom gap */
        text-align: center;
    }

    .doctor-section {
        flex-direction: column;
    }

    /* Mobile Menu Styles */
    .mobile-menu-btn {
        display: block;
    }

    .navbar .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .nav-links li {
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .bio-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    color: var(--primary);
}

.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 400px;
    scroll-snap-align: center;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8fafc;
}

.review-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 5px 0;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-text {
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    color: #fff;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.reviews-btn-container {
    text-align: center;
    margin-top: 60px;
}

.reviews-btn-container .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 45px !important;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reviews-btn-container .btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.15);
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
        padding: 25px;
    }

    .nav-btn {
        display: none;
    }
}