/* CSS Custom Properties - Color Palette */
:root {
    --primary: #3B9B8F;
    --accent: #E5A835;
    --background: #FFFFFF;
    --text: #2D3436;
    --light-bg: #F8F9FA;
    --primary-dark: #2d7a70;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-weight: 400;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Header Styles */
.header {
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Mobile: show full logo, hide icon and title */
.logo-full {
    display: block;
}

.logo-icon {
    display: none;
}

.clinic-name {
    display: none;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
}

.clinic-name .lume {
    color: var(--primary);
}

.clinic-name .dental {
    color: var(--accent);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    color: var(--accent);
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

/* About Section */
.about-section {
    padding: 30px 0 20px;
    background-color: var(--background);
    text-align: center;
}

.about-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.8;
    text-align: justify;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Doctor Section */
.doctor-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.doctor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.doctor-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.doctor-info h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.doctor-info p {
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 600px;
    text-align: justify;
}

/* Hindi text adjustment - only for paragraphs */
p.lang-text[data-lang="hi"] {
    font-size: 1rem !important;
    font-weight: 400;
}

/* Language Toggle Container */
.lang-toggle-container {
    background-color: var(--light-bg);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.lang-toggle-container .lang-tabs {
    justify-content: center;
}

/* Language Tabs */
.lang-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.lang-tab {
    padding: 6px 14px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-tab:hover {
    background: var(--light-bg);
}

.lang-tab.active {
    background: var(--primary);
    color: white;
}

.lang-text {
    display: none !important;
}

.lang-text.active {
    display: block !important;
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0;
    background-color: var(--background);
}

.gallery-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer Styles */
.footer {
    background-color: var(--primary);
    color: var(--background);
    padding: 40px 0 20px;
}

.footer-content {
    margin-bottom: 30px;
    text-align: center;
}

.footer-info h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--accent);
}

.footer-info address {
    font-style: normal;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.825rem;
    line-height: 1.6;
}

.footer-info a {
    color: var(--background);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Tablet Breakpoint (768px and up) */
@media (min-width: 768px) {
    /* Tablet+: keep full logo, hide icon and title */
    .logo-full {
        display: block;
    }

    .logo-icon {
        display: none;
    }

    .clinic-name {
        display: none;
    }

    .logo img {
        height: 55px;
        width: auto;
    }

    .header-icons {
        gap: 16px;
    }

    .header-icon svg {
        width: 24px;
        height: 24px;
    }

    .clinic-name {
        font-size: 1.375rem;
        letter-spacing: 3px;
    }

    .about-section {
        padding: 40px 0 50px;
    }

    .about-section h2 {
        font-size: 1.75rem;
    }

    .about-text {
        font-size: 0.975rem;
    }

    .doctor-section {
        padding: 50px 0;
    }

    .doctor-content {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        gap: 40px;
    }

    .doctor-image img {
        width: 200px;
        height: 200px;
    }

    .doctor-info h3 {
        font-size: 1.375rem;
    }

    .doctor-info p {
        font-size: 0.975rem;
    }

    .gallery-section {
        padding: 50px 0;
    }

    .gallery-section h2 {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-item img {
        height: 170px;
    }

    .footer {
        padding: 50px 0 25px;
    }
}

/* Desktop Breakpoint (1024px and up) */
@media (min-width: 1024px) {
    .header-container {
        padding: 12px 40px;
    }

    .logo img {
        height: 60px;
        width: auto;
    }

    .header-icon svg {
        width: 26px;
        height: 26px;
    }

    .clinic-name {
        font-size: 1.625rem;
        letter-spacing: 4px;
    }

    .about-section {
        padding: 50px 0 60px;
    }

    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 1rem;
    }

    .doctor-section {
        padding: 60px 0;
    }

    .doctor-image img {
        width: 220px;
        height: 220px;
    }

    .doctor-info h3 {
        font-size: 1.5rem;
    }

    .doctor-info p {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .gallery-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .gallery-grid {
        gap: 30px;
    }

    .gallery-item img {
        height: 200px;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-info h3 {
        font-size: 1.375rem;
    }
}
