/* ============================================================
   PAGES/HOME.CSS — Homepage-specific styles
   Faculty of Peace Organization
   ============================================================ */

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}
.hero-bg-img {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1529418378072-47f7e7a9c105?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.2;
}
.hero-grad {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(11,36,48,0.94) 0%, rgba(11,36,48,0.7) 40%, rgba(123,174,127,0.12) 100%);
}
.hero-canvas {
    position: absolute; inset: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-top: 100px;
    padding-bottom: 140px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232,168,56,0.12);
    border: 1px solid rgba(232,168,56,0.25);
    padding: 8px 22px;
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(2rem, 5.5vw, 5.2rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title .hl {
    color: var(--accent-gold);
    position: relative;
}
.hero-title .hl::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0;
    width: 100%; height: 10px;
    background: rgba(232,168,56,0.2);
    border-radius: 6px;
    z-index: -1;
}
.hero-desc {
    font-size: clamp(0.92rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero stats bar */
.hero-stats {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    z-index: 3;
    background: rgba(11,36,48,0.85);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
}
.stat-item {
    text-align: center;
    padding: 8px 12px;
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    right: 0; top: 15%; height: 70%; width: 1px;
    background: rgba(255,255,255,0.08);
}
.stat-item:last-child::after { display: none; }
.stat-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--accent-gold);
    margin: 0;
}
.stat-item p {
    font-size: clamp(0.55rem, 1.2vw, 0.75rem);
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 4px 0 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-sec { background: var(--cream); }

.about-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}
.about-img-wrap img {
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    border-radius: 16px;
}
.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dark);
    box-shadow: 0 12px 35px rgba(232, 168, 56, 0.3);
    z-index: 2;
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
}
.about-badge h3 { font-size: 2.2rem; margin: 0; line-height: 1; }
.about-badge p { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 0; font-weight: 700; }

@media (max-width: 767px) {
    .about-badge h3 { font-size: 1.5rem; line-height: 1.1; }
    .about-badge p { font-size: 0.5rem; letter-spacing: 0.7px; margin-top: 3px; }
}
@media (max-width: 480px) {
    .about-badge h3 { font-size: 1.25rem; }
    .about-badge p { font-size: 0.45rem; letter-spacing: 0.5px; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.about-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--cream-dark);
    border-radius: 10px;
    transition: all 0.3s;
}
.about-feat:hover { transform: translateX(4px); background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.about-feat i { color: var(--sage); font-size: 1rem; flex-shrink: 0; }
.about-feat span { font-size: 0.88rem; font-weight: 500; }

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter-sec {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.counter-sec::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,168,56,0.07) 0%, transparent 70%);
    border-radius: 50%;
}
.counter-sec::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(123,174,127,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.ctr-card {
    text-align: center;
    padding: 36px 16px;
    position: relative;
}
.ctr-card::after {
    content: '';
    position: absolute;
    right: 0; top: 18%; height: 64%; width: 1px;
    background: rgba(255,255,255,0.06);
}
.ctr-card:last-child::after { display: none; }
.ctr-card i { font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 14px; }
.ctr-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white); margin: 0;
}
.ctr-card p {
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* ============================================
   PROGRAMMES SECTION
   ============================================ */
.prog-sec { background: var(--cream); }

.prog-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}
.prog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--sage);
    transition: height 0.4s;
}
.prog-card:hover::before { height: 6px; }
.prog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.08); }
.prog-card.gold-top::before { background: var(--accent-gold); }

.prog-ic {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.prog-card:hover .prog-ic { transform: scale(1.1) rotate(-5deg); }
.prog-ic.sage-i { background: rgba(123,174,127,0.1); color: var(--sage); }
.prog-ic.gold-i { background: rgba(232,168,56,0.1); color: var(--accent-gold); }

.prog-card h5 { font-size: 1.02rem; margin-bottom: 8px; color: var(--dark); }
.prog-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0; }

/* ============================================
   EVENTS & NEWS
   ============================================ */
.events-sec { background: var(--white); }

.ev-card {
    padding: 20px 22px;
    background: var(--cream);
    border-radius: 14px;
    margin-bottom: 16px;
    transition: all 0.35s;
    border-left: 4px solid var(--sage);
}
.ev-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-left-color: var(--accent-gold);
}
.ev-date {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 0.76rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nw-card {
    background: var(--cream);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s;
    margin-bottom: 16px;
    height: 100%;
}
.nw-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.nw-card img { width: 100%; height: 200px; object-fit: cover; }
.nw-body { padding: 18px; }
.nw-body small { color: var(--accent-gold); font-weight: 600; font-size: 0.78rem; }
.nw-body h5 { font-size: 1rem; color: var(--dark); margin: 6px 0; line-height: 1.35; }
.nw-body p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.nw-body .read-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nw-body .read-link:hover { color: var(--sage); }
.nw-body .read-link i { transition: transform 0.3s; }
.nw-body .read-link:hover i { transform: translateX(4px); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.test-sec {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.test-sec::before {
    content: '';
    position: absolute;
    bottom: -25%; left: -8%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(123,174,127,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.test-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 44px);
    position: relative;
}
.test-card .q-mark {
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.15;
    position: absolute;
    top: 14px; left: 24px;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.test-card .t-text {
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.t-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}
.t-author h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    color: var(--white); margin: 0;
}
.t-author small { color: rgba(255,255,255,0.45); font-size: 0.82rem; }

.test-controls { display: flex; gap: 10px; margin-top: 24px; justify-content: center; }
.test-controls button {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.test-controls button:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(232,168,56,0.08);
}

/* ============================================
   PARTNERS
   ============================================ */
.part-sec { background: var(--cream); }
.part-item {
    padding: 22px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    min-height: 90px;
}
.part-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.part-item img {
    filter: grayscale(100%);
    opacity: 0.35;
    transition: all 0.3s;
    max-width: 100%;
    max-height: 50px;
}
.part-item:hover img { filter: grayscale(0%); opacity: 1; }

/* ============================================
   HOME RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 575.98px) {
    .hero { min-height: 100vh; min-height: 100dvh; }
    .hero-content { padding-top: 115px; padding-bottom: 150px; }
    .hero-tag { font-size: 0.64rem; padding: 6px 14px; letter-spacing: 1.5px; gap: 6px; margin-bottom: 20px; }
    .hero-desc { margin-bottom: 24px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns a { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.88rem; }
    .hero-stats { padding: 16px 0; }
    .stat-item { padding: 6px 4px; }
    .stat-item::after { display: none; }
    .stat-item h3 { font-size: 1.3rem; }
    .stat-item p { font-size: 0.5rem; letter-spacing: 1px; }
    .about-badge { width: 80px; height: 80px; bottom: -8px; right: 8px; border-radius: 12px; }
    .about-badge h3 { font-size: 1.5rem; }
    .about-badge p { font-size: 0.48rem; }
    .about-grid { grid-template-columns: 1fr; gap: 8px; }
    .about-feat { padding: 8px 12px; }
    .about-feat span { font-size: 0.82rem; }
    .ctr-card { padding: 20px 8px; }
    .ctr-card::after { display: none; }
    .ctr-card i { font-size: 1.4rem; margin-bottom: 10px; }
    .ctr-card h3 { font-size: 1.5rem; }
    .ctr-card p { font-size: 0.6rem; letter-spacing: 1px; }
    .prog-card { padding: 20px 16px; }
    .prog-ic { width: 42px; height: 42px; font-size: 1rem; }
    .prog-card h5 { font-size: 0.95rem; }
    .prog-card p { font-size: 0.78rem; }
    .ev-card { padding: 14px 16px; }
    .nw-card img { height: 150px; }
    .nw-body { padding: 14px; }
    .nw-body h5 { font-size: 0.92rem; }
    .nw-body p { font-size: 0.78rem; }
    .test-card { padding: 24px 18px; }
    .test-card .q-mark { font-size: 2.5rem; top: 10px; left: 16px; }
    .test-controls button { width: 40px; height: 40px; font-size: 0.8rem; }
    .prog-card-grid > [class*="col-"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content { padding-top: 115px; padding-bottom: 150px; }
    .about-badge { width: 100px; height: 100px; bottom: -12px; right: 8px; }
    .about-badge h3 { font-size: 1.8rem; }
    .ctr-card::after { display: none; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content { padding-top: 115px; padding-bottom: 140px; }
    .about-badge { width: 110px; height: 110px; bottom: -14px; right: 8px; }
    .about-badge h3 { font-size: 2rem; }
    .nw-card img { height: 180px; }
}

@media (max-width: 767.98px) {
    .stat-item::after { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .ctr-card::after { display: none; }
}

@media (max-width: 360px) {
    .hero-content { padding-top: 105px; padding-bottom: 140px; }
    .hero-tag { font-size: 0.58rem; padding: 5px 12px; }
    .hero-title { font-size: 1.75rem; }
    .hero-btns a { padding: 11px 16px; font-size: 0.82rem; }
    .about-badge { width: 72px; height: 72px; }
    .about-badge h3 { font-size: 1.3rem; }
}

@media (max-height: 500px) and (max-width: 920px) {
    .hero-content { padding-top: 85px; padding-bottom: 120px; }
    .hero-title { margin-bottom: 16px; }
    .hero-desc { margin-bottom: 20px; }
}
