/*
Theme Name: Saraswati Vidyapeeth Theme
Theme URI: https://svmvidyapeeth.com/
Author: Itxperts (Vikram Singh Rawat)
Author URI: https://itxperts.co.in/
Description: Official WordPress theme for Saraswati Vidyapeeth Awasiya Vidyalaya, Shivpuri. Features include responsive design, school management integration, events calendar, notice board, and specialized templates for educational content. Developed with modern web standards and optimized for performance.
Version: 1.0.0
Requires at least: WordPress 5.9
Tested up to: WordPress 6.5
Requires PHP: 7.4 or higher
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: svm-vidyapeeth
Domain Path: /languages/
Tags: education, school, residential, vidyapeeth, shivpuri, responsive, accessible, notice-board, events, hostel

This theme is proudly developed by ITXperts for Saraswati Vidyapeeth Awasiya Vidyalaya.
© 2025 Itxperts. All rights reserved.
*/

/* School Color Scheme */
:root {
    --primary-red: #b51c1c;         /* Replaces dark-blue */
    --accent-orange: #f28c28;       /* Replaces light-blue */
    --deep-maroon: #7a1414;         /* Maroon text and border */
    --bright-gold: #FFD700;         /* Bright highlight */
    --soft-gold: #fff9ed;           /* Light background gold */
}

/* Background utility classes */
.bg-primary-red { background-color: var(--primary-red); }
.bg-accent-orange { background-color: var(--accent-orange); }
.bg-bright-gold { background-color: var(--bright-gold); }
.bg-deep-maroon { background-color: var(--deep-maroon); }

/* Text utility classes */
.text-primary-red { color: var(--primary-red); }
.text-accent-orange { color: var(--accent-orange); }
.text-bright-gold { color: var(--bright-gold); }
.text-deep-maroon { color: var(--deep-maroon); }

/* School Header Styles */
.school-header {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: var(--primary-red);
}

.school-name {
    font-family: 'Georgia', serif;
    font-weight: 900;
    font-size: 3.1rem;
    letter-spacing: 0.4px;
    color: black !important;
}

.school-tagline {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--deep-maroon);
}

.school-motto {
    font-size: 1.2rem;
    color: var(--soft-gold);
}

.school-main-nav {
    font-weight: 500;
}

.school-main-nav .navbar-nav .nav-link {
    padding: 0.8rem 1.2rem;
    position: relative;
    font-size: 1.2rem;
    color: white !important;
}

.school-main-nav .navbar-nav .nav-link:hover {
    color: var(--bright-gold);
}

.btn-gold {
    background-color: var(--bright-gold);
    color: var(--primary-red);
    font-weight: 600;
}

.btn-gold:hover {
    background-color: var(--soft-gold);
    color: var(--primary-red);
}

/* Dropdown Styles */
.school-main-nav .dropdown-menu {
    background-color: #ff6b42;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 0;
    margin-top: 0;
}

.school-main-nav .dropdown-menu .dropdown-item {
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.school-main-nav .dropdown-menu .dropdown-item:hover,
.school-main-nav .dropdown-menu .dropdown-item:focus {
    background-color: var(--bright-gold);
    color: var(--primary-red);
}

.school-main-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.school-main-nav .dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.15em;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .school-name {
        font-size: 1.5rem;
    }
    .school-tagline {
        font-size: 0.9rem;
    }
    
    .school-main-nav .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .school-main-nav .dropdown-menu {
        background-color: rgba(122, 20, 20, 0.95); /* semi-transparent deep-maroon */
        margin-left: 1rem;
        border-left: 2px solid var(--bright-gold);
    }
}


/* Slider CSS*/
/* College Hero Slider Styles */
.college-hero-slider {
    position: relative;
    margin-bottom: 3rem;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Image container with overlay */
.slider-image-container {
    position: relative;
    height: 80vh;
    max-height: 800px;
    overflow: hidden;
}

.slider-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

/* Caption styles */
.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 5rem;
    text-align: left;
}

.caption-content {
    max-width: 800px;
}

.slider-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.slider-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.slider-excerpt {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-slider {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-slider:hover {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Enhanced indicators */
.carousel-indicators-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.carousel-indicators {
    position: relative;
    margin: 0;
    padding: 1rem 0;
    justify-content: flex-start;
    gap: 0.5rem;
}

.carousel-indicators button {
    width: auto;
    height: auto;
    text-indent: 0;
    background: transparent;
    border: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
}

.carousel-indicators button.active {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.indicator-thumbnail {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 0.3rem;
}

.indicator-title {
    font-size: 0.7rem;
    color: white;
    white-space: nowrap;
}

/* Progress bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}

.carousel-progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width linear;
    transition-duration: calc(var(--slide-interval) * 1ms);
}

/* Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100% 100%;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slider-image-container {
        height: 60vh;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .carousel-indicators button {
        padding: 0.3rem;
    }
    
    .indicator-thumbnail {
        width: 50px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .slider-image-container {
        height: 50vh;
    }
    
    .carousel-caption {
        padding-bottom: 3rem;
    }
    
    .slider-title {
        font-size: 1.5rem;
    }
    
    .slider-excerpt {
        display: none;
    }
    
    .carousel-indicators {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .carousel-indicators::-webkit-scrollbar {
        height: 4px;
    }
    
    .carousel-indicators::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
    }
}

@media (max-width: 576px) {
    .slider-image-container {
        height: 40vh;
    }
    
    .carousel-caption {
        padding-bottom: 2rem;
    }
    
    .slider-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-slider {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* End Slider Css */

/* Footer CSS*/
/* School Footer Styles */


.school-footer {
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    color: #fff;
}

.footer-widget {
    margin-bottom: 1.5rem;
}

.widget-header {
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
}

.contact-info li {
    transition: all 0.3s ease;
}

.contact-info li:hover {
    transform: translateX(5px);
}

.contact-info a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--gold) !important;
}

.footer-menu li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.footer-menu li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}

.footer-menu li:hover {
    transform: translateX(5px);
}

.footer-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-menu a:hover {
    color: var(--gold) !important;
}

.important-links li {
    margin-bottom: 0.75rem;
}

.important-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 20px;
}

.important-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold);
    transition: all 0.3s ease;
}

.important-links a:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-links {
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--deep-maroon);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--light-gold) !important;
    text-decoration: underline;
}

/* Custom Footer Menu Walker */
.footer-menu .sub-menu {
    padding-left: 15px;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .widget-header {
        margin-bottom: 1.5rem;
    }
    
    .footer-menu li,
    .important-links li {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom .text-md-start,
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
    
    .footer-bottom .col-md-6 {
        margin-bottom: 0.5rem;
    }
}
/* Notice Board Css */
/* Custom Styles for Notice Board */
.school-notice-board {
  font-family: 'Noto Sans Devanagari', 'Segoe UI', sans-serif;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-img-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.school-img {
  object-fit: cover;
  height: 100%;
  transition: transform 0.5s ease;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

.school-img-container:hover .school-img {
  transform: scale(1.05);
}

.notice-tab-list {
  border-bottom: 1px solid #dee2e6;
}

.notice-tab-list .nav-link {
  color: #495057;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.notice-tab-list .nav-link.active {
  color: var(--primary-red);
  background-color: transparent;
  border-bottom: 3px solid var(--bright-gold);
  font-weight: 600;
}

.notice-tab-list .nav-link:hover {
  color: var(--primary-red);
}

.notice-list {
  border-radius: 0.25rem;
}

.notice-list .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 1rem 1.25rem;
  transition: all 0.3s;
}

.notice-list .list-group-item:first-child {
  border-top: 0;
}

.notice-list .list-group-item:hover {
  background-color: #f8f9fa;
}

.notice-list .list-group-item a:hover {
  color: var(--primary-red);
}

.notice-list .notice-title {
  transition: all 0.3s;
}

.notice-list .list-group-item:hover .notice-title {
  transform: translateX(5px);
}

.notice-list-wrapper::-webkit-scrollbar {
  width: 8px;
}

.notice-list-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.notice-list-wrapper::-webkit-scrollbar-thumb {
  background: var(--bright-gold);
  border-radius: 10px;
}

.notice-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .left-about, .right-notices {
    padding: 2rem !important;
  }

  .school-img-container {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .notice-tab-list .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* End Notice Css*/


/* page.php CSS */

/* End Page Css*/

/* Single.php page css */
/* Single Post Styles */
.article-content {
    line-height: 1.8;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 0.5rem;
}

.article-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.featured-image {
    max-height: 500px;
    overflow: hidden;
}

.featured-image img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

.article-meta {
    font-size: 0.9rem;
}

.article-content-inner p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content-inner h2,
.article-content-inner h3,
.article-content-inner h4 {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    color: var(--dark-blue);
}

.article-content-inner h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.article-content-inner ul,
.article-content-inner ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content-inner li {
    margin-bottom: 0.5rem;
}

.article-content-inner a {
    color: var(--dark-blue);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.article-content-inner a:hover {
    color: var(--gold);
    text-decoration-color: var(--dark-blue);
}

/* Author Bio */
.author-bio {
    transition: all 0.3s ease;
}

.author-bio:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Notices Widget */
.notices-list {
    max-height: 400px;
    overflow-y: auto;
}

.notice-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.notice-item:hover {
    border-left-color: var(--gold);
    transform: translateX(5px);
}

.notice-item a:hover {
    color: var(--dark-blue) !important;
}

/* Card Styles */
.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .related-posts .col-md-4 {
        margin-bottom: 1.5rem;
    }
}


/* End single.php css*/

/* Archive page css */
/* Archive Page Styles */
.archive-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #004080 100%);
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.archive-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gold);
}

.archive-description {
    font-size: 1.1rem;
    max-width: 800px;
}

.archive-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.archive-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
}

.archive-thumbnail img {
    transition: transform 0.5s ease;
    height:200px;
}

.archive-thumbnail:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 34, 68, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-thumbnail:hover .overlay {
    opacity: 1;
}

.archive-meta {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Pagination Styles */
.archive-pagination .page-numbers {
    margin: 0 5px;
}

.archive-pagination .current {
    background: var(--dark-blue);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.archive-pagination a.page-numbers {
    color: var(--dark-blue);
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.archive-pagination a.page-numbers:hover {
    background: var(--gold);
    color: var(--dark-blue);
}

/* Sidebar Widget Styles */
.sidebar .card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar .card-header {
    font-weight: 600;
    border-radius: 0 !important;
}

.sidebar .list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.sidebar .list-group-item:first-child {
    border-top: 0;
}

.sidebar .list-group-item:hover {
    background: #f8f9fa;
}

.sidebar .list-group-item a:hover {
    color: var(--gold) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .archive-title {
        font-size: 2rem;
    }
    
    .sidebar {
        margin-top: 3rem;
        padding-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .archive-title {
        font-size: 1.75rem;
    }
    
    .archive-header {
        padding: 3rem 0;
    }
}

/* End Archive page Css*/

/* Principal's Message Section Styles */
  .principals-message-section {
    font-family: 'Noto Sans', sans-serif;
    position: relative;
    overflow: hidden;
  }
  
  .principals-photo-container {
    position: relative;
    height: 100%;
  }
  
  .principals-photo {
    transition: transform 0.5s ease;
  }
  
  .photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,34,68,0.1) 0%, rgba(0,34,68,0.3) 100%);
  }
  
  .principals-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .section-header {
    position: relative;
  }
  
  .section-title {
    font-weight: 700;
    padding-left: 40px;
  }
  
  .section-title-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin-top: 15px;
  }
  
  .message-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
  }
  
  .principals-name {
    font-weight: 700;
    color: var(--dark-blue);
  }
  
  .social-links {
    display: flex;
    gap: 12px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f7ff;
    color: var(--dark-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 991.98px) {
    .principals-photo-container {
      height: 300px;
    }
    
    .card-body {
      padding: 2rem !important;
    }
  }
  
  @media (max-width: 767.98px) {
    .principals-info .col-md-6 {
      margin-bottom: 1.5rem;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
  }

  /*End Principle Section*/

/* Model CSS */

/* Modal Styles */
.admission-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
  position: relative;
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #333;
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-header h2 {
  color: var(--dark-blue);
  margin: 15px 0 5px;
}

.modal-header p {
  color: #666;
}

.school-logo {
  height: 60px;
  margin-bottom: 10px;
}

/* Form Styles */
.modal-form {
  margin-top: 20px;
}

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

.form-group {
  margin-bottom: 15px;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  outline: none;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
}

.submit-btn {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color:red;
	color:white;
  transform: translateY(-2px);
}

.status-message {
  margin-top: 15px;
  min-height: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}




