/* Reset a
d Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Bengali', 'Roboto', sans-serif;
    line-height: 1;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Running Banner */
.running-banner {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fde047;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.banner-content {
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Header */
.header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between; ;
    align-items: center;
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Removed invalid border-radius */
}

.logo-img {
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    align-items: center;
    /* Makes the image perfectly round if it's square, or oval if not */

}

.logo-text h1 {
    color: #fde047;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-text p {
    color: #fef3c7;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-list {
    display:flex;
    list-style: none;
    
}

.nav-link {
    color: #fef3c7;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(253, 224, 71, 0.2);
    color: #fde047;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fde047;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,#f4921f,#086db3 );
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    color: white;
    flex: 1;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fde047;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #fef3c7;
}

.cta-button {
    display: inline-block;
    background: #fde047;
    color: #dc2626;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 224, 71, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 224, 71, 0.4);
}

.slide-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.slide-bg-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50px;
    border: 4px solid #db460b;
    box-shadow: 0 4px 15px rgb(255, 124, 16);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.prev-btn, .next-btn {
    background: rgba(253, 224, 71, 0.9);
    color: #dc2626;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #fde047;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(253, 224, 71, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fde047;
    transform: scale(1.2);
}

/* Brand Section */
.brand-section {
    padding: 40px 0;
    background: white;
    border-bottom: 3px solid #fde047;
}

.brand-poster {
    text-align: center;
}

.poster-recreation {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.poster-bg {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fde047;
    padding: 60px 40px;
    border: 6px solid #fde047;
    position: relative;
}

.poster-bg::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(254, 243, 199, 0.5);
    border-radius: 8px;
}

.poster-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.poster-subtitle {
    font-size: 1.5rem;
    color: #fef3c7;
    margin-bottom: 30px;
}

.poster-phones {
    font-size: 1.1rem;
    color: #fef3c7;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(253, 224, 71, 0.05) 50%, transparent 70%);
    animation: testimonial-bg 10s linear infinite;
}

@keyframes testimonial-bg {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease;
    z-index: 1;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.testimonial-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #fde047;
    background: #dc2626;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: #dc2626;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 1rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fde047;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Faculty Section */
.faculty {
    padding: 80px 0;
    background: white;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #dc2626;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.faculty-photo {
    margin-bottom: 1.5rem;
    
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.photo-placeholder i {
    font-size: 3rem;
    color: #fde047;
}

.faculty-info h3 {
    color: #dc2626;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faculty-subject {
    color: #fde047;
    background: #dc2626;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.faculty-qualification {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.faculty-experience {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 2rem;
    color: #4b5563;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #4b5563;
}

.feature-list i {
    color: #fde047;
    background: #dc2626;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 15px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fde047;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #fef3c7;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #dc2626;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.course-icon i {
    font-size: 2rem;
    color: #fde047;
}

.course-card h3 {
    color: #dc2626;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.course-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-card li {
    padding: 0.3rem 0;
    color: #4b5563;
    font-size: 0.9rem;
}

.course-card li:before {
    content: "✓";
    color: #fde047;
    background: #dc2626;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
}

.course-fee {
    font-weight: 600;
    color: #dc2626;
    font-size: 1.1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.news-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(253, 224, 71, 0.9);
    color: #dc2626;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    font-weight: 600;
}

.news-card.featured .news-date {
    background: rgba(255, 255, 255, 0.9);
}

.news-date .date {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date .month {
    font-size: 0.8rem;
}

.news-content {
    padding: 2rem;
    padding-top: 1rem;
}

.news-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.news-badge:not(.news-card.featured .news-badge) {
    background: #dc2626;
    color: white;
}

.news-card.featured .news-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.news-badge.success {
    background: #10b981;
    color: white;
}

.news-badge.info {
    background: #3b82f6;
    color: white;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #dc2626;
}

.news-card.featured .news-content h3 {
    color: white;
    font-size: 1.5rem;
}

.news-content p {
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.news-card.featured .news-content p {
    color: rgba(255, 255, 255, 0.9);
}

.news-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #dc2626;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

.news-card.featured .news-link {
    color: white;
    border-color: white;
}

.news-link:hover {
    background: #dc2626;
    color: white;
}

.news-card.featured .news-link:hover {
    background: white;
    color: #dc2626;
}

/* Admission Section */
.admission-section {
    padding: 80px 0;
    background: white;
}

.admission-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.admission-info h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.admission-docs {
    list-style: none;
    margin-bottom: 2rem;
}

.admission-docs li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #4b5563;
}

.admission-docs i {
    color: #fde047;
    background: #dc2626;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
}

.admission-benefits {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #dc2626;
}

.admission-benefits h4 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #4b5563;
}

.benefit-item i {
    color: #fde047;
    background: #dc2626;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
}

.admission-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admission-form h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.form-container {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.admission-submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.admission-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.admission-submit-btn i {
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}
.img-section{
    width: 100%;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fde047;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: #dc2626;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fde047;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.5;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
}

.map-container {
    margin-top: 3rem;
}

.map-container h3 {
    color: #dc2626;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fde047;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: #fef3c7;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fde047;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #dc2626;
    color: #fde047;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fde047;
    color: #dc2626;
    transform: translateY(-2px);
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #d1d5db;
}

.contact-details i {
    color: #fde047;
    margin-right: 0.8rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fde047;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
}

/* Responsive Design */
/* Responsive Design - News Section */
@media (max-width: 768px) {
    .news-card.featured {
        grid-column: span 1;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .admission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
   .nav-menu{
    max-width: max-content !important;
   }
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        height: 70vh;
    }

    .slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-bg {
        position: relative;
        width: 100%;
        height: 40%;
        margin-top: 2rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .poster-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .poster-title {
        font-size: 2rem;
    }

    .poster-bg {
        padding: 30px 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}