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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f4f1e8 0%, #e8ddd4 50%, #d4c4a0 100%);
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-top: 156px; /* Fixed header + nav height */
}

/* Typography */
.title-en, .section-en, .card-en, .nav-en, .btn-en, .footer-en, .logo-text-en {
    font-family: 'Playfair Display', serif;
}

.title-bo, .section-bo, .card-bo, .nav-bo, .btn-bo, .footer-bo, .logo-text-bo {
    font-family: 'Noto Sans Tibetan', sans-serif;
}

/* Language Toggle */
body.tibetan .title-en,
body.tibetan .section-en,
body.tibetan .card-en,
body.tibetan .nav-en,
body.tibetan .btn-en,
body.tibetan .footer-en,
body.tibetan .subtitle-en,
body.tibetan .desc-en,
body.tibetan .card-desc-en,
body.tibetan .stat-en,
body.tibetan .cta-en,
body.tibetan .cta-desc-en,
body.tibetan .footer-desc-en,
body.tibetan .link-en,
body.tibetan .platform-desc-en,
body.tibetan .contact-en,
body.tibetan .copyright-en,
body.tibetan .logo-text-en {
    display: none;
}

body:not(.tibetan) .title-bo,
body:not(.tibetan) .section-bo,
body:not(.tibetan) .card-bo,
body:not(.tibetan) .nav-bo,
body:not(.tibetan) .btn-bo,
body:not(.tibetan) .footer-bo,
body:not(.tibetan) .subtitle-bo,
body:not(.tibetan) .desc-bo,
body:not(.tibetan) .card-desc-bo,
body:not(.tibetan) .stat-bo,
body:not(.tibetan) .cta-bo,
body:not(.tibetan) .cta-desc-bo,
body:not(.tibetan) .footer-desc-bo,
body:not(.tibetan) .link-bo,
body:not(.tibetan) .platform-desc-bo,
body:not(.tibetan) .contact-bo,
body:not(.tibetan) .copyright-bo,
body:not(.tibetan) .logo-text-bo {
    display: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header with Logo, Title, and Language Button */
.top-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    margin: 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* Updated Logo Styles for Image */
.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 5px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Remove old icon styles */
.logo i {
    display: none;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.header-title {
    flex: 2;
    text-align: center;
}

.header-title h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.header-lang-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.header-lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Navigation */
.nav-bottom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    margin: 0;
}

.nav-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 69, 19, 0.2);
}

.nav-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-pills-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}

.nav-pills-desktop li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    transform: translateY(-2px);
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-buttons-pills {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

/* Hide old language button */
.lang-btn {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('background.jpeg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-attachment: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #CD853F 0%, #DEB887 100%);
    color: #8B4513;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #DEB887 0%, #F5DEB3 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
    40% {
        transform: translateX(-50%) translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateX(-50%) translateY(-5px) rotate(45deg);
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #8B4513;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f9f6f0 0%, #f0e6d2 100%);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.15);
    border-color: #CD853F;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Search Section */
.search-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f4f1e8 0%, #e8ddd4 100%);
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

#searchInput {
    width: 500px;
    max-width: 100%;
    padding: 15px 25px;
    font-size: 16px;
    border: 2px solid #DEB887;
    border-radius: 50px 0 0 50px;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
}

#searchInput:focus {
    border-color: #8B4513;
}

#searchButton {
    padding: 15px 25px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

#searchButton:hover {
    background: linear-gradient(135deg, #CD853F 0%, #8B4513 100%);
}

.search-results-section {
    margin-top: 40px;
}

/* Stats Section with Boxes */
.stats {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    margin: 0;
}

/* Social Media Section */
.social-media-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f6f0 0%, #f0e6d2 100%);
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.platform-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.15);
    border-color: #CD853F;
}

.platform-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: white;
}

.platform-card:nth-child(1) .platform-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.platform-card:nth-child(2) .platform-icon {
    background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
}

.platform-card:nth-child(3) .platform-icon {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.platform-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #8B4513;
}

.platform-card p {
    color: #666;
    margin-bottom: 20px;
}

.platform-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 L90,90 L10,90 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 80px 80px;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-section .cta-button {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c1810 0%, #3d2317 50%, #4a2c1a 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513 0%, #CD853F 50%, #DEB887 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section {
    padding: 0 20px;
}

.footer-section:first-child {
    padding-left: 0;
}

.footer-section:last-child {
    padding-right: 0;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #CD853F;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #CD853F;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #d4c4a0;
}

.footer-section a {
    color: #d4c4a0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: #CD853F;
}

.footer-section a i {
    font-size: 16px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #CD853F 0%, #DEB887 100%);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a2c1a;
    color: #a0896b;
    font-size: 0.9rem;
}

/* Floating Social */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.social-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.social-toggle:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #CD853F 0%, #DEB887 100%);
}

.social-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-social:hover .social-buttons {
    opacity: 1;
    visibility: visible;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.social-btn.youtube { background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%); }
.social-btn.twitter { background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%); }
.social-btn.email { background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%); }

.social-btn:hover {
    transform: scale(1.1) translateX(-5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* User Greeting Styles */
.user-greeting {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(139, 69, 19, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.logout-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-pills-desktop {
        gap: 20px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section:nth-child(3) {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Logo adjustments for tablet */
    .logo {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 196px;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-section,
    .header-title,
    .header-lang-section {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    
    .header-title h1 {
        font-size: 1.5rem;
    }
    
    .nav-bottom {
        top: 116px;
        padding: 10px 0;
    }
    
    .nav-bottom .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-pills-desktop {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .nav-right-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero {
        height: 100vh;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }
    
    .social-platforms {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    #searchInput {
        width: 300px;
    }
    
    .floating-social {
        bottom: 20px;
        right: 20px;
    }
    
    .social-toggle {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    /* Mobile logo adjustments */
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-header-content {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    #searchInput {
        width: 250px;
    }
    
    .nav-pills-desktop {
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    /* Small mobile logo adjustments */
    .logo {
        width: 40px;
        height: 40px;
        padding: 3px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .top-header,
    .nav-bottom,
    .floating-social,
    .social-media-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        background: white;
        padding-top: 0;
    }
    
    .hero {
        height: auto;
        padding: 2cm 0;
        background: none;
        color: #333;
        margin-top: 0;
    }
    
    .logo img {
        filter: grayscale(100%);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
    
    .logo:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .nav-link {
        border: 2px solid transparent;
    }
    
    .nav-link:focus {
        border-color: currentColor;
        outline: 2px solid;
    }
    
    .cta-button:focus,
    .social-btn:focus {
        outline: 3px solid;
        outline-offset: 2px;
    }
    
    .logo {
        outline: 2px solid transparent;
    }
    
    .logo:focus {
        outline-color: currentColor;
    }
}

/* Focus styles for better accessibility */
.nav-link:focus,
.cta-button:focus,
.header-lang-btn:focus,
button:focus {
    outline: 2px solid #CD853F;
    outline-offset: 2px;
}

.logo:focus {
    outline: 2px solid #CD853F;
    outline-offset: 2px;
}

/* Image loading fallback */
.logo img[src=""],
.logo img:not([src]) {
    display: none;
}

.logo img[src=""]:after,
.logo img:not([src]):after {
    content: "🏔️";
    font-size: 24px;
    display: block;
}

/* Image error handling */
.logo img {
    background: transparent;
}

/* Alternative: If you want a square logo instead of circular */
/*
.logo {
    border-radius: 10px;
}

.logo img {
    border-radius: 5px;
}
*/

/* Alternative: If you want a rectangular/wide logo */
/*
.logo {
    width: 80px;
    height: 50px;
    border-radius: 10px;
    padding: 3px;
}

.logo img {
    object-fit: contain;
    border-radius: 5px;
}
*/











/* Additional CSS for Login Page */

/* Auth Page Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f1e8 0%, #e8ddd4 50%, #d4c4a0 100%);
    padding: 100px 20px 50px 20px; /* Top padding to account for fixed header */
}

.auth-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.15);
    max-width: 450px;
    width: 100%;
    border: 2px solid rgba(139, 69, 19, 0.1);
}

/* Section Title for Auth Pages */
.auth-container .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: #8B4513;
    font-weight: 700;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #8B4513;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #DEB887;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input:hover {
    border-color: #CD853F;
}

/* Button styles - using existing cta-button */
.auth-container .cta-button {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* Auth link styles */
.auth-link {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.auth-link a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: #CD853F;
    text-decoration: underline;
}

/* Message area styles */
.message-area {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
    border: 2px solid transparent;
}

.message-area.success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-color: rgba(40, 167, 69, 0.2);
}

.message-area.error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-color: rgba(220, 53, 69, 0.2);
}

.message-area.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-color: rgba(255, 193, 7, 0.2);
}

/* Header adjustments for auth pages */
.auth-page ~ header,
body .auth-page header {
    position: relative;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    padding: 20px 0;
    margin-bottom: 0;
}

/* Navbar adjustments for login page */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.site-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: white;
    margin: 0;
    flex: 1;
    text-align: left;
}

.navbar .logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 3px;
    margin: 0 20px;
}

.navbar .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Language button */
.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .auth-container {
        padding: 30px;
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-section {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav-section.active {
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
    }
    
    .nav-links .nav-link {
        display: block;
        padding: 12px 20px;
        border-radius: 10px;
    }
    
    .lang-btn {
        margin-top: 15px;
        align-self: center;
    }
    
    .auth-page {
        padding: 120px 15px 50px 15px;
    }
    
    .auth-container {
        padding: 25px;
        margin: 10px;
    }
    
    .navbar {
        position: relative;
        padding: 15px 20px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .navbar .logo {
        width: 40px;
        height: 40px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
        border-radius: 15px;
    }
    
    .form-group input {
        padding: 12px 15px;
    }
    
    .navbar {
        padding: 10px 15px;
    }
    
    .site-title {
        font-size: 1rem;
    }
    
    .navbar .logo {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }
    
    .nav-links .nav-link {
        font-size: 14px;
    }
}

/* Animation for form elements */
.auth-container .fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
.form-group input:focus,
.cta-button:focus,
.nav-link:focus,
.lang-btn:focus {
    outline: 2px solid #CD853F;
    outline-offset: 2px;
}

/* Loading state for form submission */
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cta-button:disabled:hover {
    transform: none;
}

/* Error state for inputs */
.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Success state for inputs */
.form-group input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

