/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    
}

.nav-logo h2 {
    color: #059669;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    
    
    
}

    .page {
        position: relative;
        top: 30px;
        font-size: 20px;
        font-weight: bold;
    }
    .page img {
        position: relative;
        top: 4px;
    }
/* Slider Button Styling */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);  /* semi-transparent black */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Hover effect */
.slider-btn:hover {
  background: rgba(255, 215, 0, 0.9);  /* golden hover */
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Positioning */
.prev {
  left: 15px;
}

.next {
  right: 15px;
}


.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    
}

.nav-link:hover,
.nav-link.active {
    color: #059669;
    background-color: #f0fdf4;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    
}

.slide1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top
}



/* ===== Footer Base ===== */
.footer {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #ddd;
    padding: 60px 20px 25px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}
.footer img {
    position: relative;
    top: 5px;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.15;
    z-index: 0;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

/* ===== Content Grid ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

/* ===== Logo Section ===== */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ff4c4c;
    background: #fff;
    padding: 5px;
}

/* ===== Section Headings ===== */
.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #ff4c4c;
    display: inline-block;
    padding-bottom: 5px;
}

/* ===== Links ===== */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: #ff4c4c;
    padding-left: 6px;
}

.news-ticker {
background: #919191;
color: #fff;
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
padding: 10px 0;
margin-top: 10px;
}


.news-ticker p {
display: inline-block;
padding-left: 100%;
animation: ticker 15s linear infinite;
}


@keyframes ticker {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}

/* ===== Social Icons ===== */
.footer .social-links {
    margin-top: 10px;
}

.footer .social-link {
    margin-right: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer .social-link:hover {
    transform: scale(1.2);
}

/* ===== Text ===== */
.footer-section p {
    margin: 6px 0;
    color: #bbb;
    
}

/* ===== Bottom ===== */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #aaa;
    
}

/* ===== Responsive Fix ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer .social-links {
        text-align: center;
    }
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.nav-logo {
    display: flex;
    position: relative;
    right: 10px;
    align-items: center;  /* vertically center karega */
    gap: 5px;            /* logo aur text ke beech thoda space */
}

.nav-logo img {
    width: 250px;          /* fix size */
    height: auto;         /* aspect ratio maintain */
    object-fit: contain;  /* image distort na ho */
}

.nav-logo h2 {
    font-size: 20px;      /* text thoda balanced lage */
    margin: 0;            /* default margin remove */
    line-height: 1.2;     /* text ka spacing normal */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    background: rgba(0,0,0,0.7);
    padding: 2rem;
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #047857;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}
.ann {
    position: relative
    ;
    top: 5px;
}

/* Quick Access Cards */
.quick-access {
    padding: 4rem 0;
    background: #f9fafb;
}

.quick-access h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #374151;
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid black;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.card-link:hover {
    background: #047857;
}

/* News Section */
.news-section {
    padding: 4rem 0;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #374151;
    margin-bottom: 3rem;
}

.highlight h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #374151;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    
}

.news-item {
    background: rgb(230, 230, 230);
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news-date {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-item p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.read-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    background-color: rgb(137, 74, 255);
    border-radius: 5px;
    padding: 5px;
}

.read-more:hover {
    color: #047857;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 6rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Teachers Section */
.teachers-section {
    padding: 4rem 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.teacher-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
}

.teacher-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.teacher-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #059669;
}

.teacher-card.featured .teacher-image img {
    width: 200px;
    height: 200px;
}

.teacher-info h3 {
    color: #374151;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.designation {
    color: #059669;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qualification {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.experience {
    color: #6b7280;
    margin-bottom: 1rem;
}

.bio {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject {
    background: #f0fdf4;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.result-checker {
    max-width: 800px;
    margin: 0 auto;
}

.result-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.result-form h2 {
    text-align: center;
    color: #374151;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.submit-btn {
    width: 100%;
    background: #059669;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #047857;
}

.result-display {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.result-header {
    background: #059669;
    color: white;
    padding: 2rem;
    text-align: center;
}

.result-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.student-info {
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.info-row .label {
    font-weight: 600;
    color: #374151;
}

.info-row .value {
    color: #6b7280;
}

.marks-table {
    padding: 2rem;
    overflow-x: auto;
}

.marks-table table {
    width: 100%;
    border-collapse: collapse;
}

.marks-table th,
.marks-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.marks-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.result-summary {
    padding: 2rem;
    background: #f9fafb;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    text-align: center;
}

.summary-item .label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.summary-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #059669;
}

.result-actions {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.print-btn,
.download-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.print-btn {
    background: #6b7280;
    color: white;
}

.print-btn:hover {
    background: #4b5563;
}

.download-btn {
    background: #059669;
    color: white;
}

.download-btn:hover {
    background: #047857;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1rem;
}

.recent-results {
    margin-top: 3rem;
}

.recent-results h2 {
    text-align: center;
    color: #374151;
    margin-bottom: 2rem;
}

.announcements {
    display: grid;
    gap: 1rem;
}

.announcement {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.announcement .date {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.announcement h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.announcement p {
    color: #6b7280;
}

/* Gallery Section */
.gallery-filters {
    padding: 2rem 0;
    background: #f9fafb;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #059669;
    background: white;
    color: #059669;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #059669;
    color: white;
}

.gallery-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.modal-prev,
.modal-next {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255,255,255,0.4);
}

/* Admission Form */
.admission-info {
    padding: 4rem 0;
    background: #f9fafb;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 0.5rem 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.info-card li:last-child {
    border-bottom: none;
}

.admission-form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    color: #374151;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #059669;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.declaration {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #059669;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: #374151;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.reset-btn {
    background: #6b7280;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reset-btn:hover {
    background: #4b5563;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.success-modal .modal-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
}

.success-modal h2 {
    color: #059669;
    margin-bottom: 1rem;
}

.success-modal p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.close-btn {
    background: #059669;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: #047857;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text p {
    color: #6b7280;
    line-height: 1.6;
}

.map-container {
    margin-top: 2rem;
}

.map-container h3 {
    color: #374151;
    margin-bottom: 1rem;
}

.map-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-form-container h2 {
    color: #374151;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.key-personnel {
    padding: 4rem 0;
    background: #f9fafb;
}

.key-personnel h2 {
    text-align: center;
    color: #374151;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.personnel-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.personnel-card:hover {
    transform: translateY(-5px);
}

.personnel-image {
    margin-bottom: 1rem;
}

.personnel-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #059669;
}

.personnel-info h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.personnel-info .designation {
    color: #059669;
    font-weight: 600;
    margin-bottom: 1rem;
}

.personnel-info .contact {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #374151;
    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 {
    margin-bottom: 1rem;
    color: #059669;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #d1d5db;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #059669;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #059669;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1rem;
    text-align: center;
        text-decoration: none;
}

.footer-bottom p {
    color: #707070;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* ✅ Text selection और long press highlight disable */
* {
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
  
  -webkit-tap-highlight-color: transparent; /* Mobile tap highlight हटाने के लिए */
}

    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        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;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .teacher-card.featured {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .personnel-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .result-actions,
    .slider-btn,
    .slider-dots {
        display: none !important;
    }
    
    .result-display {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .page-header {
        margin-top: 0;
    }
    
    body {
        font-size: 12px;
    }
    
    .result-header {
        background: #000 !important;
        color: #fff !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }


::selection {
  background: transparent;  /* No highlight color */
  color: inherit;           /* Original text color */
}


        #loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);  /* Blur background */
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader Spinner */
.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff1e1e;

  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

