/* ============================= */
/* GLOBAL RESET */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f2027;
    color: white;
    padding-top: 80px; /* For fixed navbar */
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
}


.logo img {
    height: 45px;   /* Adjust size */
    width: auto;
    display: block;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

/* Underline hover animation */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #00c6ff;
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00c6ff;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
    position: relative;
    height: 100vh;
    background: url("images/background.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    padding: 40px 20px;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1.5s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-quote {
    font-size: 1.4rem;
    margin-bottom: 35px;
    min-height: 40px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* CTA Button */
.hero-btn {
    padding: 14px 35px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.5);
}
.intro-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.intro-box h3 {
    margin-bottom: 10px;
    color: #00c6ff;
}

.intro-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.intro-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}
/* Scroll Reveal Initial State */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

/* When Visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* SLIDER CODE*/
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide {
    display: none;
    background: rgba(224, 234, 233, 0.778);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    min-height: 180px;   /* Add this */
}


.slide.active {
    display: block;
}

.slide h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1b5ee3;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.7),
                 0 0 20px rgba(0, 200, 83, 0.5);
    transition: 0.2s ease;
}

.slide h3:hover {
    transform: scale(1.05);
}

.slide p {
    color: #1f1c1c;
    font-size: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin: 10px auto;
    padding-left: 12px;
    border-left: 2px solid rgba(0, 200, 83, 0.5);
    transition: 0.3s ease;
}

.slide p:hover {
    border-left: 2px solid #00c853;
    transform: translateX(4px);
}

/* Arrow Buttons */

.arrow {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
}

.arrow:hover {
    background: #00c6ff;
}

/* Animation */
.hero-sliding-text {
    white-space: nowrap;
    animation: ticker 10s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .navbar {
        padding: 15px 25px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-quote {
        font-size: 1.1rem;
    }
}

/* ================= REGISTER PAGE ================= */

.register-section {
    min-height: 100vh;
    background: url("images/register.avif") no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
.register-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* Adjust darkness */
    z-index: 1;
}
.register-card {
    position: relative;
    z-index: 2;
}

.register-card {
    background: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.8s ease forwards;
}

.register-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.register-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Form */

.register-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.95rem;
}

/* Floating Labels */

.register-form label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 0.9rem;
    color: #aaa;
    transition: 0.3s ease;
    pointer-events: none;
}

.register-form input:focus + label,
.register-form input:valid + label,
.register-form select:focus + label,
.register-form select:valid + label {
    top: -10px;
    left: 8px;
    font-size: 0.75rem;
    background: #0f2027;
    padding: 0 5px;
    color: #00c6ff;
}

/* Row layout */

.form-row {
    display: flex;
    gap: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input {
    width: auto;
}

.form-check label {
    position: static !important;  /* override floating label */
    color: #ccc;
    font-size: 0.85rem;
}

/* Button */

.register-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.5);
}

.secure-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

.success-message {
    background: rgba(0, 255, 150, 0.15);
    border: 1px solid #00ff95;
    color: #00ff95;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.register-form select option {
    background: #1c1c1c;
    color: white;
}

html, body {
    overflow-x: hidden;
}

.hero-sliding-text {
    white-space: nowrap;
}

.hero {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}



/* ================= CONTACT PAGE ================= */

.contact-section {
    position: relative;
    min-height: 100vh;
    background: url("images/about.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.contact-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    width: 100%;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    margin-bottom: 50px;
    opacity: 0.8;
}

/* Grid Layout */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Contact Cards */

.contact-card {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.contact-card img {
    width: 50px;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* ===== PAGE LOAD ANIMATIONS ===== */

.hero {
    animation: fadeBackground 1.2s ease forwards;
}

@keyframes fadeBackground {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Title Animation */
.animate-title {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 0.5s;
}

/* Subtitle Animation */
.animate-subtitle {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 1s;
}

/* Slider Animation */
.animate-slider {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 1.5s;
}

/* Buttons Animation */
.animate-buttons {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 2s;
}

/* Reusable Slide Up */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background-size: 110%;
    animation: zoomInBg 6s ease forwards;
}

@keyframes zoomInBg {
    from { background-size: 120%; }
    to { background-size: 110%; }
}

.about-page {
    padding: 120px 20px 80px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* HERO */

.about-hero {
    text-align: center;
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.subtitle {
    opacity: 0.8;
}

/* FLEX SECTION */

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.85;
}

/* STATS */

.about-stats {
    margin-bottom: 100px;
}

.stats-title {
    text-align: center;
    margin-bottom: 40px;
}

.stat {
    margin-bottom: 25px;
}

.bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    transition: width 1.5s ease;
}

/* CTA */

.about-cta {
    text-align: center;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 35px;
    border-radius: 40px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,114,255,0.5);
}

/* ================= REVEAL ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Reverse layout for second section */

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

.about-flex.reverse {
    flex-direction: row-reverse !important;
}

@media (max-width: 768px) {
    .about-flex,
    .about-flex.reverse {
        flex-direction: column;
        text-align: center;
    }
}

/* ================= MOTIVATION SECTION ================= */

.about-motivation {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f2027, #162d3a, #203a43);
    position: relative;
}

.motivation-content {
    max-width: 900px;
    margin: 0 auto;
}

.motivation-title {
    font-size: 2.4rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.motivation-text {
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.85;
    font-size: 1.05rem;
}

/* Animated Button */

.motivation-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    border-radius: 40px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    position: relative;
}

.motivation-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,114,255,0.5);
}

/* Subtle Pulse Animation */

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(0,114,255,0.4); }
    50% { box-shadow: 0 0 25px rgba(0,114,255,0.7); }
    100% { box-shadow: 0 0 0 rgba(0,114,255,0.4); }
}

.motivation-btn {
    animation: pulseGlow 3s infinite;
}

.brand-name {
    background: linear-gradient(90deg, #00c853, #009688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.slide p {
    margin: 6px 0;   /* top-bottom spacing reduced */
    line-height: 1.6; 
}

@media (max-width: 768px) {

    .navbar {
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-links {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-links a {
        font-size: 14px;
        padding: 10px 5px;
    }

    /* Hide scrollbar (optional) */
    .navbar::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 768px) {

    .about-flex,
    .about-flex.reverse {
        flex-direction: column;
    }

    .about-image {
        order: 1;
    }

    .about-text {
        order: 2;
    }

}
@media (max-width: 768px) {

    .slider-container,
    .slider,
    .slide {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .slide {
        flex: 0 0 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

}
@media (max-width: 768px) {

    /* Prevent any horizontal overflow */
    html, body {
        overflow-x: hidden;
    }

    .hero {
        padding: 40px 15px;
        height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .slider-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        position: relative;
        padding: 0 10px;
    }

    .slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px 15px;
    }

    .slide h3,
    .slide p {
        word-break: break-word;
    }

    /* Stack buttons vertically */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

}

.mobile-slider-controls {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.mobile-slider-controls button {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 50%;
    cursor: pointer;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

/* Active page */
.nav-links a.active-nav {
    color: #1b5ee3;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Optional hover */
.nav-links a:hover {
    color: #1b5ee3;
}
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.slider-track {
    display: inline-flex;
    gap: 50px; /* spacing between duplicates */
    animation: scrollText 15s linear infinite;
}

.slider-track span {
    font-size: 16px;
    font-weight: 500;
}

/* Infinite left scroll */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.hero-slider-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.hero-slider-track {
    display: inline-flex;
    gap: 60px;
    animation: slideLeft 18s linear infinite;
}

.hero-slider-track span {
    font-size: 15px;
    line-height: 1.6;
}

/* Smooth infinite scroll */
@keyframes slideLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}






