/* --- Global Styles & Futuristic Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --primary-color: #00f0ff; /* Neon Cyan */
    --secondary-color: #8b5cf6; /* Electric Purple */
    --dark-bg: #030712; /* Deep Space Black */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --white: #ffffff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif; /* Modern Tech Font */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle glowing mesh background effect */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
}

.container {
    width: 88%;
    max-width: 1150px;
    margin: auto;
}

/* --- Header & Navigation (Glassmorphism) --- */
header {
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

/* Futuristic Underline Hover Effect */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.cta-nav {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 8px 24px;
    border-radius: 6px; 
    color: var(--primary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1), 0 0 15px rgba(0, 240, 255, 0.1);
}

.cta-nav::after {
    display: none; /* Remove underline effect from button */
}

.cta-nav:hover {
    background: var(--primary-color);
    color: var(--dark-bg) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 120px 0; 
    position: relative;
}

.hero h3 {
    font-size: 1rem; 
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.academy-title {
    font-size: 4.5rem; 
    /* Gradient Text Effect */
    background: linear-gradient(90deg, var(--white), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* --- Stats Ribbon (NEW) --- */
.stats-ribbon {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* --- Programs Section (Glass Cards) --- */
.programs {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.programs h2, .why-us h2 {
    font-size: 2.8rem; 
    margin-bottom: 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--glass-bg); 
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 45px 25px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card h3 {
    font-size: 2.2rem; 
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 800;
}

.program-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.why-item {
    background: var(--glass-bg); 
    padding: 40px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.why-item:hover {
    background: rgba(139, 92, 246, 0.05); 
    transform: translateY(-5px);
    border-color: var(--secondary-color); 
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.why-item i {
    font-size: 3rem; 
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.why-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
}

/* --- Admission Ribbon (Cyber Glow) --- */
.admission-ribbon {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ribbon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.enroll-text {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 6px 20px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.admission-status {
    font-size: 3.8rem; 
    text-transform: uppercase;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), #00c3ff);
    color: var(--dark-bg);
    padding: 16px 45px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
}

/* --- Contact Section & Form (NEW) --- */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--white);
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, 
.input-group select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #64748b;
}

.input-group select option {
    background: var(--dark-bg);
    color: var(--white);
}

.input-group input:focus, 
.input-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* --- Footer --- */
footer {
    background-color: #02040a;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-address h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-address p {
    font-size: 1rem;
    color: var(--text-muted);
}

.footer-contact {
    text-align: right;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

.footer-contact span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.developer {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Mobile Menu & Responsive Design --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row; 
    }

    .menu-toggle {
        display: block; 
    }
    
    nav ul {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--glass-border);
        padding: 20px 0;
    }

    nav ul.active {
        display: flex; 
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .academy-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}
