/* =========================================================
   INNOVATIONSKILLS
   Premium Technical Training Institute Website
   ========================================================= */

:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-soft: #f1f4f7;

    --text: #111827;
    --text-dark: #0b1220;
    --muted: #667085;

    --primary-special: #d8e8fc;
    --primary: #0b63ce;
    --primary-dark: #084c9f;
    --primary-soft: #eaf3ff;

    --border: #e5e7eb;

    --radius: 18px;
    --radius-sm: 12px;

    --shadow-sm: 0 5px 20px rgba(15, 23, 42, 0.06);
    --shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

    --container: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--primary-special);
    color: var(--text);
    font-weight: 800;
    font-size: 13px;
}

.topbar .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar a {
    transition: color .2s ease;
}

.topbar a:hover {
    color: #72b2ff;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: max-content;
}

.brand-mark {
    width: 64px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content:left;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.brand-sub {
    display: block;
    margin-top: 1px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    position: relative;
    padding: 29px 0;
    font-size: 14px;
    font-weight: 600;
    color: #475467;
    transition:
        color .2s ease,
        transform .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--primary);
}


/* =========================================================
   NAV CTA
   ========================================================= */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    box-shadow:
        0 8px 20px rgba(82, 139, 209, 0.18);
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow:
        0 12px 25px rgba(11, 99, 206, .25);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 9px 14px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    padding: 95px 0 90px;
    background: #d8e8fc;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -250px;
    top: -250px;
    border-radius: 50%;
    border: 1px solid rgba(11, 99, 206, .08);
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

    align-items: center;

    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 20px;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.055em;
    color: var(--text-dark);
}

.hero h1 span {
    color: var(--primary);
}

.hero > .container > .hero-grid > div > p {
    max-width: 650px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    font-weight: 300;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;

    box-shadow:
        0 10px 24px rgba(11, 99, 206, .2);
}

.btn-primary:hover {
    background: var(--primary-dark);

    box-shadow:
        0 14px 28px rgba(11, 99, 206, .28);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: .5px solid var(--primary);
}

.btn-secondary:hover {
    border-color: #b8c0cc;
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    border: 1px solid var(--primary);
    background: #ffffff;
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--border);
    color: var(--primary-dark);
}


/* =========================================================
   HERO STATS
   ========================================================= */

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--primary);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat b {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 800;
}

.stat span {
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-board {
    position: relative;

    width: min(100%, 480px);
    aspect-ratio: 1 / .85;

    border-radius: 28px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #101a2c,
            #0c1524
        );

    box-shadow:
        0 35px 70px rgba(15, 23, 42, .18);

    border: 1px solid rgba(255, 255, 255, .08);
}

.grid-lines {
    position: absolute;
    inset: 0;

    opacity: .22;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .12) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}

.scope {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.scope.one {
    width: 320px;
    height: 320px;
    left: 75px;
    top: 55px;
}

.scope.two {
    width: 190px;
    height: 190px;
    left: 140px;
    top: 120px;
}

.chip {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    border-radius: 16px;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .15);

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    backdrop-filter: blur(8px);
}

.chip.a {
    left: 55px;
    top: 65px;
}

.chip.b {
    right: 55px;
    bottom: 70px;
}

.circuit {
    position: absolute;
    height: 2px;
    background: #4d9cff;
    opacity: .8;
}

.c1 {
    width: 180px;
    right: 35px;
    top: 150px;
    transform: rotate(25deg);
}

.c2 {
    width: 150px;
    left: 40px;
    bottom: 115px;
    transform: rotate(-20deg);
}
/* =========================================================
    about
   ========================================================= */

.about{
    display: flex;
    flex-direction: row;
    width: 90vw;
    margin: auto;
    gap: 15px;
    /* flex-wrap: wrap; */
}
.about img{
    /* margin-top: 74px; */
}
.about h2{
    font-size:64px;
    line-height: 52px;
    /* letter-spacing: 3px; */
    font-weight: bolder;
    margin-top: 34px;
}
.about p {
    font-weight: bold;
    margin-top: 26px;
    margin-bottom: 32px;
}
.about a {
    text-decoration: none;
    border: 2px solid black;
    border-radius: 15px;
    padding: 4px 8px;
    align-items: center;
    font-size:16px;
    font-weight: bold;
    justify-content: center;
}
/* =========================================================
   FLOATING CARDS
   ========================================================= */

.floating-card {
    position: absolute;

    padding: 13px 17px;

    border-radius: 11px;

    background: rgba(255, 255, 255, .96);

    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, .13);

    color: var(--text);

    font-size: 12px;
    font-weight: 700;

    z-index: 2;

    animation: floatCard 4s ease-in-out infinite;
}

.fc1 {
    top: 60px;
    left: 0;
}

.fc2 {
    right: 0;
    top: 185px;
    animation-delay: .8s;
}

.fc3 {
    left: 35px;
    bottom: 55px;
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 90px 0;
}

.section.band {
    background: #eef3f8;

    border-top: 1px solid #e4e9ef;
    border-bottom: 1px solid #e4e9ef;
}

.section-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 35px;

    margin-bottom: 42px;
}

.section-title h2 {
    color: var(--text-dark);

    font-size: clamp(
        30px,
        4vw,
        42px
    );

    line-height: 1.1;

    letter-spacing: -.045em;
}

.section-title > p {
    max-width: 520px;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   GRID
   ========================================================= */

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 28px;

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.card:hover {
    transform: translateY(-5px);

    border-color: #cdd5df;

    box-shadow: var(--shadow);
}

.card h3 {
    color: var(--text-dark);

    font-size: 18px;

    line-height: 1.3;

    margin-bottom: 10px;
}

.card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.category-card {
    min-height: 230px;
}

.iconbox {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 13px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 22px;

    border: 1px solid #d7e8ff;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process .card {
    position: relative;
    padding-top: 32px;
}

.process .card::before {
    content: "";

    position: absolute;

    left: 28px;
    top: 0;

    width: 35px;
    height: 3px;

    background: var(--primary);

    border-radius: 20px;
}


/* =========================================================
   COURSE CARDS / PROGRAMS
   ========================================================= */

.course {
    margin: auto;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    gap: 20px;
}

#featuredCourses .card {
    min-height: 230px;
}

#featuredCourses .card a {
    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 25px;

    background-color: #000;

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 50px;
}

.footer .brand-title {
    color: #ffffff;
}

.footer .brand-sub {
    color: #9ca9bb;
}

.footer .brand-mark {
    background: rgba(255, 255, 255, .06);
}

.footer-grid > div > p {
    max-width: 350px;
    margin-top: 20px;

    color: #9ca9bb;

    font-size: 14px;
    line-height: 1.8;
}

.footer h4 {
    margin-bottom: 18px;

    letter-spacing: 1px;

    color: #ffffff;

    font-size: 18px;
}

.footer-grid > div > a:not(.brand) {
    display: block;

    margin-bottom: 11px;

    color: #9ca9bb;

    font-size: 15px;

    transition: color .2s ease;
}

.footer-grid > div > a:not(.brand):hover {
    color: #ffffff;
}

.footer-grid i {
    margin-right: 7px;
}

.icons {
    display: flex;
    flex-direction: row;
    gap: 13px;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, .1);

    color: #7f8da1;

    font-size: 11px;
}
/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: #cfe3ff;
    color: #07111f;
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(11, 99, 206, .3);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        padding-top: 75px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 800px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .course {
        margin-left: 8vw;
    }

    .topbar .container {
        min-height: 34px;
        font-size: 11px;
    }

    .topbar .container span:first-child {
        display: none;
    }

    .nav {
        min-height: 70px;
        position: relative;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        background: rgba(255, 255, 255, .98);

        border: 1px solid var(--border);

        border-top: 0;

        box-shadow:
            0 18px 35px rgba(15, 23, 42, .12);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 12px;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--primary-soft);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 65px 0 60px;
    }

    .hero h1 {
        font-size: clamp(
            40px,
            11vw,
            55px
        );
    }

    .hero > .container > .hero-grid > div > p {
        font-size: 15px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .tech-board {
        width: 100%;
    }

    .floating-card {
        font-size: 10px;
        padding: 10px 12px;
    }

    .fc1 {
        left: -4px;
        top: 30px;
    }

    .fc2 {
        right: -4px;
        top: 155px;
    }

    .fc3 {
        left: 15px;
        bottom: 25px;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .copyright {
        flex-direction: column;
        gap: 8px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {
.about{
    flex-direction: column;
}
.about h2{
    font-size:42px;
}
    .brand-sub {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 18px;
        margin-top: 32px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .tech-board {
        border-radius: 20px;
    }

    .scope.one {
        width: 230px;
        height: 230px;

        left: 35px;
        top: 35px;
    }

    .scope.two {
        width: 140px;
        height: 140px;

        left: 80px;
        top: 80px;
    }

    .chip {
        width: 52px;
        height: 52px;

        font-size: 14px;
    }

    .chip.a {
        left: 25px;
        top: 35px;
    }

    .chip.b {
        right: 25px;
        bottom: 35px;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
