/* ═══════════════════════════════════════════════════════════════
   PCUganda Landing Page — Complete Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    --navy: #0C2A47;
    --action-blue: #1B7FE0;
    --ice-blue: #EBF8FE;
    --section-blue: #DBEDFF;
    --mint-green: #E4F5E9;
    --body-gray: #5A6B7B;
    --white: #ffffff;
    --gray: #f6f8fa;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --section-pad: 96px;
    --green: rgba(113, 190, 70, 0.55);
}

/* ─── Global Reset ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
}

section {
    position: relative;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   1. NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
    background: var(--navy);
    height: 60px;
    z-index: 1050;
}

.site-nav .navbar-brand img {
    height: 38px;
}

.site-nav .nav-link {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--green);
    font-weight:bold;
}

.site-nav .nav-login {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.site-nav .nav-cta {
    background: var(--white);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    text-decoration: none;
    transition: opacity 0.2s;
    border: 1px solid var(--white);
    border-radius:5px;
}

.site-nav .nav-cta:hover {
    background: var(--navy);
    color: white;
    border: 1px solid var(--white);
}

@media (max-width: 991px) {
    .site-nav {
        height: auto;
        padding: 12px 0;
    }

    .site-nav .navbar-collapse {
        background: var(--navy);
        padding: 16px 0;
        margin-top: 12px;
        border-radius: 8px;
    }

    .site-nav .navbar-nav {
        gap: 0;
        align-items: flex-start;
        padding: 0 16px;
    }

    .site-nav .nav-link {
        padding: 10px 0;
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   2. HERO
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    background-color: var(--white);
    padding: 124px 0 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/home/hero_bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    max-width: 62%;
    margin: 0 auto;
    color: var(--navy);
}

.hero-subtitle {
    color: var(--navy);
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 48%;
    margin: 20px auto 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.hero-btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-btn-filled {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-btn-filled:hover {
    background: transparent;
    color: var(--navy);
}

/* Laptop mockup */
.mockup-wrapper {
    margin: 48px auto 0;
    position: relative;
    z-index: 2;
}

.mockup-frame {
    background: #0f1923;
    border-radius: 14px 14px 0 0;
    padding: 10px 10px 0;
}

.mockup-notch {
    width: 8px;
    height: 8px;
    background: #3a4f5f;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.mockup-frame img {
    border-radius: 6px 6px 0 0;
    display: block;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   3. TRUST / LOGOS STRIP
   ═══════════════════════════════════════════════════════════════ */
.partners-section {
    background: var(--white);
    padding: var(--section-pad) 0;
    text-align: center;
}

.partners-section h2 {
    font-size: 2.25rem;
    max-width: 55%;
    margin: 0 auto;
}

.partners-desc {
    color: var(--navy);
    font-size: 15px;
    max-width: 50%;
    margin: 20px auto 0;
    line-height: 1.7;
}

.partners-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 75%;
    margin: 48px auto 0;
}

.partners-row img {
    height: 90px;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════
   4. FEATURES (White card on pale bg)
   ═══════════════════════════════════════════════════════════════ */
.features-section {
    background: var(--white);
    padding: var(--section-pad) 0;
}

.features-card {
    background: var(--gray);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px rgba(12, 42, 71, 0.04);
    padding: 56px;
    margin: 0 40px;
}

.features-card h2 {
    font-size: 2.5rem;
    line-height: 1.25;
}

.features-card .features-desc {
    color: var(--navy);
    line-height: 1.8;
    font-size: 16px;
}

.btn-demo {
    background: var(--action-blue);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-demo:hover {
    background: #1568b8;
    color: var(--white);
}

/* Feature tiles */
.feature-tile {
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.feature-tile--blue {
    background: var(--section-blue);
}

.feature-tile--green {
    background: var(--mint-green);
}

.feature-tile-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-tile-icon i {
    font-size: 26px;
    color: var(--navy);
}

.feature-tile-icon img {
    width: 36px;
    height: 36px;
}

.feature-tile-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 6px;
}

.feature-tile-text {
    font-size: 14.5px;
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   5. WHY PARTNER WITH PCU
   ═══════════════════════════════════════════════════════════════ */
.why-section {
    background: var(--ice-blue);
    padding: var(--section-pad) 0;
}

.why-section .section-intro h2 {
    font-size: 2.35rem;
}

.why-section .section-intro p {
    color: var(--navy);
    max-width: 55%;
    margin: 20px auto 0;
    line-height: 1.7;
    font-size: 15px;
}

/* Photo collage */
.why-photo-stack {
    position: relative;
    max-width: 460px;
}

.why-photo-stack .photo-main {
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
    width: 100%;
}

    .why-photo-stack .photo-back {
        position: absolute;
        top: -30px;
        right: -30px;
        width: 100%;
        height: 100%;
        background-image: url('../assets/images/home/why_img2.png');
        background-size: cover;
        border: 2px solid rgba(12, 42, 71, 0.08);
        border-radius: var(--radius-md);
        z-index: 1;
    }

        .why-photo-stack .photo-back::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgb(0 0 0 / 55%);
            border-radius: var(--radius-md);
        }

.why-section h3 {
    font-size: 1.75rem;
    color: var(--ice-blue);
}

.why-section .why-desc {
    color: var(--navy);
    font-size: 15px;
    line-height: 1.8;
}

/* Icon grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 48px;
}

.why-grid-item {
    text-align: center;
}

.why-grid-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.why-grid-icon i {
    font-size: 18px;
    color: var(--white);
}

.why-grid-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   6. TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonial-section {
    background: var(--white);
    padding: var(--section-pad) 0;
}

.testimonial-section h2 {
    font-size: 2.25rem;
    color: var(--navy);
}

.testimonial-section blockquote {
    color: var(--navy);
    font-size: 14px;
    line-height: 1.8;
    border: none;
    padding: 0;
    margin: 20px 0 0;
}

.testimonial-author {
    font-size: 12.5px;
    color: var(--navy);
    font-style: italic;
    margin-top: 16px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.carousel-dot-active {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: var(--navy);
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e0;
}

.testimonial-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 100%;
}

.testimonial-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.testimonial-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.testimonial-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #cbd5e0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s;
}

.testimonial-nav-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   7. CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--ice-blue);
    padding: var(--section-pad) 0;
}

.cta-banner {
    background: linear-gradient(180deg, #0D4A8F 0%, #0A2D52 50%, #04101F 100%);
    border-radius: 48px;
    padding: 96px 48px 120px;
    text-align: center;
    margin: 0 64px;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 28px auto 0;
    line-height: 1.6;
    position: relative;
}

.cta-banner .btn-cta {
    background: #F8FAFC;
    color: var(--navy);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 44px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.2s;
}

.cta-banner .btn-cta:hover {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

/* ═══════════════════════════════════════════════════════════════
   8. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    padding: 56px 0 32px;
}

.footer-heading {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--white);
    font-size: 12.5px;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-logo {
    height: 34px;
}

.footer-desc {
    color: var(--white);
    font-size: 11.5px;
    line-height: 1.7;
    max-width: 380px;
    margin-top: 12px;
}

.footer-divider {
    border-top: 1px solid var(--white);
    padding-top: 24px;
    margin-top: 40px;
}

.social-link {
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--white);
}

.footer-copyright {
    color: var(--white);
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .hero-section h1 {
        max-width: 85%;
    }

    .hero-subtitle {
        max-width: 75%;
    }

    .mockup-wrapper {
        max-width: 95%;
    }

    .partners-section h2,
    .partners-desc {
        max-width: 80%;
    }

    .partners-row {
        max-width: 95%;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .features-card {
        margin: 0;
        padding: 32px;
    }

    .cta-banner {
        margin: 0;
        padding: 48px 24px;
    }

    .why-section .section-intro p {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    :root {
        --section-pad: 64px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-section h1 {
        max-width: 100%;
        font-size: 1.75rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mockup-wrapper {
        max-width: 100%;
    }

    .partners-section h2,
    .partners-desc {
        max-width: 100%;
    }

    .partners-row {
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-start;
        padding-bottom: 16px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .partners-row::-webkit-scrollbar {
        display: none;
    }

    .partners-row img {
        height: auto;
        width: 60%;
        min-width: 100%;
        max-height: 140px;
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 0 24px;
        object-fit: contain;
    }

    .partners-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .partners-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(12, 42, 71, 0.2);
        transition: background 0.3s;
    }

    .partners-dots .dot.active {
        background: var(--navy);
    }

    .features-card {
        padding: 24px;
    }

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

    .testimonial-photo img {
        height: 280px;
    }
}
