/*
==================================================================
  STYLESHEET FOR FESTIVAL SUBDOMAIN - FIXED MOBILE VERSION
==================================================================
*/

/* 1. Base and General Styles
----------------------------------------------------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #c41e3a;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, rgba(196, 30, 58, 0.85) 0%, rgba(139, 0, 0, 0.9) 100%);
}
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text-dark); 
    background-color: var(--white);
    overflow-x: hidden; /* Prevents side scroll on mobile */
    width: 100%;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary-color); text-decoration: none; }

/* Utility class to lock scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* 2. Navigation Bar
----------------------------------------------------------------*/
.navbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; transition: all 0.3s ease; box-shadow: 0 2px 20px rgba(0, 0, 0, 0); }
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; width: 100%; }
.nav-logo a { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--primary-color); }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-menu { display: flex; gap: 1.1rem; list-style: none; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s ease; position: relative; padding: 5px 0; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.main-site-link { color: var(--primary-color) !important; font-weight: 600; border: 1px solid var(--primary-color); padding: 8px 12px; border-radius: 20px; margin-left: 1rem; white-space: nowrap; }
.main-site-link:hover { background: var(--primary-color); color: var(--white) !important; }
.main-site-link::after { display: none !important; }

/* 3. Dropdown Menu
----------------------------------------------------------------*/
.nav-link.dropdown { position: relative; cursor: pointer; }
.nav-link.dropdown::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1rem; height: 1rem; background: transparent; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 0.75rem; background: var(--white); border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); padding: 0.5rem 0; list-style: none; min-width: 220px; z-index: 2000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s ease; }
.nav-link.dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.dropdown-menu li a { display: block; padding: 0.8rem 1.5rem; color: var(--text-dark); font-weight: 500; transition: all 0.2s ease; }
.dropdown-menu li a:hover { background-color: var(--bg-light); color: var(--primary-color); }
.nav-link.dropdown > span::after { content: ' \25BE'; font-size: 0.8em; margin-left: 5px; display: inline-block; transition: transform 0.25s ease; }
.nav-link.dropdown:hover > span::after { transform: rotate(180deg); }

/* 4. Hero Slideshow Banner
----------------------------------------------------------------*/
.hero-slideshow { height: 85vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--white); text-align: center; }
.slideshow-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.slide.active { opacity: 1; }
.slide:nth-child(1) { background-image: url('24.jpg'); }
.slide:nth-child(2) { background-image: url('5.jpg'); }
.slide:nth-child(3) { background-image: url('1.jpg'); }
.slide:nth-child(4) { background-image: url('14.jpg'); }
.slide:nth-child(5) { background-image: url('4.jpg'); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%); z-index: -1; }
.festival-hero-content { z-index: 2; animation: fadeInUp 1s ease-out; }
.festival-logo { width: 150px; height: 150px; object-fit: contain; margin-bottom: 2rem; background: rgba(255,255,255,0.1); border-radius: 50%; padding: 1rem; }
.festival-hero-content h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.slideshow-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.3s ease; }
.dot:hover, .dot.active { background: var(--white); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* 5. General Page & Section Styles
----------------------------------------------------------------*/
.page-header { padding: 160px 0 80px; background: var(--gradient); color: var(--white); text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; }
.project-detail, .detailed-about { padding: 80px 0; }
.project-detail h2, .detailed-about h2 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }

/* 6. Footer Styles
----------------------------------------------------------------*/
.footer { background: var(--bg-dark); color: var(--white); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section { padding: 0 1rem; }
.footer-logo a { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; color: var(--white); }
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-logo span { font-weight: 700; font-size: 1.2rem; }
.footer-section p { color: #ccc; font-size: 0.9rem; }
.footer-section h4 { color: var(--primary-color); margin-bottom: 1rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #ccc; font-size: 0.9rem; }

/* 7. Styles for Detailed Index/About Page Sections
----------------------------------------------------------------*/
.festival-overview, .festival-history, .festival-goals, .festival-2025-detail { padding: 80px 20px; }
.festival-history { background-color: var(--bg-light); }
.festival-overview h2, .festival-history h2, .festival-goals h2, .festival-2025-detail h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--primary-color); }
.overview-content { max-width: 800px; margin: 0 auto; text-align: center; }
.overview-content p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 1rem; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 4px; background: #e0e0e0; border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -39px; top: 5px; width: 20px; height: 20px; background: var(--primary-color); border-radius: 50%; z-index: 1; border: 4px solid var(--white); box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.timeline-year { font-weight: 700; font-size: 1.2rem; color: var(--primary-color); margin-bottom: 5px; }
.timeline-content { background: var(--white); padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.timeline-content h3 { color: var(--secondary-color); margin-bottom: 8px; }
.goals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.goal-item { text-align: center; padding: 20px; }
.goal-icon { font-size: 3.5rem; line-height: 1; margin-bottom: 1rem; display: block; }
.goal-item h3 { margin-bottom: 1rem; color: var(--secondary-color); font-size: 1.3rem; }
.goal-item p { color: var(--text-light); }
.festival-2025-content { max-width: 1000px; margin: 0 auto; }
.festival-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 60px; }
.info-card { background: var(--bg-light); padding: 25px; border-radius: 8px; text-align: center; border-bottom: 3px solid var(--primary-color); }
.info-card h3 { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 10px; }
.info-card p { font-weight: 500; font-size: 1.1rem; color: var(--text-dark); }
.industree-section h3, .industree-detailed-section h3 { text-align: center; color: var(--secondary-color); font-size: 2rem; margin-bottom: 15px; }
.industree-section > p, .industree-detailed-section > p { text-align: center; max-width: 700px; margin: 0 auto 40px auto; }
.industree-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.project-item { background: var(--white); padding: 25px; border-left: 4px solid var(--accent-color); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 0 8px 8px 0; }
.project-item h4 { color: var(--secondary-color); margin-bottom: 10px; }

/* 8. Submission Form Styles
----------------------------------------------------------------*/
.submission-section { padding: 80px 0; }
.submission-form-container { max-width: 900px; margin: 0 auto; background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.07); }
.submission-form-container h2 { color: var(--primary-color); margin-bottom: 1rem; text-align: center; }
.submission-form-container h3 { color: var(--secondary-color); margin-top: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; }
.submission-form-container .form-intro { text-align: center; margin-bottom: 2rem; color: var(--text-light); }
.submission-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.submission-form .form-group { margin-bottom: 1rem; }
.submission-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-dark); }
.submission-form input[type="text"], .submission-form input[type="email"], .submission-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.submission-form input:focus, .submission-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1); }
.submission-form .form-hint { font-size: 0.85rem; color: var(--text-light); margin: -0.25rem 0 0.5rem 0; }
.submission-form hr { border: none; height: 1px; background-color: #eee; margin: 2rem 0; }
.submission-instructions { margin-top: 3rem; padding: 2rem; background: var(--bg-light); border-radius: 8px; border-left: 4px solid var(--primary-color); }
.submission-instructions h3 { margin-top: 0; }
.submission-instructions ul { padding-left: 20px; margin: 1rem 0; }
.submission-instructions .email-address { font-size: 1.1rem; text-align: center; margin-top: 1.5rem; }
.submission-instructions .email-address strong { color: var(--primary-color); }

/* 9. Festival 2025 Page
----------------------------------------------------------------*/
.festival-2025-page-content section { padding: 80px 20px; }
.industree-detailed-section { padding-top: 80px !important; }
.jury-section { background-color: var(--bg-light); }
.jury-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.jury-member { background: var(--white); padding: 2rem; border-radius: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.jury-member p { color: var(--text-light); font-style: italic; }
.program-section .program-placeholder { text-align: center; padding: 3rem; background: var(--bg-light); border-radius: 8px; }
.program-placeholder p { font-size: 1.2rem; font-weight: 500; color: var(--text-dark); }

/* 10. Partners Page
----------------------------------------------------------------*/
.partners-section { padding: 80px 20px; }
.partner-category-title { text-align: center; font-size: 2.2rem; color: var(--secondary-color); margin-bottom: 2rem; margin-top: 2rem; }
.partner-category-title:first-child { margin-top: 0; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.partner-card { display: block; background: var(--white); border-radius: 12px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); padding: 2rem; text-align: center; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.partner-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12); }
.partner-logo { height: 180px; width: 100%; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; padding: 5px; }
.partner-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-info h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.3rem; }
.partner-info p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

/* 11. Articles Page
----------------------------------------------------------------*/
.articles-section { padding: 80px 20px; background-color: var(--bg-light); }
.articles-list { max-width: 900px; margin: 0 auto; }
.article-card { display: flex; background: #fff; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 2.5rem; transition: transform 0.3s ease; }
.article-card:hover { transform: translateY(-5px); }
.article-image { flex: 0 0 250px; background-color: #eee; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-content { padding: 2rem; display: flex; flex-direction: column; }
.article-content h3 { color: var(--primary-color); margin-bottom: 0.5rem; }
.article-source { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; font-style: italic; }
.article-content p { color: var(--text-dark); line-height: 1.7; flex-grow: 1; }
.btn-read-more { display: inline-block; background-color: var(--primary-color); color: var(--white); padding: 10px 20px; border-radius: 25px; text-decoration: none; font-weight: 500; transition: background-color 0.3s ease; margin-top: 1.5rem; align-self: flex-start; }
.btn-read-more:hover { background-color: var(--secondary-color); }
@media (max-width: 768px) {
    .article-card { flex-direction: column; }
    .article-image { flex-basis: 200px; }
    .article-content { padding: 1.5rem; }
}

/* 12. Gallery (Photo & Video)
----------------------------------------------------------------*/
.main-gallery { padding: 80px 20px; }
.gallery-categories { padding: 50px 20px 0; background: var(--bg-light); }
.category-filters { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: -50px; position: relative; z-index: 10; }
.filter-btn { padding: 10px 24px; border: 1px solid #ddd; background: #fff; color: var(--text-dark); border-radius: 25px; cursor: pointer; transition: all 0.3s ease; font-weight: 500; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.gallery-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; background: var(--bg-light); padding-top: 80px; }
.gallery-item { cursor: pointer; overflow: hidden; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); opacity: 1; transform: scale(0.95); transition: opacity 0.4s ease, transform 0.4s ease; }
.gallery-item.is-visible { opacity: 1; transform: scale(1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.video-item h3 { color: var(--primary-color); margin-top: 1rem; margin-bottom: 0.5rem; }
.video-item p { color: var(--text-light); font-size: 0.95rem; }
.video-responsive-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-responsive-wrapper iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none; }

/* 13. Components (Buttons, Modals, Quotes, Language)
----------------------------------------------------------------*/
.lang-switcher { margin-left: 1.5rem; display: flex; align-items: center; justify-content: center; padding: 5px; transition: transform 0.2s ease; }
.lang-switcher:hover { transform: scale(1.1); }
.lang-switcher::after { display: none !important; }
.lang-switcher img { height: 20px; width: auto; display: block; }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); }
.modal-content { background-color: #fefefe; margin: 5% auto; padding: 40px; border-radius: 12px; width: 80%; max-width: 700px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); position: relative; animation: fadeIn 0.4s; }
.close-modal { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 20px; top: 10px; transition: color 0.3s; }
.close-modal:hover, .close-modal:focus { color: #c41e3a; text-decoration: none; cursor: pointer; }
.modal-content h2 { color: #c41e3a; margin-bottom: 20px; text-align: center; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.rules-list { text-align: left; margin-bottom: 20px; padding-left: 20px; }
.rules-list li { margin-bottom: 10px; line-height: 1.6; color: #333; }
@keyframes fadeIn { from {opacity: 0; transform: translateY(-20px);} to {opacity: 1; transform: translateY(0);} }

.btn { display: inline-block; padding: 12px 30px; font-size: 1.1rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.btn-secondary { background-color: transparent; border: 2px solid #ffffff; color: #ffffff; margin-top: 25px; }
.btn-secondary:hover { background-color: #ffffff; color: #c41e3a; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.quote-section { padding: 80px 20px; background-color: #f9f9f9; text-align: center; }
.quote-content { max-width: 900px; margin: 0 auto; position: relative; }
.quote-symbol { font-size: 5rem; color: var(--primary-color); line-height: 1; opacity: 0.2; margin-bottom: -20px; font-family: serif; }
.quote-text { font-size: 1.2rem; line-height: 1.8; font-style: italic; color: var(--text-dark); margin-bottom: 40px; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: left; }
.quote-author img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #e0e0e0; }
.author-details h4 { color: var(--primary-color); margin-bottom: 5px; font-size: 1.1rem; }
.author-details p { font-size: 0.9rem; color: var(--text-light); line-height: 1.4; margin: 0; }
@media (max-width: 600px) { .quote-author { flex-direction: column; text-align: center; } }

/* 
==================================================================
  14. MOBILE MENU & RESPONSIVE FIXES (CONSOLIDATED)
==================================================================
*/

/* Hamburger Icon (Visible on mobile/tablet) */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color); /* Changed to primary so it's always visible */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* TABLET AND MOBILE BREAKPOINT */
@media (max-width: 992px) {
    .festival-hero-content h1 { font-size: 2rem; }
    .festival-overview h2, .festival-history h2, .festival-goals h2, .festival-2025-detail h2 { font-size: 2rem; }
    .industree-projects { grid-template-columns: 1fr; }
    
    /* Show Hamburger */
    .hamburger { display: flex; }

    /* Fix Navigation Menu */
    .nav-menu {
        position: fixed !important;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 100% !important;
        height: 100vh !important;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px; /* Space for logo/close button */
        padding-bottom: 120px;
        transition: right 0.4s ease;
        z-index: 2000;
        overflow-y: auto !important; 
        display: flex !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }

    /* Fix Menu Links - THE "Հայտարարություններ" FIX IS HERE */
    .nav-link {
        margin: 15px 0;
        font-size: 1.3rem;
        width: 100%;
        max-width: 300px; /* Prevent it from touching edges */
        text-align: center;
        display: block;
        padding: 10px;
        
        /* Forces long words to break */
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .main-site-link {
        margin: 20px auto;
        display: inline-block;
        width: auto;
    }

    /* Mobile Dropdowns */
    .nav-link.dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-link.dropdown::after {
        display: none;
    }

    .dropdown-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        background-color: #f9f9f9;
        width: 100%;
        text-align: center;
        padding: 0;
        margin-top: 5px;
        position: static;
        box-shadow: none;
        transform: none;
        visibility: visible; /* Override hidden visibility from desktop */
    }

    /* JS adds .open class on click */
    .nav-link.dropdown.open .dropdown-menu {
        display: block;
        opacity: 1;
    }

    .dropdown-menu li a {
        padding: 15px 0;
        font-size: 1.1rem;
        color: #555;
        border-bottom: 1px solid #eee;
    }

    /* Language Switcher on Mobile */
    .lang-switcher {
        margin: 30px auto !important;
        display: block;
        transform: scale(1.3);
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    /* Fix Form Layout on Mobile */
    .submission-form .form-grid { grid-template-columns: 1fr; gap: 0; }
    .submission-form-container { padding: 1.5rem; }
    
    /* General Mobile Text Sizing */
    h1, h2, h3, .section-header h2, .page-header h1 {
        font-size: 1.8rem !important; 
        word-wrap: break-word; 
        padding: 0 10px;
    }
}