/* ===================================================
   LANDING PAGE - ConnectPro (Premium & Fast)
   Hero image is unchanged – stays large.
=================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===================================================
   NAVBAR - Dark (matches sidebar)
=================================================== */
.landing-nav {
    background: #0f172a;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}

.landing-nav .nav-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-nav .header-logo {
    height: 80px;
    width: auto;
    display: inline-block;
}

.landing-nav .nav-brand img {
    height: 80px;
    width: auto;
}

.landing-nav .nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    transition: color 0.2s;
}
.landing-nav .nav-link:hover {
    color: #ffffff !important;
}

.landing-nav .btn-primary {
    background: #4f46e5;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}
.landing-nav .btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #0f172a;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background: #4f46e5;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
}
.hero .btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.hero .btn-outline-dark {
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid #e2e8f0;
    color: #0f172a;
    background: transparent;
    transition: all 0.3s;
}
.hero .btn-outline-dark:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* ✅ HERO IMAGE – stays large (no change) */
.hero .hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}
.hero-stats .stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.hero-stats .stat-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
}

/* ===================================================
   PREMIUM TITLE COLOURS
=================================================== */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-title.purple {
    color: #4f46e5;
}
.section-title.green {
    color: #059669;
}
.section-title.orange {
    color: #d97706;
}
.section-title.blue {
    color: #2563eb;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===================================================
   ABOUT SECTION - Beautiful Card
=================================================== */
.about-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.about-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

/* ✅ ABOUT IMAGE – reduced & aligned (only this one is smaller) */
.about-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
}
.about-image-wrapper img {
    max-width: 70%;
    height: auto;
    max-height: 280px;
    border-radius: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}
.about-image-wrapper img:hover {
    transform: scale(1.02);
}

/* ===================================================
   VISION & MISSION - Premium Cards
=================================================== */
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}
.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.vision-card,
.mission-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px 32px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    border-left: 6px solid transparent;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.vision-card {
    border-left-color: #4f46e5;
}
.mission-card {
    border-left-color: #059669;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.vision-icon,
.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.vision-icon {
    background: linear-gradient(135deg, #4f46e5, #818cf8);
}
.mission-icon {
    background: linear-gradient(135deg, #059669, #34d399);
}

.vision-card h4,
.mission-card h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.vision-card p,
.mission-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.vision-card::after,
.mission-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.03);
    pointer-events: none;
}
.mission-card::after {
    background: rgba(5, 150, 105, 0.03);
}

/* ===================================================
   FEATURES
=================================================== */
.features {
    padding: 80px 0;
    background: #ffffff;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: #fff;
}
.feature-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0f172a;
}
.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================================
   NETWORKS
=================================================== */
.networks {
    padding: 60px 0;
    background: #f8fafc;
}
.networks .network-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
}
.networks .network-badge.mtn {
    background: #fbbf24;
    color: #1e293b;
}
.networks .network-badge.airtel {
    background: #dc2626;
    color: #fff;
}
.networks .network-badge i {
    font-size: 1.3rem;
}

/* ===================================================
   CTA
=================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-section p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
}
.cta-section .btn-light {
    background: #ffffff;
    border: none;
    padding: 14px 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    color: #4f46e5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cta-section .btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===================================================
   FOOTER
=================================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.footer .footer-logo {
    height: 32px;
    width: auto;
}

.footer .brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover {
    color: #ffffff;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
    color: #94a3b8;
}
.footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ===================================================
   ANIMATED LOGO (HERO) – UNCHANGED, STILL LARGE
=================================================== */
.animated-logo {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(79, 70, 229, 0.12));
    display: block;
    margin: 0 auto;
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.animated-float {
    animation: float 4s ease-in-out infinite;
}

/* ===================================================
   AUTH PAGE FIX
=================================================== */
.auth-main {
    padding-top: 160px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Tablet */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .hero-image {
        margin-top: 40px;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .animated-logo {
        max-width: 140px;
        max-height: 140px;
    }
    .landing-nav .header-logo {
        height: 60px;
    }
    .landing-nav .nav-brand {
        font-size: 1.5rem;
    }
    .auth-main {
        padding-top: 140px;
        padding-bottom: 50px;
    }
    .about-image-wrapper img {
        max-width: 60%;
    }
    .vision-card,
    .mission-card {
        padding: 28px 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 50px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero .btn-primary,
    .hero .btn-outline-dark {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    .hero-stats .stat-item h4 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
    .about-text {
        font-size: 0.95rem;        /* reduced for mobile */
    }
    .features {
        padding: 50px 0;
    }
    .cta-section {
        padding: 50px 0;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .auth-main {
        padding-top: 120px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .about-card {
        padding: 30px 20px;
    }
    .about-image-wrapper img {
        max-width: 80%;
    }
    .about-image-wrapper {
        margin-top: 30px;
    }
    .vision-card,
    .mission-card {
        text-align: center;
        border-left: none;
        border-top: 6px solid #4f46e5;
    }
    .mission-card {
        border-top-color: #059669;
    }
    .vision-icon,
    .mission-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero {
        padding: 120px 0 40px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .hero .btn-primary,
    .hero .btn-outline-dark {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
    }
    .hero-stats .stat-item h4 {
        font-size: 1.3rem;
    }
    .hero-stats .stat-item p {
        font-size: 0.75rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }
    .about-text {
        font-size: 0.9rem;         /* even smaller on very small screens */
    }
    .features {
        padding: 40px 0;
    }
    .feature-card {
        padding: 20px 16px;
    }
    .feature-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .cta-section {
        padding: 40px 0;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .cta-section p {
        font-size: 0.9rem;
    }
    .cta-section .btn-light {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
    .animated-logo {
        max-width: 100px;
        max-height: 100px;
    }
    .about-image-wrapper img {
        max-width: 100%;
    }
    .about-image-wrapper {
        margin-top: 30px;
    }

    .landing-nav {
        padding: 10px 0;
    }
    .landing-nav .header-logo {
        height: 32px;
    }
    .landing-nav .nav-brand img {
        height: 32px;
    }
    .landing-nav .nav-brand {
        font-size: 0.85rem;
        gap: 6px;
    }
    .landing-nav .nav-link {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .landing-nav .btn-primary {
        padding: 6px 14px;
        font-size: 0.7rem;
        border-radius: 6px;
    }

    .footer {
        padding: 30px 0;
    }
    .footer .row {
        text-align: center;
    }
    .footer .brand {
        justify-content: center;
    }
    .footer .social-links {
        justify-content: center;
    }
    .footer .col-md-4 {
        margin-bottom: 16px;
    }
    .footer .col-md-4:last-child {
        margin-bottom: 0;
    }
    .footer .brand-text {
        font-size: 1.1rem;
    }
    .footer .small {
        font-size: 0.8rem;
    }
    .auth-main {
        padding-top: 90px;
        padding-bottom: 30px;
        padding-left: 12px;
        padding-right: 12px;
        min-height: 90vh;
    }
}