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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0f1c;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: #00c6ff;
}

/* =========================
   BUTTONS (IMPROVED)
========================= */

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.35s ease;
    position: relative;
    z-index: 5; /* ensures visibility above particles */
}

/* Primary */
.btn-primary {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,198,255,0.6);
}

/* Outline */
.btn-outline {
    border: 1px solid #00c6ff;
    color: #00c6ff;
    background: transparent;
}

.btn-outline:hover {
    background: #00c6ff;
    color: #0a0f1c;
    transform: translateY(-3px);
}

/* =========================
   HERO (CLEAN FIXED)
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 140px 5% 80px;
    position: relative;
    background: radial-gradient(circle at 70% 40%, #132a52 0%, #0a0f1c 60%);
}

/* Prevent particles from covering content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    text-align: left;
}

/* Responsive hero heading */
.hero h1 {
    font-size: clamp(42px, 8vw, 100px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ffffff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(16px, 2vw, 25px);
    color: #b8c5e0;
    margin-bottom: 35px;
}

/* =========================
   PARTICLES LAYER FIX
========================= */

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Subtle animated glow (controlled) */
.hero .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero .btn-primary:hover::after {
    opacity: 1;
}
@keyframes pulseGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* =========================
   STATS
========================= */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 80px 8%;
    background: #0f1629;
    text-align: center;
}

.stat h2 {
    font-size: 40px;
    color: #00c6ff;
}

.stat p {
    color: #bbb;
}

/* =========================
   ABOUT
========================= */
.about {
    padding: 100px 8%;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00c6ff;
}

.about p {
    color: #bbb;
    font-size: 17px;
}

/* =========================
   PROGRAMS
========================= */
.programs {
    padding: 100px 8%;
    background: #0f1629;
}

.programs h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: rgba(255,255,255,0.03);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.program-card i {
    font-size: 35px;
    color: #00c6ff;
    margin-bottom: 15px;
}

.program-card h3 {
    margin-bottom: 10px;
}

.program-card p {
    color: #aaa;
    font-size: 14px;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0,198,255,0.2);
}

/* =========================
   WHY SECTION
========================= */
.why {
    padding: 100px 8%;
}

.why h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
}

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

.why-card p {
    color: #aaa;
}

.why-card:hover {
    box-shadow: 0 0 25px rgba(0,198,255,0.2);
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial {
    padding: 100px 8%;
    background: #0f1629;
    text-align: center;
}

.testimonial h2 {
    margin-bottom: 30px;
}

.quote {
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
}

/* =========================
   PREMIUM CTA SECTION
========================= */
.cta {
    position: relative;
    padding: 140px 10%;
    text-align: center;
    background: linear-gradient(135deg, #0f1f3d 0%, #0a0f1c 60%);
    overflow: hidden;
}

/* Soft radial glow behind text */
.cta::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,198,255,0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* subtle tech grid overlay */
.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.cta p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.cta .btn-primary {
    font-size: 18px;
    padding: 14px 40px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    transition: 0.4s ease;
}

.cta .btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 35px rgba(0,198,255,0.7);
}

/* =========================
   FOOTER
========================= */
footer {
    background: #0a0f1c;
    padding: 60px 8% 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-container h3,
.footer-container h4 {
    margin-bottom: 15px;
    color: #00c6ff;
}

.footer-container a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-container a:hover {
    color: #00c6ff;
}

footer p {
    color: #aaa;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    color: #555;
    font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width: 768px) {
    .navbar ul {
        display: none;
    }

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

    .stats {
        flex-direction: column;
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
    }
}
@media (max-width: 1024px) {

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

    .hero p {
        font-size: 20px;
    }

    .cta h2 {
        font-size: 38px;
    }

    .stats {
        padding: 60px 6%;
    }

    .programs,
    .why,
    .about {
        padding: 80px 6%;
    }
}
@media (max-width: 1024px) {

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

    .hero p {
        font-size: 20px;
    }

    .cta h2 {
        font-size: 38px;
    }

    .stats {
        padding: 60px 6%;
    }

    .programs,
    .why,
    .about {
        padding: 80px 6%;
    }
}
@media (max-width: 900px) {

    .hero {
        padding: 0 6%;
    }

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

    .hero p {
        font-size: 18px;
    }

    .stats {
        flex-direction: column;
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
    }
}
@media (max-width: 480px) {

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

    .hero p {
        font-size: 14px;
    }

    .stat h2 {
        font-size: 28px;
    }

    .about p {
        font-size: 15px;
    }

    .program-card,
    .why-card {
        padding: 25px 20px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 15px;
    }

    .btn-primary,
    .btn-outline {
        padding: 8px 18px;
        font-size: 14px;
    }
}
/* =========================
   TESTIMONIAL SLIDER
========================= */

.testimonial {
    padding: 100px 8%;
    background: #0f1629;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    min-height: 140px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.quote {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-slide span {
    color: #00c6ff;
    font-weight: 600;
}

/* Dots */
.testimonial-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-dots span.active {
    background: #00c6ff;
    transform: scale(1.2);
}
.social-icons{
    margin-top:15px;
    display:flex;
    gap:15px;
}

.social-icons a{
    font-size:20px;
    color:#aaa;
    transition:0.3s;
}

.social-icons a:hover{
    color:#00c6ff;
    transform:translateY(-3px);
}

.footer-container div p i{
    margin-right:8px;
    color:#00c6ff;
}