/* =============================
   HERO (LAUNCH / HOME HERO)
============================= */

.launch-hero{
    position: relative;
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;

    background:
        linear-gradient(120deg, rgba(11,37,69,0.85), rgba(11,37,69,0.65)),
        url('../images/hero/hero-bg.png') center/cover no-repeat;
}

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

.launch-content{
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.launch-content h1{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.launch-content h2{
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 10px;
}

.launch-subtitle{
    margin: 10px 0 20px;
    opacity: 0.9;
}

.launch-event-details{
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.launch-countdown{
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.launch-countdown div{
    background: rgba(255,255,255,0.12);
    padding: 12px 16px;
    border-radius: 10px;
    min-width: 80px;
}

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

/* HERO BUTTONS */
.home-hero-actions{
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.home-hero-actions .g-btn{
    min-width: 160px;
}

/* =============================
   GRID (SAFE - DO NOT OVERRIDE GLOBAL)
============================= */

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

/* =============================
   CARDS (GLOBAL SAFE EXTENSION)
============================= */

.g-card{
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.g-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.g-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.g-card-content{
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-card-meta{
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.home-card-actions{
    margin-top: auto;
    padding-top: 15px;
}

.home-card-actions .g-btn{
    width: 100%;
}

/* =============================
   EVENT / NEWS PLACEHOLDERS
============================= */

.event-placeholder,
.news-placeholder{
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
}

.event-placeholder{
    background: linear-gradient(135deg, #0b2545, #1f3b63);
}

.news-placeholder{
    background: linear-gradient(135deg, #6b7280, #374151);
}

.event-placeholder::after,
.news-placeholder::after{
    content:"";
    position:absolute;
    inset:0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.06) 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
}

.event-placeholder span,
.news-placeholder span{
    position: relative;
    z-index: 2;
}

/* =============================
   EVENTS & NEWS SECTIONS
============================= */

.home-events{
    background: #eef2f7;
    padding: 80px 0;
}

.home-news{
    background: #fff;
    padding: 80px 0;
}

/* IMPORTANT: DO NOT FORCE COLUMNS HERE */
.home-view-all{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* =============================
   STATS SECTION
============================= */

.home-stats{
    background: linear-gradient(135deg, #0b2545, #102f57);
    padding: 90px 0;
    color: #fff;
}

.home-stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.home-stat-card{
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 35px 20px;
    text-align: center;
}

.stat-number{
    font-size: 2.4rem;
    font-weight: 700;
}

.stat-label{
    opacity: 0.85;
}

/* =============================
   WHAT WE DO
============================= */

.home-what{
    background: #fff;
    padding: 80px 0;
}

.home-what-card ul{
    margin-top: 10px;
    padding-left: 18px;
}

.home-what-card li{
    margin-bottom: 6px;
}

/* =============================
   PUBLISH SECTION
============================= */

.home-publish-section{
    background:
        linear-gradient(rgba(11,37,69,0.9), rgba(11,37,69,0.95)),
        url('../images/hero/african-clinicians-family.jpg') center/cover no-repeat;
    padding: 100px 0;
}

.home-publish-card{
    background: #fff;
    max-width: 900px;
    margin: auto;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
}

/* =============================
   PARTNERS
============================= */

.home-partners-section{
    background: #eef3f8;
    padding: 80px 0;
}

.partner-carousel{
    overflow: hidden;
}

.partner-track{
    display: flex;
    gap: 70px;
    animation: scrollPartners 25s linear infinite;
    align-items: center;
}

.partner-item img{
    height: 140px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: 0.3s ease;
}

.partner-item img:hover{
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollPartners{
    0%{transform: translateX(0);}
    100%{transform: translateX(-50%);}
}

/* =============================
   LEADERSHIP
============================= */

.home-leadership{
    background: #f4f6f8;
    padding: 80px 0;
}

.home-leadership-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.home-leader-card img{
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.home-leader-card .g-card-content{
    padding: 18px;
}

/* =============================
   RESPONSIVE
============================= */

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

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

@media(max-width:768px){
    .g-grid{
        grid-template-columns: 1fr;
    }

    .home-leadership-grid{
        grid-template-columns: 1fr;
    }
}
/* =============================
   HERO SPONSOR STRIP (MOVING)
============================= */

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

/* Track */
.hero-sponsor-strip .sponsor-track{
    display: flex;
    align-items: center;
    gap: 60px;

    animation: heroSponsorScroll 25s linear infinite;
}

/* Logos */
.hero-sponsor-strip img{
    height: 90px;
    max-width: 220px;   /* prevents huge wide logos */
    width: auto;
    object-fit: contain;

    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));

    transition: 0.3s ease;
}


.hero-sponsor-strip img:hover{
    opacity: 1;
    transform: scale(1.05);
}

/* Animation */
@keyframes heroSponsorScroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}
.hero-sponsor-text{
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
}

.hero-sponsor-text strong{
    color: #ffffff;
    font-weight: 600;
}
.hero-sponsor-text{
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}