/* USA College Page Styles */

body,
html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto !important;
    min-height: 100vh;
    background-color: var(--bg-primary, #041418);
    color: var(--text-secondary, #e0e0e0);
    font-family: Arial, sans-serif;
    margin: 0;
}

.nav-links a.active {
    position: relative;
    color: #d4af37;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #d4af37;
}

.page-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #041418;
    z-index: -1;
}

.page-bg-wrapper .bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 20, 24, 0.4) 0%, rgba(4, 20, 24, 1) 100%);
}

.usa-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px 80px 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Top header / hero — logo left, copy center, background image */
.top-header {
    position: relative;
    background: url('../media/aboutbg.png') no-repeat center bottom;
    background-size: cover;
    border-radius: 4px;
    min-height: 420px;
    border: none;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.top-header-content {
    display: flex;
    width: 100%;
    padding: 50px 40px;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(to bottom, rgba(4, 20, 24, 0.75) 0%, rgba(4, 20, 24, 0.35) 55%, transparent 100%);
    box-sizing: border-box;
    min-height: inherit;
}

.header-logo-container {
    flex: 0 0 30%;
    max-width: 280px;
}

.header-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
}

.header-text-container {
    flex: 1;
    text-align: center;
    color: #d4af37;
    padding-right: 12%;
    padding-top: 8px;
}

.header-text-container--full {
    padding-right: 0;
    max-width: 720px;
    margin: 0 auto;
}

.page-main-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    color: #d4af37;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.header-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.header-subtitle-wrapper .line {
    width: 80px;
    height: 1px;
    flex-shrink: 0;
}

.line-left {
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5));
}

.line-right {
    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.5));
}

.page-subtitle {
    font-family: 'Cinzel', serif;
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 3px;
    margin: 0;
    font-weight: normal;
    color: #d4af37;
    white-space: nowrap;
}

.header-desc {
    color: #fff;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.5;
    margin: 15px 0 0 0;
    font-weight: 300;
}

.header-desc p {
    margin: 0;
}

.overview-section {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.overview-left {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
}

.overview-left p {
    margin-top: 0;
    margin-bottom: 15px;
}

.quote-text {
    margin-top: 30px;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #d4af37;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.quote-mark {
    font-family: serif;
    font-size: 30px;
    font-weight: bold;
    color: #d4af37;
    vertical-align: middle;
}

.overview-right {
    flex: 1;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.outline-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 25px;
    background: rgba(4, 20, 24, 0.6);
    backdrop-filter: blur(5px);
}

.side-icon-card {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

.side-icon-card .card-icon {
    margin-bottom: 0;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.side-icon-card .card-icon svg {
    width: 35px;
    height: 35px;
}

.side-icon-card h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.bullet-list {
    margin: 0;
    padding-left: 20px;
    color: #b0b0b0;
    font-size: 12px;
    line-height: 1.5;
}

.bullet-list li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.bullet-list li::marker {
    color: #d4af37;
}

.asm-section {
    padding: 0;
    overflow: hidden;
}

.asm-section-inner {
    display: flex;
    gap: 0;
}

.asm-left {
    width: 33.333%;
    padding: 35px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    box-sizing: border-box;
}

.asm-right {
    width: 66.666%;
    padding: 35px;
    box-sizing: border-box;
}

.box-title {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
}

.asm-logo-text {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.asm-gold {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    color: #d4af37;
    font-weight: bold;
    letter-spacing: 2px;
}

.asm-white {
    font-family: sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.2;
}

.asm-left p {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 25px;
}

.icon-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-list-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px;
}

.item-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.item-text {
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.5;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flags-box {
    display: flex;
    gap: 15px;
}

.flag-text {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b0b0b0;
    font-size: 12px;
}

.flag-placeholder {
    width: 24px;
    height: 16px;
    display: inline-block;
    border-radius: 2px;
}

.green-flag { background: #00732f; }
.blue-flag { background: #012169; }

.different-content-flex {
    display: flex;
    gap: 30px;
    align-items: stretch;
    min-height: 220px;
}

.different-text {
    flex: 1 1 55%;
    min-width: 0;
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.6;
}

.different-text p {
    margin-top: 0;
    margin-bottom: 15px;
}

.gold-text {
    color: #d4af37 !important;
}

.gold-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gold-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.check-icon {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.different-image {
    flex: 1 1 45%;
    min-width: 0;
    display: flex;
    align-self: stretch;
}

.laptop-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: #000;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 14px;
    overflow: hidden;
}

.laptop-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.different-text .small-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin: 20px 0 0 0;
}

.showcase-section {
    padding: 40px;
    background: linear-gradient(rgba(4, 20, 24, 0.8), rgba(4, 20, 24, 0.9)), url('../media/aboutbg.png') no-repeat center center;
    background-size: cover;
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-header h2 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
}

.showcase-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #999;
    font-size: 17px;
    letter-spacing: 2px;
}

.small-line {
    width: 30px;
    height: 1px;
    background-color: #d4af37;
}

.showcase-content {
    width: 80%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(4, 20, 24, 0.45);
}

.showcase-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.showcase-card {
    text-align: center;
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    border-right: 1px solid rgba(212, 175, 55, 0.25);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.showcase-card:first-child { border-left: none; }
.showcase-card:last-child { border-right: none; }

.icon-box {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px auto;
}

.icon-box svg {
    width: 40px;
    height: 40px;
}

.showcase-card h4 {
    color: #d4af37;
    font-size: 12px;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.showcase-card p {
    font-size: 11px;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
}

.bottom-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: rgba(4, 20, 24, 0.8);
}

.cta-text {
    color: #d4af37;
    font-size: 18px;
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #b38331);
    color: #041418;
    padding: 10px 20px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    color: #d4af37;
    font-size: 14px;
    margin-top: -10px;
}

@media (max-width: 1024px) {
    .overview-section {
        flex-direction: column;
    }

    .asm-section-inner {
        flex-direction: column;
    }

    .asm-left,
    .asm-right {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .asm-right {
        border-bottom: none;
    }

    .different-content-flex {
        flex-direction: column;
        min-height: 0;
    }

    .different-image {
        flex: none;
        width: 100%;
    }

    .laptop-placeholder {
        min-height: 200px;
    }

    .showcase-content {
        width: 100%;
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .usa-main {
        padding-top: 120px;
    }

    .top-header {
        min-height: auto;
    }

    .top-header-content {
        flex-direction: column;
        align-items: center;
        padding: 32px 20px;
        text-align: center;
    }

    .header-logo-container,
    .header-text-container {
        flex: none;
        width: 100%;
        max-width: none;
        padding-right: 0;
    }

    .header-logo {
        width: 200px;
        margin: 0 auto;
    }

    .page-subtitle {
        white-space: normal;
    }

    .header-subtitle-wrapper .line {
        width: 40px;
    }

    .grid-2x2 {
        grid-template-columns: 1fr;
    }

    .showcase-content {
        flex-direction: column;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-card {
        border: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding-bottom: 20px;
    }

    .bottom-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-gold {
        text-align: center;
    }
}
