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

html {
    scroll-behavior: smooth;
}

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;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    border-radius: 2px;
}

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

.bg-light {
    background-color: #f8f9fa;
}

.bg-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.bg-primary .section-header h2,
.bg-primary .section-header p {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2980b9;
    border: 2px solid #2980b9;
}

.btn-secondary:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    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;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 600;
}

.nav-logo i {
    color: #2980b9;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2980b9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2980b9;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect fill="%23e8f5e8" width="1000" height="1000"/><path fill="%23d4ecd4" d="M0 0h1000v1000H0V0z"/><path fill="%23c1e3c1" d="M0 100h1000v800H0V100z"/><path fill="%23aedaae" d="M0 200h1000v600H0V200z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    display: grid;
    gap: 30px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #2980b9;
    font-weight: 700;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

/* Education Section */

/* Featured School Styles */
.featured-school {
    margin-bottom: 60px;
}

.featured-school-card {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(41, 128, 185, 0.2);
    overflow: hidden;
    position: relative;
}

.featured-school-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.school-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.school-logo {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.school-logo i {
    font-size: 3rem;
    color: white;
}

.school-info h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.school-tagline {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.school-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.school-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.school-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.school-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.school-stats .stat h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.school-stats .stat p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.school-features {
    display: grid;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.5rem;
    color: white;
    min-width: 30px;
}

.feature h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.feature a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.feature a:hover {
    color: white;
    border-bottom-color: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.school-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.featured-regular {
    border: 2px solid #2980b9;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.featured-regular::before {
    content: 'FEATURED';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.school-card:hover {
    transform: translateY(-10px);
}

.school-icon {
    margin-bottom: 20px;
}

.school-icon i {
    font-size: 3rem;
    color: #2980b9;
}

.school-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.school-card ul {
    list-style: none;
    margin-top: 20px;
}

.school-card ul li {
    padding: 8px 0;
    color: #7f8c8d;
    border-bottom: 1px solid #ecf0f1;
}

.school-card ul li:last-child {
    border-bottom: none;
}

.school-website-btn {
    margin-top: 25px;
    text-align: center;
}

.school-website-btn .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.school-website-btn .btn i {
    font-size: 0.9rem;
}

.education-facilities {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.education-facilities h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.facility-item:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
}

.facility-item i {
    font-size: 1.5rem;
    color: #2980b9;
}

.facility-item:hover i {
    color: white;
}

/* Governance Section */
.governance-content {
    display: grid;
    gap: 60px;
}

.panchayat-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.panchayat-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header i {
    font-size: 1.8rem;
}

.card-content {
    padding: 30px;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.member-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #7f8c8d;
}

.member-list li:last-child {
    border-bottom: none;
}

.panchayat-services h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

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

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 20px;
}

.service-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Infrastructure Section */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.infrastructure-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.infrastructure-card:hover {
    transform: translateY(-10px);
}

.featured-infrastructure {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 3px solid;
    border-image: linear-gradient(45deg, #2980b9, #3498db) 1;
}

.infrastructure-header {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.infrastructure-header i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.infrastructure-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.infrastructure-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.infrastructure-content {
    padding: 30px;
}

.infrastructure-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.infrastructure-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2980b9;
}

.feature-item i {
    font-size: 1.3rem;
    color: #2980b9;
    min-width: 20px;
}

.feature-item span {
    font-weight: 500;
    color: #2c3e50;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Featured Service Styles */
.featured-service {
    position: relative;
    border: 2px solid #2980b9;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.featured-service::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    border-radius: 15px;
    z-index: -1;
}

.featured-service .service-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    justify-content: center;
}

.featured-service .service-highlight i {
    font-size: 1.2rem;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #2980b9;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card ul {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0;
    color: #7f8c8d;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2980b9;
    font-weight: bold;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2980b9;
    margin-top: 5px;
}

.contact-item h4 {
    color: white;
    margin-bottom: 10px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Modern Contact Form Styles */
.contact-form-modern {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(41, 128, 185, 0.1);
}

.form-header {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.form-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.form-icon i {
    font-size: 2rem;
    color: white;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.form-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.modern-form {
    padding: 40px;
}

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

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2980b9;
    font-size: 1.1rem;
    z-index: 2;
}

.textarea-group .input-icon {
    top: 20px;
    transform: none;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 18px 50px 18px 50px;
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    resize: vertical;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: transparent;
    transition: color 0.3s ease;
}

.input-group input:focus::placeholder,
.input-group textarea:focus::placeholder {
    color: #bdc3c7;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 20px rgba(41, 128, 185, 0.1);
    transform: translateY(-2px);
}

.input-group label {
    position: absolute;
    left: 50px;
    top: 18px;
    font-size: 1rem;
    color: #7f8c8d;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:valid:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:valid:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.85rem;
    color: #2980b9;
    font-weight: 500;
}

/* Valid input styling */
.input-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #27ae60;
}

.input-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #27ae60;
}

/* Invalid input styling */
.input-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

.input-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Valid label color */
.input-group input:valid:not(:focus):not(:placeholder-shown) + label {
    color: #27ae60;
    top: -10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.input-group textarea:valid:not(:focus):not(:placeholder-shown) + label {
    color: #27ae60;
    top: -10px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Invalid label color */
.input-group input:invalid:not(:focus):not(:placeholder-shown) + label {
    color: #e74c3c;
    top: -10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.input-group textarea:invalid:not(:focus):not(:placeholder-shown) + label {
    color: #e74c3c;
    top: -10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modern-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2980b9, #3498db);
    border: none;
    border-radius: 15px;
    padding: 18px 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 128, 185, 0.3);
}

.modern-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-content {
    position: relative;
    z-index: 1;
}

.btn-text i {
    margin-right: 10px;
    font-size: 1rem;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    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: #2980b9;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: rgba(255, 255, 255, 0.6);
}

/* 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: 20px 0;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .education-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .panchayat-info {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .featured-school-card {
        padding: 30px;
    }
    
    .school-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .school-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .school-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-infrastructure {
        grid-column: 1;
    }
    
    .infrastructure-features {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .school-info h2 {
        font-size: 1.8rem;
    }
    
    .school-stats {
        grid-template-columns: 1fr;
    }
    
    .school-stats .stat h3 {
        font-size: 1.5rem;
    }
    
    .infrastructure-header {
        padding: 20px;
    }
    
    .infrastructure-header i {
        font-size: 2.5rem;
    }
    
    .infrastructure-header h3 {
        font-size: 1.5rem;
    }
    
    .infrastructure-content {
        padding: 20px;
    }
    
    .form-header {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 1.6rem;
    }
    
    .modern-form {
        padding: 30px 20px;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
    }
    
    .form-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.school-card,
.service-card,
.panchayat-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2980b9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3498db;
}
