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

:root {
    --hiit-purple: #6255FA;
    --hiit-purple-light: #AD86F3;
    --hiit-bg-soft: #F7F3FE;
    --hiit-text-dark: #1b1b1b;
    --hiit-text-muted: #5e5e5e;
    --hiit-footer-bg: #111111;
    --white-color: #ffffff;
    --primary-color: #6255FA;
    --secondary-color: #06193A;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: var(--hiit-text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'SUSE', sans-serif;
    font-weight: 700;
}

/* Background Ambient Glows */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    opacity: 0.2;
}

body::before {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--hiit-purple-light), transparent);
}

body::after {
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, #6255FA, transparent);
}

/* --- TOP BAR --- */
.top-bar {
    background: #000814;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-container {
    padding-left: 60px;
    padding-right: 60px;
    margin: 0 auto;
    display: flex;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar-item:hover {
    opacity: 0.8;
}

.top-bar-item i {
    font-size: 14px;
}

/* --- SITE HEADER --- */
.site-header {
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-container {
    padding-left: 60px;
    padding-right: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ef-page-hero {
    padding: 65px 0 65px;
}

.bg_cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hiit-logo-top {
    height: 90px;
    transition: height 0.3s ease;
}

.mobile-logo-img {
    display: none;
}

.header-links {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* Hide mobile-only elements by default (Desktop) */
.mobile-logo-img, .mobile-menu-header, .mobile-nav-actions {
    display: none !important;
}

/* Ensure desktop logo is visible by default */
.desktop-logo {
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #1b1b1b;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--hiit-purple);
}

.mobile-cta-li {
    display: none;
}


.header-actions .btn-apply {
    background: #6255FA !important;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 12px;
    /* More rounded as per website style */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
}

.header-actions .btn-apply:hover {
    background: var(--hiit-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(98, 85, 250, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--hiit-text-dark) !important;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: var(--hiit-purple);
}

/* --- HERO SECTION (Website Style) --- */
.hero-section {
    background: url('../images/BG.png');
    padding: 65px 0 65px;
    /* Slightly more padding for the BG image */
    text-align: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-section>* {
    position: relative;
    z-index: 1;
}

.breadcrumb-area {
    font-size: 15px;
    color: #666666;
    margin-bottom: 25px;
    font-weight: 500;
}

.breadcrumb-area span {
    color: var(--hiit-purple);
    font-weight: 700;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.1;
    font-family: 'SUSE', sans-serif;
    transition: font-size 0.3s ease;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--hiit-text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

/* --- MAIN WRAPPER & CARD --- */
.page-wrapper {
    padding: 0 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: -50px;
    /* Pull card up into hero gradient if desired */
}

.premium-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1200px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}
ul, ol {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
.form-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.form-header h1 {
    font-size: 38px;
    margin-bottom: 10px;
    color: #1b1b1b;
}

.form-header p {
    color: var(--hiit-text-muted);
    font-size: 16px;
}

/* Step Title inside Card */
.step-title-container {
    margin-bottom: 20px;
}

.step-title {
    font-size: 32px;
    font-weight: 800;
    color: #1b1b1b;
    margin-bottom: 5px;
    display: block;
    font-family: 'Outfit', sans-serif;
}

.step-subtitle {
    font-size: 14px;
    color: var(--hiit-text-muted);
    display: block;
}

/* --- FORM FIELDS --- */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600 !important;
    color: #1b1b1b;
    margin-bottom: 8px;
    display: block;
    font-size: 15px;
}

.form-control,
.form-select {
    background-color: var(--hiit-bg-soft) !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #1b1b1b !important;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--hiit-purple) !important;
    box-shadow: 0 0 0 4px rgba(98, 85, 250, 0.1) !important;
    outline: none;
}

/* --- WIZARD ACTIONS --- */
.wizard>.steps {
    display: none !important;
}

.wizard>.content {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
}

.wizard>.actions {
    margin-top: 40px;
}

.wizard>.actions ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

.wizard>.actions a {
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 15px !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wizard>.actions a[href="#next"],
.wizard>.actions a[href="#finish"] {
    background: var(--hiit-purple) !important;
    color: #ffffff !important;
    order: 2;
}

.wizard>.actions a[href="#previous"] {
    background: #ffffff !important;
    color: #1b1b1b !important;
    border: 1px solid #e0e0e0 !important;
    order: 1;
}

.wizard>.actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- SITE FOOTER --- */
.site-footer {
    background: #000814;
    /* Deep dark background from website top bar */
    padding: 100px 0 30px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #a0a0a0;
    margin-top: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #ffffff;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-info i {
    color: var(--hiit-purple-light);
    font-size: 16px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--hiit-purple);
    transform: translateY(-3px);
}
.pb-75 {
    padding-bottom: 75px;
}
.pt-120 {
    padding-top: 120px;
}
.mb-40 {
    margin-bottom: 40px;
}
.footer-default {
  position: relative;
  background-color: #010101;
  position: relative;
  z-index: 1;
}
img {
    max-width: 100%;
    height: auto;
}

.footer-default .shape {
  position: absolute;
  z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.hero-section .breadcrumb-area a:hover {
    color: var(--primary-color);
}

@media screen and (max-width: 991px) {
  .footer-default .shape {
    display: none;
  }
}

.footer-default .shape span img {
  width: 60px;
  opacity: 0.5;
}

.footer-default .shape.shape-one {
  top: 10%;
  left: 3%;
}

.footer-default .shape.shape-two {
  top: 7%;
  right: 7%;
}

.footer-default .shape.shape-three {
  bottom: 25%;
  left: 6%;
}

.footer-default .shape.shape-four {
  bottom: 25%;
  right: 3%;
}

.footer-default .shape.shape-five {
  bottom: 25%;
  right: 50%;
}

.footer-widget .footer-content h4.widget-title {
  margin-bottom: 35px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white-color);
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-widget .footer-content h4.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
}

.footer-widget .footer-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.footer-widget .footer-content .widget-nav li:not(:last-child) {
  margin-bottom: 15px;
}

.footer-widget .footer-content .widget-nav li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-widget .footer-content .widget-nav li a:hover {
  color: var(--primary-color);
}

.footer-about-widget {
  max-width: 370px;
}

.footer-about-widget .footer-content .footer-logo {
  margin-bottom: 35px;
  max-width: 220px;
}

.footer-about-widget .footer-content p {
  margin-bottom: 35px;
  line-height: 1.8;
}

.footer-about-widget .footer-content .social-link li {
  display: inline-block;
}

.footer-about-widget .footer-content .social-link li:not(:last-child) {
  margin-right: 10px;
}

.footer-about-widget .footer-content .social-link li a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-about-widget .footer-content .social-link {
  margin-top: 40px;
}

.footer-about-widget .footer-content .social-link li a:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-contact-widget .footer-content .info-box span {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
}

.footer-contact-widget .footer-content .info-box h5 {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-widget .footer-content .info-box h5 a:hover {
  color: var(--primary-color);
}


.modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}

.footer-copyright {
  border-top: 1px solid rgba(33, 37, 41, 0.8);
  padding: 25px 0;
}

@media screen and (max-width: 991px) {
  .footer-copyright .copyright-text {
    margin-bottom: 15px;
    text-align: center;
  }
}

.footer-copyright .copyright-text p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright .copyright-text p span {
  color: var(--primary-color);
  font-weight: 600;
}

.form-check-input {
    --bs-form-check-bg: var(--hiit-bg-soft) !important;
    border-color: var(--hiit-text-muted) !important;
}

.qualification-grid .form-check {
    margin-bottom: 15px !important;
}

.qualification-grid .form-check-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--hiit-text-dark);
}

/* Enrollment Specific Cleaning */
.enrollment-body .card {
    border: none !important;
    background: transparent !important;
}

.enrollment-body .card-body {
    padding: 0 !important;
}

/* Photo Cropper Refinement */
.profile-upload-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

#profile-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
    margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }

    .header-container {
        padding-left: 15px;
        padding-right: 15px;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
    }

    .top-bar-container {
        padding-left: 20px;
        padding-right: 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-actions {
        display: flex !important;
        align-items: center;
    }

    .mobile-nav-toggle {
        display: block !important;
        margin: 0;
        z-index: 1001;
        color: var(--hiit-text-dark) !important;
    }

    .header-actions .btn-apply {
        display: none !important;
    }

    .header-links {
        position: fixed !important;
        top: 0;
        left: -85%;
        border: none;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        box-shadow: 10px 0 50px rgba(0,0,0,0.15);
        z-index: 10002;
        padding: 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        visibility: hidden;
    }

    .header-links.active {
        left: 0;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        border-bottom: 1px solid #f2f2f2;
    }

    .mobile-logo {
        height: auto;
        max-height: 50px;
        max-width: 150px;
    }

    .desktop-logo {
        display: none !important;
    }

    .mobile-logo-img {
        display: block !important;
        height: 40px !important;
        width: auto !important;
        transition: height 0.3s ease;
    }

    .mobile-close {
        background: #ffffff;
        border: 1px solid #eeeeee;
        font-size: 20px;
        color: #888888;
        cursor: pointer;
        padding: 6px 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 0 25px;
        flex-grow: 1;
    }

    .nav-links li {
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        font-size: 17px;
        font-weight: 400;
        color: #1b1b1b;
        letter-spacing: -0.3px;
    }

    .mobile-cta-li {
        display: block;
        margin-top: 10px;
        padding-top: 5px;
        border-bottom: none !important;
    }

    .nav-links li a.btn-apply-mobile {
        display: inline-block;
        padding: 7px 18px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 14px;
        line-height: normal;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(98, 85, 250, 0.1);
        transition: all 0.3s ease;
        background: var(--hiit-purple);
        color: #ffffff !important;
        width: auto;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    /* .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    } */

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

    .hiit-logo-top {
        height: 60px;
    }

    .hero-title {
        font-size: 38px;
    }

    .breadcrumb-area {
        margin-bottom: 15px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .premium-card {
        padding: 30px 20px;
    }

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

    .form-header h1 {
        font-size: 28px;
    }

    .step-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-section {
        padding: 40px 0 40px;
    }

    .page-wrapper {
        margin-top: -30px;
        padding: 0 15px 80px;
    }
}