/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0B0F19;
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Header */
.main-header {
    background-color: #ffffff;
    padding: 10px 0; /* 🔽 was 20px */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: #D80F19;
    font-weight: 700;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 50px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #D80F19;
}

.nav-link.active {
    background-color: #ffffff;
    color: #D80F19;
}

.nav-link i {
    font-size: 10px;
    margin-left: 3px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style: none;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #D80F19;
    padding-left: 25px;
}

/* CTA Button */
.header-cta {
    display: flex;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
     background: #E11D2E; /* clean solid red */
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 46, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(216, 15, 25, 0.35);
}

.cta-button i {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    color: #E51B2B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* FIX: make button behave like link without breaking design */
.cta-button {
    border: none;              /* remove default button border */
    cursor: pointer;           /* pointer cursor */
    font-family: inherit;      /* keep same font */
}

/* REMOVE default button focus outline (optional but cleaner) */
.cta-button:focus {
    outline: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* HERO */
.hero {
    padding: 130px 20px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(216, 15, 25, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #0B0F19 0%, #111827 100%);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -1.8px;
    color: #ffffff;
}

.hero p {
    color: #b8beca;
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 32px;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.primary {
    background: #E11D2E;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(225, 29, 46, 0.25);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(216, 15, 25, 0.38);
}

.secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* SERVICES */
.services {
    padding: 90px 20px;
    background: #111827;
}

.services h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.services .section-text {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
    color: #aeb6c4;
    line-height: 1.7;
}

.service-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.card {
    background: linear-gradient(180deg, #1f2937 0%, #151c2b 100%);
    padding: 30px;
    border-radius: 22px;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 15, 25, 0.45);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #ffffff;
}

.card p {
    color: #aeb6c4;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        gap: 24px;
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 16px 0;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        background-color: transparent;
        padding: 0;
        gap: 10px;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        min-width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 95px 18px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .services h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }

    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .btn {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }
}

/* ========================= */
/* NEW HERO (SKILLTRIAL STYLE) */
/* ========================= */

.afri-hero {
    background: linear-gradient(135deg, #2f66c5 0%, #4c86e8 100%);
    padding: 100px 0;
    color: #fff;
}

.afri-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT SIDE */
.afri-hero-content {
    flex: 1;
}

.afri-hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.afri-hero-content p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 25px;
    max-width: 500px;
}

.afri-hero-buttons {
    margin-bottom: 25px;
}

/* FEATURES ROW */
.afri-hero-features {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #e2e8f0;
}

/* RIGHT SIDE */
.afri-hero-visual {
    flex: 1;
    position: relative;
}

/* IMAGE BACKGROUND */
.afri-image-card {
    position: relative;
     filter: contrast(1.1) brightness(0.9);
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;

    background: url('/images/office.jpeg') center/cover no-repeat;
}

/* PREMIUM BLUE + DARK OVERLAY */
.afri-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;

    background:
        /* DARK BASE (controls brightness) */
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.5)
        ),

        /* MAIN BLUE SHADE */
        linear-gradient(
            to left,
            rgba(47, 102, 197, 0.75),
            rgba(47, 102, 197, 0.25)
        ),

        /* TOP LIGHT BLUE GLOW */
        linear-gradient(
            to bottom,
            rgba(100, 149, 255, 0.35),
            transparent
        );


    border-radius: 20px;
}

/* FLOATING CARDS */
.floating-tech-card {
    position: absolute;
    background: #fff;
    color: #111;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 220px;
}

.floating-tech-card span {
    font-size: 12px;
    color: #666;
}

/* CARD POSITIONS */
.card-one { top: 20px; left: -20px; }
.card-two { bottom: 30px; right: -10px; }
.card-three { top: 50%; right: -40px; transform: translateY(-50%); }

.mini-icon {
    font-size: 20px;
}

/* ========================= */
/* HOW IT WORKS */
/* ========================= */

.how-section {
    padding: 80px 0;
    background: #f8fafc;
    color: #111;
}

.section-title.center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: #4c86e8;
    margin: 10px auto;
}

.how-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.how-item {
    text-align: center;
    flex: 1;
}

.how-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: #e2e8f0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;
    margin-bottom: 15px;

    overflow: hidden; /* 🔥 IMPORTANT for images */
}

/* IMAGE INSIDE CIRCLE */
.how-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image clean */
}
.step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-row span {
    background: #2f66c5;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================= */
/* FEATURED SERVICES */
/* ========================= */

.featured-section {
    padding: 80px 0;
    background: #eef2f7;
    color: #111;
}

.left-title {
    margin-bottom: 30px;
}

.featured-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.featured-image {
    height: 180px;
    position: relative;
}

.image-software { background: url('/images/software.jpg') center/cover; }
.image-mobile { background: url('/images/mobile.jpg') center/cover; }
.image-coding { background: url('/images/coding.jpg') center/cover; }

.video-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #111;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.featured-content {
    padding: 15px;
}

.featured-content h3 {
    margin-bottom: 5px;
}

.center-button {
    text-align: center;
    margin-top: 30px;
}

/* ========================= */
/* FINAL CTA */
/* ========================= */

.final-cta {
    padding: 80px 0;
    background: #f8fafc;
}

.cta-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-actions {
    margin-top: 20px;
}

.orange-btn {
    background: #f97316;
    color: #fff;
}

.blue-btn {
    background: #2f66c5;
    color: #fff;
}

/* ========================= */
/* HOW IT WORKS CLEAN */
/* ========================= */

.how-section {
    padding: 90px 0;
    background: #f8fafc;
    color: #111;
}

.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 600;
}

.title-line {
    width: 70px;
    height: 3px;
    background: #4c86e8;
    margin: 10px auto;
    border-radius: 10px;
}

.how-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.how-item {
    text-align: center;
    flex: 1;
}

.how-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e2e8f0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;
    margin-bottom: 18px;

    font-size: 22px;
    color: #2f66c5;
}

.step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.step-row span {
    background: #2f66c5;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
}

.step-row h4 {
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
}

.how-item p {
    font-size: 14px;
    color: #64748b;
    margin-top: 6px;
}

/* ========================= */
/* SERVICE IMAGES */
/* ========================= */

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* SMALL BADGE */
.badge {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ========================= */
/* FINAL CTA SECTION */
/* ========================= */

.final-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #eef2f7, #e2e8f0); /* light grey/blue */
}

/* MAIN BOX */
.cta-box {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* TITLE */
.cta-box h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1e293b; /* 🔥 DARK TEXT (FIXED) */
}

/* TEXT */
.cta-box p {
    margin-top: 10px;
    font-size: 16px;
    color: #64748b;
}

/* BUTTONS */
.cta-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ORANGE BUTTON */
.orange-btn {
    background: #f97316;
    color: #fff;
}

/* BLUE BUTTON */
.blue-btn {
    background: #1d4ed8;
    color: #fff;
}

/* BUTTON BASE */
.cta-actions .btn {
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;

    /* 🔥 ADD THESE */
    display: inline-block;   /* makes button behave like <a> */
    border: none;            /* remove default button border */
    cursor: pointer;         /* pointer like link */
    font-family: inherit;
}

/* HOVER EFFECT */
.cta-actions .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ========================= */
/* FOOTER CLEAN */
/* ========================= */

.site-footer {
    background: #0B0F19;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LEFT TEXT */
.footer-left {
    font-size: 13px;
    color: #9ca3af; /* thin grey */
}

/* RIGHT LINKS */
.footer-right {
    display: flex;
    gap: 18px;
}

.footer-right a {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 400; /* thin */
    transition: 0.3s;
}

.footer-right a {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

/* 🔥 ADD THIS DIRECTLY BELOW */
.footer-right a:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #555;
}

/* HOVER */
.footer-right a:hover {
    color: #ffffff;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ========================= */
/* MODAL FORMS */
/* ========================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    color: #111827;
    border-radius: 22px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

.modal-box h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #0B0F19;
}

.modal-box p {
    color: #64748b;
    margin-bottom: 22px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: none;
    background: #f1f5f9;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 14px 15px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
    border-color: #2f66c5;
}

.form-submit {
    border: none;
    background: #E11D2E;
    color: #ffffff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.form-submit:hover {
    background: #c91625;
}

/* ========================= */
/* ABOUT PAGE */
/* ========================= */

.page-hero {
    padding: 90px 20px;
    background: linear-gradient(135deg, #2f66c5 0%, #4c86e8 100%);
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
    margin-bottom: 15px;
}

.page-hero p {
    max-width: 750px;
    margin: auto;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.7;
}

.about-section {
    padding: 80px 20px;
    background: #f8fafc;
    color: #111827;
}

.about-container {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.about-section h2 {
    font-size: 34px;
    margin-bottom: 18px;
    color: #0f172a;
}

.about-section p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.about-card h3 {
    margin-bottom: 15px;
}

.about-card ul {
    padding-left: 18px;
    color: #475569;
    line-height: 2;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}

/* ========================= */
/* PREMIUM ABOUT PAGE */
/* ========================= */

.page-badge,
.section-label {
    display: inline-block;
    color: #2f66c5;
    background: rgba(47, 102, 197, 0.1);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-hero {
    padding: 100px 20px;
}

.about-hero h1 {
    max-width: 900px;
    margin: 0 auto 18px;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 650;
}

.about-hero p {
    max-width: 760px;
}

.about-main h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 18px;
    font-weight: 650;
}

.about-main p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 16px;
}

.premium-card {
    border: 1px solid #e5eaf3;
}

.mission-section {
    padding: 80px 20px;
    background: #ffffff;
    color: #111827;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: #f8fafc;
    border: 1px solid #e5eaf3;
    border-radius: 22px;
    padding: 30px;
}

.mission-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #2f66c5;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
}

.mission-card h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
}

.mission-card p {
    color: #64748b;
    line-height: 1.8;
}

.values-section {
    padding: 90px 20px;
    background: #eef2f7;
    color: #111827;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 38px;
    color: #0f172a;
    font-weight: 650;
    margin-bottom: 12px;
}

.section-heading p {
    color: #64748b;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.value-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.value-card h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 900px) {
    .mission-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 36px;
    }
}

/* CENTER VALUES SECTION HEADER */
.values-section .section-heading {
    text-align: center;   /* centers everything inside */
    margin: 0 auto 40px;  /* center container + spacing */
}

/* OPTIONAL: control width for better premium look */
.values-section .section-heading p {
    max-width: 600px;
    margin: 0 auto;
}

/* ========================= */
/* PREMIUM CONTACT PAGE */
/* ========================= */

.contact-hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2f66c5, #4c86e8);
    color: #ffffff;
}

.contact-hero h1 {
    font-size: 52px;
    max-width: 850px;
    margin: 0 auto 18px;
    line-height: 1.1;
}

.contact-hero p {
    max-width: 720px;
    margin: auto;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.7;
}

.contact-section {
    padding: 90px 20px;
    background: #f8fafc;
    color: #111827;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 14px;
}

.contact-info p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 26px;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.contact-card strong {
    display: block;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-card span {
    color: #64748b;
}

.contact-form-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

.contact-form-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0f172a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    border-color: #2f66c5;
}

.contact-submit {
    width: 100%;
    border: none;
    background: #E11D2E;
    color: #ffffff;
    padding: 15px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 36px;
    }
}

/* CONTACT LINKS (WhatsApp) */
.contact-link {
    display: block;
    margin-top: 6px;
    color: #2f66c5;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.contact-link:hover {
    color: #1d4ed8;
}

/* PROJECTS */

.projects-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.case-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.gallery-section {
    padding: 80px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 15px;
}

@media(max-width:768px){
    .project-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* PROJECT CARDS WITH IMAGE */

.project-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 18px;
}

.project-content h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 6px;
}

.project-content p {
    color: #64748b;
    font-size: 14px;
}

/* ========================= */
/* PREMIUM PORTFOLIO PAGE */
/* ========================= */

.portfolio-intro {
    background: #f8fafc;
    padding: 70px 20px 20px;
    color: #111827;
}

.portfolio-intro-box {
    text-align: center;
    max-width: 850px;
}

.portfolio-intro h2 {
    font-size: 34px;
    color: #0f172a;
    margin-bottom: 14px;
    font-weight: 650;
}

.portfolio-intro p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.portfolio-section {
    background: #f8fafc;
    padding: 50px 20px 90px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
}

.portfolio-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content span {
    display: inline-block;
    background: rgba(47, 102, 197, 0.1);
    color: #2f66c5;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 650;
}

.portfolio-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-intro h2 {
        font-size: 28px;
    }
}

/* ========================= */
/* PREMIUM CASE STUDIES PAGE */
/* ========================= */

.case-study-section {
    padding: 90px 20px;
    background: #f8fafc;
    color: #111827;
}

.case-study-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.case-study-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.case-study-card.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.case-study-card.reverse .case-image {
    order: 2;
}

.case-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.case-content {
    padding: 42px;
}

.case-content span {
    display: inline-block;
    background: rgba(47, 102, 197, 0.1);
    color: #2f66c5;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.case-content h2 {
    font-size: 30px;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.2;
}

.case-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 14px;
}

.case-points {
    margin-top: 20px;
    border-top: 1px solid #e5eaf3;
    padding-top: 18px;
}

.case-points p {
    font-size: 14px;
    margin-bottom: 10px;
}

.case-points strong {
    color: #0f172a;
}

@media (max-width: 900px) {
    .case-study-card,
    .case-study-card.reverse {
        grid-template-columns: 1fr;
    }

    .case-study-card.reverse .case-image {
        order: 0;
    }

    .case-content {
        padding: 28px;
    }
}
/* ========================= */
/* PREMIUM PROJECT GALLERY */
/* ========================= */

.gallery-intro {
    padding: 70px 20px 20px;
    background: #f8fafc;
    color: #111827;
    text-align: center;
}

.gallery-intro h2 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 650;
}

.gallery-intro p {
    max-width: 760px;
    margin: auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.premium-gallery-section {
    padding: 50px 20px 100px;
    background: #f8fafc;
}

.gallery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-showcase-card {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    background: #0f172a;
}

.gallery-showcase-card.large {
    grid-row: span 2;
    min-height: 670px;
}

.gallery-showcase-card.wide {
    grid-column: span 2;
}

.gallery-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-showcase-card:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(to top, rgba(11,15,25,0.9), rgba(11,15,25,0.15)),
        linear-gradient(to left, rgba(47,102,197,0.35), transparent);
    color: #ffffff;
}

.gallery-overlay span {
    width: fit-content;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.gallery-overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 650;
}

.gallery-overlay p {
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.6;
    max-width: 430px;
}

@media (max-width: 900px) {
    .gallery-showcase-grid {
        grid-template-columns: 1fr;
    }

    .gallery-showcase-card.large,
    .gallery-showcase-card.wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 360px;
    }
}

/* ========================= */
/* SERVICE DETAIL PAGES */
/* ========================= */

.service-detail-section {
    padding: 90px 20px;
    background: #f8fafc;
    color: #111827;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.service-detail-content h2 {
    font-size: 38px;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 18px;
}

.service-detail-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.service-list div {
    background: #ffffff;
    padding: 16px;
    border-radius: 14px;
    color: #334155;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-detail-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.service-detail-card h3 {
    color: #0f172a;
    margin-bottom: 12px;
    font-size: 24px;
}

.service-detail-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .service-detail-grid,
    .service-list {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* ACADEMY PAGE */
/* ========================= */

.academy-section {
    padding: 90px 20px;
    background: #f8fafc;
}

.section-center {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
}

.section-center h2 {
    font-size: 38px;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-center p {
    color: #64748b;
}

/* GRID */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.academy-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.academy-card h3 {
    color: #0f172a;
    margin-bottom: 10px;
}

.academy-card p {
    color: #64748b;
}

/* STEPS */
.academy-steps {
    padding: 90px 20px;
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 15px;
    font-weight: bold;
}

/* CTA */
.academy-cta {
    padding: 80px 20px;
    background: #f1f5f9;
}

/* MOBILE */
@media (max-width: 900px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* PREMIUM ACADEMY SALES PAGES */
/* ========================= */

.academy-sales-hero {
    padding: 100px 20px;
    background: linear-gradient(135deg, #2f66c5, #4c86e8);
    color: #ffffff;
}

.academy-sales-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.academy-sales-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    max-width: 850px;
    margin-bottom: 18px;
}

.academy-sales-hero p {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 25px;
}

.academy-sales-card {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 26px;
    padding: 34px;
}

.academy-sales-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.academy-sales-card ul {
    list-style: none;
}

.academy-sales-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    color: #f8fafc;
}

.academy-program-section {
    padding: 90px 20px;
    background: #f8fafc;
    color: #111827;
}

.academy-course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.academy-course-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
    transition: 0.3s;
}

.academy-course-card:hover {
    transform: translateY(-6px);
}

.academy-course-card h3 {
    color: #0f172a;
    margin-bottom: 10px;
}

.academy-course-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 900px) {
    .academy-sales-grid,
    .academy-course-grid {
        grid-template-columns: 1fr;
    }

    .academy-sales-hero h1 {
        font-size: 36px;
    }
}
/* ========================= */
/* LEGAL PAGES */
/* ========================= */

.legal-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.legal-box {
    max-width: 900px;
}

.legal-box h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #0f172a;
}

.legal-box h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0f172a;
}

.legal-box p,
.legal-box li {
    color: #64748b;
    line-height: 1.8;
}

.legal-box ul {
    padding-left: 20px;
}

/* ========================= */
/* PREMIUM LEGAL PAGES */
 /* ========================= */

.legal-hero {
    padding: 100px 20px;
    background:
        linear-gradient(135deg, rgba(47,102,197,0.95), rgba(76,134,232,0.95)),
        radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 30%);
    color: #ffffff;
    text-align: center;
}

.legal-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 650;
}

.legal-hero p {
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.7;
}

.legal-page-section {
    padding: 90px 20px;
    background: #f8fafc;
    color: #111827;
}

.legal-layout {
    display: grid;
    grid-template-columns: 0.38fr 1fr;
    gap: 34px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    border: 1px solid #e5eaf3;
}

.legal-sidebar h3 {
    color: #0f172a;
    font-size: 22px;
    margin-bottom: 10px;
}

.legal-sidebar p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 18px;
}

.legal-mini-card {
    background: #f8fafc;
    border: 1px solid #e5eaf3;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.legal-mini-card strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 5px;
}

.legal-mini-card span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.legal-content-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 45px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    border: 1px solid #e5eaf3;
}

.legal-content-card h2 {
    color: #0f172a;
    font-size: 24px;
    margin-top: 34px;
    margin-bottom: 12px;
    font-weight: 650;
}

.legal-content-card h2:first-child {
    margin-top: 0;
}

.legal-content-card p,
.legal-content-card li {
    color: #64748b;
    line-height: 1.85;
    font-size: 15px;
}

.legal-content-card ul {
    padding-left: 22px;
    margin-bottom: 12px;
}

.legal-content-card li {
    margin-bottom: 8px;
}

.legal-notice-box {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(47,102,197,0.1), rgba(76,134,232,0.12));
    border: 1px solid rgba(47,102,197,0.18);
    border-radius: 20px;
    padding: 24px;
}

.legal-notice-box h3 {
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 20px;
}

.legal-notice-box p {
    color: #475569;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-hero h1 {
        font-size: 36px;
    }

    .legal-content-card {
        padding: 28px;
    }
}

/* ========================= */
/* MOBILE HEADER FIX */
/* ========================= */

@media (max-width: 768px) {

    /* Keep header clean */
    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    /* Hide desktop menu completely */
    .main-nav {
        display: none !important;
    }

    /* Hide hamburger (we not using it) */
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Show CTA button on mobile (right side) */
    .header-cta {
        display: flex !important;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Logo left + button right */
    .logo img {
        height: 32px;
    }
}

/* ========================= */
/* PREMIUM MOBILE BOTTOM NAV */
/* ========================= */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .header-cta {
        display: flex !important;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    .main-header {
        padding: 10px 0;
    }

    .logo img {
        height: 32px;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 999px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        height: 68px;

        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 24px;

        display: flex;
        align-items: center;
        justify-content: space-around;

        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
        z-index: 3000;
    }

    .mobile-bottom-nav a {
        flex: 1;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        text-decoration: none;
        color: #64748b;
        font-size: 12px;
        font-weight: 600;

        border-radius: 18px;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav a.active {
        color: #ffffff;
        background: #E11D2E;
        box-shadow: 0 10px 24px rgba(225, 29, 46, 0.28);
        transform: translateY(-5px);
    }

    .mobile-bottom-nav a:hover {
        color: #E11D2E;
    }

    .mobile-bottom-nav a.active:hover {
        color: #ffffff;
    }

    body {
        padding-bottom: 95px;
    }
}

/* ========================= */
/* WHATSAPP FLOAT */
/* ========================= */

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 110px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 3000;
}

/* 🔥 HIDE ON MOBILE */
@media (max-width: 768px) {
    .whatsapp-float {
        display: none !important;
    }
}