:root {
    --bg-main: #020b12;
    --primary-green: #00e3d3;
    --text-white: #ffffff;
    --text-gray: #a0aab2;
    --card-bg: rgba(2, 20, 30, 0.6);
    --border-color: rgba(0, 227, 211, 0.2);
}

body {
    background: #01141A;
    color: var(--text-white);
    font-family: 'Cairo', 'Inter', 'Montserrat', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(213.4deg, #01141A 59.23%, #056280 276.19%) !important;
    z-index: -9999;
}

/* Typography */
.text-gradient-green {
    background: linear-gradient(90deg, #00e3d3, #008f85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-glow {
    text-shadow: 0 0 15px rgba(0, 227, 211, 0.4);
}

/* Global Container */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Header */
.main-header {
    background-color: transparent;
    padding: 20px 0;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-logo {
    height: 50px;
}


/* Hero Section */
.hero-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 30px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 227, 211, 0.15) 0%, rgba(0, 227, 211, 0) 60%);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Badges Container */
.badge-outline,
.badge-filled {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-weight: 700;
}

.badge-outline::before,
.badge-filled::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 21px;
    background: #536C25;
    z-index: -2;
    pointer-events: none;
}

.badge-outline::after,
.badge-filled::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    background: #01141A;
    z-index: -1;
    pointer-events: none;
}

.badge-outline {
    width: 276px;
    height: 52px;
    gap: 6px;
    font-size: 24px;
}

.badge-filled {
    width: 162px;
    height: 52px;
    color: #ffffff;
    gap: 8px;
    font-size: 24px;
}

.badge-filled .bi-fire {
    color: #ff5722;
}

.text-light-green {
    color: #90D111 !important;
}

/* Main Title */
.hero-main-title {
    margin-top: 8px;
    margin-bottom: 12px !important;
}

.text-gradient-green-text {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 1.2;
    background: linear-gradient(180deg, #90D111 0%, #2D8401 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0;
    text-shadow: none;
    display: inline-block;
    filter:
        drop-shadow(1px 0px 0px #273E0A) drop-shadow(-1px 0px 0px #273E0A) drop-shadow(0px 1px 0px #273E0A) drop-shadow(0px -1px 0px #273E0A) drop-shadow(2px 2px 2px #69B20B);
}

.text-gradient-silver-text {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 1.2;
    background: linear-gradient(180deg, #A1ABB5 0%, #D2E1E8 50%, #9AA4AD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0;
    text-shadow: none;
    display: inline-block;
    filter:
        drop-shadow(1px 0px 0px #273E0A) drop-shadow(-1px 0px 0px #273E0A) drop-shadow(0px 1px 0px #273E0A) drop-shadow(0px -1px 0px #273E0A) drop-shadow(2px 2px 2px #C0CDD5);
}

@media (max-width: 767px) {

    .text-gradient-green-text,
    .text-gradient-silver-text {
        font-size: 48px;
    }
}

/* Number Badge */
.number-badge-container {
    background-color: rgba(2, 14, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    height: 100px;
}

.number-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 0 20px;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.number-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #90D111;
    color: #000;
    font-weight: 900;
    font-size: 3.5rem;
    padding: 0 20px;
    height: 100%;
    border-radius: 0;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.hero-subtitle-main {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .hero-subtitle-main {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        max-width: 321px !important;
        width: 100%;
        margin-top: 20px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-subtitle-sub {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #ffffff;
}

.hero-features-cards {
    display: flex;
    gap: 15px;
}

.hero-card {
    position: relative;
    width: 180px;
    height: 69px;
    background:
        linear-gradient(#01141A, #01141A) padding-box,
        linear-gradient(180deg, #666666 0%, #78CC16 100%) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    box-shadow: inset 0px 4px 4px 0px rgba(80, 71, 71, 0.25);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.text-orange { color: #F59E0B !important; }
.text-cyan { color: #06B6D4 !important; }
.text-yellow { color: #C0CA33 !important; }


.hero-card .card-text {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Montserrat;
}

.hero-card .card-text span:first-child {
    font-family: Montserrat;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.hero-card .card-text span:last-child {
    font-family: Montserrat;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-top: 2px;
}

.hero-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0px 4px 4px rgba(80, 71, 71, 0.25), 0 5px 15px rgba(120, 204, 22, 0.2);
}

.hero-card i {
    font-size: 28px;
}

.text-orange {
    color: #ff5722;
}

.text-cyan {
    color: #00E3D3;
}

.text-yellow {
    color: #C5CC27;
}

/* Number Badge */
.number-badge-container {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(#01141A, #01141A) padding-box,
        linear-gradient(180deg, #8BC808 0%, #212A1D 100%) border-box;
    height: 44px;
}

.number-text {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 16px;
}

.number-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: linear-gradient(#66B012, #66B012) padding-box,
        linear-gradient(180deg, #8BC808 0%, #212A1D 100%) border-box;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #01141A;
    margin-left: -1px;
}

.number-box::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 11px;
    height: 11px;
    background: #66B012;
    border-top: 1px solid #547814;
    border-right: 1px solid #547814;
    border-radius: 2px;
    z-index: 1;
}

.number-box::before {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: #66B012;
    z-index: 2;
}

/* Instructor Section */
.instructor-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 20px;
    overflow: hidden;
}

.instructor-wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.instructor-custom-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.instructor-text-box {
    flex: 1;
    text-align: center;
}

.instructor-styled-title {
    font-family: Montserrat;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #90D111 0%, #2D8401 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.instructor-text-top,
.instructor-styled-title {
    font-family: Montserrat;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

.instructor-img-box {
    flex: 1;
    text-align: center;
}

.instructor-img-box img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .instructor-custom-layout {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .instructor-text-box {
        padding: 20px;
        border-radius: 20px;
    }

    .instructor-styled-title {
        font-size: 28px;
    }

    .instructor-text-top,
    .instructor-text-bottom {
        font-size: 16px;
    }
}

/* Courses Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: bold;
}

.section-title span {
    color: var(--primary-green);
}

/* Shared Section Title Styling */
.section-styled-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    /* White for the rest of the text */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


.cta-features-list li i {
    color: #75D0D6;
    /* Matched EXACTLY to Image 14 */
}

.cta-text-content h3 .green-text-gradient {
    color: #8FD312;
    /* Matched EXACTLY to Image 15 */
    /* Remove any background clipping from earlier rules if they apply */
    background: none;
    -webkit-text-fill-color: #8FD312;
}

.section-styled-title::before,
.section-styled-title::after {
    content: "";
    height: 1px;
    width: 100px;
    background: rgba(85, 204, 218, 0.5);
    /* Cyan line */
    flex-grow: 1;
    max-width: 150px;
}

.section-styled-title::before {
    background: linear-gradient(to right, rgba(85, 204, 218, 0.8), transparent);
}

.section-styled-title::after {
    background: linear-gradient(to left, rgba(85, 204, 218, 0.8), transparent);
}

.section-styled-title .green-text-gradient {
    background: linear-gradient(to left, #90D111 0%, #02AEB6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.course-card-custom {
    box-sizing: border-box;
    width: 358px;
    max-width: 100%;
    height: 415px;
    background:
        linear-gradient(212.08deg, #01141A 38.97%, #056280 276.41%) padding-box,
        linear-gradient(145deg, #9BFC2D 0%, rgba(102, 102, 102, 0) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(105, 178, 11, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.course-card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(105, 178, 11, 0.4);
}

.course-card-custom .card-icon img {
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.course-card-custom .card-title {
    color: #90D111;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    font-family: 'Inter', 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.course-card-custom .card-desc {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes button to bottom */
    font-family: 'Inter', 'Montserrat', sans-serif;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .course-card-custom {
        padding: 20px 15px;
        height: auto;
        min-height: 380px;
    }

    .course-card-custom .card-icon img {
        height: 140px;
        margin-bottom: 15px;
    }

    .course-card-custom .card-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .course-card-custom .card-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .feature-box {
        width: 100%;
        padding: 0 10px;
    }
}

.course-card-custom .card-btn {
    background: #01141A;
    border: 1px solid rgba(85, 204, 218, 0.82);
    /* #55CCDA 82% */
    border-radius: 20px;
    color: #FFFFFF;
    box-sizing: border-box;
    width: 183px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    font-family: 'Cairo', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    margin-top: auto;
    box-shadow: 2px 2px 2px 0px rgba(85, 204, 218, 0.20);
    /* Drop shadow #55CCDA 20% */
}

.course-card-custom .card-btn:hover {
    background: rgba(85, 204, 218, 0.1);
    color: #55CCDA;
    box-shadow: 2px 2px 5px 0px rgba(85, 204, 218, 0.40);
}

.course-card-custom .card-btn i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.course-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card img {
    width: 100%;
    border-radius: 20px;
}

/* Learn Section */
.learn-item-custom {
    background: #021920;
    width: 534px;
    max-width: 100%;
    height: 96px;
    border-radius: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: rgba(2, 25, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.learn-item-custom:hover {
    transform: translateX(-5px);
}

.learn-icon-custom {
    flex-shrink: 0;
    margin-left: 17px;
    /* Adjusted gap */
}

.learn-icon-custom img {
    width: 48px;
    height: 40px;
    object-fit: contain;
}

.learn-text-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    text-align: right;
    /* Ensure text is right-aligned */
}

.learn-text-custom h4 {
    font-family: 'Montserrat', sans-serif !important;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 5px;
}

.learn-text-custom p {
    font-family: 'Montserrat', sans-serif !important;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 0;
}

.why-choose-us-section .section-styled-title {
    margin-bottom: 20px;
}

/* Features (Why Choose Us) Section */
.feature-box {
    border-radius: 20px;
    width: 290px;
    max-width: 100%;
    height: 177px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(212.08deg, #01141A 38.97%, #056280 276.41%);
    position: relative;
    border: none; /* Removed old borders */
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px; /* border-width */
    background: linear-gradient(180deg, #9BFC2D 0%, rgba(102, 102, 102, 0) 13.49%),
                linear-gradient(10.13deg, rgba(155, 252, 45, 0.2) 5.59%, rgba(102, 102, 102, 0) 29.79%),
                linear-gradient(104.78deg, rgba(165, 243, 29, 0.2) 10.46%, rgba(102, 102, 102, 0.2) 46.73%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(155, 252, 45, 0.2);
}

.feature-box img {
    height: 48px;
    margin-bottom: 20px;
    object-fit: contain;
}

.feature-box h5 {
    color: #FFFFFF;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Custom CTA Section */
.cta-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
    }
}

.cta-custom-card {
    background: transparent;
    width: 1193px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.cta-separator {
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.15);
}

.cta-list-part {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Center the whole list block */
    align-items: center;
    padding-left: 30px;
}

.cta-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cta-features-list li {
    color: #FFFFFF;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Text in center */
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    position: relative;
}

.cta-features-list li i {
    font-size: 24px;
    color: #55ccda;
    position: absolute;
    left: 15px;
    /* Icons pinned to the left */
}

.cta-features-list li:last-child {
    border-bottom: none;
}



.cta-btn-part {
    flex: 1;
    display: flex;
    justify-content: center;
}

.btn-cta-custom {
    box-sizing: border-box;
    width: 233px;
    height: 48px;
    padding-top: 7px;
    padding-right: 50px;
    padding-bottom: 7px;
    padding-left: 62px;
    white-space: nowrap;
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(85, 204, 218, 0.81); /* #55CCDAD1 */
    background: linear-gradient(90deg, #004248 0%, #25580D 100%);
    box-shadow: 2px 2px 2px 0px rgba(85, 204, 218, 0.2); /* #55CCDA33 */
}

.btn-cta-custom i {
    font-size: 16px !important; /* Reduced from 24px to make the glyph smaller within the box */
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-custom:hover {
    background: linear-gradient(90deg, #005057 0%, #2e6b10 100%);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(85, 204, 218, 0.5);
}

.cta-text-part {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.cta-text-content {
    text-align: right;
}

.green-text-gradient {
    color: #9BFC2D;
}

.cta-text-content h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-text-content p {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #E0E0E0;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

.cta-shield {
    height: 90px;
    object-fit: contain;
    transform: scale(1.4);
}

/* Responsive CTA */
@media (max-width: 767px) {
    .cta-custom-card {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 30px;
    }

    .cta-separator {
        display: none;
    }

    .cta-list-part {
        width: auto;
        justify-content: center;
        align-self: center;
        padding-left: 0;
        order: 1;
    }

    .cta-features-list {
        align-items: center;
        /* Center the column */
        width: 100%;
        margin: 0 auto;
        gap: 15px;
        /* Added gap to replace margins */
    }

    .cta-features-list li {
        justify-content: flex-start;
        flex-direction: row;
        /* Keep icon on the right in RTL */
        width: 100%;
        max-width: 360px;
        /* Increased from 320px */
        padding: 0;
        margin-bottom: 0;
        border: none;
    }

    .cta-features-list li:last-child {
        margin-bottom: 10px;
        border: none;
    }

    .cta-text-part {
        width: 100%;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        justify-content: center;
        order: 2;
    }

    .cta-shield {
        max-width: 340px;
        width: 100%;
        height: auto;
    }

    .cta-text-content {
        text-align: center;
        padding: 0 10px;
    }

    .cta-text-content h3 {
        font-size: 54px;
        /* MASSIVE */
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .cta-text-content p {
        font-size: 28px;
        /* MASSIVE */
        line-height: 1.5;
    }

    .cta-features-list li {
        font-size: 32px;
        /* MASSIVE */
        gap: 20px;
    }

    .cta-features-list li i {
        font-size: 44px;
        /* MASSIVE */
    }

    .cta-btn-part {
        width: 100%;
        margin-top: 15px;
        order: 3;
    }



    .form-footer {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 0 1.5rem !important;
        position: relative;
        z-index: 1;
    }

    .form-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../../img/inputs/bg.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: -1;
        pointer-events: none;
    }

    .form-footer .bottom-logos {
        order: 1 !important;
        margin-bottom: 0 !important;
        flex-direction: column-reverse !important;
    }
}

/* Scaling for smaller laptops */
@media (min-width: 1200px) and (max-width: 1399px) {
    .cta-features-list li {
        font-size: 15px;
    }

    .cta-features-list li i {
        font-size: 22px;
    }

    .cta-text-content h3 {
        font-size: 28px;
    }

    .cta-text-content p {
        font-size: 13px;
    }

    .cta-shield {
        height: 140px;
    }


}

@media (min-width: 768px) and (max-width: 1199px) {
    .hero-section {
        padding-top: 130px;
    }
    
    /* Why Choose Us Tablet */
    .why-choose-us-section .d-flex {
        gap: 24px 24px !important; 
    }
    .why-card {
        width: calc(50% - 12px) !important; 
    }
    .feature-box {
        height: 150px;
        width: 100% !important;
    }
    .feature-box img, .feature-box i {
        margin-bottom: 10px;
        font-size: 30px;
        height: 38px;
    }
    .feature-box h5 {
        font-size: 13px;
        margin-bottom: 5px;
        line-height: 1.4;
    }
    
    .cta-custom-card {
        padding: 20px 10px;
    }
    .cta-features-list li {
        font-size: 12px;
        gap: 5px;
        padding: 6px 0;
    }
    .cta-features-list li i {
        font-size: 14px;
        left: 5px;
    }
    .cta-text-content h3 {
        font-size: 20px;
    }
    .cta-text-content p {
        font-size: 11px;
    }
    .cta-shield {
        height: 80px;
        transform: scale(1.2);
    }
    .cta-text-part {
        gap: 5px;
    }
    .cta-list-part {
        padding-left: 10px;
    }
    .btn-cta-custom {
        width: auto;
        padding: 8px 15px 8px 30px;
        height: 42px;
        font-size: 11px;
    }
    .btn-cta-custom i {
        width: 18px !important;
        height: 18px !important;
    }
    .cta-separator {
        height: 50px;
    }
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.footer-social a {
    color: var(--text-white);
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Instructor Section Styling */
.instructor-section {
    position: relative;
    padding-top: 50px;
}

.instructor-wide-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.instructor-custom-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

@media (min-width: 992px) {
    .instructor-custom-layout {
        flex-direction: row;
        /* RTL forces Text to right, Image to left automatically */
        gap: 80px;
        justify-content: center;
    }

    .instructor-text-box {
        width: 711px;
        flex: 0 0 711px;
        /* NEVER SHRINK */
    }

    .instructor-img-box {
        width: 467px;
        flex: 0 0 467px;
        /* NEVER SHRINK */
    }
}

.instructor-text-box {
    width: 100%;
    max-width: 100%;
}

.instructor-img-box {
    width: 100%;
    max-width: 100%;
}

.instructor-img-box img {
    width: 467px;
    height: 701px;
    object-fit: contain;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.instructor-styled-title {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 58px;
    /* Slightly reduced from 64px */
    font-weight: 700;
    line-height: 70px;
    background: linear-gradient(90deg, #90D111 29.11%, #02AEB6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

    /* Using drop-shadow filter to create stroke and shadow without blocking background or cutting letters */
    filter:
        drop-shadow(1px 1px 0px #273E0A) drop-shadow(-1px -1px 0px #273E0A) drop-shadow(1px -1px 0px #273E0A) drop-shadow(-1px 1px 0px #273E0A) drop-shadow(2px 2px 0px #69B20B);

    white-space: nowrap;
    margin-bottom: 25px;
    width: 711px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.instructor-text-top {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40.8px;
    /* Matches 408px total height for 10 lines */
    color: #35DDB9;
    text-align: center;
    width: 709px;
    max-width: 100%;
    margin: 0 auto;
}

.instructor-text-bottom {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40.8px;
    /* Matches 408px total height */
    color: #FFFFFF;
    text-align: center;
    width: 709px;
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Image Desktop Restored Styles */
@media (min-width: 992px) {
    .hero-image {
        width: 736px !important;
        max-width: none !important;
        height: auto;
        position: relative;
        right: -80px; /* Shift to the right edge matching Figma */
    }
}

/* Header Desktop Styles */
.header-container {
    position: relative;
    height: 90px;
    background: rgba(2, 11, 18, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 227, 211, 0.1);
    border-radius: 0 0 20px 20px;
    padding: 0 20px;
}

.header-login-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #042126;
    background: #00e3d3;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(0, 227, 211, 0.4);
    white-space: nowrap;
}

.header-login-btn:hover {
    color: #042126;
    box-shadow: 0 0 14px rgba(0, 227, 211, 0.45);
}
.header-logo-skilvex {
    height: 90px !important;
    width: auto !important;
    max-width: 200px;
    transform: scale(1.35);
}
.header-logo-ae {
    height: 90px !important;
    width: auto !important;
    max-width: 200px;
}

/* Responsive Utilities */
@media (max-width: 767px) {

    /* Mobile App Wrapper (The entire screen card) */
    body {
        background: transparent !important;
        padding: 0;
    }

    .mobile-app-wrapper {
        background-color: var(--bg-color);
        /* #010E12 */
        border: 1px solid #02AEB6;
        border-radius: 24px;
        overflow-x: hidden;
        overflow-y: auto;
        max-width: 100%;
        margin: 108px 16px 0 16px;
        position: relative;
        padding-bottom: 20px;
        padding-top: 10px;
    }

    /* Header */
    .header-container {
        height: auto;
        background: #000000;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 35px 10px 56px 10px;
    }

    .header-login-btn {
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
    }

    .header-logos {
        width: 100%;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 0;
    }

    .header-logo-skilvex {
        width: 109px !important;
        height: 73px !important;
        transform: none !important;
    }

    .header-logo-ae {
        width: 100px !important;
        height: 58px !important;
    }

    /* Hero Section */
    .hero-section {
        text-align: center;
        padding-top: 0;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-image {
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    .hero-badges-container {
        width: 100%;
        justify-content: space-between !important;
        gap: 15px !important;
        padding: 0;
        margin-top: 2px;
    }

    .badge-outline {
        width: 139px !important;
        height: 30px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        padding: 0 !important;
    }

    .badge-filled {
        height: 30px !important;
        width: auto !important;
        font-size: 14px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        padding: 0 16px !important;
    }

    .hero-main-title {
        font-size: 26px;
        flex-direction: column;
        align-items: center;
        margin-top: 5px !important;
        margin-bottom: 30px !important;
    }

    .text-gradient-green-text,
    .text-gradient-silver-text {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 42px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
    }

    .hero-subtitle-main {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        max-width: 321px !important;
        width: 100%;
        margin: 10px auto 0 auto !important;
    }

    .hero-subtitle-sub {
        display: none !important;
    }

    .number-badge-container {
        height: 32px;
        margin-bottom: 5px !important;
    }

    .number-text {
        font-size: 14px;
        padding-right: 14px;
        padding-left: 10px;
    }

    .number-box {
        font-size: 14px;
        width: 50px;
        height: 30px;
    }

    .hero-features-cards {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 6px !important;
        max-width: none !important;
        width: calc(100% + 24px) !important;
        margin: 20px -12px 0 !important;
        padding: 0 4px !important;
    }

    .hero-card {
        padding: 0 2px !important;
        flex-direction: row;
        gap: 4px;
        flex: 1;
        width: auto;
        height: auto !important;
        min-height: 65px !important;
        border-radius: 20px !important;
        justify-content: center;
        align-items: center;
    }

    .hero-card i {
        font-size: 24px !important;
    }

    .hero-card .card-text span:first-child {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .hero-card .card-text span:last-child {
        font-size: 11px !important;
        margin-top: 2px !important;
        line-height: 1 !important;
    }

    /* About Section / Instructor Section */
    .instructor-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .section-styled-title {
        font-size: 20px;
        gap: 8px;
        margin-bottom: 5px; /* Minimized */
        white-space: nowrap;
    }

    .section-styled-title::before,
    .section-styled-title::after {
        display: block !important;
        width: 30px !important;
        min-width: 20px !important;
        flex-shrink: 1 !important;
    }

    .track-card {
        padding: 0;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px; /* Add space between stacked cards */
    }

    .course-card-custom {
        width: 240px;
        height: auto;
        min-height: 250px;
        padding: 15px;
    }

    .course-card-custom .card-icon img {
        height: 90px;
        margin-bottom: 10px;
    }

    .course-card-custom .card-title {
        font-size: 15px;
        margin: 5px 0;
    }

    .course-card-custom .card-desc {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .course-card-custom .card-btn {
        padding: 0;
        font-size: 11px;
    }

    /* What you will learn Section */
    .learn-icon-custom img {
        width: 32px !important;
        height: 28px !important;
    }

    .learn-text-custom h4 {
        font-family: Montserrat !important;
        font-weight: 600 !important;
        font-size: 20px !important;
        line-height: 100% !important;
        letter-spacing: 0 !important;
        text-align: right !important;
        margin-bottom: 12px !important; /* Increased space between title and desc */
    }

    .learn-text-custom p {
        font-family: Montserrat !important;
        font-weight: 400 !important;
        font-size: 14px !important;
        line-height: 100% !important;
        letter-spacing: 0 !important;
        text-align: right !important;
    }

    .instructor-styled-title {
        font-size: 32px;
        line-height: 40px;
        width: 100%;
        white-space: normal;
    }

    .instructor-text-top,
    .instructor-text-bottom {
        font-size: 16px;
        line-height: 28px;
        width: 100%;
    }

    .instructor-img-box {
        margin-top: -60px; /* Pull image up to remove empty space */
    }

    .instructor-img-box img {
        height: auto;
        max-height: 400px;
    }

    /* Learning Features */
    .learn-item-custom {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
        padding: 0 20px;
    }

    .learn-icon-custom {
        margin-left: 0;
    }

    .learn-text-custom {
        text-align: right;
    }

    /* Why Choose Us Section */
    .why-choose-us-section .d-flex {
        gap: 15px 6px !important; /* 15px vertical, 6px horizontal */
    }

    .why-card {
        width: calc(50% - 4px); /* 2 in a row with 6px gap */
    }

    .feature-box {
        width: 100%;
        height: auto;
        min-height: 160px;
        padding: 15px 5px;
    }

    .feature-box i {
        font-size: 30px;
        margin-bottom: 5px;
    }

    .feature-box h5 {
        font-size: 12px;
    }

    /* CTA Section */
    .cta-custom-card {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 40px 10px;
        gap: 30px;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .cta-separator {
        display: none;
    }

    .cta-list-part {
        width: auto;
        justify-content: center;
        align-self: center;
        padding-left: 0;
        order: 1;
    }

    .cta-features-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding-right: 0; /* Remove extra right padding to align perfectly with the grid */
        gap: 35px; /* Increased vertical gap */
    }

    .cta-features-list li {
        display: flex;
        justify-content: flex-start; /* Push icon to the right side (RTL) */
        align-items: center;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        border: none;
        gap: 25px; /* Increased gap between icon and text */
        font-family: Montserrat !important;
        font-weight: 500 !important; /* Reduced thickness */
        font-size: 28px !important; /* Increased significantly */
        line-height: 100% !important;
        letter-spacing: 0 !important;
        text-align: right !important; /* Text on the left of the icon, right-aligned */
    }

    .cta-features-list li i {
        font-size: 38px; /* Increased icon size */
        color: #75D0D6;
        position: static !important; /* Override desktop absolute position */
    }

    .cta-text-part {
        width: 100%;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        justify-content: center;
        order: 2;
    }

    .cta-shield {
        max-width: 120px; /* Reduced further from 180px */
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .cta-text-content {
        text-align: center;
        padding: 0 10px;
    }

    .cta-text-content h3 {
        font-family: Montserrat !important;
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .cta-text-content p {
        font-family: Montserrat !important;
        font-size: 16px;
        line-height: 1.5;
    }

    .cta-btn-part {
        width: 100%;
        margin-top: 15px;
        order: 3;
    }

    .btn-cta-custom {
        font-family: Montserrat !important;
        margin: 0 auto;
        justify-content: center;
    }

    .form-footer {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 20px 0 0 0 !important;
        position: relative;
        z-index: 1;
        margin-top: 10px !important; /* Move section up */
        background: transparent !important; /* Remove background so card gradient shows through */
    }

    .main-footer {
        position: relative;
        overflow: hidden;
        border-top: none !important;
    }

    .form-footer::before {
        display: none; /* Remove old bg.png background */
    }

    /* Footer Geometric Background - positioned behind the logos */
    .footer-geo-bg {
        position: absolute;
        top: 60px; /* Moved down */
        left: 50%;
        transform: translateX(-50%);
        width: 390px; /* Set to standard Figma mobile frame width so absolute left coords match perfectly */
        height: 187px;
        pointer-events: none;
        z-index: 0;
        overflow: visible;
    }

    .geo-dot {
        position: absolute;
        border-radius: 50%;
        background: #4BD7D8;
        box-shadow:
            0px 4px 4px 0px rgba(0, 0, 0, 0.25),
            0px 0px 50px 0px rgba(202, 252, 255, 0.3),
            0px 0px 4px 0px rgba(192, 253, 250, 0.6),
            0px 0px 4px 0px #B7FFFB;
    }

    /* Dot 1: Left side, top */
    .geo-dot-1 {
        width: 8px;
        height: 8px;
        top: 0px;
        left: 151px;
    }

    /* Dot 2: Right side */
    .geo-dot-2 {
        width: 10px;
        height: 10px;
        top: 54px;
        left: 332px;
    }

    /* Dot 3: Left side, bottom */
    .geo-dot-3 {
        width: 5px;
        height: 5px;
        top: 43px;
        left: 105px;
    }

    /* === Unified Dashed Line Base Style === */
    .geo-line, .geo-bar {
        position: absolute;
        display: block;
        border: none;
    }

    /* 3. Center Wave Curve (Figma Curve) */
    .geo-curve {
        position: absolute;
        display: block;
        width: 180px;
        height: 115px; /* Shortened to match the new logo distance */
        top: 78px; 
        left: 95px;
        background-image: url("data:image/svg+xml,%3Csvg width='180' height='115' viewBox='0 0 180 115' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M140,0 C180,0 180,38 90,50 C0,62 0,100 40,100' stroke='%2367FCFF' stroke-width='1' stroke-opacity='0.5' stroke-dasharray='5,5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 1;
    }

    /* 4. Top Right Angled Line 1 (Figma Line 1) */
    .geo-line-1 {
        width: 47.4px;
        height: 0;
        top: 4px;
        left: 260px;
        border-top: 1px dashed rgba(103, 252, 255, 0.5);
        transform: rotate(-50.33deg);
        transform-origin: left center;
    }

    /* 5. Top Right Curved Line 2 (Figma Line 2) */
    .geo-line-2 {
        width: 66.6px;
        height: 16px;
        top: 18px;
        left: 268px;
        border-bottom: 1px dashed rgba(103, 252, 255, 0.5);
        border-right: 1px dashed rgba(103, 252, 255, 0.5);
        border-bottom-right-radius: 100%;
        transform: rotate(-32.69deg);
        transform-origin: left center;
    }

    /* 6. Top Left Dashed Line */
    .geo-bar-1 {
        width: 92.5px;
        height: 0;
        top: 73px;
        left: 37px;
        border-top: 1px dashed rgba(103, 252, 255, 0.5);
    }

    /* 7. Bottom Left Dashed Line */
    .geo-bar-2 {
        width: 92.5px;
        height: 0;
        top: 121px;
        left: 35px;
        border-top: 1px dashed rgba(103, 252, 255, 0.5);
    }

    /* 1. Left Line (Comet) */
    .geo-bar-left {
        width: 85px;
        height: 1px;
        top: 92px; /* 3375 - 3283 = 92 */
        left: 40px;
        background: linear-gradient(to left, rgba(103, 252, 255, 0.5) 0%, rgba(103, 252, 255, 0) 100%);
        border: none;
        border-radius: 2px;
        filter: blur(0.5px);
        opacity: 1;
    }

    /* 2. Right Top Line (Comet) */
    .geo-bar-right-top {
        width: 92.5px;
        height: 1px;
        top: 92px; /* Matched exactly with the left comet's height */
        left: 250px; /* Manually adjusted to match user's drawing */
        background: linear-gradient(to left, rgba(103, 252, 255, 0.5) 0%, rgba(103, 252, 255, 0) 100%);
        border: none;
        border-radius: 2px;
        filter: blur(0.5px);
        opacity: 1;
    }

    /* 3. Right Bottom Line */
    .geo-bar-right-bottom {
        width: 92.5px;
        height: 0;
        top: 146px; /* 3429 - 3283 = 146 */
        left: 261px;
        background: transparent;
        border-top: 1px dashed rgba(103, 252, 255, 0.5);
    }

    .form-footer .bottom-logos {
        order: 1 !important;
        margin-bottom: 0 !important;
        flex-direction: column !important; /* Stack logos vertically as in design */
        align-items: center;
        gap: 1.5rem !important;
        width: 100%;
    }

    .form-footer .social-icons {
        order: 2 !important;
        margin-bottom: 0 !important;
    }

    .form-footer>div:first-child {
        order: 3 !important; /* Copyright at the bottom */
    }

    .bottom-logos img {
        height: auto !important;
        max-height: 140px !important; /* Increased logo size */
        width: auto;
        max-width: 200px;
        object-fit: contain;
    }
}

/* Mobile App Wrapper Styling */
@media (max-width: 767px) {
    .mobile-app-wrapper {
        border: 2px solid #02AEB6 !important;
        border-radius: 40px !important;
        overflow: hidden;
        padding: 20px 10px;
        position: relative;
        /* Main background color of the FULL CARD */
        background-color: transparent !important;
        /* Gradient at the bottom starting at #011E27 and fading out into the main color after 100px */
        background-image: none !important;
        background: transparent !important;
    }

    /* Hide ALL light rays (sun glare) on mobile */
    .light-rays-container {
        display: none !important;
    }
}

/* Background Light Rays */
.light-rays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.light-ray {
    position: absolute;
    background-color: rgba(5, 78, 88, 0.9);
    filter: blur(22px);
    border-radius: 50%;
}

.ray-1 {
    width: 85px;
    height: 340px;
    top: 5%;
    left: -20px;
    transform: rotate(-35deg);
}

.ray-2 {
    width: 65px;
    height: 245px;
    top: 25%;
    left: -30px;
    transform: rotate(-41deg);
}

.ray-3 {
    width: 80px;
    height: 300px;
    top: 45%;
    left: 5%;
    transform: rotate(-35deg);
}

.ray-4 {
    width: 80px;
    height: 300px;
    top: 45%;
    right: 5%;
    transform: rotate(35deg);
}

.ray-5 {
    width: 60px;
    height: 250px;
    top: 75%;
    left: -10px;
    transform: rotate(-35deg);
}

.ray-6 {
    width: 60px;
    height: 250px;
    top: 75%;
    right: -10px;
    transform: rotate(35deg);
}

/* Footer Background Lines Opacity */
.form-footer::before {
    opacity: 0.15 !important;
}

/* Geometry Background Opacity */
.geo-bg-group {
    opacity: 0.15 !important;
}

/* Tablet Resizing for Course Cards to fit 3 per row */
@media (min-width: 768px) and (max-width: 991px) {
    .course-card-custom {
        width: 100%;
        padding: 15px 10px;
        height: auto;
        min-height: 250px;
    }
    .course-card-custom .card-icon img {
        height: 80px;
        margin-bottom: 10px;
    }
    .course-card-custom .card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .course-card-custom .card-desc {
        font-size: 11px;
        margin-bottom: 15px;
    }
    .course-card-custom .card-btn {
        width: 140px;
        margin: 0 auto;
        height: 35px;
        font-size: 12px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}