/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #0d3b44; /* Deep Teal */
    --color-primary-light: #165b69;
    --color-accent: #d4af37; /* Gold/Champagne */
    --color-accent-hover: #b8962c;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Utilities */
.text-gold { color: var(--color-accent); }
.text-center { text-align: center; }
.bg-dark { background-color: var(--color-dark); }
.bg-light { background-color: var(--color-white); }
.text-light { color: var(--color-light); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span, .top-bar-right span {
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-left i, .top-bar-right i {
    color: var(--color-accent);
}

.social-icons {
    display: inline-flex;
    gap: 1rem;
}

.social-icons a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-dr {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    position: relative;
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
    transform-origin: left center;
}

/* Morphing hamburger to X */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, -2px);
    background-color: var(--color-white);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, 2px);
    background-color: var(--color-white);
}

/* ==========================================================================
   News Ticker
   ========================================================================== */
.news-ticker-wrap {
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
}

.news-ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item i {
    font-size: 0.7rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: calc(100vh - 150px);
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(13, 59, 68, 0.9), rgba(13, 59, 68, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-services-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.hero-services-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-services-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.8rem;
}

.hero-services-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-services-list i {
    color: var(--color-accent);
}

/* ==========================================================================
   Global Section Styles
   ========================================================================== */
.section-subtitle {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.text-light .section-title {
    color: var(--color-white);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--color-gray);
}

.text-light .section-desc {
    color: var(--color-gray-light);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-title {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

.features-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.features-list i {
    color: var(--color-accent);
}

/* ==========================================================================
   Hair Transplant Section
   ========================================================================== */
.ht-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ht-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ht-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}

.ht-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.ht-card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.ht-card p {
    color: var(--color-gray-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Aesthetic Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-img {
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

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

.service-content p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Before & After Section
   ========================================================================== */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ba-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ba-image-container {
    position: relative;
    height: 400px;
}

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111;
    color: var(--color-gray-light);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-desc {
    margin-bottom: 2rem;
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: #aaa;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.contact-info li {
    display: flex;
    gap: 1rem;
    color: #aaa;
}

.contact-info i {
    color: var(--color-accent);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    /* Hero Section stacked styles */
    .hero {
        height: auto;
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-text-col {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Grid adaptations for tablets */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .ba-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    /* Premium Sliding Mobile Navigation Drawer */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: rgba(13, 59, 68, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 5rem 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        color: var(--color-white);
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .nav-links a::after {
        background-color: var(--color-accent);
        bottom: -3px;
    }
    
    .nav-menu .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    body.mobile-menu-active {
        overflow: hidden;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .ba-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-services-card {
        padding: 1.5rem;
    }

    .hero-services-list li {
        font-size: 0.95rem;
        padding-bottom: 0.6rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ht-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-img {
        height: 200px;
    }

    .ba-image-container {
        height: 300px;
    }

    .experience-badge {
        padding: 1.2rem;
    }

    .exp-number {
        font-size: 1.8rem;
    }

    .exp-text {
        font-size: 0.7rem;
    }
}
