* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img{
height:45px;
margin-right:10px;
}

.logo span {
    position: relative;
    top: -8px;
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 750;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
position: relative;
height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
overflow: hidden;
background: none;
margin-top:70px;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
z-index:-1;
}


.hero-content{
max-width:700px;
padding:20px;
}

.hero-title{
font-size:3rem;
font-weight:700;
line-height:1.2;
text-shadow:0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle{
margin-top:15px;
font-size:1.2rem;
opacity:0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInUp 1s ease 0.4s both;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    margin-top:20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* dark overlay */

.hero-content{
position:relative;
z-index:2;
text-align:center;
max-width:700px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    z-index: 2;
    animation: slideInRight 1s ease 0.6s both;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat p {
    opacity: 0.9;
}

.hero-slider{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
width:100vw;
height:100vh;
z-index:-1;
overflow:hidden;
}

.slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
object-position:center;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide.active{
opacity:1;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #64748b;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.about-image img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:20px;
}

/* Achievements & Events Section */

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.achievements {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top:60px;
}

.column-title {
    margin-bottom: 10px;
}

/* ACHIEVEMENTS GRID */

.achievements-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-bottom: 20px;
}

/* CARD */

.achievement-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
text-align:center;
padding-bottom:15px;
}

/* IMAGE */

.achievement-card img{
width:100%;
height:160px;
object-fit:cover;
}

/* TITLE */

.achievement-card h3{
font-size:16px;
margin:12px 10px 5px;
}

/* TEXT */

.achievement-card p{
font-size:13px;
color:#555;
padding:0 15px;
line-height:1.5;
}

/* HOVER EFFECT */

.achievement-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.column-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-title i {
    color: #2563eb;
    font-size: 1.8rem;
}


.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #2563eb;
    flex-shrink: 0;
}

/*.achievement-icon.success {
    background: linear-gradient(135deg, #10b981, #34d399);
}*/

.achievement-content h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.achievement-content p {
    color: #64748b;
    font-size: 0.95rem;
}

.events-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-top:10px;
margin-bottom: 10px;
}

.event-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
text-align:center;
padding-bottom:15px;
}

.event-card img{
width:100%;
height:150px;
object-fit:cover;
}

.event-card h3{
font-size:16px;
margin:12px 10px 5px;
}

.event-card p{
font-size:13px;
color:#555;
padding:0 15px;
line-height:1.5;
}

.event-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

/* GALLERY SECTION */

.gallery-preview{
max-width:1200px;
margin:40px auto 0;
padding:0 20px;
}

/* title */

.gallery-preview .column-title{
font-size:24px;
font-weight:600;
margin-bottom:20px;
display:flex;
align-items:center;
gap:10px;
color:#1f2937;
}

/* carousel container */

.carousel{
overflow:hidden;
width:100%;
position:relative;
}

/* track */

.carousel-track{
display:flex;
gap:20px;
animation:galleryScroll 50s linear infinite;
align-items:center;
}

/* pause on hover */

.carousel:hover .carousel-track{
animation-play-state:paused;
}

/* images */

.carousel-track img{
width:220px;
height:150px;
object-fit:cover;
border-radius:12px;
flex-shrink:0;
transition:0.4s;
cursor:pointer;
}

/* hover effect */

.carousel-track img:hover{
transform:scale(1.08);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* infinite scroll animation */

@keyframes galleryScroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* Admission Form */
.admissions {
    background: #f8fafc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    display: inline-block;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Email Links */
.email-link {
    color: #10b981 !important;        /* Green color */
    text-decoration: none;           /* Remove underline */
    font-weight: 600;                /* Bold */
    transition: all 0.3s ease;       /* Smooth hover */
}

.email-link:hover {
    color: #059669 !important;       /* Darker green on hover */
    text-decoration: underline;      /* Underline on hover */
    transform: translateX(5px);      /* Slide effect */
}

/* Phone links  */
.phone-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #10b981 !important;
    text-decoration: underline;
    transform: translateX(5px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        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;
    }
    
    .hero {
    flex-direction: column;
    text-align: center;
    height:85vh;
    padding:0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle{
    font-size:1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap:10px;
    }
    
    .hero-stats {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .about-grid,
    .form-row,
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
    flex-direction: column;
    text-align: center;
    height:90vh;
    padding:0 15px;
    }
    .hero-title {
        font-size: 2rem;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
    
    .achievements-grid,
    .events-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }
}

.form-message{
margin-top:15px;
font-weight:500;
color:green;
}
