@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #ffffff;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e9eef5;
}

.nav-container {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    letter-spacing: 1px;
}

.logo span,
.footer-logo span {
    color: #2563eb;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 7px;
}

.navbar a {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #2563eb;
    background: #eff6ff;
}

.navbar .nav-login {
    color: white;
    background: #2563eb;
    margin-left: 8px;
}

.navbar .nav-login:hover {
    color: white;
    background: #1d4ed8;
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    border: 0;
    background: #eff6ff;
    color: #2563eb;
    font-size: 24px;
    padding: 7px 11px;
    border-radius: 8px;
    cursor: pointer;
}

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

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, #dbeafe 0, transparent 25%),
        radial-gradient(circle at 10% 90%, #e0f2fe 0, transparent 25%),
        #ffffff;
}

.hero-content {
    max-width: 700px;
}

.badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 82px);
    line-height: 1.05;
    color: #111827;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    color: #64748b;
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 9px;
    font-weight: 700;
    border: 2px solid #2563eb;
    cursor: pointer;
    transition: .3s;
}

.btn-primary {
    color: white;
    background: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37,99,235,.2);
}

.btn-outline {
    color: #2563eb;
    background: white;
}

.btn-outline:hover {
    background: #eff6ff;
    transform: translateY(-3px);
}

/* HERO COMPUTER */

.hero-visual {
    position: absolute;
    right: 7%;
    width: 390px;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.computer {
    width: 320px;
    height: 220px;
    background: #111827;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(15,23,42,.2);
    animation: float 4s ease-in-out infinite;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#eff6ff,#dbeafe);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}

.computer-stand {
    position: absolute;
    bottom: 30px;
    width: 90px;
    height: 15px;
    background: #334155;
    border-radius: 10px;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: #f8fafc;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading .small-title {
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 38px;
    color: #111827;
    margin: 8px 0 12px;
}

.section-heading p {
    color: #64748b;
}

/* ================= CARDS ================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 28px;
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
}

.card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    font-size: 27px;
    margin-bottom: 18px;
}

.card h3 {
    margin-bottom: 10px;
    color: #111827;
}

.card p {
    color: #64748b;
}

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

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

.stat {
    text-align: center;
    padding: 25px;
}

.stat h3 {
    font-size: 35px;
    color: #2563eb;
}

.stat p {
    color: #64748b;
}

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

.page-hero {
    background: linear-gradient(135deg,#eff6ff,#ffffff);
    padding: 90px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
    font-size: 52px;
    color: #111827;
}

.page-hero p {
    color: #64748b;
    max-width: 650px;
    margin: 10px auto 0;
}

/* ================= COURSE ================= */

.course-card {
    overflow: hidden;
}

.course-card .course-top {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#eff6ff,#dbeafe);
    font-size: 65px;
}

.course-card .course-body {
    padding: 25px;
}

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

.course-card p {
    color: #64748b;
    margin-bottom: 20px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}

.contact-info {
    background: #eff6ff;
    border-radius: 15px;
    padding: 35px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 10px;
    background: white;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 35px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    padding: 13px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #dbeafe;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.success {
    padding: 15px;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    margin-bottom: 20px;
}

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

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-logo {
    color: white;
    font-size: 27px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #60a5fa;
}

.footer h3 {
    color: white;
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    display: block;
    margin-bottom: 8px;
    transition: .2s;
}

.footer a:hover {
    color: #60a5fa;
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1e293b;
    color: white;
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 950px) {

    .hero-visual {
        display: none;
    }

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

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

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

@media(max-width: 700px) {

    .navbar {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        padding: 15px;
        flex-direction: column;
    }

    .navbar.show {
        display: flex;
    }

    .navbar a {
        width: 100%;
        text-align: center;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: 600px;
    }

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

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

    .hero-buttons .btn {
        width: 100%;
    }

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

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

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

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