/* --- Variables & Reset --- */
:root {
    --red: #e31e24;
    --dark: #232323;
    --grey: #444;
    --light: #f4f4f4;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--grey); overflow-x: hidden; }

.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.red-text { color: var(--red); }
.white-text { color: var(--white); }
.bg-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; font-weight: 800; text-transform: uppercase; }

/* --- Top Bar --- */
.top-bar { background: var(--dark); color: var(--white); padding: 10px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; }

/* --- Header --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); margin-left: 25px; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--red); }
.cta-nav { background: var(--red); color: white !important; padding: 8px 20px; border-radius: 5px; }

/* --- Hero Section --- */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1523050853023-8c2d27443ef8?auto=format&fit=crop&w=1500&q=80');
    background-size: cover; background-position: center; padding: 100px 0; color: white;
}
.hero-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; margin-bottom: 40px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-features span { display: block; margin-top: 10px; font-size: 1.1rem; }
.hero-features i { color: var(--red); margin-right: 10px; }

.hero-form-card { background: white; padding: 30px; border-radius: 10px; width: 400px; color: var(--dark); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.hero-form-card h3 { margin-bottom: 20px; text-align: center; border-bottom: 2px solid var(--red); padding-bottom: 10px; }
.hero-form-card input, .hero-form-card select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; }
.btn-submit { width: 100%; padding: 15px; background: var(--red); color: white; border: none; font-weight: bold; cursor: pointer; transition: 0.3s; border-radius: 5px; }
.btn-submit:hover { background: #b31419; }

/* --- Stats --- */
.stats-bar { background: var(--red); color: white; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }

/* --- Grids --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }

.card { background: white; padding: 40px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--red); }
.icon-red { font-size: 3rem; color: var(--red); margin-bottom: 20px; }

/* --- Partner Slider --- */
.slider { overflow: hidden; position: relative; width: 100%; background: #f9f9f9; padding: 30px 0; border-radius: 10px; }
.slide-track { display: flex; width: calc(250px * 14); animation: scroll 20s linear infinite; }
.slide { width: 250px; text-align: center; color: #bbb; font-weight: 800; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 7)); } }

/* --- Steps --- */
.step { text-align: center; }
.step-circle { width: 60px; height: 60px; background: var(--red); color: white; border-radius: 50%; line-height: 60px; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; }

/* --- Testimonials --- */
.testimonials { background: var(--dark); }
.testi-card { background: rgba(255,255,255,0.05); padding: 30px; border-left: 5px solid var(--red); border-radius: 5px; color: white; }

/* --- Footer --- */
footer { background: #111; color: #ccc; padding: 60px 0 20px; }
footer h3 { color: white; margin-bottom: 20px; }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid #222; margin-top: 40px; font-size: 0.8rem; }

/* --- Floating WhatsApp --- */
.whatsapp-btn { 
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; 
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; font-size: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 1000; text-decoration: none;
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-form-card { width: 100%; }
    .nav-links { display: none; } /* Mobile menu would need JS toggle */
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 60px; /* Adjust this height to fit your preference */
    width: auto;  /* Maintains aspect ratio */
    display: block;
    padding: 5px 0;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

/* Adjust navbar for the image logo */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Reduced padding for a sleeker look */
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .site-logo {
        height: 50px; /* Smaller logo on mobile */
    }
}

/* Hero Layout Fix */
.hero {
    background: #1d0d3a; /* Deep dark purple background */
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 5;
}

.hero-text {
    flex: 1.2;
    color: white;
}

/* Image Container & Blob Effect */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.student-img {
    width: 100%;
    max-width: 450px;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.purple-bg-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(157, 80, 187, 0.4) 0%, rgba(29, 13, 58, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Styling for Badge, Heading, and Buttons (from previous steps) */
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.btn-gradient {
    padding: 18px 35px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-image-container { display: none; } /* Hides image on mobile for better focus on text/form */
}