/* Professional Navy Theme for Anvacon */

/* 1. FORCE BREAKOUT - This stops the theme from squeezing the content into a narrow column */
.anvacon-container {
    background-color: #0a192f;
    color: #e6f1ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 60px 20px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* 2. HEADER */
.anvacon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.anvacon-header .brand {
    font-size: 22px;
    font-weight: 700;
    color: #64ffda;
}

.anvacon-header .contact-btn a {
    border: 2px solid #64ffda;
    padding: 12px 24px;
    color: #64ffda;
    text-decoration: none;
    font-weight: 600;
}

/* 3. HERO */
.anvacon-hero {
    text-align: center;
    padding: 80px 0;
    background: radial-gradient(circle, #112240 0%, #0a192f 100%);
}

.anvacon-hero h1 {
    font-size: clamp(40px, 8vw, 90px);
    letter-spacing: 8px;
    color: #fff;
}

/* 4. PROFILE GRID - Forced Horizontal Row */
.profile-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Prevents wrapping to new lines */
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
}

.profile-text {
    flex: 1 1 300px;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #233554;
}

/* 5. CONTACT TRIBOX - Forced Horizontal Row */
.contact-tribox {
    display: flex !important;
    flex-direction: row !important; /* Critical for horizontal look */
    flex-wrap: nowrap !important;
    justify-content: space-around;
    align-items: stretch;
    background-color: #3b558d;
    padding: 50px 10px;
    margin: 60px auto;
    border-radius: 8px;
    max-width: 1200px;
}

.tribox-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.tribox-item.border-sides {
    border-left: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.2);
}

.tribox-item svg {
    fill: #64ffda;
}

.tribox-item a {
    color: #64ffda;
    text-decoration: none;
}

/* 6. MOBILE - Only stacks on phones */
@media (max-width: 850px) {
    .profile-grid, .contact-tribox {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: center;
    }
    .tribox-item.border-sides {
        border: none;
        padding: 20px 0;
    }
}