/* =====================================================
   SIDOTECH COMPUTER CENTRE
   COMPUTER NETWORKING PAGE
   ===================================================== */


/* ================= ROOT ================= */

:root {

    --blue: #0866d6;
    --blue-dark: #064a9e;

    --yellow: #ffc400;
    --yellow-dark: #e6a900;

    --green: #12a86b;
    --green-dark: #087a4d;

    --purple-red: #a5165b;
    --purple-dark: #74103f;

    --dark: #101828;
    --dark-2: #172033;

    --white: #ffffff;

    --light: #f7f9fc;
    --light-blue: #eef6ff;

    --gray: #667085;
    --border: #e4e7ec;

    --shadow:
        0 15px 40px rgba(16, 24, 40, 0.10);

    --shadow-hover:
        0 20px 50px rgba(16, 24, 40, 0.16);

}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {

    width: min(1180px, 92%);

    margin: auto;
}


/* ================= TOP BAR ================= */

.top-bar {

    background: var(--dark);

    color: var(--white);

    font-size: 13px;
}

.top-bar-content {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.top-left,
.top-right {

    display: flex;

    align-items: center;

    gap: 22px;
}

.top-bar span,
.top-bar a {

    display: flex;

    align-items: center;

    gap: 7px;
		transition: 0.3s;
}
.top-bar a:hover {
color: var(--yellow);
padding-left: 4px;
}
.top-bar i {
    color: var(--yellow);
}


/* ================= HEADER ================= */

.main-header {

    background: var(--white);

    box-shadow:
        0 3px 18px rgba(16, 24, 40, 0.08);

    position: relative;

    z-index: 1000;
}

.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* ================= LOGO ================= */

.logo {

    display: flex;

    align-items: center;

    gap: 11px;
}

.logo-icon {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    display: grid;

    place-items: center;

    color: var(--white);

    font-size: 21px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple-red)
        );
}

.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;
}

.logo-text strong {

    font-size: 23px;

    color: var(--blue);
}

.logo-text strong span {
    color: var(--purple-red);
}

.logo-text small {

    color: var(--gray);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.3px;

    margin-top: 4px;
}


/* ================= NAVBAR ================= */

.navbar {

    display: flex;

    align-items: center;

    gap: 4px;
}

.navbar > a,
.dropdown-btn {

    border: none;

    background: transparent;

    color: var(--dark);

    padding: 10px 12px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.navbar > a:hover,
.dropdown-btn:hover {
    color: var(--blue);
}

.dropdown-btn {

    display: flex;

    align-items: center;

    gap: 6px;
}

.dropdown-btn i {
    font-size: 10px;
}


/* ================= DROPDOWN ================= */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {

    position: absolute;

    top: calc(100% + 10px);

    left: 0;

    min-width: 220px;

    background: var(--white);

    border-radius: 10px;

    padding: 8px;

    box-shadow: var(--shadow);

    border-top: 3px solid var(--yellow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: 0.25s;
}

.nav-dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.dropdown-menu a {

    display: block;

    padding: 10px 12px;

    font-size: 13px;

    border-radius: 7px;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {

    background: var(--light-blue);

    color: var(--blue);
}


/* ================= MOBILE BUTTON ================= */

.menu-toggle {

    display: none;

    border: none;

    background: var(--blue);

    color: var(--white);

    width: 42px;

    height: 42px;

    border-radius: 8px;

    font-size: 19px;

    cursor: pointer;
}


/* ================= HERO ================= */

.course-hero {

    min-height: 540px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;

    color: var(--white);
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            rgba(6, 74, 158, 0.94),
            rgba(165, 22, 91, 0.82)
        );
}

.hero-content {

    position: relative;

    z-index: 2;

    padding: 90px 0;
}

.page-tag,
.section-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--yellow);
}

.course-hero h1 {

    max-width: 750px;

    font-size: clamp(42px, 6vw, 72px);

    line-height: 1.05;

    margin: 18px 0;
}

.course-hero h1 span {
    color: var(--yellow);
}

.course-hero p {

    max-width: 700px;

    font-size: 18px;

    color: rgba(255,255,255,0.90);
}

.breadcrumb {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    font-size: 14px;
}

.breadcrumb a {
    color: var(--yellow);
}

.breadcrumb i {
    font-size: 11px;
}


/* ================= GENERAL ================= */

section {
    padding: 90px 0;
}

.section-heading {

    max-width: 720px;

    margin-bottom: 45px;
}

.section-heading.centered {

    text-align: center;

    margin-left: auto;

    margin-right: auto;
}

.section-heading h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin: 12px 0 15px;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-heading p {
    color: var(--gray);
}


/* ================= COURSE INFO ================= */

.course-info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.info-card {

    padding: 28px 20px;

    border-radius: 16px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition: 0.3s;
}

.info-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);
}

.info-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 24px;
}

.info-card h3 {
    margin-bottom: 5px;
}

.info-card p {

    font-size: 13px;

    color: var(--gray);
}

.blue-card .info-icon {

    background: #e8f2ff;

    color: var(--blue);
}

.yellow-card .info-icon {

    background: #fff7d6;

    color: var(--yellow-dark);
}

.green-card .info-icon {

    background: #e2f8ee;

    color: var(--green);
}

.purple-card .info-icon {

    background: #f8e8f1;

    color: var(--purple-red);
}


/* ================= COURSE UNITS ================= */

.units-section {
    background: var(--light);
}

.units-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 45px 28px;
}

.unit-card {

    text-align: center;

    background: var(--white);

    padding: 40px 25px 30px;

    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: 0.3s;
}

.unit-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.unit-circle {

    width: 125px;

    height: 125px;

    border-radius: 50%;

    margin: 0 auto 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    border: 7px solid rgba(255,255,255,0.75);

    box-shadow:
        0 10px 25px rgba(16,24,40,0.12);
}

.unit-circle i {

    font-size: 30px;

    color: var(--white);
}

.unit-circle span {

    position: absolute;

    bottom: 5px;

    right: 5px;

    width: 29px;

    height: 29px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--white);

    color: var(--dark);

    font-size: 11px;

    font-weight: 800;
}

.blue-circle {

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #3b8df0
        );
}

.yellow-circle {

    background:
        linear-gradient(
            135deg,
            var(--yellow-dark),
            var(--yellow)
        );
}

.green-circle {

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        );
}

.purple-circle {

    background:
        linear-gradient(
            135deg,
            var(--purple-dark),
            var(--purple-red)
        );
}

.unit-card h3 {

    font-size: 16px;

    margin-bottom: 10px;
}

.unit-card p {

    color: var(--gray);

    font-size: 13px;
}


/* ================= COVERAGE ================= */

.coverage-grid {

    display: grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap: 70px;

    align-items: center;
}

.coverage-content h2 {

    font-size: 42px;

    margin: 12px 0;
}

.coverage-content h2 span {
    color: var(--blue);
}

.coverage-content > p {

    color: var(--gray);

    margin-bottom: 25px;
}

.check-list {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.check-list li {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    font-size: 14px;
}

.check-list i {

    color: var(--green);

    margin-top: 4px;
}


/* ================= REQUIREMENTS ================= */

.requirements-box {

    background:
        linear-gradient(
            145deg,
            var(--blue-dark),
            var(--purple-red)
        );

    color: var(--white);

    padding: 42px 35px;

    border-radius: 22px;

    box-shadow: var(--shadow-hover);
}

.requirements-icon {

    width: 65px;

    height: 65px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--yellow);

    color: var(--dark);

    font-size: 25px;

    margin-bottom: 22px;
}

.requirements-box h3 {

    font-size: 25px;

    margin-bottom: 10px;
}

.requirements-box > p {

    color: rgba(255,255,255,0.80);

    font-size: 14px;

    margin-bottom: 22px;
}

.requirement {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.15);

    font-size: 14px;
}

.requirement i {
    color: var(--yellow);
}


/* ================= STUDY OPTIONS ================= */

.study-section {
    background: var(--light);
}

.study-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.study-card {

    text-align: center;

    padding: 38px 25px;

    background: var(--white);

    border-radius: 18px;

    box-shadow: var(--shadow);
}

.study-icon {

    width: 72px;

    height: 72px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--white);

    font-size: 25px;
}

.blue-bg {
    background: var(--blue);
}

.purple-bg {
    background: var(--purple-red);
}

.green-bg {
    background: var(--green);
}

.study-card h3 {
    margin-bottom: 8px;
}

.study-card p {

    color: var(--gray);

    font-size: 14px;
}


/* ================= ASSESSMENT ================= */

.assessment-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.assessment-card {

    padding: 32px 22px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 16px;

    transition: 0.3s;
}

.assessment-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.assessment-card > i {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    margin: 0 auto 17px;

    background: var(--light-blue);

    color: var(--blue);

    font-size: 21px;
}

.assessment-card h3 {
    margin-bottom: 8px;
}

.assessment-card p {

    color: var(--gray);

    font-size: 13px;
}


/* ================= CERTIFICATE ================= */

.certificate-section {

    padding: 65px 0;

    background:
        linear-gradient(
            100deg,
            var(--blue),
            var(--purple-red)
        );

    color: var(--white);
}

.certificate-content {

    display: flex;

    align-items: center;

    gap: 35px;
}

.certificate-icon {

    flex-shrink: 0;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--yellow);

    color: var(--dark);

    font-size: 42px;
}

.certificate-content h2 {

    font-size: 38px;

    margin: 8px 0;
}

.certificate-content h2 span {
    color: var(--yellow);
}

.certificate-content p {

    max-width: 760px;

    color: rgba(255,255,255,0.88);
}


/* ================= ENROLL CTA ================= */

.cta-section {

    padding: 75px 0;

    background: var(--dark);

    color: var(--white);
}

.cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}

.cta-content h2 {

    font-size: clamp(30px, 4vw, 45px);

    margin: 8px 0;
}

.cta-content h2 span {
    color: var(--yellow);
}

.cta-content p {
    color: rgba(255,255,255,0.72);
}

.cta-buttons {

    display: flex;

    gap: 12px;

    flex-shrink: 0;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 14px 23px;

    border-radius: 8px;

    font-weight: 700;

    font-size: 14px;

    transition: 0.3s;
}


/* ENROLL BUTTON */

.btn-yellow {

    background: var(--yellow);

    color: var(--dark);
}

.btn-yellow:hover {

    background: var(--white);

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(255,196,0,0.25);
}

.btn-outline {

    border: 1px solid rgba(255,255,255,0.4);

    color: var(--white);
}

.btn-outline:hover {

    border-color: var(--yellow);

    color: var(--yellow);
}


/* ================= FOOTER ================= */

.footer {

    background: #0b1220;

    color: var(--white);
}

.footer-grid {

    padding: 70px 0 50px;

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 1fr 1fr;

    gap: 45px;
}

.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;
}

.footer-logo-icon {

    width: 45px;

    height: 45px;

    border-radius: 10px;

    display: grid;

    place-items: center;

    background: var(--blue);
}

.footer-logo strong {

    display: block;

    font-size: 20px;
}

.footer-logo strong span {
    color: var(--yellow);
}

.footer-logo small {

    color: #98a2b3;

    font-size: 9px;

    letter-spacing: 1px;
}

.footer-about > p {

    margin: 20px 0;

    color: #98a2b3;

    font-size: 13px;

    max-width: 300px;
}

.social-links {

    display: flex;

    gap: 9px;
}

.social-links a {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: rgba(255,255,255,0.08);

    transition: 0.3s;
}

.social-links a:hover {

    background: var(--blue);

    transform: translateY(-3px);
}

.footer h3 {

    color: var(--white);

    font-size: 16px;

    margin-bottom: 18px;
}

.footer-links a {

    display: flex;

    gap: 8px;

    align-items: center;

    color: #98a2b3;

    font-size: 13px;

    margin: 9px 0;

    transition: 0.3s;
}

.footer-links a:hover {

    color: var(--yellow);

    padding-left: 4px;
}

.footer-links a i {

    color: var(--yellow);

    font-size: 10px;
}

.footer-contact p {

    display: flex;

    gap: 10px;

    color: #98a2b3;

    font-size: 13px;

    margin: 11px 0;
}

.footer-contact i {

    color: var(--yellow);

    margin-top: 5px;
}

.footer-contact a {
    display: flex;

    gap: 10px;

    color: #98a2b3;

    font-size: 13px;

    margin: 11px 0;
		transition: 0.3s;
}
.footer-contact a:hover {
    color: var(--yellow);
    padding-left: 4px;
}

/* ================= FOOTER BOTTOM ================= */

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {

    color: #667085;

    font-size: 12px;
}
/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.whatsapp-float {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--green);

    color: white;

    font-size: 28px;

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(18,168,107,0.35);

    transition: var(--transition);

}


.whatsapp-float:hover {

    transform: scale(1.08);

    background: var(--green-dark);

}

/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .navbar > a,
    .dropdown-btn {

        padding: 9px 7px;

        font-size: 12px;
    }

    .course-info-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .assessment-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 900px) {

    .top-bar-content {
        justify-content: center;
    }

    .top-left {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: var(--white);

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 15px 5%;

        box-shadow: var(--shadow);
    }

    .navbar.show {
        display: flex;
    }

    .navbar > a,
    .dropdown-btn {

        width: 100%;

        text-align: left;

        padding: 13px 10px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-btn {
        justify-content: space-between;
    }

    .dropdown-menu {

        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        border-top: none;

        padding: 0 0 5px 15px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .coverage-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .cta-content {

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    section {
        padding: 65px 0;
    }

    .top-right {

        gap: 10px;

        font-size: 11px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .course-hero {
        min-height: 480px;
    }

    .course-hero h1 {
        font-size: 43px;
    }

    .course-hero p {
        font-size: 15px;
    }

    .course-info-grid,
    .units-grid,
    .study-grid,
    .assessment-grid,
    .check-list {

        grid-template-columns: 1fr;
    }

    .certificate-content {

        flex-direction: column;

        align-items: flex-start;
    }

    .certificate-content h2 {
        font-size: 31px;
    }

    .cta-buttons {

        width: 100%;

        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {

        flex-direction: column;

        justify-content: center;

        padding: 18px 0;

        text-align: center;
    }

}