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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #fff;
}

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

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover {
    color: #0066cc;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
    white-space: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    white-space: nowrap;
    display: inline-block;
}

.nav-menu a:hover {
    color: #0066cc;
}

.nav-menu a.active {
    color: #0066cc;
    font-weight: 600;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 10000;
    position: relative;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #212529;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding-top: 70px;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #212529;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 10001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.mobile-menu-close:hover {
    color: #0066cc;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0 20px;
    margin-top: 0;
}

.mobile-menu .nav-menu li {
    border-bottom: 1px solid #e9ecef;
    white-space: normal;
}

.mobile-menu .nav-menu li:last-child {
    border-bottom: none;
}

.mobile-menu .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    white-space: normal;
}

.mobile-menu .language-selector {
    padding: 1rem 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-menu .lang-dropdown {
    width: 100%;
    max-width: none;
}

/* Language Dropdown */
.language-selector {
    position: relative;
}

.lang-dropdown {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: all 0.2s ease;
    min-width: 80px;
}

.lang-dropdown:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.lang-dropdown:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

h2:first-of-type {
    margin-top: 2rem;
    border-top: none;
    padding-top: 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

p {
    font-size: 1.0625rem;
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2.5rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 3rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item.active {
    border-color: #0066cc;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #212529;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background-color: #f8f9fa;
    color: #0066cc;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #6c757d;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #0066cc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1.0625rem;
    color: #495057;
    margin: 0;
    line-height: 1.8;
    padding-top: 0.5rem;
}

/* Footer */
footer {
    background-color: #212529;
    color: #fff;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid #343a40;
}

footer .container {
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* Responsive Design - Mobile First */
@media (max-width: 1025px) {
    nav .container {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .logo {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    nav .container > .nav-menu {
        display: none;
    }
    
    .burger-menu {
        display: flex;
        flex-shrink: 0;
    }
    
    nav .container > .language-selector {
        display: none;
    }
    
    .lang-dropdown {
        width: 100%;
        max-width: 120px;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }
    
    main {
        padding-top: 80px;
    }
    
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        z-index: 99999 !important;
        display: none !important;
    }
    
    .mobile-menu.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu .nav-menu {
        display: flex !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .logo {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    main {
        padding: 2rem 0;
        padding-top: 80px;
    }
    
    .page-content {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    img {
        margin: 2rem auto;
    }
    
    .faq-tab-buttons {
        flex-direction: column;
    }
    
    .faq-tab-btn {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }
    
    .faq-tab-btn.active {
        border-bottom-color: #e9ecef;
        border-left: 3px solid #0066cc;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    main {
        padding: 1.5rem 0;
        padding-top: 80px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .faq-accordion {
        margin-top: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

/* Contact Form Styles */
.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #212529;
    font-size: 0.95rem;
}

.form-group .required {
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    cursor: pointer;
    width: auto;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #0052a3;
}

.submit-btn:active {
    background-color: #004080;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
}
