/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, #0f1f3d, #050a16 70%);
    color: white;
    overflow-x: hidden;
    position: relative;
    z-index: 1
}

/* =========================
   GENERAL
========================= */
section {
    padding: 80px 7%;
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* =========================
   HERO (FIXED + FILLED)
========================= */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 90vh;
}

.hero-content {
    max-width: 520px;
}

.hero h1 {
    font-size: 60px;
    background: linear-gradient(90deg,#fff,#00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin-top: 15px;
    color: #aab4d4;
}

.highlight {
    color: #00c6ff;
}

/* CTA */
.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.cta-btn {
    padding: 12px 26px;
    border-radius: 30px;
    background: linear-gradient(90deg,#0072ff,#00c6ff);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.secondary-btn {
    padding: 12px 26px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0,198,255,0.5);
}

/* TRUST */
.trust {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #aaa;
}

/* HERO CARD */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    padding: 30px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.08);

    width: 320px;
}

.glass-card ul {
    margin-top: 15px;
}

.glass-card li {
    margin-bottom: 10px;
    color: #ccc;
}

/* =========================
   ABOUT
========================= */
.about-text {
    text-align: center;
    max-width: 700px;
    margin: auto;
    color: #bbb;
}

.about-grid {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.about-card {
    padding: 25px;
    border-radius: 15px;
    width: 260px;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.06);

    text-align: center;
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-6px);
}

.about-card i {
    font-size: 22px;
    color: #00c6ff;
    margin-bottom: 10px;
}

/* =========================
   SLIDER
========================= */
.slider {
    overflow: hidden;
}

.slide-track {
    display: flex;
    gap: 15px;
    animation: scroll 25s linear infinite;
}

.slide {
    min-width: 220px;
    padding: 18px;

    border-radius: 14px;
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.06);
}

.slide i {
    display: block;
    margin-bottom: 10px;
    color: #00c6ff;
}

@keyframes scroll {
    to { transform: translateX(-50%); }
}

/* =========================
   WHY
========================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
}

.why-card {
    padding: 25px;
    border-radius: 15px;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.why-card i {
    font-size: 22px;
    color: #00c6ff;
    margin-bottom: 10px;
}

/* =========================
   INSTRUCTORS
========================= */
.instructor-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.instructor-card {
    width: 260px;
    border-radius: 15px;
    overflow: hidden;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.06);

    text-align: center;
    transition: 0.3s;
}

.instructor-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.instructor-card h3 {
    margin-top: 10px;
}

.instructor-card span {
    color: #00c6ff;
    font-size: 13px;
}

.instructor-card p {
    padding: 10px;
    font-size: 13px;
    color: #aaa;
}

.instructor-card:hover {
    transform: translateY(-6px);
}

/* =========================
   GALLERY (ANIMATED)
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonial-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.testimonial-card {
    width: 300px;
    padding: 25px;
    border-radius: 15px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.06);
}

.testimonial-card p {
    font-style: italic;
    color: #ccc;
}

.testimonial-card h4 {
    margin-top: 15px;
    color: #00c6ff;
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    padding: 60px 20px;
}

/* ACTION WRAPPER (KEY FIX) */
.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* prevents overlap */
    margin-top: 25px;
}

/* PRIMARY BUTTON */
.cta-btn.large {
    padding: 16px 35px;
    font-size: 16px;
    border-radius: 30px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

/* SECONDARY BUTTON */
.secondary-btn {
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

/* HOVERS */
.cta-btn.large:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
}

.secondary-btn:hover {
    color: #fff;
    border-color: #00c6ff;
    background: rgba(0,198,255,0.08);
}


@media (max-width: 768px) {

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn.large,
    .secondary-btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .cta-btn.large {
        padding: 14px;
    }

    .secondary-btn {
        padding: 12px;
    }
}

.cta-section {
    position: relative;
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0,198,255,0.15);
    filter: blur(100px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
/* =========================
   FORM
========================= */
.register {
    display: flex;
    justify-content: center;
}

.form-card {
    width: 420px;
    padding: 35px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.08);
}

.input {
    position: relative;
    margin-bottom: 15px;
}

.input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #00c6ff;
}

.input input,
.input select {
    width: 100%;
    padding: 12px 12px 12px 40px;

    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: white;
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;

    background: linear-gradient(90deg,#0072ff,#00c6ff);
    color: white;
}

/* =========================
   REVEAL ANIMATION
========================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .about-grid,
    .instructor-grid,
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================
   FLOATING ICONS (FIXED)
========================= */
.floating-icons {
    position: fixed;   /* makes it stick to viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none; /* prevents blocking clicks */
    z-index: 0; /* behind everything */
}

.floating-icons i {
    position: absolute;
    font-size: 30px;
    color: rgba(255,255,255,0.05);
    animation: float 12s infinite ease-in-out;
}

/* RANDOM POSITIONS */
.floating-icons i:nth-child(1){ top:10%; left:10%; }
.floating-icons i:nth-child(2){ top:60%; left:80%; }
.floating-icons i:nth-child(3){ top:40%; left:20%; }
.floating-icons i:nth-child(4){ top:80%; left:50%; }

/* FLOAT ANIMATION */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.mini-footer {
    margin-top: 80px;
    padding: 30px 20px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-item i {
    font-size: 20px;
    color: #00c6ff;
}

.footer-item span {
    font-size: 13px;
}

.footer-item:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-item:hover i {
    text-shadow: 0 0 12px #00c6ff;
}

.footer-copy {
    font-size: 12px;
    color: #777;
}
.custom-select {
    position: relative;
    margin-bottom: 20px;
}

.select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: 0.3s;
}

.select-display i:first-child {
    margin-right: 10px;
    color: #00c6ff;
}

.select-display span {
    flex: 1;
    text-align: left;
    color: #bbb;
}

.select-display:hover {
    background: rgba(255,255,255,0.12);
}

.select-options {
    position: absolute;
    width: 100%;
    top: 110%;
    left: 0;

    background: rgba(15,31,61,0.95);
    backdrop-filter: blur(20px);

    border-radius: 14px;
    overflow-y: auto;
    overflow-x: hidden;

    max-height: 0;
    opacity: 0;

    transition: all 0.3s ease;
    z-index: 100;

    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* ACTIVE STATE */
.select-options.active {
    max-height: 240px; /* 👈 THIS CREATES THE SLIDER EFFECT */
    opacity: 1;
    padding: 5px 0;
}

.select-options div {
    padding: 14px 18px;
    cursor: pointer;
    transition: 0.25s;
    color: #ddd;
    font-size: 14px;
}

.select-options div:hover {
    background: rgba(0,198,255,0.15);
    color: #00c6ff;
    padding-left: 22px;
}
/* Scrollbar */
.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: transparent;
}

.select-options::-webkit-scrollbar-thumb {
    background: linear-gradient(#0072ff, #00c6ff);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .select-options.active {
        max-height: 200px;
    }
}
.select-options {
    scroll-behavior: smooth;
}
.select-options::after {
    content: "";
    position: sticky;
    bottom: 0;
    height: 20px;
    display: block;
    background: linear-gradient(transparent, rgba(15,31,61,0.95));
}
/* FORM CARD */
.form-card {
    width: 420px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    text-align: center;
}

/* PRICE BOX (MAIN FIX) */
.price-box {
    margin: 20px 0 30px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(0,198,255,0.08);
    border: 1px solid rgba(0,198,255,0.2);
}

.price-box span {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}

.price-box h3 {
    margin: 0;
    font-size: 26px;
    color: #00c6ff;
    font-weight: 700;
}

/* INPUT SPACING FIX */
.input {
    margin-bottom: 18px;
}

/* CUSTOM SELECT SPACING */
.custom-select {
    margin-bottom: 20px;
}

/* BUTTON SPACING */
button {
    margin-top: 10px;
}

/* SMALL TEXT */
small {
    display: block;
    margin-top: 20px;
    color: #888;
}
@media (max-width: 768px) {

    .form-card {
        width: 90%;
        padding: 25px;
    }

    .price-box {
        margin: 15px 0 25px;
        padding: 12px;
    }

    .price-box h3 {
        font-size: 22px;
    }
}