/* ============================================================
   home.css — Index page: Hero, Programs preview, About teaser,
              Testimonials, Partners
   ============================================================ */

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../img/photos/hero-cu-conference.jpg') center/cover no-repeat;
    transform: scale(1.06); transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(130deg,
        rgba(2,95,196,0.92) 0%,
        rgba(3,126,243,0.80) 40%,
        rgba(12,185,193,0.70) 70%,
        rgba(26,26,46,0.82) 100%);
}
.hero-shape {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-shape-1 { width: 500px; height: 500px; top: -150px; right: -150px; animation-delay: 0s; }
.hero-shape-2 { width: 300px; height: 300px; bottom: 50px;  right: 20%;  animation-delay: -3s; }
.hero-shape-3 { width: 200px; height: 200px; top: 40%;      left: 60%;   animation-delay: -6s; }

.hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto;
    padding: 9rem 2rem 5rem; color: white; width: 100%;
}

.badge-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1.1rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em;
    text-transform: uppercase; margin-bottom: 1.75rem;
    animation: fadeSlideDown 0.8s both;
}
.badge-pill .dot {
    width: 8px; height: 8px; background: var(--yellow);
    border-radius: 50%; animation: pulseDot 2s infinite;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 900; line-height: 1.08; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeSlideUp 0.8s 0.15s both;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 580px; line-height: 1.75; opacity: 0.88;
    margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.8s 0.3s both;
}

.hero-actions {
    display: flex; flex-wrap: wrap; gap: 1rem;
    animation: fadeSlideUp 0.8s 0.45s both;
}

.hero-stats-bar {
    display: flex; flex-wrap: wrap; gap: 2.5rem;
    margin-top: 4.5rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    animation: fadeSlideUp 0.8s 0.6s both;
}
.hero-stat .num { display: block; font-size: 2.1rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.hero-stat .lbl { font-size: 0.78rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; }

.hero-scroll-cue {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    color: rgba(255,255,255,0.5); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
    cursor: pointer; animation: fadeIn 2s 1.5s both;
}
.scroll-mouse {
    width: 28px; height: 46px;
    border: 2px solid rgba(255,255,255,0.3); border-radius: 14px;
    display: flex; align-items: flex-start; justify-content: center; padding-top: 7px;
}
.scroll-mouse::after {
    content: ''; width: 3px; height: 9px;
    background: rgba(255,255,255,0.55); border-radius: 2px;
    animation: scrollBounce 1.8s infinite;
}

@media (max-width: 768px) {
    .hero-content { padding: 7rem 1.25rem 3rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats-bar { gap: 1.5rem; }
}

/* ══════════════════════════════════════
   PROGRAMS PREVIEW
══════════════════════════════════════ */
.progs-section { background: var(--light-gray); }

.progs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-top: 3.5rem;
}

.prog-card {
    background: white; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.prog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.prog-card-img { height: 230px; overflow: hidden; position: relative; }
.prog-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.55s ease;
}
.prog-card:hover .prog-card-img img { transform: scale(1.08); }

.prog-badge {
    position: absolute; top: 1rem; left: 1rem;
    padding: 0.3rem 0.9rem; border-radius: 50px;
    font-size: 0.73rem; font-weight: 700; color: white;
    text-transform: uppercase; letter-spacing: 0.06em;
}

.prog-body { padding: 1.75rem; }
.prog-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: 1rem;
}
.prog-body h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.prog-body p  { font-size: 0.88rem; color: var(--dark-gray); line-height: 1.7; margin-bottom: 1.4rem; }

.prog-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; }
.chip {
    background: var(--light-gray); color: var(--dark-gray);
    font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 50px;
}
.prog-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.88rem; font-weight: 700; color: var(--blue);
    transition: var(--transition);
}
.prog-link:hover { gap: 0.75rem; }

@media (max-width: 1100px) { .progs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .progs-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   ABOUT TEASER
══════════════════════════════════════ */
.about-teaser { background: white; }
.about-teaser-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-float {
    position: absolute; bottom: -1.75rem; right: -1.75rem;
    background: white; border-radius: var(--radius);
    padding: 1.5rem 2rem; box-shadow: var(--shadow-md); text-align: center;
}
.about-float .f-num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--blue); line-height: 1; }
.about-float .f-lbl { font-size: 0.78rem; color: var(--dark-gray); font-weight: 600; margin-top: 0.3rem; }

.about-body .section-sub { max-width: 100%; }
.about-body .section-sub + .section-sub { margin-top: 1rem; }

.about-body .btn { margin-top: 2rem; }

@media (max-width: 900px) {
    .about-teaser-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-float { right: 0; }
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials { background: var(--dark); color: white; overflow: hidden; }
.testimonials .section-title { color: white; }
.testimonials .section-sub   { color: rgba(255,255,255,0.55); }

.testi-wrap { margin-top: 3.5rem; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }

.testi-card {
    flex-shrink: 0; width: calc(50% - 1rem); margin-right: 2rem;
    padding: 2.5rem;
    background: rgba(255,255,255,0.045); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
}
.testi-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: 2px; }
.testi-q {
    font-size: 1rem; line-height: 1.8;
    color: rgba(255,255,255,0.82); margin-bottom: 1.75rem; font-style: italic;
}
.testi-q::before {
    content: '\201C'; font-size: 3.5rem; color: var(--blue);
    line-height: 0; vertical-align: -1.3rem;
    font-style: normal; margin-right: 3px;
}
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.testi-name   { font-weight: 700; font-size: 0.93rem; }
.testi-role   { font-size: 0.78rem; color: var(--teal); }

.testi-controls {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 2.5rem; justify-content: center;
}
.ctrl-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: transparent; border: 2px solid rgba(255,255,255,0.2);
    color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.ctrl-btn:hover { background: var(--blue); border-color: var(--blue); }
.testi-dots { display: flex; gap: 0.5rem; }
.tdot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.25); cursor: pointer; transition: var(--transition);
}
.tdot.on { background: var(--blue); width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
    .testi-card { width: 100%; margin-right: 2rem; }
}

/* ══════════════════════════════════════
   PARTNERS
══════════════════════════════════════ */
.partners-section { background: var(--light-gray); }
.partners-strip {
    margin-top: 2.5rem;
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    justify-content: center; align-items: center;
}
.partner-item {
    background: white; border-radius: var(--radius-sm);
    padding: 1rem 2rem; min-width: 140px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--dark-gray); font-weight: 700; font-size: 0.82rem;
    transition: var(--transition);
}
.partner-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--blue); }
