/* =========================================================
   HACKINGVICHAR HOME PAGE
   Header + Footer are NOT changed
========================================================= */

.hv-home {
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 25px 70px;
    color: #202044;
}

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

.hv-hero {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
    padding: 55px 55px;
    margin-bottom: 70px;
    overflow: hidden;
    border-radius: 0 0 70px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(239,112,108,.15), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(80,75,150,.10), transparent 35%),
        #f8f8fc;
}

/* decorative shapes */

.hv-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(60,55,120,.08);
    border-radius: 50%;
    right: -80px;
    top: -70px;
}

.hv-hero::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px dashed rgba(239,112,108,.2);
    border-radius: 50%;
    left: -70px;
    bottom: -60px;
}

.hv-hero-content {
    position: relative;
    z-index: 2;
}

.hv-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    background: #eeedf9;
    color: #4d487d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.hv-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef706c;
    display: inline-block;
}

.hv-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    margin: 0 0 22px;
    color: #202044;
}

.hv-hero h1 strong {
    color: #4d487d;
}

.hv-hero-text {
    max-width: 570px;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: .25s ease;
}

.hv-btn-primary {
    background: #29245c;
    color: white;
    box-shadow: 0 8px 20px rgba(41,36,92,.15);
}

.hv-btn-primary:hover {
    transform: translateY(-3px);
    color: white;
}

.hv-btn-secondary {
    background: white;
    color: #29245c;
    border: 1px solid #deddec;
}

.hv-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: #29245c;
}

/* =========================================================
   CYBER SECURITY VISUAL
========================================================= */

.hv-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hv-security-card {
    width: 330px;
    min-height: 310px;
    background: rgba(255,255,255,.92);
    border: 1px solid #e5e4ee;
    border-radius: 35px 0 35px 0;
    box-shadow: 0 25px 60px rgba(40,37,80,.12);
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
}

.hv-shield {
    width: 90px;
    height: 105px;
    margin: 0 auto 20px;
    background: #29245c;
    clip-path: polygon(
        50% 0%,
        92% 15%,
        88% 62%,
        50% 100%,
        12% 62%,
        8% 15%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 42px;
    box-shadow: 0 15px 30px rgba(41,36,92,.2);
}

.hv-security-card h3 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 24px;
    margin: 0 0 8px;
}

.hv-security-card > p {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-bottom: 22px;
}

.hv-security-status {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
}

.hv-status {
    text-align: center;
    padding: 10px 5px;
    border-radius: 10px;
    background: #f6f5fb;
}

.hv-status strong {
    display: block;
    color: #29245c;
    font-size: 17px;
}

.hv-status span {
    color: #999;
    font-size: 9px;
}

/* floating elements */

.hv-float {
    position: absolute;
    background: white;
    border: 1px solid #e8e7ef;
    box-shadow: 0 12px 30px rgba(30,30,70,.10);
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #39365f;
}

.hv-float-one {
    top: 40px;
    right: 5px;
}

.hv-float-two {
    bottom: 55px;
    left: 0;
}

.hv-float-three {
    bottom: 5px;
    right: 25px;
}

/* =========================================================
   SECTION COMMON
========================================================= */

.hv-section {
    margin-bottom: 80px;
}

.hv-section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.hv-section-heading .eyebrow {
    color: #ef706c;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.hv-section-heading h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    margin: 8px 0 12px;
    color: #202044;
}

.hv-section-heading p {
    max-width: 650px;
    margin: auto;
    color: #888;
    font-size: 14px;
    line-height: 1.7;
}

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

.hv-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin: -15px 30px 80px;
}

.hv-stat {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border: 1px solid #ecebf2;
    border-radius: 15px;
}

.hv-stat strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 29px;
    color: #29245c;
}

.hv-stat span {
    font-size: 12px;
    color: #888;
}

/* =========================================================
   LEARNING PATHS
========================================================= */

.hv-paths {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.hv-path {
    position: relative;
    padding: 30px;
    background: white;
    border: 1px solid #e9e8ef;
    border-radius: 25px 0 25px 0;
    transition: .3s ease;
    overflow: hidden;
}

.hv-path:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(40,38,80,.10);
}

.hv-path-number {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 55px;
    font-family: Georgia, serif;
    color: #f2f1f7;
    font-weight: bold;
}

.hv-path-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #f0eff9;
    color: #29245c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 22px;
}

.hv-path h3 {
    font-family: Georgia, serif;
    margin: 0 0 10px;
    color: #29245c;
}

.hv-path p {
    color: #888;
    line-height: 1.7;
    font-size: 13px;
    margin-bottom: 18px;
}

.hv-path a {
    color: #ef706c;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

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

.hv-courses {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.hv-course {
    overflow: hidden;
    border: 1px solid #e8e7ef;
    background: white;
    border-radius: 25px 0 25px 0;
    transition: .3s ease;
}

.hv-course:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(40,38,80,.10);
}

.hv-course-top {
    height: 150px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#29245c,#555080);
}

.hv-course-top::after {
    content: "</>";
    position: absolute;
    right: 15px;
    bottom: -10px;
    color: rgba(255,255,255,.09);
    font-size: 85px;
    font-weight: bold;
}

.hv-course-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.hv-course-top h3 {
    color: white;
    font-family: Georgia, serif;
    font-size: 21px;
    margin-top: 20px;
}

.hv-course-body {
    padding: 22px;
}

.hv-course-body p {
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    min-height: 45px;
}

.hv-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.hv-course-level {
    color: #999;
    font-size: 11px;
}

.hv-course-link {
    color: #29245c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   ROADMAP
========================================================= */

.hv-roadmap {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.hv-roadmap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e4e2ed;
    transform: translateX(-50%);
}

.hv-road-step {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 35px;
}

.hv-road-empty {
    min-height: 1px;
}

.hv-road-marker {
    width: 43px;
    height: 43px;
    margin: auto;
    background: #ef706c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 7px white;
}

.hv-road-card {
    background: white;
    border: 1px solid #e8e7ef;
    border-radius: 18px;
    padding: 20px 23px;
}

.hv-road-card h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    margin: 0 0 8px;
    color: #29245c;
}

.hv-road-card p {
    margin: 0;
    color: #888;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   CTF BANNER
========================================================= */

.hv-ctf {
    position: relative;
    padding: 55px;
    border-radius: 35px 0 35px 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(239,112,108,.18), transparent 30%),
        #29245c;
    color: white;
    overflow: hidden;
    margin-bottom: 80px;
}

.hv-ctf::after {
    content: "{ CTF }";
    position: absolute;
    right: 30px;
    bottom: -25px;
    font-family: monospace;
    font-size: 85px;
    font-weight: bold;
    color: rgba(255,255,255,.05);
}

.hv-ctf-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hv-ctf small {
    color: #ef706c;
    font-weight: 800;
    letter-spacing: 2px;
}

.hv-ctf h2 {
    font-family: Georgia, serif;
    font-size: 35px;
    margin: 10px 0 15px;
}

.hv-ctf p {
    color: #d0cee1;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 25px;
}

.hv-ctf .hv-btn {
    background: #ef706c;
    color: white;
}

/* =========================================================
   FINAL CTA
========================================================= */

.hv-final {
    text-align: center;
    padding: 70px 20px 20px;
}

.hv-final h2 {
    font-family: Georgia, serif;
    font-size: 35px;
    color: #202044;
    margin-bottom: 12px;
}

.hv-final p {
    color: #888;
    margin-bottom: 25px;
}

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

@media (max-width: 900px) {

    .hv-hero {
        grid-template-columns: 1fr;
        padding: 45px 30px;
    }

    .hv-hero-visual {
        height: 330px;
    }

    .hv-stats {
        grid-template-columns: repeat(2,1fr);
        margin-left: 0;
        margin-right: 0;
    }

    .hv-paths,
    .hv-courses {
        grid-template-columns: 1fr 1fr;
    }

    .hv-roadmap::before {
        left: 20px;
    }

    .hv-road-step {
        grid-template-columns: 40px 1fr;
        gap: 15px;
    }

    .hv-road-marker {
        width: 40px;
        height: 40px;
    }

    .hv-road-empty {
        display: none;
    }
}

@media (max-width: 600px) {

    .hv-home {
        padding: 15px 15px 50px;
    }

    .hv-hero {
        min-height: auto;
        padding: 40px 25px;
        border-radius: 0 0 40px 0;
    }

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

    .hv-hero-visual {
        height: 300px;
    }

    .hv-security-card {
        width: 280px;
        min-height: 270px;
        padding: 22px;
    }

    .hv-float-one {
        right: -5px;
        top: 15px;
    }

    .hv-float-two {
        left: -5px;
        bottom: 30px;
    }

    .hv-float-three {
        right: 5px;
        bottom: 0;
    }

    .hv-stats,
    .hv-paths,
    .hv-courses {
        grid-template-columns: 1fr;
    }

    .hv-section-heading h2,
    .hv-final h2 {
        font-size: 29px;
    }

    .hv-ctf {
        padding: 35px 25px;
    }

    .hv-ctf h2 {
        font-size: 28px;
    }

    .hv-road-step {
        grid-template-columns: 40px 1fr;
    }
}