/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6fb;
    color: #1f2933;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
a { color: inherit; }

/* Layout helpers */
.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}
.section {
    padding: 60px 0;
}

/* ===== HEADER (OLD SITE-HEADER - SAFE TO KEEP IF USED ANYWHERE) ===== */
.site-header {
    background: #041b3b;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
}
.main-nav a {
    color: #dbe7ff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.main-nav a:hover {
    color: #ffffff;
}

/* ===== NEW HEADER (CURRENT) ===== */
.main-header {
    background: #041b3b;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 60;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.header-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Navigation */
.header-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

.header-nav a:hover {
    color: #ffb703;
}

/* Legacy logo helpers (safe to keep) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}
.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* ===== HERO & PAGE HERO ===== */
.hero,
.page-hero {
    background: radial-gradient(circle at top left, #0c5497, #041b3b 55%);
    color: #fff;
    padding: 70px 0 60px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 40px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 6px;
}
.hero-left h1 {
    font-size: 34px;
    line-height: 1.25;
    margin: 8px 0 14px;
}
.hero-sub {
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
    opacity: 0.95;
}
.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.btn.primary {
    background: #ffb703;
    color: #041b3b;
    font-weight: 600;
}
.btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.4);
}
.hero-meta {
    margin-top: 18px;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
}

/* Hero right panel */
.hero-right {
    display: flex;
    justify-content: flex-end;
}
.hero-panel {
    background: #ffffff;
    color: #111827;
    padding: 22px 20px;
    border-radius: 14px;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-size: 14px;
}
.hero-panel h3 {
    margin: 0 0 6px;
    font-size: 17px;
}
.hero-panel p {
    margin: 0 0 10px;
}
.hero-panel ul {
    margin: 0 0 15px;
    padding-left: 18px;
}
.hero-panel li {
    margin-bottom: 4px;
}
.hero-panel .full-width {
    width: 100%;
}

/* ===== STATS ===== */
.section-stats {
    background: #ffffff;
    border-bottom: 1px solid #e1e7f0;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.stat {
    padding: 10px 0;
}
.stat h2 {
    margin: 0 0 5px;
    font-size: 30px;
    color: #041b3b;
}
.stat p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    max-width: 650px;
    margin-bottom: 26px;
}
.section-header h2 {
    margin: 0 0 8px;
    font-size: 22px;
}
.section-header p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

/* ===== CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 10px;
}
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 17px;
}
.card p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #4b5563;
}
.card-list {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 13px;
}
.card-list li {
    margin-bottom: 4px;
}
.link {
    font-size: 13px;
    color: #0c5497;
    text-decoration: none;
    font-weight: 600;
}

/* ===== PROCESS ===== */
.section-process {
    background: #f0f3fa;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 15px;
}
.process-step {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 9px rgba(15,23,42,0.08);
}
.process-step h3 {
    margin: 8px 0 6px;
    font-size: 16px;
}
.process-step p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #041b3b;
    color: #ffffff;
    font-size: 13px;
}

/* ===== CTA BAND ===== */
.section-cta {
    background: #041b3b;
    color: #ffffff;
}
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cta-inner h2 {
    margin: 0 0 8px;
    font-size: 22px;
}
.cta-inner p {
    margin: 0;
    max-width: 520px;
    font-size: 14px;
    color: #e5e7eb;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #020817;
    color: #d0d7e5;
    padding: 30px 0 16px;
    margin-top: 40px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.site-footer a {
    color: #ffb703;
    text-decoration: none;
}
.footer-bottom {
    margin-top: 16px;
    font-size: 12px;
    text-align: center;
    color: #94a3b8;
}

/* ===== AFFILIATIONS GRID ===== */
.affiliations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.affiliate-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.08);
    padding: 10px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.affiliate-card img {
    max-width: 130px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(25%);
}
.affiliate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15,23,42,0.16);
}
.affiliate-card:hover img {
    filter: grayscale(0%);
}

/* ===== SIMPLE FORM (PROCUREMENT-FORM LEGACY) ===== */
.procurement-form {
    background: #ffffff;
    padding: 20px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.procurement-form h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}
.procurement-form label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}
.procurement-form input[type="text"],
.procurement-form input[type="email"],
.procurement-form input[type="date"],
.procurement-form select,
.procurement-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 4px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
}
.procurement-form textarea {
    resize: vertical;
}
.procurement-form input[type="file"] {
    margin-top: 6px;
}
.procurement-form input[type="checkbox"] {
    margin-right: 6px;
}

/* ===== PROFESSIONAL FORM STYLING (USED FOR CONTACT, PROCUREMENT, VENDOR) ===== */
.form-error {
    background:#fee2e2;
    color:#b91c1c;
    padding:12px;
    border-radius:8px;
    margin:20px 0;
    font-size:14px;
}
.form-warning {
    background:#fef3c7;
    color:#92400e;
    padding:12px;
    border-radius:8px;
    margin:20px 0;
    font-size:14px;
}

.styled-form {
    background:#ffffff;
    padding:30px 25px;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(15,23,42,0.08);
}

.form-section-title {
    margin:25px 0 10px;
    font-size:17px;
    font-weight:bold;
    color:#041b3b;
}

.form-group {
    margin-bottom:15px;
}

.form-group label {
    font-size:13px;
    font-weight:600;
    margin-bottom:5px;
    display:block;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form select,
.styled-form textarea {
    width:100%;
    padding:10px 12px;
    border:1px solid #cbd5e1;
    border-radius:6px;
    font-size:14px;
}

.styled-form textarea {
    resize:vertical;
}

.grid-2 {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.checkbox-label {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
}

/* Accordion-style form container (for vendor & procurement forms) */
.form-accordion {
    margin-top: 20px;
    border-radius: 10px;
    background: #f1f5f9;
    padding: 0;
}

/* Hide the default triangle icon on summary */
.form-accordion summary {
    list-style: none;
}
.form-accordion summary::-webkit-details-marker {
    display: none;
}

/* Summary styled as a button */
.form-summary-button {
    display: inline-block;
    padding: 12px 26px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    background: #ffb703;
    color: #041b3b;
    border-radius: 999px;
    cursor: pointer;
    border: none;
}

/* Align summary button center */
.form-accordion summary {
    padding: 20px;
    text-align: center;
}

/* Body of accordion */
.accordion-body {
    padding: 0 20px 20px 20px;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.thankyou-icon {
    font-size: 48px;
    background: #16a34a;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-wrapper h1 {
    margin-bottom: 10px;
    color: #041b3b;
}

.thankyou-sub {
    font-size: 15px;
    color: #475569;
    margin-bottom: 15px;
}

.thankyou-note {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.thankyou-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== RESPONSIVE TWEAKS ===== */

/* Hero collapse on tablets */
@media (max-width: 900px) {
    .hero,
    .page-hero {
        padding: 50px 0 45px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-right {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* Main mobile styles */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-logo-text {
        font-size: 18px;
    }

    .header-nav ul {
        gap: 14px;
        justify-content: flex-start;
    }

    .header-nav a {
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .hero,
    .page-hero {
        padding: 40px 0;
    }

    .hero-left h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-header h2 {
        font-size: 20px;
    }

    /* Stack cards and grids into single column */
    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .process-grid,
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .thankyou-wrapper {
        margin: 24px auto;
        padding: 24px 18px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Extra small tweaks */
@media (max-width: 700px) {
    .main-nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .logo-text {
        font-size: 18px;
    }
}
