/* ================= RESET ================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* ================= HEADER ================= */

.header {
    width: 100%;
    height: 78px;
    padding: 0 6%;
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#087ff5,#00c6ff);
    color: white;
    border-radius: 12px;
    font-size: 23px;
}

.logo-text {
    font-size: 27px;
    font-weight: 800;
    color: #111827;
}

.logo-text span {
    color: #087ff5;
}

.tagline {
    color: #718096;
    font-size: 11px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #263247;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}

nav a:not(.nav-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #087ff5;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg,#087ff5,#005bd4);
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(8,127,245,0.25);
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 25px;
    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    min-height: 650px;
    padding: 80px 6%;
    color: white;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0,200,255,0.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 65% 80%,
            rgba(40,90,255,0.25),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #020617,
            #071b49 50%,
            #00143d
        );
}

.hero-container {
    max-width: 1400px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.hero-content {
    width: 52%;
}

.hero-badge {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 30px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);

    color: #4dc9ff;
    font-size: 12px;
    font-weight: bold;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.08;
    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(90deg,#00c6ff,#6ee7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #cbd5e1;
    font-size: 17px;
    max-width: 680px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: #087ff5;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(8,127,245,0.35);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: white;
    color: #07183d;
}

.btn-whatsapp {
    background: #16a34a;
    color: white;
}

.btn-whatsapp:hover {
    background: #12833c;
    transform: translateY(-3px);
}


/* ================= TECHNOLOGY PANEL ================= */

.technology-box {
    width: 44%;

    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 18px;

    padding: 25px;

    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);

    border-radius: 25px;

    backdrop-filter: blur(15px);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.3);
}

.technology-card {
    height: 125px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.07);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 15px;

    transition: 0.35s;
}

.technology-card:hover {
    transform: scale(1.06) translateY(-5px);

    background: rgba(8,127,245,0.2);

    border-color: #087ff5;

    box-shadow: 0 12px 30px rgba(0,126,255,0.2);
}

.technology-card i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #fff;
}

.technology-card span {
    font-weight: 700;
    font-size: 13px;
}


/* ================= FEATURES ================= */

.features {
    max-width: 1300px;
    margin: -45px auto 0;

    position: relative;
    z-index: 5;

    background: white;

    padding: 25px;

    border-radius: 18px;

    display: grid;
    grid-template-columns: repeat(5,1fr);

    gap: 15px;

    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.feature {
    padding: 15px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-right: 1px solid #e5e7eb;
}

.feature:last-child {
    border-right: none;
}

.feature-icon {
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eaf4ff;

    color: #087ff5;

    font-size: 20px;
}

.feature h3 {
    font-size: 14px;
}

.feature p {
    font-size: 12px;
    color: #718096;
}


/* ================= COURSES ================= */

.courses {
    padding: 100px 6%;
    max-width: 1500px;
    margin: auto;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header h2,
.section-title h2 {
    font-size: 36px;
    color: #111827;
}

.section-header p,
.section-title p {
    color: #718096;
}

.view-all {
    color: #087ff5;
    font-weight: bold;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.course-card {
    background: white;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    transition: 0.4s;

    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 50px rgba(15,23,42,0.12);
}

.course-image {
    height: 175px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: white;

    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: "";

    width: 160px;
    height: 160px;

    position: absolute;

    border-radius: 50%;

    background: rgba(255,255,255,0.1);

    top: -80px;
    right: -50px;
}

.course-image i {
    font-size: 58px;
    z-index: 2;
}

.course-image span {
    margin-top: 10px;
    font-weight: 800;
    z-index: 2;
}

.aws {
    background: linear-gradient(135deg,#111827,#000);
}

.azure {
    background: linear-gradient(135deg,#0086ff,#004477);
}

.java {
    background: linear-gradient(135deg,#f97316,#991b1b);
}

.python {
    background: linear-gradient(135deg,#3776ab,#1e3a8a);
}

.cyber {
    background: linear-gradient(135deg,#312e81,#111827);
}

.linux {
    background: linear-gradient(135deg,#111827,#4b5563);
}

.networking {
    background: linear-gradient(135deg,#0369a1,#172554);
}

.devops {
    background: linear-gradient(135deg,#0f4c81,#312e81);
}

.course-content {
    padding: 22px;
}

.course-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.course-content p {
    font-size: 13px;
    color: #64748b;

    min-height: 85px;
}

.course-content a {
    color: #087ff5;
    font-size: 13px;
    font-weight: bold;
}


/* ================= ABOUT ================= */

.about {
    padding: 90px 6%;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.section-badge {
    color: #087ff5;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about h2 {
    font-size: 40px;
    margin: 12px 0 20px;
}

.about h2 span {
    color: #087ff5;
}

.about p {
    color: #64748b;
    margin-bottom: 15px;
}


/* ================= SERVICES ================= */

.services {
    padding: 90px 6%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 20px;
}

.service-card {
    background: white;

    padding: 35px 25px;

    border-radius: 16px;

    border: 1px solid #e2e8f0;

    text-align: center;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #087ff5;

    box-shadow: 0 20px 40px rgba(8,127,245,0.12);
}

.service-card i {
    font-size: 42px;
    color: #087ff5;
    margin-bottom: 18px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #64748b;
    font-size: 13px;
}


/* ================= STATS ================= */

.stats {
    background: #020617;

    color: white;

    padding: 60px 6%;

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 30px;
}

.stat {
    text-align: center;
}

.stat i {
    color: #0b91ff;
    font-size: 35px;
    margin-bottom: 8px;
}

.stat strong {
    display: block;
    font-size: 35px;
}

.stat span {
    color: #94a3b8;
    font-size: 13px;
}


/* ================= REGISTER ================= */

.register {
    padding: 55px 8%;

    background:
        linear-gradient(
            135deg,
            #087ff5,
            #0044a8
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.register h2 {
    font-size: 32px;
}

.register p {
    color: #dbeafe;
}


/* ================= CONTACT ================= */

.contact {
    padding: 90px 6%;
}

.contact-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 25px;
}

.contact-card {
    background: white;

    padding: 35px;

    text-align: center;

    border-radius: 16px;

    border: 1px solid #e2e8f0;

    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-card i {
    font-size: 35px;

    color: #087ff5;

    margin-bottom: 15px;
}

.contact-card a {
    color: #087ff5;
    font-weight: bold;
}


/* ================= FOOTER ================= */

footer {
    padding: 45px 6%;

    background: #01040d;

    color: #94a3b8;

    text-align: center;
}

.footer-logo {
    color: white;
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #087ff5;
}

.copyright {
    margin-top: 15px;
    font-size: 12px;
}


/* ================= WHATSAPP ================= */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #20c863;

    color: white;

    font-size: 30px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.25);

    z-index: 999;

    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(32,200,99,0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(32,200,99,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(32,200,99,0);
    }
}


/* ================= SCROLL ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ================= MOBILE ================= */

@media(max-width:1100px) {

    .hero h1 {
        font-size: 45px;
    }

    .course-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .features {
        grid-template-columns: repeat(2,1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


@media(max-width:800px) {

    .header {
        height: auto;
        padding: 15px 5%;
        flex-wrap: wrap;
    }

    .menu-btn {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    .hero {
        padding: 60px 5%;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-content,
    .technology-box {
        width: 100%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .technology-box {
        grid-template-columns: repeat(2,1fr);
    }

    .features {
        margin: 0 5%;
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2,1fr);
    }

    .register {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}


@media(max-width:500px) {

    .technology-box {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
    }

    .technology-card {
        height: 105px;
    }

    .technology-card i {
        font-size: 30px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 35px;
    }
}
