:root {
    --primary-yellow: #FFD700;
    --dark-red: #B22222;
    --navy-blue: #003366;
    --white: #ffffff;
    --text-dark: #333;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-red);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--dark-red);
}

.btn-admission {
    background: var(--navy-blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-admission:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(135deg, var(--primary-yellow) 60%, #fff 60%);
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 20px;
}

.hero-content {
    flex: 1;
    animation: slideIn 1s ease-out;
}

.tagline {
    color: var(--navy-blue);
    font-style: italic;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--dark-red);
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--navy-blue);
}

.boards {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    background: var(--navy-blue);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.batch-tags {
    margin-bottom: 30px;
}

.tag {
    background: #4caf50;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.cta-main {
    background: var(--dark-red);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.cta-sub {
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    height:100px;
}

.floating-img {
    max-width: 100%;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* We'll handle this with JS */
    }
    .hamburger { display: block; }
    .hero {
        flex-direction: column;
        background: var(--primary-yellow);
        text-align: center;
        padding-top: 50px;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
}

/* Quote Section */
.quote-section {
    background: var(--navy-blue);
    color: var(--primary-yellow);
    padding: 80px 10%;
    text-align: center;
    position: relative;
}

.quote-section i {
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 20px;
}

.quote-section blockquote {
    font-size: 2.2rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 15px;
}

.quote-section cite {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Why Join Us Section */
.why-us {
    padding: 100px 5%;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    color: var(--dark-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--navy-blue);
    margin: 10px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* All cards start white and turn yellow on hover */
.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smoother "pop" animation */
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: var(--primary-yellow); /* Entire card turns yellow */
    border-color: var(--primary-yellow);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.feature-card i {
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg); /* Icon moves slightly on hover */
}


.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--dark-red);
}

.highlighted .icon-box {
    background: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}
/*Hamburger menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
}

.image-wrapper {
    position: relative;
    padding: 20px;
}

.main-hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Trendy organic shape */
    box-shadow: 20px 20px 0px var(--navy-blue);
    transition: var(--transition);
}

.main-hero-img:hover {
    border-radius: 50%;
}

.info-badge {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: bold;
    color: var(--navy-blue);
    animation: float 4s ease-in-out infinite;
}

.top-right { top: 10%; right: -20px; }
.bottom-left { bottom: 10%; left: -20px; animation-delay: 2s; }

.info-badge i { color: #f1c40f; }


/*FOOTER CSS*/

.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo { height: 60px; margin-bottom: 15px; filter: brightness(1.2); }

.footer-info h3 { color: var(--primary-yellow); margin-bottom: 10px; }

.footer-links h4, .footer-contact h4 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    position: relative;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--primary-yellow); padding-left: 5px; }

.footer-contact p { color: #ccc; margin-bottom: 15px; line-height: 1.5; }
.footer-contact i { color: var(--primary-yellow); margin-right: 10px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.8rem; /* Bigger size */
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-yellow);
    transform: translateY(-5px) scale(1.3); /* Grows and lifts up */
    filter: drop-shadow(0 0 8px var(--primary-yellow)); /* Glow effect */
}

/* ABOUT PAGE */
/* Page Header Section */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?q=80&w=1500');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.page-header h1 { font-size: 3rem; color: var(--primary-yellow); }

/* About Layout */
.about-main { padding: 80px 5%; }
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text { flex: 1; }
.about-text h2 { color: var(--navy-blue); font-size: 2.5rem; margin: 15px 0; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 20px; }

.about-image { flex: 1; }
.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vision-mission { margin-top: 30px; }
.vm-item { display: flex; gap: 20px; align-items: flex-start; }
.vm-item i { font-size: 2rem; color: var(--dark-red); }

/* Stats Bar */
.stats-bar {
    background: var(--navy-blue);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 60px 5%;
    text-align: center;
    color: white;
}

.stat-item h2 { font-size: 3rem; color: var(--primary-yellow); margin-bottom: 10px; }
.stat-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* Responsive About */
@media (max-width: 900px) {
    .about-container { flex-direction: column; text-align: center; }
}

/*hereeeeeeeeeeeeeeeeeeeee*/

/* --- Premium Layout --- */
.about-features-section {
  padding: 60px 20px;
  background-color: #f8fafc; 
  text-align: center;
  overflow: hidden; /* Prevents horizontal layout breaking */
}

/* --- The Mobile Swipe Carousel --- */
.about-features-section .features-grid {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
  
  /* Make it swipeable horizontally on phones */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px; /* Space for shadow */
  
  /* Hide scrollbars for a clean app look */
  scrollbar-width: none; 
}
.about-features-section .features-grid::-webkit-scrollbar {
  display: none; 
}

/* --- The Premium Card Design --- */
.about-features-section .feature-card {
  /* On mobile, cards take up 80% of the screen so the user sees the next card peeking out */
  flex: 0 0 85%; 
  scroll-snap-align: center; 
  
  background: white;
  padding: 40px 20px;
  border-radius: 20px; /* Rounder corners feel more modern */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-features-section .feature-graphic {
  background: #eff6ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: transform 0.4s ease;
}

/* --- THE "WOW" FACTOR: Interactive Gradient Border --- */
.about-features-section .feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 5px;
  /* Uses the Gyankosh Red and Blue vibe */
  background: linear-gradient(90deg, #1e3a8a, #dc2626); 
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* What happens on touch/hover */
.about-features-section .feature-card:hover,
.about-features-section .feature-card:active {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-features-section .feature-card:hover::after,
.about-features-section .feature-card:active::after {
  width: 100%; /* Gradient line shoots across the bottom */
}

.about-features-section .feature-card:hover .feature-graphic {
  transform: scale(1.1) rotate(5deg); /* Icon does a subtle pop */
}

/* --- Desktop View (Snaps back to a grid) --- */
@media (min-width: 768px) {
  .about-features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible; /* Turn off swiping */
  }
  .about-features-section .feature-card {
    flex: auto; /* Turn off mobile sizing */
  }
}
/*to hereeeeeeeeeee*/

/* Achievements Section */
.achievements-section {
    padding: 80px 5%;
    background: #fff;
}

.topper-highlight {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.topper-card.gold {
    background: linear-gradient(145deg, #fff, var(--primary-yellow));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #ffd700;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    position: relative;
    max-width: 350px;
}

.topper-rank {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-red);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.topper-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 15px;
    object-fit: cover;
}

.percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-red);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.alumni-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
}

.alumni-list {
    list-style: none;
    margin-top: 15px;
}

.alumni-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.success-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    border-top: 2px solid var(--primary-yellow);
    padding-top: 40px;
}

.point {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff9db;
    padding: 20px;
    border-radius: 10px;
}

.point i { color: var(--dark-red); font-size: 1.5rem; }

.official-banner-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.credibility-banner {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    border: 4px solid var(--primary-yellow); /* Yellow frame to match theme */
    transition: transform 0.3s ease;
}

.credibility-banner:hover {
    transform: scale(1.02); /* Slight zoom for engagement */
}

.caption {
    margin-top: 15px;
    font-weight: 600;
    color: var(--navy-blue);
    font-style: italic;
}

.alumni-card i {
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 15px;
}

.score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-blue);
}

/*FACULTY PAGE */
.faculty-page-bg {
    background: #f8f9fa;
    background-image: radial-gradient(#FFD700 0.5px, transparent 0.5px);
    background-size: 30px 30px; /* Subtle pattern */
}

.faculty-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #00152b 100%);
    padding: 120px 5% 180px;
    text-align: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.text-yellow { color: var(--primary-yellow); }

.badge {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--primary-yellow);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faculty-container {
    margin-top: -100px; /* Overlap with hero */
    padding-bottom: 80px;
}

.faculty-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-card {
    perspective: 1000px;
}

.card-inner {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.modern-card:hover .card-inner {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.image-box {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.modern-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.floating-subject {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    color: var(--dark-red);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-box {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #fdfdfd);
}

.degree {
    display: block;
    color: #666;
    font-style: italic;
    margin: 5px 0 15px;
}

.exp-pill {
    background: var(--navy-blue);
    color: white;
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/*contact css*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: -50px auto 80px;
    padding: 0 20px;
}

.contact-info {
    background: var(--navy-blue);
    padding: 40px;
    border-radius: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.input-group { margin-bottom: 20px; }

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--dark-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #b30000;
    transform: translateY(-3px);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Success Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: -300px; /* Hidden by default */
    background: #4caf50;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.toast.show {
    right: 20px;
}

.toast i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
}

/* Responsive Mobile Fix */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stacks the two columns */
        margin-top: 20px;
        gap: 30px;
    }

    .contact-info {
        padding: 30px 20px;
        order: 2; /* Moves info below the form for better UX */
    }

    .contact-form-container {
        padding: 30px 20px;
        order: 1;
    }

    .page-header.contact-header h1 {
        font-size: 2.2rem;
    }

    .map-container iframe {
        height: 300px; /* Smaller map for mobile */
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr; /* Stacks inputs on mobile */
    }
}

.form-promo {
    background: var(--primary-yellow);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    border: 2px dashed var(--dark-red);
}

/* Admission Hero */
.admission-hero-modern {
    background: url('https://images.unsplash.com/photo-1523050335392-93851179ae22?q=80&w=1500') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(178, 34, 34, 0.7));
}

.admission-hero-content { position: relative; z-index: 2; }

.highlight-text { color: var(--primary-yellow); font-weight: 800; }

/* Flex Layout */
.admission-flex {
    display: flex;
    max-width: 1200px;
    margin: -80px auto 80px;
    gap: 40px;
    padding: 0 20px;
}

.admission-benefits {
    flex: 1;
    background: var(--navy-blue);
    color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-item { display: flex; gap: 20px; margin-bottom: 30px; }
.benefit-item i { font-size: 1.8rem; color: var(--primary-yellow); }

/* Form Styling */
.admission-form-card {
    flex: 1.5;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.input-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-box { flex: 1; margin-bottom: 20px; }

.submit-btn-premium {
    width: 100%;
    padding: 18px;
    background: var(--dark-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(178, 34, 34, 0.3);
    transition: 0.3s;
}

.submit-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(178, 34, 34, 0.5);
}

/* Mobile Fix */
@media (max-width: 900px) {
    .admission-flex { flex-direction: column; margin-top: 20px; }
}
/* Fix for icon and label alignment */
.input-box label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.input-box i {
    width: 20px; /* Ensures consistent spacing for icons */
    text-align: center;
}

/* Fix for input field consistency */
.input-box input, 
.input-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* Radio button group alignment */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    gap: 8px;
}

/* Horizontal spacing for rows */
.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
}


/* --- Student Journey Timeline --- */
.gyankosh-journey {
  padding: 80px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.journey-header {
  text-align: center;
  margin-bottom: 50px;
}

.journey-header h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
}

/* The vertical line */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px; /* Aligned to left for mobile */
  height: 100%;
  width: 4px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
  
  /* Start hidden */
  opacity: 0;
  transform: translateX(-50px);
}

/* The JS will add this class when the user scrolls to it */
.timeline-item.animate-in {
  animation: slideInJourney 0.8s ease-out forwards;
}

@keyframes slideInJourney {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Make sure the delay is attached to the new class */
.timeline-item.animate-in:nth-child(1) { animation-delay: 0.1s; }
.timeline-item.animate-in:nth-child(2) { animation-delay: 0.3s; }
.timeline-item.animate-in:nth-child(3) { animation-delay: 0.5s; }
.timeline-item.animate-in:nth-child(4) { animation-delay: 0.7s; }




.timeline-item.show-step {
  opacity: 1;
  transform: translateX(0);
}

/* The dots */
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 4px solid white;
  box-shadow: 0 0 0 4px #e2e8f0;
  transition: all 0.5s ease;
}

.timeline-item.show-step .timeline-dot {
  background: #dc2626; /* Lights up red when scrolled to */
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.timeline-content {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 4px solid #1e3a8a; /* Blue accent border */
}

/* Desktop layout: Alternate left and right */
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
  }
  .timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 40px;
    transform: translateX(50px); /* Come from the right */
  }
  .timeline-dot {
    left: auto;
    right: -8px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
  }
}

/* responsiveness in coundation batch */
/* --- Batch Tags Container --- */
.hero-content .batch-tags {
    display: flex;
    flex-wrap: wrap; /* THIS is the magic property that fixes mobile responsiveness */
    gap: 12px; /* Adds clean space between the tags */
    margin: 20px 0;
}

/* --- Individual Tag Styling --- */
.hero-content .tag {
    display: inline-block;
    padding: 8px 18px;
    background-color: #4caf50; /* Soft blue background */
    color: white; /* Deep blue text */
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px; /* Pill shape */
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 768px) {
    .hero-content .batch-tags {
        justify-content: center; /* Centers the tags on phone screens */
    }
    
    .hero-content .tag {
        font-size: 0.85rem; /* Slightly smaller text for smaller screens */
        padding: 6px 14px;
    }
}