/* global variables */
:root {
    --primary-color: #024D9C;
    --text-color: #5A5A5A;
    --text-light: #A3A3A3;
    --accent-color: #000000;
    --border-color: #DEDEDE;
    --bg-color: #FFFFFF;
    --bg-light: #F1ECE7;
    --red-accent: #D8292F;
    --font-primary: 'Anton', sans-serif;
    --font-secondary: 'Unbounded', sans-serif;
    --max-width: 1290px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.2;
    color: var(--accent-color);
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 60px;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: blue;
    color: #fff;
}

.btn-primary:hover {
    background-color: black;
    color: white;
    border-radius: 0 0 20px 0;
}

.btn-outline {
    background-color: blue;
    color: white;
}

.btn-outline:hover {
    background-color: black;
    color: #fff;
    border-radius: 0 0 20px 0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.icon-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* Success Message Styling */
.success-message {
    transition: opacity 0.5s ease;
}

.success-message.fade-out {
    opacity: 0;
}

.success-container {
    text-align: center;
    padding: 30px 20px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    animation: checkmark-bounce 0.6s ease-out;
}

@keyframes checkmark-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 24px;
    color: #333;
    margin: 15px 0 10px;
    font-weight: bold;
}

.success-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.success-title {
    font-size: 24px;
    margin: 10px 0;
    font-weight: 600;
    color: #1a1a1a;
}

.success-text {
    font-size: 16px;
    margin: 10px 0;
    color: #444;
}

/* Validation Error Styling */
.error-input {
    border: 2px solid #e53e3e !important;
}

.error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 16px;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        left: 12px;
        padding: 8px 8px;
    }

    .wa-icon {
        width: 20px;
        height: 20px;
    }
}

.wa-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-right: 12px;
}

.wa-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 14px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
}

.logo img {
    height: 60px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    text-transform: capitalize;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.header-action {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-color);
}

.mobile-toggle svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 1024px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-action .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slider-nav {
    position: absolute;
    top: 180px;
    left: 180%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===================== */
/* HERO MOBILE FIX       */
/* ===================== */
@media (max-width: 768px) {
    .hero {
        height: 30vh;
        min-height: unset;
        width: 100%;
        overflow: hidden;
        align-items: center;
    }

    .hero-slider {
        width: 100%;
        height: 100%;
    }

    .hero-slider .slide {
        width: 100%;
        height: 100%;
    }

    .hero-slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        padding-left: 15px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* CTA HEADING FIX */
    .cta-content h2,
    #cta-heading {
        font-size: 2rem !important;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .cta-wrapper {
        padding: 60px 20px;
        border-radius: 20px;
    }

    .cta-form-box {
        padding: 30px 20px;
        gap: 20px;
    }

    .cta-form-box label {
        font-size: 16px;
        gap: 8px;
    }

    .cta-form-box input,
    .cta-form-box textarea {
        font-size: 16px;
        padding: 10px 0;
    }

    .cta-rocket {
        width: 100px;
        left: 20px;
        top: 80px;
    }

    .cta-island {
        width: 120px;
        right: 20px;
        bottom: 20px;
    }

    /* GENERAL MOBILE FIX */
    * {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* COMPANIES SECTION ALIGNMENT */
    .companies-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .company-item {
        min-height: 300px;
    }

    .company-item img {
        height: 150px;
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    width: 90%;
    margin: 0 auto;
}

.about-desc p {
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image img {
        width: 100%;
    }
}

.courses {
    background: #f5f5f5;
}

/* TOP SECTION */
.courses-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* CARD */
.course-card {
    display: flex;
    flex-direction: column;
}

/* TITLE */
.course-card h3 {
    color: #0b4ea2;
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* TEXT */
.course-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* BUTTON GROUP */
.btn-group {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* BUTTON ROW */
.course-btn-row {
    display: flex;
    justify-content: end;
    gap: 20px;
    margin: 30px 0;
}

.course-btn-row-2 {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 30px 0;
}

/* BOTTOM CARDS */
.courses-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 5%;
}

.course-card img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 15px;
}

.course-card h3 {
    color: #0b4ea2;
    font-size: 20px;
}

.course-card p {
    font-size: 14px;
}

/* TITLE FIX */
.section-title {
    font-size: 36px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Movies/IP Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.movie-item {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 15px 15px 25px 15px;
    text-align: center;
    transition: 0.3s ease;
}

.movie-item img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.movie-item h1 {
    font-size: 18px;
    font-weight: 800;
    margin-top: 15px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: 1fr;
    }
}

/* Reviews Slider */
.testimonial-section {
    background: #fff;
    padding: 80px 20px;
}

.container {
    max-width: 1300px;
    margin: auto;
}

.title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.title span {
    color: #4D4D4D;
}

.slider {
    margin-top: 50px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.card {
    position: relative;
    min-width: 380px;
    max-width: 420px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 20px 20px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

@media (max-width: 480px) {
    .card {
        min-width: auto;
        width: 100%;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 22px;
    opacity: 0.7;
}

.card-img {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 14px;
    background: #f9f9f9;
}

.card-img img {
    max-width: 110%;
    max-height: 110%;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.card-img img:hover {
    transform: scale(1.03);
}

.cta-btn {
    margin-top: 40px;
    padding: 12px 30px;
    border-radius: 50px;
    background: #5338FF;
    color: #fff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
}

.location {
    margin-top: 15px;
    color: red;
    font-size: 16px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Companies */
.companies-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.company-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 350px;
    text-align: center;
}

.company-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.company-item h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* CTA Form */
.cta-section {
    background: #f3f3f3;
    padding: 80px 16px;
}

.cta-wrapper {
    max-width: 1100px;
    margin: auto;
    background: #16549c;
    border-radius: 40px;
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: #FFFFFF;
    font-family: "Anton", Sans-serif;
    font-size: 55px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1em;
}

.cta-subtext {
    margin: 15px 0 30px;
    font-weight: 600;
}

.cta-form-box {
    background: #e5e5e5;
    padding: 50px 60px;
    border-radius: 20px;
    max-width: 650px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cta-form-box label {
    font-size: 18px;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

.cta-form-box input,
.cta-form-box textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #bdbdbd;
    background: transparent;
    padding: 12px 0;
    outline: none;
    font-size: 16px;
}

.cta-form-box input::placeholder,
.cta-form-box textarea::placeholder {
    color: #9c9c9c;
}

.cta-form-box textarea {
    height: 120px;
    resize: none;
}

.icon-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.cta-form-box .btn {
    padding: 15px 31px;
    font-size: 13px;
    border-radius: 0 0 15px 0;
}

.cta-form-box button {
    display: block;
    margin: 20px auto 0;
}

.cta-rocket {
    position: absolute;
    left: 60px;
    top: 120px;
    width: 140px;
}

.cta-island {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 180px;
}

.floating-icon {
    position: absolute;
    width: 150px;
    will-change: transform;
}

.icon-1 {
    top: 10px;
    left: 50%;
}

.icon-2 {
    top: 80px;
    right: 200px;
}

.fade-element {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.fade-element.show {
    opacity: 1;
    transform: translateY(0);
}

.social-strip {
    background: #16549c;
    padding: 60px 20px;
    overflow: hidden;
}

.social-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(60px, 12vw, 118px);
    font-weight: 900;
    letter-spacing: 5px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    pointer-events: none;
}

.social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.social-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.social-item:hover {
    transform: translateY(-4px);
}

/* Footer */
footer {
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-top {
    background: #f5f5f5;
    padding: 50px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: red;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
}

.footer-address {
    margin-top: 20px;
    font-size: 13px;
}

.footer-bottom {
    background: #165aa7;
    text-align: center;
    padding: 40px 20px 30px;
    color: #fff;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 30px;
}

.footer-line {
    width: 80%;
    height: 2px;
    background: #fff;
    margin: 0 auto 30px;
    opacity: 0.6;
}

.footer-bottom-logo img {
    max-width: 80px;
    margin-top: -60px;
    position: absolute;
    right: 30%;
}

.footer-copy {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 13px;
    opacity: 0.85;
}

/* ========================= */
/* MOBILE RESPONSIVE (480px) */
/* ========================= */
@media (max-width: 480px) {

    /* CTA HEADING EXTRA SMALL */
    .cta-content h2,
    #cta-heading {
        font-size: 1.6rem !important;
    }

    /* HERO FIX */
    .hero {
        height: 30vh;
        min-height: unset;
        width: 100%;
        align-items: center;
    }

    .hero-slider .slide img {
        object-fit: contain;
        object-position: center;
    }

    .hero-overlay {
        padding: 0;
    }

    .hero-content {
        padding: 0 15px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* GRID → 1 COLUMN */
    .courses-top,
    .courses-bottom {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .course-card {
        text-align: center;
        align-items: center;
    }

    .course-card img {
        width: 100%;
        border-radius: 12px;
    }

    .course-card h3 {
        font-size: 22px;
    }

    .course-card p {
        font-size: 18px;
        padding: 0 10px;
    }

    .btn-group {
        justify-content: center;
        width: 100%;
    }

    .course-btn-row,
    .course-btn-row-2 {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .course-btn-row-2 a {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 26px;
    }

    .companies-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .company-item {
        text-align: center;
        min-height: 300px;
    }

    .company-item img {
        width: 100%;
        height: 150px;
        object-fit: contain;
    }

    .company-item h4 {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-about p {
        font-size: 13px;
        padding: 0 10px;
    }

    .footer-address {
        font-size: 12px;
    }

    .footer-col ul li {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 50px 15px 25px;
    }

    .footer-bottom-logo img {
        position: static;
        margin: 0 auto 15px;
        display: block;
    }

    .footer-line {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-copy {
        font-size: 13px;
    }

    .footer-desc {
        font-size: 12px;
    }
}