* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

/* Force body and html to stay at top=0 to prevent Google Translate top bar insertion */
html {
    top: 0 !important;
    position: static !important;
}

body {
    background-color: #06090e;
    color: #e2e8f0;
    overflow-x: hidden;
    top: 0 !important;
    position: static !important;
}

/* Strictly hide all native Google Translate top banners, tooltips, frames, and spinners */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.VIpgJd-ZJuic-O26-V1tn0c,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Remove text highlights added by Google Translate hover state */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Ensure images never breach container boundaries */
img {
    max-width: 100%;
    height: auto;
}

/* Official Banner */
.official-banner {
    background: #001f3f;
    color: #ffffff;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.official-banner i {
    color: #d4af37;
    margin-right: 6px;
}

/* Background Layers */
.cinematic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06090e;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(15, 23, 42, 0.8) 0%, rgba(6, 9, 14, 1) 100%);
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-seal-tiny {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar nav a:hover {
    color: #d4af37;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Custom Language Selector */
.custom-translator {
    position: relative;
    user-select: none;
}

.lang-trigger {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-trigger:hover,
.custom-translator.open .lang-trigger {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.arrow-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.custom-translator.open .arrow-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.custom-translator.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-search-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.lang-search-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.75rem;
}

.lang-search-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 6px 8px 6px 28px;
    color: #ffffff;
    font-size: 0.78rem;
    outline: none;
}

.lang-search-wrapper input:focus {
    border-color: #d4af37;
}

.lang-list {
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.lang-list::-webkit-scrollbar {
    width: 4px;
}

.lang-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.lang-list li {
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 0.83rem;
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, color 0.2s;
}

.lang-list li:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #ffffff;
}

.lang-list li.active {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-weight: 700;
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

/* Hero Section */
.hero-section {
    padding: 60px 5% 40px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-seal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.hero-center-seal {
    width: 160px !important;
    height: 160px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.45));
    display: block;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 15px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-btn-nav {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    color: #000;
    padding: 7px 14px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
}

.primary-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #06090e;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.secondary-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    color: #d4af37;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    width: 100%;
    background: rgba(10, 15, 26, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.stat-item h3 {
    color: #d4af37;
    font-size: 1.25rem;
}

.stat-item p {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Info Sections */
.info-section {
    padding: 70px 5%;
}

.alt-bg {
    background: rgba(10, 15, 26, 0.5);
}

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

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.section-title p {
    color: #94a3b8;
}

/* Legal Notice Box */
.legal-box {
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 35px;
    border-radius: 10px;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.7;
    color: #cbd5e1;
}

.legal-lead {
    font-size: 1.1rem;
    color: #ffffff;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
    margin-bottom: 18px;
}

.legal-box p {
    margin-bottom: 16px;
}

.notice-callout {
    margin-top: 25px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid #d4af37;
    padding: 18px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.notice-callout i {
    font-size: 1.5rem;
    color: #d4af37;
}

.notice-callout p {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Documents Grid */
.docs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.doc-box {
    background: rgba(10, 15, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.doc-box i {
    font-size: 2rem;
    color: #38bdf8;
    margin-bottom: 12px;
}

.doc-box h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #ffffff;
}

.doc-box p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.doc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    cursor: pointer;
}

.doc-link:hover {
    color: #ffffff;
}

.doc-preview-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.doc-preview-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #ffffff;
}

/* Interactive PDF Modal Viewer */
.pdf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pdf-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-container {
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: #0a0f1a;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.pdf-modal-header {
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-header h3 {
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-modal-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pdf-modal-download-btn {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    color: #000000;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.pdf-modal-close-btn:hover {
    color: #ffffff;
}

.pdf-modal-body {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    background: #1e293b;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(10, 15, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.faq-question {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 0.98rem;
    color: #ffffff;
    font-weight: 600;
}

.faq-question i {
    color: #d4af37;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 18px 18px;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Form Section */
.form-section {
    padding: 70px 5%;
    display: flex;
    justify-content: center;
}

.form-card {
    background: rgba(10, 15, 26, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 35px;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-header p {
    color: #94a3b8;
    margin-bottom: 22px;
    font-size: 0.9rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.form-group-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-group-checkbox label {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

/* Footer */
footer {
    background: #030407;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-seal-tiny {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
}

.footer-logo p {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 4px;
}

.footer-links h4, .footer-legal h4 {
    margin-bottom: 12px;
    color: #d4af37;
    font-size: 0.95rem;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.footer-legal p {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
    color: #64748b;
    font-size: 0.78rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-center-seal {
        width: 120px !important;
        height: 120px !important;
    }
    .form-group-row {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .navbar nav {
        display: none;
    }
    .pdf-modal-container {
        width: 95%;
        height: 90vh;
    }
}