/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5276;
    --secondary-color: #2e86c1;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #333;
    --text-light: #777;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: #fff;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background-color: var(--primary-color);
}

.notice-btn {
    background-color: var(--warning-color);
    color: #fff;
}

.notice-btn:hover {
    background-color: #e67e22;
}

.admin-btn {
    background-color: var(--accent-color);
    color: #fff;
}

.admin-btn:hover {
    background-color: #c0392b;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */

/*.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}*/
.hero {
    position: relative;
    height: 100vh;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 80%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide.active {
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.8rem;
    margin-bottom: 20px;
    
}

/*.gandhi-img {
    width: 100px;
    height: 100px;
    margin-right: 400px;
    margin-left: 10px;
}

.emblem-img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-left: 400px;
}*/

.slide-content h6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gandhi-img, .emblem-img {
    width: 80px;
    height: 80px;
    margin: 0 10px;
}

.slide-content h6 {
    font-size: 1.2rem;
    margin-bottom: 0px;
    
}
.slide-content-a {
    margin-bottom: 150px;
}

.slider-controls {
    position: absolute;
    bottom: 30%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.slider-prev, .slider-next {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/*.hero-about {
        position: relative;
        bottom: 0;
        padding: 15px 10px;
        text-align: center;
        background: rgba(0,0,0,0.5); /* keep readability 
}*/

.hero-about p {
    max-width: 950px;
    margin: 0 auto;
    margin-top: 0%;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ecf0f1;
    text-align: center;
}

/* Team Section */
.team {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.team h2 {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #333;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}


 .team-member img {
    width: 180px !important;     
    height: 180px !important;
    border-radius: 50% !important;
    margin-bottom: 15px;
    object-fit: cover !important;
    border: 3px solid #007BFF;
    display: block;
    margin-left: auto;
    margin-right: auto;
} 

/* .team-member img {
    width: 180px;              /* fixed width 
    height: 180px;             /* fixed height 
    border-radius: 50%;        /* circular 
    margin-bottom: 15px;
    object-fit: cover;         /* crop instead of stretch 
    border: 3px solid #007BFF; /* nice border 
} */

/* .team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #007BFF;
} */

.team-member h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    font-weight: 600;
    color: #222;
}

.team-member p {
    font-size: 15px;
    color: #555;
    margin: 4px 0;
}

.read-more {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.5;
    color: #333;
}

.read-more .more-text {
    display: none;
    /* hidden by default */
}

.see-more-btn {
    color: #1a5276;
    cursor: pointer;
    font-weight: bold;
    border: none;
    background: none;
    padding: 0;
    margin-left: 5px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.about > .container > p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion {
    margin-top: 40px;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--secondary-color);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content p, .accordion-content ul {
    padding: 20px;
}

.accordion-content ul {
    list-style-type: none;
}

.accordion-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.accordion-content li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    color: #fff;
    margin-left: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transition: 0.4s;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 10px 0;
        text-align: center;
    }
    
    /*.hero {
        height: auto;
        min-height: 100vh;
    }*/
    .hero-about p {
        font-size: 0.8rem;
        line-height: 1.4;
       /* padding: 0 10px;*/
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 20px;
    }
    .slide-content-a {
        margin-bottom: 50px; /* reduce gap */
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .stats .container, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    .slide-content-a {
        margin-bottom: 20px; /* even smaller for extra small screens */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        max-width: 90%;
    }
}

@media (max-width: 500px) {
    .team-member img {
        width: 140px;
        height: 140px;
    }
}