* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFB800;
    --bg: #050505;
    --card: #030303;
}

body {
    background: linear-gradient(135deg, #020202 0%, #0a0a0a 100%);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 8%;
    border-bottom: 1px solid rgba(255, 184, 0, 0.15);
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left-group, .nav-center-group, .nav-user-container {
    display: flex;
    align-items: center;
}

.nav-left-group {
    gap: 48px;
}

.nav-center-group {
    gap: 32px;
}

.nav-user-container {
    justify-content: flex-end;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.sub-logo {
    font-size: 1.05rem;
    font-weight: 300;
    color: #ddd;
    margin-left: 6px;
}

.nav-link-left {
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link-left:hover,
.nav-link-left.active {
    color: var(--gold);
}

.nav-btn {
    padding: 13px 48px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s;
}

.nav-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.4);
}

.nav-left-group { gap: 48px; }
.nav-center-group { justify-content: center; gap: 32px; }
.nav-user-container { position: relative; }
.logo-emblem { font-size: 2.4rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; line-height: 1; user-select: none; text-shadow: 0 0 12px rgba(255, 184, 0, 0.4); transition: transform 0.3s ease; }
.logo-emblem:hover { transform: scale(1.08); }
.nav-link { color: #ffffff; text-decoration: none; font-weight: 500; font-size: 1rem; cursor: pointer; transition: color 0.3s ease; }
.nav-link:hover { color: var(--gold); }

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 15px);
    background-color: var(--card);
    border: 2px solid var(--gold);
    border-radius: 14px;
    min-width: 200px;
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.15),
                0 0 25px rgba(255, 184, 0, 0.25),
                0 15px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    padding: 8px 0;
    transition: transform 0.2s ease;
}
.dropdown-menu.show {
    display: block;
    animation: menuGlowPulse 3s infinite alternate;
}
.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #dfdfdf;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
}
.dropdown-item:hover {
    background-color: rgba(255, 184, 0, 0.08);
    color: var(--gold);
    padding-left: 24px;
}
.logout-link {
    color: #ff6b6b;
}
.logout-link:hover {
    background-color: rgba(255, 77, 77, 0.08);
    color: #ff4d4d;
    padding-left: 24px;
}
@keyframes menuGlowPulse {
    0% { box-shadow: 0 0 10px rgba(255, 184, 0, 0.2), 0 0 20px rgba(255, 184, 0, 0.2), 0 15px 40px rgba(0, 0, 0, 0.8); }
    100% { box-shadow: 0 0 14px rgba(255, 184, 0, 0.35), 0 0 30px rgba(255, 184, 0, 0.35), 0 15px 40px rgba(0, 0, 0, 0.8); }
}

/* Hero Section */
.contact-hero {
    min-height: 36vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 8% 5rem;
    background: radial-gradient(circle at 50% 30%, rgba(255, 184, 0, 0.08) 0%, transparent 70%);
}

.hero-content h1 {
    font-size: 4.2rem;
    color: var(--gold);
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    color: #b0b0b0;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Container Layout - Clean Vertical Stack */
.contact-main {
    padding: 10px 2% 80px 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

/* Layout for side-by-side content */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
    width: 100%;
    align-items: start;
}

.contact-copy-intro,
.contact-copy {
    color: var(--gold);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 18px 20px;
    border: 1px solid rgba(255, 184, 0, 0.35);
    border-radius: 12px;
    background: rgba(255, 184, 0, 0.04);
    width: 100%;
    max-width: 100%;
}

.contact-copy-intro {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.contact-copy {
    min-height: 100%;
}

.contact-copy p {
    margin-bottom: 12px;
}

.contact-copy p:last-child {
    margin-bottom: 0;
}

.contact-form-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}

.form-outside-heading {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: right;
    width: 100%;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form-card {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
    min-height: 100%;
}

/* Form Spacing Optimization */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Input Fields - Default Golden Outlines */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    background: #050505;
    border-color: var(--gold);
    box-shadow: 
        0 0 0 2px var(--gold),
        0 15px 40px rgba(255, 184, 0, 0.1);
    outline: none;
}

.form-group:focus-within label {
    color: var(--gold);
}

/* Main Spacing Area: Textarea */
.form-group textarea {
    min-height: 300px;
    resize: vertical;
    line-height: 1.6;
}

/* Bottom Row Layout: Left aligned Email + Button */
.form-bottom-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.email-group {
    flex: 1;
    margin-bottom: 0;
}

.submit-group {
    margin-bottom: 0;
}

/* Form Action Button */
.contact-submit-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, #ff9d00 100%);
    color: #050505;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.15);
    white-space: nowrap;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 30px rgba(255, 184, 0, 0.35),
        0 0 0 4px rgba(255, 184, 0, 0.1);
}

/* Horizontal Info Grid Style */
.contact-details-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 15px;
}

.detail-item {
    background: var(--card);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 184, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-info h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 600;
}

.detail-info p {
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.4;
}

/* Footer Section */
footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 184, 0, 0.1);
    padding: 60px 8% 30px;
    text-align: center;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #444;
    font-size: 0.85rem;
}

/* Responsive Structural Breakpoints */
@media (max-width: 850px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-copy-intro {
        grid-column: auto;
    }

    .form-bottom-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .submit-btn {
        width: 100%;
    }

    .contact-form-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
}
/* Nav nowrap fix */
.nav-center-group {
    flex-wrap: nowrap !important;
    gap: 20px !important;
}
.nav-link {
    white-space: nowrap !important;
    font-size: 0.9rem !important;
}
