﻿/* =========================================================
   CLASSES OF IT
   PREMIUM 3D HEADER + FOOTER
========================================================= */

:root {
    --navy: #20396F;
    --navy-dark: #172A55;
    --navy-light: #395A94;
    --purple: #302360;
    --red: #E71937;
    --red-dark: #C70F2D;
    --white: #FFFFFF;
    --text: #202733;
    --muted: #7B8492;
    --light: #F7F9FC;
    --border: #E7EAF0;
    --transition: all .35s cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}


img {
    display: block;
    max-width: 100%;
}


button {
    font-family: inherit;
}


ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.co-container {
    width: 100%;
    max-width: 1380px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}


/* =========================================================
   LOADER
========================================================= */

.co-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity .5s ease, visibility .5s ease;
}


    .co-loader.hide {
        opacity: 0;
        visibility: hidden;
    }


.co-loader-content {
    text-align: center;
}


.co-loader-logo img {
    width: 230px;
    animation: loaderFloat 1.5s ease-in-out infinite;
}


.co-loader-bar {
    width: 150px;
    height: 3px;
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 10px;
    background: #e9edf4;
}


    .co-loader-bar span {
        display: block;
        width: 45%;
        height: 100%;
        background: linear-gradient( 90deg, var(--navy), var(--red) );
        animation: loaderMove 1.1s infinite;
    }


@keyframes loaderFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


@keyframes loaderMove {

    from {
        transform: translateX(-150%);
    }

    to {
        transform: translateX(350%);
    }
}


/* =========================================================
   HEADER
========================================================= */

.co-header {
    position: relative;
    z-index: 5000;
    background: white;
}


/* =========================================================
   TOP BAR
========================================================= */

.co-topbar {
    height: 34px;
    position: relative;
    color: white;
    background: linear-gradient( 100deg, var(--navy-dark), var(--navy) );
}


    .co-topbar::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient( 90deg, transparent, var(--red), transparent );
    }


.co-topbar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.co-top-left,
.co-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}


    .co-top-left a,
    .co-top-left span,
    .co-top-right a,
    .co-top-right span {
        color: rgba(255,255,255,.93);
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
    }


    .co-top-left i,
    .co-top-right i {
        margin-right: 4px;
    }


    .co-top-left a:hover,
    .co-top-right a:hover {
        color: #ffb9c4;
    }


.co-divider {
    width: 1px;
    height: 13px;
    background: rgba(255,255,255,.22);
}


.co-mini-divider {
    opacity: .35;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.co-navigation {
    height: 78px;
    position: relative;
    background: white;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}


.co-navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.co-logo {
    flex-shrink: 0;
    perspective: 800px;
}


    .co-logo img {
        width: 245px;
        transition: var(--transition);
        transform-style: preserve-3d;
    }


    .co-logo:hover img {
        transform: perspective(800px) rotateY(-5deg) translateY(-2px) scale(1.015);
        filter: drop-shadow( 0 8px 14px rgba(32,57,111,.18) );
    }


/* =========================================================
   NAVIGATION MENU
========================================================= */

.co-nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}


.co-nav-item {
    position: relative;
}


.co-nav-link {
    height: 45px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #20242b;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition);
    transform-style: preserve-3d;
}


.co-icon-box {
    color: var(--navy);
    transition: var(--transition);
}


.co-nav-link:hover {
    color: white;
    background: linear-gradient( 135deg, var(--navy), var(--navy-light) );
    box-shadow: 0 9px 20px rgba(32,57,111,.18);
}


    .co-nav-link:hover .co-icon-box {
        color: white;
        transform: translateZ(8px);
    }


.co-nav-link.active {
    color: white;
    background: linear-gradient( 135deg, var(--navy), var(--navy-light) );
    box-shadow: 0 8px 18px rgba(32,57,111,.18);
}


    .co-nav-link.active .co-icon-box {
        color: white;
    }


/* =========================================================
   ARROW
========================================================= */

.co-arrow {
    font-size: 8px;
    color: #7f8794;
    transition: var(--transition);
}


.co-dropdown:hover .co-arrow {
    color: white;
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN
========================================================= */

.co-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 380px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 15px) perspective(900px) rotateX(-8deg);
    transform-origin: top center;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(32,57,111,.08);
    box-shadow: 0 25px 60px rgba(20,35,65,.18);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}


    .co-dropdown-menu::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        width: 12px;
        height: 12px;
        background: white;
        transform: translateX(-50%) rotate(45deg);
    }


.co-dropdown:hover .co-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) perspective(900px) rotateX(0);
}


/* =========================================================
   DROPDOWN TOP
========================================================= */

.co-dropdown-top {
    min-height: 52px;
    padding: 7px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f4;
}


    .co-dropdown-top span {
        display: block;
        color: var(--red);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }


    .co-dropdown-top strong {
        display: block;
        margin-top: 2px;
        color: var(--navy);
        font-family: 'Outfit', sans-serif;
        font-size: 15px;
    }


    .co-dropdown-top > i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        border-radius: 10px;
        background: linear-gradient( 135deg, var(--navy), var(--purple) );
        box-shadow: 0 8px 15px rgba(32,57,111,.16);
    }


/* =========================================================
   COURSE ITEM
========================================================= */

.co-course-item {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-radius: 9px;
    transition: var(--transition);
}


    .co-course-item:hover {
        background: linear-gradient( 90deg, #f3f6fb, #ffffff );
        transform: translateX(4px);
    }


/* =========================================================
   COURSE ICON
========================================================= */

.co-course-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: #f1f4f9;
    border-radius: 8px;
    transition: var(--transition);
}


.co-course-item:hover .co-course-icon {
    color: white;
    background: linear-gradient( 135deg, var(--navy), var(--purple) );
    transform: rotateY(15deg);
}


/* =========================================================
   COURSE TEXT
========================================================= */

.co-course-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}


    .co-course-info strong {
        color: #303641;
        font-size: 11px;
        font-weight: 700;
    }


    .co-course-info small {
        color: #969ca6;
        font-size: 9px;
    }


.co-course-item > .fa-arrow-right {
    color: #a4aab3;
    font-size: 9px;
    transition: var(--transition);
}


.co-course-item:hover > .fa-arrow-right {
    color: var(--red);
    transform: translateX(4px);
}


/* =========================================================
   MOBILE
========================================================= */

.co-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: linear-gradient( 135deg, var(--navy), var(--purple) );
    box-shadow: 0 8px 18px rgba(32,57,111,.20);
}


    .co-menu-toggle span {
        width: 21px;
        height: 2px;
        border-radius: 10px;
        background: white;
        transition: .3s;
    }


    .co-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }


    .co-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }


    .co-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


/* =========================================================
   STICKY
========================================================= */

.co-header.scrolled .co-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: 64px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 35px rgba(20,30,50,.12);
    animation: navSlide .35s ease;
}


.co-header.scrolled .co-navbar {
    height: 64px;
}


.co-header.scrolled .co-logo img {
    width: 215px;
}


@keyframes navSlide {

    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.co-main-content {
    min-height: 400px;
}


/* =========================================================
   FOOTER
========================================================= */

.co-footer {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient( 135deg, #0D1936 0%, #172D59 48%, #292052 100% );
}


/* =========================================================
   ANIMATED GRID
========================================================= */

.co-footer-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient( rgba(255,255,255,.35) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.35) 1px, transparent 1px );
    background-size: 45px 45px;
    mask-image: linear-gradient( to bottom, black, transparent );
    animation: gridMove 18s linear infinite;
}


@keyframes gridMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 45px 45px;
    }
}


/* =========================================================
   FOOTER ORBS
========================================================= */

.co-footer-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}


.co-orb-red {
    width: 380px;
    height: 380px;
    top: -250px;
    left: -100px;
    background: radial-gradient( circle, rgba(231,25,55,.22), transparent 70% );
    animation: orbRed 9s ease-in-out infinite;
}


.co-orb-blue {
    width: 500px;
    height: 500px;
    right: -250px;
    bottom: -300px;
    background: radial-gradient( circle, rgba(48,35,96,.70), transparent 70% );
    animation: orbBlue 11s ease-in-out infinite;
}


@keyframes orbRed {

    0%, 100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(90px,50px);
    }
}


@keyframes orbBlue {

    0%, 100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-80px,-50px);
    }
}


/* =========================================================
   FOOTER HERO
========================================================= */

.co-footer-hero {
    position: relative;
    z-index: 2;
    min-height: 150px;
    margin-top: 35px;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient( 110deg, rgba(255,255,255,.10), rgba(255,255,255,.035) );
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0,0,0,.20);
    transform-style: preserve-3d;
}


    .co-footer-hero::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: 10%;
        top: -160px;
        border-radius: 50%;
        background: rgba(231,25,55,.12);
    }


.co-footer-eyebrow {
    color: #ff7286;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


.co-footer-hero h2 {
    margin-top: 6px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 29px;
    line-height: 1.15;
}


    .co-footer-hero h2 span {
        color: #ff415c;
    }


.co-footer-hero p {
    max-width: 550px;
    margin-top: 8px;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    line-height: 1.7;
}


.co-footer-hero-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 23px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
    background: linear-gradient( 135deg, var(--red), var(--red-dark) );
    box-shadow: 0 12px 25px rgba(231,25,55,.25);
    transition: var(--transition);
}


    .co-footer-hero-btn:hover {
        color: white;
        transform: translateY(-4px);
        box-shadow: 0 18px 32px rgba(231,25,55,.35);
    }


    .co-footer-hero-btn i {
        transition: var(--transition);
    }


    .co-footer-hero-btn:hover i {
        transform: translateX(5px);
    }


/* =========================================================
   FOOTER MAIN
========================================================= */

.co-footer-main {
    position: relative;
    z-index: 2;
    padding-top: 55px;
    padding-bottom: 45px;
}


.co-footer-columns {
    display: grid;
    grid-template-columns: 1.35fr .75fr 1fr 1fr;
    gap: 50px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.co-footer-logo {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    transform-style: preserve-3d;
}


    .co-footer-logo img {
        width: 220px;
    }


    .co-footer-logo:hover {
        transform: perspective(800px) rotateY(-5deg) translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,0,0,.25);
    }


.co-footer-brand p {
    max-width: 360px;
    margin-top: 18px;
    color: rgba(255,255,255,.57);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   SOCIALS
========================================================= */

.co-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}


    .co-socials a {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        color: white;
        border: 1px solid rgba(255,255,255,.12);
        background: rgba(255,255,255,.06);
        transition: var(--transition);
    }


        .co-socials a:hover {
            color: white;
            background: var(--red);
            border-color: var(--red);
            transform: translateY(-5px) rotate(-5deg);
            box-shadow: 0 10px 20px rgba(231,25,55,.25);
        }


/* =========================================================
   FOOTER COLUMN
========================================================= */

.co-footer-column h3 {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
}


.co-footer-heading-line {
    width: 35px;
    height: 2px;
    margin-top: 8px;
    margin-bottom: 19px;
    border-radius: 10px;
    background: linear-gradient( 90deg, var(--red), white );
}


.co-footer-column > a {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.56);
    font-size: 12px;
    transition: var(--transition);
}


    .co-footer-column > a:hover {
        color: white;
        transform: translateX(6px);
    }


    .co-footer-column > a span {
        color: var(--red);
        font-size: 8px;
        font-weight: 800;
    }


    .co-footer-column > a i {
        width: 15px;
        color: var(--red);
        font-size: 10px;
    }


/* =========================================================
   CONTACT
========================================================= */

.co-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 17px;
}


.co-contact-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    transition: var(--transition);
}


.co-contact:hover .co-contact-icon {
    color: white;
    background: var(--red);
    transform: rotateY(15deg);
}


.co-contact small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255,255,255,.35);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .7px;
}


.co-contact p {
    color: rgba(255,255,255,.70);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.co-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,.08);
}


.co-footer-bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.co-footer-bottom p,
.co-footer-policies {
    color: rgba(255,255,255,.40);
    font-size: 10px;
}


.co-footer-policies {
    display: flex;
    align-items: center;
    gap: 9px;
}


    .co-footer-policies a {
        transition: var(--transition);
    }


        .co-footer-policies a:hover {
            color: white;
        }


/* =========================================================
   BACK TO TOP
========================================================= */

.co-back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient( 135deg, var(--navy), var(--purple) );
    box-shadow: 0 12px 25px rgba(32,57,111,.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}


    .co-back-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .co-back-top:hover {
        transform: translateY(-5px);
    }


/* =========================================================
   1200px
========================================================= */

@media (max-width: 1200px) {

    .co-logo img {
        width: 215px;
    }


    .co-nav-link {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 12px;
    }


    .co-footer-columns {
        gap: 28px;
    }
}


/* =========================================================
   992px
========================================================= */

@media (max-width: 992px) {

    .co-top-left {
        display: none;
    }


    .co-topbar-inner {
        justify-content: flex-end;
    }


    .co-navigation,
    .co-navbar {
        height: 70px;
    }


    .co-logo img {
        width: 215px;
    }


    .co-navbar {
        justify-content: space-between;
    }


    .co-menu-toggle {
        display: flex;
    }


    .co-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        padding: 0 15px;
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 45px rgba(20,30,50,.15);
        transition: max-height .45s ease, opacity .3s ease, visibility .3s ease, padding .3s ease;
    }


        .co-nav-menu.open {
            max-height: calc(100vh - 70px);
            overflow-y: auto;
            opacity: 1;
            visibility: visible;
            padding-top: 10px;
            padding-bottom: 10px;
        }


    .co-nav-item {
        width: 100%;
    }


    .co-nav-link {
        width: 100%;
        height: 46px;
        justify-content: flex-start;
        border-radius: 8px;
    }


    .co-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0 8px;
        opacity: 0;
        visibility: hidden;
        transform: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        transition: max-height .4s ease, opacity .3s ease;
    }


        .co-dropdown-menu::before {
            display: none;
        }


    .co-dropdown.open
    .co-dropdown-menu {
        max-height: 650px;
        opacity: 1;
        visibility: visible;
        padding-top: 5px;
        padding-bottom: 8px;
    }


    .co-dropdown:hover
    .co-dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }


    .co-dropdown.open
    .co-dropdown-menu {
        opacity: 1;
        visibility: visible;
        margin-left: 157px;
    }


    .co-footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   768px
========================================================= */

@media (max-width: 768px) {

    .co-topbar {
        height: 32px;
    }


    .co-topbar-inner {
        height: 32px;
    }


    .co-top-right {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }


        .co-top-right a {
            font-size: 10px;
        }


    .co-mini-divider {
        display: none;
    }


    .co-navigation,
    .co-navbar {
        height: 66px;
    }


    .co-logo img {
        width: 195px;
    }


    .co-footer-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }


    .co-footer-hero-btn {
        width: 100%;
        justify-content: center;
    }


    .co-footer-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .co-footer-main {
        padding-top: 45px;
        padding-bottom: 35px;
    }


    .co-footer-bottom-inner {
        min-height: auto;
        padding-top: 17px;
        padding-bottom: 17px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }
}


/* =========================================================
   576px
========================================================= */

@media (max-width: 576px) {

    .co-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    .co-top-right a:nth-of-type(3) {
        display: none;
    }


    .co-logo img {
        width: 190px;
    }


    .co-navigation,
    .co-navbar {
        height: 62px;
    }


    .co-header.scrolled
    .co-navigation,
    .co-header.scrolled
    .co-navbar {
        height: 60px;
    }


    .co-footer-hero {
        margin-top: 25px;
        border-radius: 15px;
    }


        .co-footer-hero h2 {
            font-size: 23px;
        }


    .co-footer-logo img {
        width: 205px;
    }


    .co-footer-bottom p,
    .co-footer-policies {
        font-size: 9px;
    }


    .co-back-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
