/* =========================================================
   SIDOTECH COMPUTER CENTRE
   CYBER SECURITY COURSE PAGE
   ========================================================= */


/* ================= ROOT COLORS ================= */

: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 12px 30px rgba(16, 24, 40, 0.08);

    --radius: 15px;
}


/* ================= 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.6;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


img {
    max-width: 100%;
    display: block;
}


.container {
    width: min(1150px, 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 15px rgba(16, 24, 40, 0.08);

    position: relative;

    z-index: 100;
}


.nav-container {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo {
    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.logo-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    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;
}


.logo-text strong {
    font-size: 22px;

    color: var(--dark);
}


.logo-text strong span {
    color: var(--blue);
}


.logo-text small {
    margin-top: 5px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: var(--gray);
}


/* Navbar */

.navbar {
    display: flex;

    align-items: center;

    gap: 4px;
}


.navbar > a,
.drop-btn {
    border: none;

    background: transparent;

    padding: 12px 10px;

    color: var(--dark);

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.navbar > a:hover,
.drop-btn:hover,
.navbar > a.active {
    color: var(--blue);
}


.drop-btn {
    display: flex;

    align-items: center;

    gap: 6px;
}


.drop-btn i {
    font-size: 10px;
}


/* Dropdown */

.dropdown {
    position: relative;
}


.dropdown-menu {
    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    min-width: 225px;

    padding: 8px;

    background: var(--white);

    border-radius: 10px;

    box-shadow:
        0 15px 35px rgba(16,24,40,0.15);

    border-top: 3px solid var(--blue);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: 0.25s;
}


.dropdown:hover .dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.dropdown-menu a {
    display: block;

    padding: 10px 12px;

    border-radius: 7px;

    font-size: 13px;

    color: var(--dark);

    transition: 0.25s;
}


.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--light-blue);

    color: var(--blue);

    padding-left: 17px;
}


/* Mobile menu */

.menu-toggle {
    display: none;

    border: none;

    background: var(--blue);

    color: var(--white);

    width: 42px;
    height: 42px;

    border-radius: 8px;

    font-size: 18px;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.course-hero {
    min-height: 480px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            100deg,
            rgba(6, 74, 158, 0.95),
            rgba(165, 22, 91, 0.82)
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    color: var(--white);

    padding: 80px 0;
}


.hero-tag {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    border-radius: 30px;

    background: rgba(255,255,255,0.14);

    border: 1px solid rgba(255,255,255,0.25);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


.hero-content h1 {
    margin-top: 18px;

    font-size: clamp(42px, 7vw, 76px);

    line-height: 1.05;

    max-width: 800px;
}


.hero-content h1 span {
    color: var(--yellow);
}


.hero-content > p {
    max-width: 680px;

    margin-top: 20px;

    font-size: 18px;

    color: rgba(255,255,255,0.92);
}


.breadcrumb {
    margin-top: 25px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;
}


.breadcrumb a {
    color: var(--yellow);

    font-weight: 600;
}


.breadcrumb i {
    font-size: 11px;

    opacity: 0.7;
}


/* =========================================================
   SECTION GENERAL
   ========================================================= */

section {
    padding: 85px 0;
}


.section-heading {
    text-align: center;

    max-width: 760px;

    margin: 0 auto 50px;
}


.section-tag {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;
}


.section-heading h2 span {
    color: var(--blue);
}


.section-heading p {
    margin-top: 15px;

    color: var(--gray);

    font-size: 16px;
}


/* =========================================================
   COURSE INTRO
   ========================================================= */

.course-intro {
    background: var(--white);
}


.course-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.info-card {
    padding: 28px 20px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow);

    transition: 0.3s;
}


.info-card:hover {
    transform: translateY(-7px);
}


.info-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;
}


.info-icon.blue {
    background: #e8f2ff;
    color: var(--blue);
}


.info-icon.yellow {
    background: #fff7d6;
    color: var(--yellow-dark);
}


.info-icon.green {
    background: #e5f8f0;
    color: var(--green);
}


.info-icon.purple {
    background: #f9e6ef;
    color: var(--purple-red);
}


.info-card h3 {
    font-size: 19px;

    margin-bottom: 5px;
}


.info-card p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   COURSE UNITS
   ========================================================= */

.units-section {
    background: var(--light);
}


.units-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.unit-card {
    padding: 35px 25px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: 0.3s;
}


.unit-card:hover {
    transform: translateY(-8px);

    border-color: var(--blue);
}


.unit-circle {
    width: 115px;
    height: 115px;

    margin: 0 auto 22px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 35px;

    border: 7px solid var(--white);

    box-shadow:
        0 0 0 2px var(--border),
        0 10px 25px rgba(16,24,40,0.1);
}


.blue-circle {
    color: var(--blue);

    background: #e8f2ff;
}


.yellow-circle {
    color: var(--yellow-dark);

    background: #fff7d6;
}


.purple-circle {
    color: var(--purple-red);

    background: #f9e6ef;
}


.green-circle {
    color: var(--green);

    background: #e5f8f0;
}


.unit-card h3 {
    font-size: 17px;

    margin-bottom: 10px;
}


.unit-card p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   COVERAGE
   ========================================================= */

.coverage-section {
    background: var(--white);
}


.coverage-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

    align-items: stretch;
}


.coverage-box,
.requirements-box {
    padding: 40px;

    border-radius: 18px;

    border: 1px solid var(--border);
}


.coverage-box {
    background: var(--light-blue);
}


.requirements-box {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fdf1f7
        );
}


.coverage-box h2,
.requirements-box h2 {
    margin-top: 12px;

    font-size: 32px;
}


.coverage-box h2 span,
.requirements-box h2 span {
    color: var(--blue);
}


.coverage-box ul {
    list-style: none;

    margin-top: 25px;
}


.coverage-box li {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 9px 0;

    font-size: 14px;

    color: var(--dark);
}


.coverage-box li i {
    color: var(--green);

    font-size: 17px;
}


.requirement-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: var(--purple-red);

    font-size: 21px;
}


.requirements-box > p {
    margin-top: 17px;

    color: var(--gray);

    font-size: 15px;
}


.requirement-list {
    margin-top: 22px;

    display: grid;

    gap: 12px;
}


.requirement-list div {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 600;
}


.requirement-list i {
    width: 24px;
    height: 24px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e5f8f0;

    color: var(--green);

    font-size: 11px;
}


/* =========================================================
   STUDY OPTIONS
   ========================================================= */

.study-section {
    background: var(--light);
}


.study-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.study-card {
    padding: 35px 25px;

    background: var(--white);

    border-radius: var(--radius);

    text-align: center;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition: 0.3s;
}


.study-card:hover {
    transform: translateY(-7px);
}


.study-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 24px;
}


.study-icon.blue {
    color: var(--blue);
    background: #e8f2ff;
}


.study-icon.yellow {
    color: var(--yellow-dark);
    background: #fff7d6;
}


.study-icon.green {
    color: var(--green);
    background: #e5f8f0;
}


.study-card h3 {
    margin-bottom: 8px;

    font-size: 20px;
}


.study-card p {
    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   ASSESSMENT
   ========================================================= */

.assessment-section {
    background: var(--white);
}


.assessment-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.assessment-card {
    padding: 30px 20px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: 0.3s;
}


.assessment-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);
}


.assessment-card > i {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple-red)
        );

    font-size: 21px;
}


.assessment-card h3 {
    font-size: 18px;

    margin-bottom: 7px;
}


.assessment-card p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   CERTIFICATE
   ========================================================= */

.certificate-section {
    padding: 55px 0;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--purple-dark)
        );

    color: var(--white);
}


.certificate-content {
    display: flex;

    align-items: center;

    gap: 30px;
}


.certificate-icon {
    width: 90px;
    height: 90px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--dark);

    background: var(--yellow);

    font-size: 34px;

    box-shadow:
        0 12px 25px rgba(0,0,0,0.2);
}


.certificate-content .section-tag {
    color: var(--yellow);
}


.certificate-content h2 {
    margin-top: 8px;

    font-size: 34px;
}


.certificate-content h2 span {
    color: var(--yellow);
}


.certificate-content p {
    margin-top: 10px;

    max-width: 750px;

    color: rgba(255,255,255,0.85);
}


/* =========================================================
   ENROLL CTA
   ========================================================= */

.enroll-section {
    padding: 70px 0;

    background:
        linear-gradient(
            100deg,
            var(--blue),
            var(--purple-red)
        );
}


.enroll-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    color: var(--white);
}


.enroll-content .section-tag {
    color: var(--yellow);
}


.enroll-content h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 43px);

    line-height: 1.15;
}


.enroll-content h2 span {
    color: var(--yellow);
}


.enroll-content p {
    max-width: 650px;

    margin-top: 12px;

    color: rgba(255,255,255,0.88);
}


.enroll-buttons {
    display: flex;

    gap: 12px;

    flex-shrink: 0;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 14px 22px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s;
}


.btn-yellow {
    background: var(--yellow);

    color: var(--dark);
}


.btn-yellow:hover {
    background: var(--white);

    transform: translateY(-3px);
}


.btn-outline {
    border: 2px solid rgba(255,255,255,0.8);

    color: var(--white);
}


.btn-outline:hover {
    background: var(--white);

    color: var(--blue);
}


/* =========================================================
   FOOTER
   ========================================================= */

/* ================= 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 DESIGN
   ========================================================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 0;
    }


    .navbar > a,
    .drop-btn {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 13px;
    }


    .course-info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .units-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .assessment-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .top-bar-content {
        justify-content: center;
    }


    .top-left {
        display: none;
    }


    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }


    .navbar {
        position: absolute;

        top: 100%;

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px 5%;

        background: var(--white);

        box-shadow:
            0 12px 20px rgba(0,0,0,0.1);
    }


    .navbar.show {
        display: flex;
    }


    .navbar > a,
    .drop-btn {
        width: 100%;

        padding: 13px 8px;

        text-align: left;
    }


    .drop-btn {
        justify-content: space-between;
    }


    .dropdown-menu {
        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        width: 100%;

        box-shadow: none;

        border-top: none;

        border-left: 3px solid var(--blue);

        border-radius: 0;

        padding-left: 10px;
    }


    .dropdown.open .dropdown-menu {
        display: block;
    }


    .dropdown:hover .dropdown-menu {
        display: none;
    }


    .dropdown.open:hover .dropdown-menu {
        display: block;
    }


    .coverage-grid {
        grid-template-columns: 1fr;
    }


    .enroll-content {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    section {
        padding: 65px 0;
    }


    .course-hero {
        min-height: 420px;
    }


    .hero-content {
        padding: 65px 0;
    }


    .hero-content h1 {
        font-size: 43px;
    }


    .hero-content > p {
        font-size: 16px;
    }


    .course-info-grid,
    .units-grid,
    .study-grid,
    .assessment-grid {
        grid-template-columns: 1fr;
    }


    .coverage-box,
    .requirements-box {
        padding: 28px 22px;
    }


    .certificate-content {
        align-items: flex-start;

        flex-direction: column;
    }


    .certificate-content h2 {
        font-size: 30px;
    }


    .enroll-buttons {
        width: 100%;
    }


    .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;
    }
}


@media (max-width: 420px) {

    .top-right {
        gap: 5px;
    }


    .hero-content h1 {
        font-size: 38px;
    }


    .unit-circle {
        width: 100px;
        height: 100px;

        font-size: 30px;
    }

}