/* ================= ROOT ================= */
:root {
    --primary: #1d3557;
    --primary-light: #457b9d;
    --accent: #e63946;

    --text-dark: #222;
    --muted: #6b7280;
}

/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f6f8;
    color: var(--text-dark);
    overflow-x: hidden;
    
        padding-top: calc(var(--header-height) + 5px);
}

img {
    max-width: 100%;
    display: block;
}

/* ================= CONTAINER ================= */
.g-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= SECTION TITLES ================= */
.g-section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.g-section-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ================= HERO ================= */
.launch-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(rgba(29,53,87,0.88), rgba(29,53,87,0.75)),
        url('../images/hero/hero-bg.png') center/cover no-repeat;

    color: #fff;
    text-align: center;
    padding: 20px 20px 70px;
}

.launch-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.launch-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
}

/* badge */
.launch-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* headings */
.launch-hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.launch-hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.launch-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ffffff;              /* force pure white */
    opacity: 1;                  /* remove fading */
}

/* event info */
.launch-event-details {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 15px;
    opacity: 1;
}

/* ================= COUNTDOWN ================= */
.launch-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 420px;
    margin: 30px auto;
}

.launch-countdown div {
    background: rgba(255,255,255,0.15);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.launch-countdown span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.launch-countdown small {
    font-size: 12px;
    opacity: 0.8;
}

/* ================= HERO BUTTONS ================= */
.home-hero-actions {
    margin: 35px 0 25px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base button styling for hero only */
.home-hero-actions .g-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    min-width: 170px;           /* Consistent minimum width */
    max-width: 190px;           /* Prevents excessive width */
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Primary - Red (Register Now) */
.home-hero-actions .g-btn-primary {
    background: var(--accent);
    color: #fff;
}

.home-hero-actions .g-btn-primary:hover {
    background: #d12e3a;
    transform: translateY(-3px);
}

/* Secondary - White (Events Details) - now same width */
.home-hero-actions .g-btn-secondary {
    background: #fff !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.home-hero-actions .g-btn-secondary:hover {
    background: #f8fafc !important;
    color: #1d3557 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Outline */
.home-hero-actions .g-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.95);
}

.home-hero-actions .g-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-3px);
}

/* About button - Blue */
.home-hero-actions .about-btn {
    background: var(--primary-light);
    color: #fff;
}

.home-hero-actions .about-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ================= SPONSORS ================= */
.hero-sponsor-text {
    margin-top: 20px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.hero-sponsor-text strong {
    color: #fff;
}

.hero-sponsor-strip {
    margin-top: 40px;
    overflow: hidden;
    width: 100%;
}

/* moving track */
.sponsor-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: sponsorScroll 20s linear infinite;
}

/* BIGGER LOGOS */
.sponsor-track img {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

/* smooth loop */
@keyframes sponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= WHAT WE DO ================= */
.home-what {
    padding: 90px 0;
    background: #f7f9fb;
}

.g-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.g-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

.g-card:hover {
    transform: translateY(-6px);
}

.g-card-content {
    padding: 28px;
}

.g-card-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.g-card-content hr {
    width: 50px;
    height: 2px;
    background: var(--accent);
    border: none;
    margin-bottom: 15px;
}

.g-card-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.g-card-content ul {
    padding-left: 18px;
}

.g-card-content ul li {
    margin-bottom: 8px;
    color: #444;
    font-size: 0.92rem;
}

/* ================= STATS ================= */
/* ================= STATS (OUR IMPACT) ================= */
.home-stats {
    padding: 90px 0;
    background: var(--primary); /* 🔵 SAME BLUE AS HEADER/FOOTER */
    color: #fff;
}

/* title override inside dark section */
.home-stats .g-section-title {
    color: #fff;
}

.home-stats .g-section-subtitle {
    color: rgba(255,255,255,0.75);
}

/* grid */
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
    margin-top: 40px;
}

/* stat cards */
.home-stat-card {
    padding: 30px 20px;
    border-radius: 14px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(6px);

    transition: 0.25s ease;
}

.home-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
}

/* numbers */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

/* labels */
.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .g-grid {
        grid-template-columns: 1fr;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .launch-hero h1 {
        font-size: 2.3rem;
    }

    .launch-hero h2 {
        font-size: 1.5rem;
    }

    .launch-countdown {
        grid-template-columns: repeat(2, 1fr);
    }
}

.home-publish-section {
    padding: 100px 0;
    background: #f7f9fb;
}

.home-publish-card {
    background: #fff;
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.home-publish-card h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.home-publish-card .lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.section-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 0;
}
/* ================= CTA PREMIUM ================= */
.home-cta-section {
    padding: 80px 20px;
    background: #f4f6f8;
}

.home-cta-card {
    background: linear-gradient(135deg, var(--primary), #0f2238);
    color: #fff;

    padding: 60px 40px;
    border-radius: 18px;

    text-align: center;

    max-width: 1000px;
    margin: auto;

    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.cta-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.15);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    border: 1px solid rgba(230, 57, 70, 0.4);
}

.home-cta-card h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto 20px;
}

.cta-highlight {
    margin: 20px auto 30px;
    display: inline-block;

    padding: 10px 16px;
    border-radius: 10px;

    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--accent);

    font-size: 0.95rem;
    font-weight: 500;
}

.home-cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* reuse nav-style blue button feel */
.home-cta-actions .g-btn-outline {
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
}

.home-cta-actions .g-btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.cta-footer-note {
    margin-top: 25px;
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* ================= LEADERSHIP PREVIEW ================= */
.home-leadership {
    padding: 70px 0;
    background: #fff;
}

.home-leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* FORCE 1 ROW */
    gap: 25px;
    align-items: stretch;
}

/* CARD */
.home-leader-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.home-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

/* IMAGE */
.home-leader-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

/* CONTENT */
.home-leader-card .g-card-content {
    padding: 18px 16px 22px;
}

/* NAME */
.leader-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

/* ROLE */
.role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

/* COUNTRY */
.country {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

/* DIVIDER */
.leader-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 10px auto;
    width: 60%;
}

/* VIEW ALL BUTTON */
.home-view-all {
    text-align: center;
    margin-top: 35px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .home-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-leadership-grid {
        grid-template-columns: 1fr;
    }

    .home-leader-card img {
        height: 220px;
    }
}

/* ================= GRID ================= */
.g-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* ================= CARD ================= */
.card-item {
    position: relative;
}

/* ================= BADGES ================= */
.badge-news { background: #1d4ed8; }
.badge-publication { background: #0f766e; }

/* placeholder reuse */
.event-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b2545, #1f3b63);
    color: white;
    font-weight: 600;
}

/* Prevent card button styles from leaking into hero */
.home-hero-actions .g-btn {
    margin: 0;
}

/* ================= CTA SECTION BUTTONS ================= */
/* Fix for g-btn-primary in CTA and other sections */
.g-btn.g-btn-primary {
    background: var(--accent);        /* Red color */
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    transition: all 0.25s ease;
}

.g-btn.g-btn-primary:hover {
    background: #d12e3a;
    transform: translateY(-3px);
}

/* Make sure CTA actions look good */
.home-cta-actions .g-btn {
    margin: 0;
}

/* Optional: Make CTA buttons slightly larger if you want */
.home-cta-actions .g-btn-primary {
    min-width: 190px;
}
/* ================= CTA SECTION BUTTONS FIX ================= */
.home-cta-actions .g-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    transition: all 0.25s ease;
    margin: 0 5px;
}

/* Red button - Submit Your Work */
.home-cta-actions .g-btn-primary {
    background: var(--accent);
    color: #fff;
}

.home-cta-actions .g-btn-primary:hover {
    background: #d12e3a;
    transform: translateY(-3px);
}

/* Outline button - Learn More */
.home-cta-actions .g-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.95);
}

.home-cta-actions .g-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-3px);
}