/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables for Dental Hub - Maroon and Blue Theme from Logo */
    --primary-color: #1e3a8a;     /* Blue from logo - Primary elements */
    --secondary-color: #8b0000;   /* Maroon from logo - Secondary elements */
    --accent-color: #1e3a8a;      /* Blue from logo - UI elements */
    --text-dark: #000000;         /* Black - Main text */
    --text-light: #424242;        /* Dark gray - Secondary text */
    --text-white: #ffffff;        /* Pure White Text */
    --text-secondary: #424242;    /* Dark gray - Secondary Text */
    --bg-white: #ffffff;          /* Pure White Background */
    --bg-light: #f8f9fa;          /* Very Light Gray - Main background */
    --bg-section: #f0f0f0;        /* Light Gray - Section background */
    --bg-off-white: #fcfdfe;      /* Off-white variations */
    --bg-off-white-alt: #fefefe;  /* Alternative off-white */
    --bg-content: #e6ecf3;        /* Pale bluish-gray - Content boxes */
    --bg-dark: #8b0000;           /* Maroon from logo - Dark backgrounds */
    --bg-darker: #1e3a8a;         /* Blue from logo - Darker backgrounds */
    --bg-lighter: #8b0000;        /* Maroon from logo - Lighter backgrounds */
    --bg-black: #1e3a8a;          /* Blue from logo - Accent elements */
    --bg-black-alt: #8b0000;      /* Maroon from logo - Alternative accents */
    --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 3px 10px rgba(30, 58, 138, 0.1);
}

html, body {
    min-height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
}

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

html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--dark-gold);
    border-color: var(--dark-gold);
}

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

.btn-secondary:hover {
    background-color: var(--dark-gold);
    border-color: var(--dark-gold);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 15px;
}

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

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Section Background Variations */
section:nth-child(odd) {
    background: var(--bg-white);
}

section:nth-child(even) {
    background: var(--bg-section);
}

#home {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-section) 100%);
}

#about {
    background: var(--bg-off-white);
}

#treatments {
    background: var(--bg-section);
}

#technology {
    background: var(--bg-off-white-alt);
}

#gallery {
    background: var(--bg-content);
}

#achievements {
    background: var(--bg-white);
}

#statistics {
    background: var(--bg-section);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #dee2e6 50%, #ced4da 75%, #adb5bd 100%);
    color: var(--text-dark);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Ensure all sidebar content is visible */
.sidebar * {
    visibility: visible !important;
    opacity: 1 !important;
}

.sidebar h1, .sidebar h2, .sidebar h3, .sidebar h4, .sidebar h5, .sidebar h6,
.sidebar p, .sidebar span, .sidebar div, .sidebar a, .sidebar li {
    /* display: block !important; */
    visibility: visible !important;
    opacity: 1 !important;
}

.sidebar-header {
    margin-bottom: 1rem;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    flex-direction: row;
    width: 100%;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.logo h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a; /* Blue from logo */
    margin: 0 0 0.1rem 0;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.logo .specialty-tagline {
    font-size: 0.65rem;
    color: #000000; /* Black text */
    font-style: italic;
    margin: 0 0 0.1rem 0;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo .main-tagline {
    font-size: 0.6rem;
    color: #000000; /* Black text */
    font-style: italic;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 500;
}



.sidebar-nav {
    flex: 1;
    display: block;
}

.sidebar-nav ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.3rem;
    display: block;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    min-width: 200px;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(33, 37, 41, 0.1);
    color: var(--accent-color);
    transform: translateX(5px);
    border-left-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sidebar-nav i {
    width: 20px;
    text-align: center;
    display: inline-block;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(33, 37, 41, 0.1);
    display: block;
}


/* Main Content Styles */
.main-content {
    margin-left: 350px;
    min-height: 100vh;
    background: var(--bg-light);
    transition: filter 0.3s ease, padding-top 0.3s ease;
    padding-top: 2rem;
}

.main-content.navbar-visible {
    padding-top: 6rem;
}

/* Sidebar overlay effect */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.section {
    display: block;
    padding: 3rem 2rem;
    min-height: 100vh;
}

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

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    grid-column: 1;
}

.hero-image {
    grid-column: 2;
}

.main-heading {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

/* Mobile layout reordering */
@media (max-width: 768px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }
    
    .main-heading {
        order: 1;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-content {
        order: 3;
    }
    
    .hero-text {
        order: 1;
    }
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.hero-text {
    margin-bottom: 2rem;
}

.lead-paragraph {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.secondary-paragraph {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.qr-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    padding: 1rem;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qr-code p {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.qr-contact-item {
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color)) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-qr-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    border: 1px solid #dee2e6;
}

.qr-container p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctors-photo {
    width: 100%;
    max-width: 600px;
}

.doctors-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Section Headers */
.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 2px;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctors-profile-card {
    width: 100%;
    max-width: 600px;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.doctors-profile-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors-profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-content h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.expertise-box {
    background: var(--bg-content);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--bg-lighter);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.expertise-box h4 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.expertise-box ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.expertise-box li:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
}

.expertise-box li {
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--bg-lighter);
}

.expertise-box li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: var(--bg-off-white);
}

.expertise-box li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.mission-content {
    padding-right: 2rem;
}

.mission-heading {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.mission-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.mission-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.quotes-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-box {
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.quote-content {
    padding-top: 1rem;
}

.quote-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.quote-hindi {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.6;
}

.mission-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctors-interaction-card {
    width: 100%;
    max-width: 600px;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctors-interaction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.interaction-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interaction-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Treatments Section */
.treatments-container {
    max-width: 100%;
    margin: 0;
    padding: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.treatments-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin: 0;
    padding: 2rem 2rem 0 2rem;
    height: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    min-width: 100px;
    margin-top: 2rem;
}

.treatments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    max-width: 800px;
    margin-left: 2rem;
}

.treatment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid var(--bg-lighter);
    transition: all 0.3s ease;
    min-height: 80px;
}

.treatment-item:first-child {
    border-top: 1px solid var(--bg-lighter);
}

.treatment-item:hover {
    background: var(--bg-off-white);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 8px;
}

.treatment-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

.read-more-btn {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.read-more-btn:hover {
    background: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 37, 41, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-white);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.close {
    color: var(--accent-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all 0.3s ease;
}

.close:hover {
    color: var(--text-light);
    transform: scale(1.1);
}

.modal h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
}

.modal p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.modal h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.modal ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.modal li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
}

.modal li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Treatment Video Section */
.treatment-video-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.treatment-video-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.treatment-video-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.videos-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.treatment-video-container {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.treatment-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--bg-lighter));
}

.treatment-video-container.second-video {
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.treatment-video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    background: var(--bg-darker);
}



.video-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.treatment-video-container:hover .video-info h4 {
    color: var(--accent-color);
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: #00d4ff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.feature-item:hover span {
    color: #00d4ff;
}

/* Technology Section */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--bg-lighter);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tech-card h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Technology Photos Carousel */
.technology-photos-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.technology-photos-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.technology-photos-carousel {
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.technology-photos-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(248, 249, 250, 1) 0%, 
        rgba(248, 249, 250, 0) 10%, 
        rgba(248, 249, 250, 0) 90%, 
        rgba(248, 249, 250, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.technology-photos-container {
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    position: relative;
    z-index: 2;
}

.technology-photos-container::-webkit-scrollbar {
    display: none;
}

.technology-photos-container:active {
    cursor: grabbing;
}

.technology-photos-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    min-width: max-content;
    width: max-content;
    animation: technologySlideShow 30s linear infinite;
}

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

.technology-photos-container:hover .technology-photos-track {
    animation-play-state: paused;
}

.technology-photo-item {
    flex: 0 0 450px;
    min-width: 450px;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.technology-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.technology-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.technology-photo-item:hover .technology-photo {
    transform: scale(1.05);
}

.technology-photo-caption {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
}

.technology-photo-caption h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.technology-photo-caption p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.gallery-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    font-weight: 500;
}

.gallery-subtitle::before,
.gallery-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.gallery-subtitle::before {
    left: calc(50% - 120px);
}

.gallery-subtitle::after {
    right: calc(50% - 120px);
}

.gallery-carousel {
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.gallery-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(248, 249, 250, 1) 0%, 
        rgba(248, 249, 250, 0) 10%, 
        rgba(248, 249, 250, 0) 90%, 
        rgba(248, 249, 250, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.carousel-container {
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;
    border-radius: 15px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    cursor: grab;
    min-height: 400px;
    z-index: 2;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    min-width: max-content;
    width: max-content;
    animation: slideShow 30s linear infinite;
}

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

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 350px;
    min-width: 350px;
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.carousel-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.carousel-image:hover {
    transform: scale(1.02);
}

/* Achievements Section */
.achievements-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.achievements-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.statistics-subtitle {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.achievement-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(33, 37, 41, 0.3);
}

.achievement-icon i {
    font-size: 2rem;
    color: white;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}



.achievements-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    color: var(--text-white);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}





/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--bg-lighter), var(--primary-color));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

.stars {
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Section */
#contact {
    background: var(--bg-section);
    color: var(--text-dark);
    position: relative;
}

#contact .section-content h2 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.working-hours h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--bg-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 80px;
}

.contact-item p {
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
    flex: 1;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.working-hours {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--bg-lighter);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hours .day {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-lighter);
    color: var(--text-dark);
    font-weight: 500;
}

.hours .day:last-child {
    border-bottom: none;
}

.social-media-icons {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-lighter);
}

.social-media-icons h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--bg-lighter);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 8px 25px rgba(33, 37, 41, 0.3);
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    padding: 3rem 2rem 1rem;
    margin-left: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-white);
}

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

/* Responsive Design */
@media (min-width: 1025px) {
    .sidebar {
        max-width: 350px;
    }
    
    .main-content {
        margin-left: 350px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 100vw;
        max-width: 400px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-heading {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100vw;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .contact-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content h3,
    .mission-heading,
    .gallery-title {
        font-size: 1.6rem;
    }
    
    .gallery-carousel {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .carousel-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .carousel-image {
        height: 220px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
    }
    
    .achievement-icon i {
        font-size: 1.5rem;
    }
    
    .achievements-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    

    
    .expertise-box ul {
        grid-template-columns: 1fr;
    }
    
    .expertise-box li:nth-child(3) {
        grid-column: 1;
        justify-self: stretch;
        max-width: 100%;
    }
    
    .mission-content {
        padding-right: 0;
    }
    
    .quotes-container {
        gap: 1rem;
    }
    
    .treatments-container {
        padding: 1rem;
        flex-direction: column;
        gap: 2rem;
    }
    
    .treatments-title {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        transform: none;
        height: auto;
        padding: 0;
        min-width: auto;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .treatments-list {
        max-width: 100%;
    }
    
    .treatment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .treatment-name {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .read-more-btn {
        align-self: flex-end;
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .modal h3 {
        font-size: 1.5rem;
    }
    
    .modal p {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .treatment-video-container {
        padding: 1.5rem;
    }
    
    .treatment-video {
        height: 350px;
    }
    
    .video-info h4 {
        font-size: 1.3rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
    
    .technology-photos-carousel {
        padding: 1.5rem;
    }
    
    .technology-photo-item {
        flex: 0 0 350px;
        min-width: 350px;
    }
    
    .technology-photo {
        height: 250px;
    }
    
    .technology-photo-caption {
        padding: 1rem;
    }
    
    .technology-photo-caption h4 {
        font-size: 1rem;
    }
    
    .technology-photo-caption p {
        font-size: 0.8rem;
    }
    
    .gallery-subtitle::before,
    .gallery-subtitle::after {
        width: 40px;
    }
    
    .gallery-subtitle::before {
        left: calc(50% - 80px);
    }
    
    .gallery-subtitle::after {
        right: calc(50% - 80px);
    }
    
    .gallery-item {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .gallery-image {
        height: 280px;
    }
    
    .qr-section {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .qr-code {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: center;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
    
    .qr-code p {
        font-size: 0.8rem;
    }
}

/* --- FADE-IN ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1); }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-left.visible { opacity: 1; transform: none; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-right.visible { opacity: 1; transform: none; }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-up.visible { opacity: 1; transform: none; }
.fade-in-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s, transform 0.8s; }
.fade-in-scale.visible { opacity: 1; transform: scale(1); }

/* Mobile Menu Overlay - Only visible on mobile */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #dee2e6 50%, #ced4da 75%, #adb5bd 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
}

.mobile-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

/* Mobile Menu Header */
.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.mobile-menu-brand .logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background: transparent;
    flex-shrink: 0;
}

.mobile-menu-brand-text {
    color: var(--text-dark);
}

.mobile-menu-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a; /* Blue from logo */
    line-height: 1.1;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.mobile-menu-specialty {
    font-size: 0.7rem;
    color: #000000; /* Black text */
    font-style: italic;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.mobile-menu-brand-title {
    font-size: 0.65rem;
    color: #000000; /* Black text */
    line-height: 1.2;
    font-weight: 500;
    font-style: italic;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(33, 37, 41, 0.1);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 20px 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin: 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: rgba(33, 37, 41, 0.1);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-menu-nav a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover i,
.mobile-menu-nav a.active i {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 1px solid rgba(33, 37, 41, 0.1);
    background: rgba(255, 255, 255, 0.1);
}



.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(33, 37, 41, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(33, 37, 41, 0.2);
}

.mobile-menu-social a:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 37, 41, 0.3);
}


/* Top Navigation Bar */
.top-navbar {
    display: none;
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-lighter);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease;
}

.top-navbar.visible {
    top: 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 100%;
}

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

.navbar-logo {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.navbar-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.navbar-text {
    flex: 1;
    min-width: 0;
}

.navbar-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a; /* Blue from logo */
    margin: 0 0 0.1rem 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-specialty {
    font-size: 0.75rem;
    color: #000000; /* Black text */
    font-style: italic;
    margin: 0 0 0.1rem 0;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-tagline {
    font-size: 0.7rem;
    color: #000000; /* Black text */
    font-style: italic;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.navbar-menu li {
    margin: 0;
}

.navbar-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.navbar-link:hover,
.navbar-link.active {
    background: var(--bg-off-white);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.navbar-link i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Show navbar on all screen sizes when needed */
.top-navbar {
    display: block;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        background: var(--accent-color);
    }
    
    .mobile-menu {
        display: block;
    }
    
    .main-content {
        padding-top: 5rem; /* Account for navbar height */
    }
    
    /* Always show navbar on mobile */
    .top-navbar {
        display: block;
        top: 0;
    }
}

/* Medium screens - hide some nav items */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-menu {
        gap: 0.25rem;
    }
    
    .navbar-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .navbar-link i {
        margin-right: 0.25rem;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .navbar-content {
        padding: 0.75rem 1rem;
    }
    
    .navbar-logo {
        width: 60px;
        height: 60px;
    }
    
    .navbar-name {
        font-size: 1.3rem;
    }
    
    .navbar-tagline {
        font-size: 0.8rem;
    }
    
    .hamburger {
        width: 25px;
        height: 20px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a, #8b0000);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #8b0000, #1e3a8a);
}

.scroll-to-top.show {
    display: flex;
}

/* Connect with Me Icon */
.connect-with-me {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.connect-with-me:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.connect-with-me.show {
    display: flex;
}

/* Connect Message */
.connect-message {
    position: fixed;
    bottom: 90px;
    right: 90px;
    background: rgba(37, 211, 102, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.connect-message::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(37, 211, 102, 0.95);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.connect-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation for connect icon */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active {
    animation: fadeIn 0.6s ease-out;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

