
/* =========================================
   SIDO TECH COMPUTER TRAINING PAGE
   Brand colours: Blue, Yellow, Purple-Red, Green
========================================= */

:root {
    --blue: #1565C0;
    --blue-dark: #0D47A1;
    --blue-light: #EAF3FF;

    --yellow: #FBC02D;
    --yellow-dark: #E5A900;
    --yellow-light: #FFF8D9;

    --purple-red: #8E244D;
    --purple-light: #F8E8EF;

    --green: #2E7D32;
    --green-light: #E8F5E9;

    --white: #FFFFFF;
    --dark: #172033;
    --text: #596579;
    --light: #F7F9FC;
    --border: #E5EAF1;

    --shadow: 0 12px 35px rgba(20, 40, 80, 0.09);
    --radius: 16px;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input {
    font: inherit;
}

section {
    scroll-margin-top: 85px;
}

.section-padding {
    padding: 90px 7%;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    line-height: 1.3;
}

p {
    font-size: 15px;
}

::selection {
    color: var(--white);
    background: var(--blue);
}
.container {
    width: 90%;
    max-width: 1200px;
    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;
		position: sticky;

    top: 0;

    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;
}


.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-yellow {
    color: var(--dark);
    background: var(--yellow);
    box-shadow: 0 8px 20px rgba(251, 192, 45, 0.2);
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

.btn-blue {
    color: var(--white);
    background: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-dark);
}

.btn-outline {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    color: var(--blue-dark);
    background: var(--white);
}


/* =========================================
   HERO
========================================= */

.training-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 85px 7%;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(7, 39, 91, 0.96), rgba(21, 101, 192, 0.78)),
        url("images/computer-training.jpg") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    border: 70px solid rgba(251, 192, 45, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}
.breadcrumb {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 45px;

    font-size: 12px;
}
.breadcrumb span {
    color: var(--white);
}
.breadcrumb i {
    color: var(--white);
}
.breadcrumb a {
    color: var(--yellow);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 10px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    margin-bottom: 23px;
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.hero-content h1 {
    max-width: 780px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--yellow);
}

.hero-content > p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #EDF4FF;
    font-size: 16px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 45px;
}

.hero-highlights div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.hero-highlights i {
    color: var(--yellow);
    font-size: 20px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--purple-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.section-heading h2,
.intro-content h2,
.process-content h2 {
    margin-bottom: 17px;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
}

.section-heading h2 span,
.intro-content h2 span,
.process-content h2 span {
    color: var(--blue);
}

.section-heading p {
    max-width: 650px;
    margin: auto;
}


/* =========================================
   INTRODUCTION
========================================= */

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.intro-image {
    position: relative;
}

.intro-image > img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-badge {
    position: absolute;
    right: -20px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 22px;
    background: var(--white);
    border-left: 4px solid var(--yellow);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.image-badge > i {
    color: var(--purple-red);
    font-size: 28px;
}

.image-badge strong,
.image-badge span {
    display: block;
}

.image-badge strong {
    color: var(--dark);
    font-size: 14px;
}

.image-badge span {
    color: var(--text);
    font-size: 12px;
}

.intro-content h2 {
    font-size: clamp(28px, 3vw, 39px);
}

.intro-content p {
    margin-bottom: 17px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--purple-red);
}


/* =========================================
   COURSE CARDS
========================================= */

.courses {
    background: var(--light);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 27px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 5px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 6px 22px rgba(20, 40, 80, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 110px;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.blue-card {
    --course-color: var(--blue);
    --course-light: var(--blue-light);
    border-top-color: var(--blue);
}

.yellow-card {
    --course-color: #B78300;
    --course-light: var(--yellow-light);
    border-top-color: var(--yellow);
}

.purple-card {
    --course-color: var(--purple-red);
    --course-light: var(--purple-light);
    border-top-color: var(--purple-red);
}

.green-card {
    --course-color: var(--green);
    --course-light: var(--green-light);
    border-top-color: var(--green);
}

.course-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
    color: var(--course-color, var(--blue));
    background: var(--course-light, var(--blue-light));
    border-radius: 15px;
    font-size: 27px;
}

.course-number {
    margin-bottom: 8px;
    color: var(--course-color, var(--blue));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.course-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.course-card > p {
    margin-bottom: 20px;
    font-size: 13px;
}

.course-card h4 {
    margin-bottom: 12px;
    font-size: 14px;
}

.course-card ul {
    margin-bottom: 24px;
}

.course-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.course-card li i {
    margin-top: 5px;
    color: var(--course-color, var(--blue));
    font-size: 12px;
}

.course-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 17px;
    margin-top: auto;
    color: var(--course-color, var(--blue));
    border-top: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
}

.course-link i {
    transition: transform 0.3s ease;
}

.course-link:hover i {
    transform: translateX(5px);
}


/* =========================================
   WHY CHOOSE SIDO TECH
========================================= */

.why-us {
    background: var(--white);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 30px 22px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 18px;
    font-size: 25px;
}

.blue-bg {
    color: var(--blue);
    background: var(--blue-light);
}

.yellow-bg {
    color: #9B7000;
    background: var(--yellow-light);
}

.purple-bg {
    color: var(--purple-red);
    background: var(--purple-light);
}

.green-bg {
    color: var(--green);
    background: var(--green-light);
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.benefit-card p {
    font-size: 13px;
}


/* =========================================
   LEARNING PROCESS
========================================= */

.learning-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    background: var(--light);
}

.process-content h2 {
    margin-bottom: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.step-number {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
}

.process-step:nth-of-type(2) .step-number {
    color: var(--purple-red);
    background: var(--purple-light);
}

.process-step:nth-of-type(3) .step-number {
    color: var(--green);
    background: var(--green-light);
}

.process-step h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.process-step p {
    font-size: 13px;
}

.process-content > .btn {
    margin-top: 8px;
}

.process-image {
    position: relative;
}

.process-image > img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.process-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.process-caption > i {
    color: var(--purple-red);
    font-size: 30px;
}

.process-caption strong,
.process-caption span {
    display: block;
}

.process-caption strong {
    color: var(--dark);
    font-size: 14px;
}

.process-caption span {
    font-size: 12px;
}


/* =========================================
   CALL TO ACTION
========================================= */

.training-cta {
    position: relative;
    padding: 80px 7%;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(120deg, var(--blue-dark), var(--blue));
}

.training-cta::before,
.training-cta::after {
    position: absolute;
    content: "";
    width: 250px;
    height: 250px;
    border: 45px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.training-cta::before {
    top: -130px;
    left: -70px;
}

.training-cta::after {
    right: -90px;
    bottom: -150px;
    border-color: rgba(251, 192, 45, 0.2);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: auto;
}

.cta-content > span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cta-content h2 {
    margin: 15px 0;
    color: var(--white);
    font-size: clamp(28px, 4vw, 43px);
    font-weight: 800;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: #EAF2FF;
}


/* ================= 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: 48px;

    height: 48px;

    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;
    }
		
		.container {
    width: 88%;
	}
}
@media (max-width: 1150px) {
    .section-padding {
        padding: 75px 5%;
    }

    .course-grid {
        gap: 20px;
    }

    .course-card {
        padding: 25px 20px;
    }

}

@media (max-width: 950px) {
 .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        height: 320px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 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;
    }
@media (max-width: 900px) {
    

    .training-hero {
        min-height: 560px;
        padding: 75px 6%;
    }

    .intro,
    .learning-process {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .intro-image {
        max-width: 650px;
    }

    .intro-image > img {
        height: 380px;
    }

    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-image {
        max-width: 650px;
    }
 }
@media (max-width: 650px) {

    .top-right {

        gap: 30px;

        font-size: 11px;
    }

    .logo-text strong {
        font-size: 19px;
    }
		
		.btn {
   width: 100%
}

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
				padding-top:35px;
				padding-bottom:20px
    }

    .footer-bottom .container {

        flex-direction: column;

        justify-content: center;

        padding: 16px 0;
				
				 gap: 10px;
        text-align: center;
    }

}

@media (max-width: 560px) {
    .section-padding {
        padding: 60px 5%;
    }


    .training-hero {
        min-height: auto;
        padding: 75px 5%;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .intro-content h2,
    .process-content h2 {
        font-size: 29px;
    }

    .intro-image > img {
        height: 290px;
    }

    .image-badge {
        right: 10px;
        bottom: 12px;
        padding: 12px;
    }

    .course-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 27px 23px;
    }

    .process-image > img {
        height: 320px;
    }

    .process-caption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 13px;
    }

    .training-cta {
        padding: 65px 5%;
    }

   
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
