@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');




body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    background: #e3f0fa;
    color: #17425a;
}

body.modal-open {
    overflow: hidden;
}

header {
    z-index: 2000;
    position: relative;
    width: 100vw;
    left: 0;
    right: 0;
    background: #2A7DAD !important;
    backdrop-filter: blur(8px) saturate(160%);
    box-shadow: 0 8px 32px rgba(42,125,173,0.10);
    border-bottom: 1.5px solid rgba(255,255,255,0.18);
    color: #fff !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(42,125,173,0.07);
}

header nav ul li a {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: block;
}
header nav ul li a:hover, header nav ul li a:focus {
    background: rgba(255,255,255,0.15);
    color: #ffd600 !important;
}
header nav ul {
    background: transparent;
}
header nav ul li {
    position: relative;
}
header nav ul li.dropdown > .dropdown-menu {
    background: #2A7DAD;
    color: #fff;
    border-radius: 0 0 8px 8px;
    min-width: 180px;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(42,125,173,0.10);
    padding: 0.5rem 0;
}
header nav ul li.dropdown:hover > .dropdown-menu {
    display: flex;
}
header nav ul li.dropdown > .dropdown-menu li a {
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 0;
    background: transparent;
}
header nav ul li.dropdown > .dropdown-menu li a:hover {
    background: rgba(255,255,255,0.12);
    color: #ffd600 !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent !important;
    padding: 0 !important;
}

header .container,
header .logo {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
nav ul li {
    position: relative;
}
nav ul li.dropdown > .dropdown-menu {
    z-index: 3000;
    pointer-events: auto;

    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: #2A7DAD;
    min-width: 170px;
    box-shadow: 0 6px 24px rgba(42,125,173,0.12);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 1000;
}
nav ul li.dropdown:hover > .dropdown-menu {
    display: block;
}
nav ul li.dropdown.open > .dropdown-menu {
    display: block;
}
@media (max-width: 900px) {
    nav ul li.dropdown:hover > .dropdown-menu {
        display: none;
    }
    nav ul li.dropdown.open > .dropdown-menu {
        display: block;
    }
}
nav ul li.dropdown > a, nav ul li > a {
    position: relative;
    transition: color 0.22s;
    overflow: hidden;
}
nav ul li.dropdown > a::after, nav ul li > a::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd600 0%, #2A7DAD 100%);
    transition: width 0.3s cubic-bezier(.77,0,.18,1);
    border-radius: 2px;
    margin-top: 2px;
}
nav ul li.dropdown > a:hover::after, nav ul li > a:hover::after {
    width: 100%;
}
nav ul li.dropdown > a:hover, nav ul li > a:hover {
    color: #ffd600;
}
nav ul li .dropdown-menu a {
    color: #2A7DAD;
    padding: 0.7rem 1.2rem;
    display: block;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}
nav ul li .dropdown-menu a:hover {
    background: #eaf5e0;
    color: #43a047;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    animation: fadeInDown 1.1s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd600;
}
.logo span {
    display: block;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}
.logo .patil-title {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    display: block;
    margin: 0;
    
}
.logo .primary-title {
    font-size: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    display: block;
    margin: 0;
}
.logo .montessori-title {
    font-size: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    display: block;
    margin: 0;
    color: #f8f803;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    display: inline-block;
    transition: color 0.22s, background 0.22s;
    z-index: 1;
    background: none;
}


/* Mandatory Public Disclosure Table Styles */
.mandatory-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0 1.5rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42,125,173,0.07);
}
.mandatory-table th, .mandatory-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e0eafc;
    font-size: 1.05rem;
}
.mandatory-table th {
    background: #2A7DAD;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #9bbc44;
}
.mandatory-table tr:nth-child(even) {
    background: #f6fbfd;
}
.mandatory-table tr:hover {
    background: #eaf5e0;
    transition: background 0.22s;
}
.mandatory-table td {
    color: #17425a;
}

.view-btn, .mandatory-table button {
    background: #9bbc44;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(67,160,71,0.07);
}
.view-btn:hover, .mandatory-table button:hover {
    background: #2A7DAD;
    color: #fff;
    box-shadow: 0 4px 16px rgba(42,125,173,0.11);
}

/* Animated underline */
nav a::after {
    content: '';
    display: block;
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 8px;
    height: 3px;
    background: linear-gradient(90deg, #ffd600 0%, #2A7DAD 100%);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.3);
    transition: all 0.35s cubic-bezier(.77,0,.18,1);
    z-index: -1;
}

nav a:hover::after, nav a.active::after {
    opacity: 1;
    left: 12%;
    right: 12%;
    transform: scaleX(1);
}

nav a:hover, nav a:focus {
    color: #ffd600 !important;
    background: rgba(42,125,173,0.13);
    outline: none;
}


nav a.active {
    color: #43a047;
    background: #fff;
    box-shadow: 0 2px 8px rgba(67,160,71,0.06);
}

@media (max-width: 700px) {
    nav ul {
        flex-direction: column;
        gap: 0.7rem;
        border-radius: 0 0 16px 16px;
    }
    nav a {
        border-radius: 12px;
        padding: 0.7rem 1rem;
    }
}
nav a:hover {
    color: #9bbc44;
}

.btn {
    background: linear-gradient(90deg, #ffd600 0%, #2A7DAD 100%);
    color: #17425a;
    border: none;
    border-radius: 30px;
    padding: 0.85em 2.5em;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(42,125,173,0.13);
    cursor: pointer;
    outline: none;
    margin-top: 1.3rem;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
    position: relative;
    overflow: hidden;
    animation: popInBtn 1.4s cubic-bezier(.77,0,.18,1);
}
@keyframes popInBtn {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
.btn::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #ffd60077 0%, transparent 80%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.45s, height 0.45s;
    z-index: 0;
}
.btn:hover::after {
    width: 200%; height: 200%;
}
.btn:hover {
    color: #fff;
    background: linear-gradient(90deg, #2A7DAD 0%, #ffd600 100%);
    box-shadow: 0 8px 32px rgba(42,125,173,0.18), 0 0 20px #ffd60044;
    transform: scale(1.07);
}

.btn:hover {
    background: #2A7DAD;
    color: #fff;
}
section {
    margin: 2.5rem 0;
}

/* Motivational Quotations Section Styles */
.motivations-section {
    margin: 3rem 0 2.5rem 0;
    text-align: center;
}
.motivations-section h2 {
    color: #2A7DAD;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.motivations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.motivation-card {
    background: #fffbe7;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(42,125,173,0.11);
    padding: 2rem 1.7rem 1.7rem 1.7rem;
    max-width: 340px;
    min-width: 250px;
    margin: 0.5rem 0;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #ffd60033;
}
.motivation-card:hover {
    background: linear-gradient(120deg, #e3f2fd 60%, #ffd600 100%);
    box-shadow: 0 8px 36px rgba(42,125,173,0.18), 0 0 20px #ffd60044;
    transform: scale(1.05) translateY(-8px);
    border-color: #2A7DAD;
}
.quote-icon {
    font-size: 3rem;
    color: #ffd600;
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    opacity: 0.16;
    pointer-events: none;
    user-select: none;
}
.motivation-text {
    font-size: 1.17rem;
    color: #17425a;
    font-weight: 500;
    margin: 1.5rem 0 1.2rem 0;
    line-height: 1.5;
    min-height: 60px;
}
.motivation-author {
    display: block;
    color: #2A7DAD;
    font-size: 1.02rem;
    font-weight: 600;
    margin-top: 0.8rem;
    letter-spacing: 0.01em;
}
@media (max-width: 800px) {
    .motivations-list {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .motivation-card {
        max-width: 98vw;
        min-width: 0;
    }
}

/* Faculty Highlights Styles */
.faculty-highlights {
    margin: 2rem auto 2.5rem auto;
    padding: 0;
    max-width: 650px;
    list-style: none;
    text-align: left;
}
.faculty-highlights li {
    background: #e3f2fd;
    margin-bottom: 1rem;
    padding: 1.1rem 1.2rem 1.1rem 2.5rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(42,125,173,0.08);
    font-size: 1.09rem;
    font-weight: 500;
    position: relative;
    transition: box-shadow 0.2s, background 0.2s;
    border-left: 5px solid #2A7DAD;
}
.faculty-highlights li:hover {
    background: #ffd60022;
    box-shadow: 0 6px 24px rgba(42,125,173,0.13);
    border-left: 5px solid #ffd600;
}
.faculty-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #2A7DAD;
    filter: drop-shadow(0 2px 2px #fffbe7);
    pointer-events: none;
}

h2 {
    color: #2A7DAD;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-section ul.highlights {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    margin: 1rem 0 0 0;
}
.about-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
}
.about-image-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(42,125,173,0.10), 0 1.5px 8px rgba(67,160,71,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1rem 1rem 1rem;
    transition: transform 0.18s, box-shadow 0.18s;
}
.about-image-item img {
    width: 100%;
    max-width: 170px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    background: #e0eafc;
}
.about-image-item span {
    font-weight: 600;
    color: #2A7DAD;
    font-size: 1.08rem;
    text-align: center;
    margin-top: 0.2rem;
}
.about-image-item:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.14), 0 2px 12px rgba(67,160,71,0.12);
}
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 1.5rem 0;
}
.faculty-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(42,125,173,0.10), 0 1.5px 8px rgba(67,160,71,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1.2rem 1rem;
    transition: transform 0.18s, box-shadow 0.18s;
}
.faculty-card {
    position: relative;
    overflow: visible;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faculty-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1.5rem;
    background: #e0eafc;
    box-shadow: 0 4px 24px rgba(42,125,173,0.18), 0 1.5px 8px rgba(67,160,71,0.12);
    z-index: 1;
    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s cubic-bezier(.34,1.56,.64,1);
    animation: floatPhoto 3.5s ease-in-out infinite;
}

@media (max-width: 950px) {
  .faculty-card {
    max-width: 100%;
    padding: 0;
  }
}

.faculty-card img:hover {
    transform: scale(1.07) rotate(-1deg);
    box-shadow: 0 12px 40px 0 rgba(42,125,173,0.25), 0 4px 16px rgba(67,160,71,0.18);
}
.faculty-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 22px;
    z-index: 0;
    background: linear-gradient(120deg, #2A7DAD 0%, #6dd5ed 100%);
    opacity: 0.65;
    filter: blur(12px);
    transition: opacity 0.3s;
    pointer-events: none;
}
.faculty-card:hover::before {
    opacity: 1;
    filter: blur(6px);
}
@keyframes floatPhoto {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}

.faculty-name {
    font-weight: 700;
    color: #2A7DAD;
    font-size: 1.13rem;
    margin-bottom: 0.3rem;
    text-align: center;
}
.faculty-role {
    font-size: 1.01rem;
    color: #555;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.3rem;
}
.faculty-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.14), 0 2px 12px rgba(67,160,71,0.12);
}
.about-section ul.highlights li {
    background: #eaf5e0;
    color: #2A7DAD;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(42,125,173,0.03);
}
.courses-list, .facilities-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.course-card, .facility-card {
    background: rgba(255,255,255,0.95);
    color: #1a237e;
    padding: 1.2rem 1.7rem;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(42,125,173,0.10);
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: box-shadow 0.32s, transform 0.32s, background 0.22s;
    animation: cardFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
.course-card:hover, .facility-card:hover {
    background: #e3f2fd;
    box-shadow: 0 8px 32px rgba(42,125,173,0.18);
    transform: translateY(-12px) scale(1.04);
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
    background: #fff;
    color: #1a237e;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    margin-bottom: 1rem;
    min-width: 120px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover, .facility-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 6px 24px rgba(67,160,71,0.15);
}
.facility-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
}
.facility-photo-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(42,125,173,0.10), 0 1.5px 8px rgba(67,160,71,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1rem 1rem 1rem;
    transition: transform 0.18s, box-shadow 0.18s;
}
.facility-photo-item img {
    width: 100%;
    max-width: 170px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    background: #e0eafc;
}
.facility-photo-item span {
    font-weight: 600;
    color: #2A7DAD;
    font-size: 1.08rem;
    text-align: center;
    margin-top: 0.2rem;
}
.facility-photo-item:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.14), 0 2px 12px rgba(67,160,71,0.12);
}
form#admissionForm {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(26,35,126,0.04);
    max-width: 550px;
}
form#admissionForm input, form#admissionForm select {
    flex: 1 1 200px;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #bdbdbd;
    font-size: 1rem;
}
form#admissionForm button {
    flex: 1 1 100%;
}
#formMessage {
    margin-top: 1rem;
    font-weight: 600;
    color: #43a047;
}
.contact-section .social-media {
    margin: 1.5rem 0 1rem 0;
    display: flex;
    gap: 1.2rem;
}
.contact-section .social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    box-shadow: 0 4px 16px rgba(42,125,173,0.10), 0 1.5px 8px rgba(67,160,71,0.08);
    margin: 0 4px;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(67,160,71,0.12);
    transition: transform 0.25s, box-shadow 0.25s, background 0.3s;
    backdrop-filter: blur(3.5px);
}
.contact-section .social-media a:hover {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.18), 0 2px 12px rgba(67,160,71,0.14);
    transform: scale(1.18) rotate(-6deg);
    border-color: #43e97b;
}
.contact-section .social-media img {
    width: 28px;
    height: 28px;
    filter: grayscale(0.1) drop-shadow(0 0 0.5px #fff);
    transition: filter 0.2s, transform 0.2s;
}
.contact-section .social-media a:hover img {
    filter: none drop-shadow(0 0 8px #43e97b);
    transform: scale(1.13) rotate(6deg);
}
.contact-section .social-media img:hover {
    filter: grayscale(0) drop-shadow(0 0 6px #ffd600);
    transform: scale(1.13);
}
.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.2rem 0 0.5rem 0;
    padding: 1rem 0.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(42,125,173,0.08);
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
}
.qr-code-large {
    max-width: 340px;
    padding: 2rem 1rem 1.5rem 1rem;
}
.qr-code-large img {
    width: 220px;
    height: 220px;
    max-width: 100%;
    border-radius: 16px;
    margin-top: 0.2rem;
    background: #e0eafc;
    box-shadow: 0 4px 18px rgba(42,125,173,0.12);
}
.qr-code img {
    width: 250px;
    height: 250px;
    margin-top: 0.2rem;
    border-radius: 10px;
    background: #e0eafc;
    box-shadow: 0 1px 6px rgba(42,125,173,0.08);
}
.qr-label {
    margin-top: 0.6rem;
    font-size: 1.08rem;
    color: #2A7DAD;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
}
.pamphlet-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.pamphlet-container img {
    width: 100%;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    background: none;
    display: block;
}
.pamphlet-label {
    font-size: 1.13rem;
    color: #2A7DAD;
    font-weight: 600;
    text-align: center;
    margin-top: 0.2rem;
}
.map-container {
    margin: 2.2rem auto 0 auto;
    max-width: 540px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42,125,173,0.10);
}
footer {
    background: #2A7DAD;
    color: #fff;
    padding: 1rem 0;
}
.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-links a, .footer-social a {
    color: #9bbc44;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    box-shadow: 0 4px 16px rgba(42,125,173,0.10), 0 1.5px 8px rgba(67,160,71,0.08);
    margin: 0 4px;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(67,160,71,0.12);
    transition: transform 0.25s, box-shadow 0.25s, background 0.3s;
    backdrop-filter: blur(3.5px);
}
.footer-social a:hover {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.18), 0 2px 12px rgba(67,160,71,0.14);
    transform: scale(1.15) rotate(-6deg);
    border-color: #43e97b;
}
.footer-social img {
    width: 24px;
    height: 24px;
    filter: grayscale(0.1) drop-shadow(0 0 0.5px #fff);
    transition: filter 0.2s, transform 0.2s;
}
.footer-social a:hover img {
    filter: none drop-shadow(0 0 8px #43e97b);
    transform: scale(1.13) rotate(6deg);
}
.management-section .management-member img {
    width: 150px;
    height: 200px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid #2A7DAD;
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.18), 0 2px 12px rgba(67,160,71,0.10);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f6fbfd 60%, #e3f0ff 100%);
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* Removed internal padding and background-color */
}
.management-section h3 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 28px;
    letter-spacing: 1px;
    color: #17425a;
}

.management-section .management-member {
    padding: 18px 12px 20px 12px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 12px 0 rgba(42,125,173,0.09);
    transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1), transform 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 10px 0;
}
.management-section .management-member:hover {
    box-shadow: 0 8px 32px 0 rgba(42,125,173,0.16), 0 4px 24px rgba(67,160,71,0.12);
    transform: translateY(-5px) scale(1.03);
}
.management-section .management-member img:hover {
    transform: translateY(-8px) scale(1.05) rotate(-2deg);
    box-shadow: 0 16px 48px 0 rgba(42,125,173,0.22), 0 4px 24px rgba(67,160,71,0.15);
    border-color: #17425a;
}

/* Gallery Grid */
.gallery-section {
    margin-top: 2rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}
.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,35,126,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(67,160,71,0.18);
}

@media (max-width: 900px) {
    .nav-flex, .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .courses-list, .facilities-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .gallery-grid img {
        height: 130px;
    }
}
/* Advanced Modal & Popup Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.25);
  transition: background 0.4s cubic-bezier(.77,0,.18,1);
}
.modal.show {
  display: block;
  animation: modalFadeIn 0.5s cubic-bezier(.77,0,.18,1);
}
.modal .modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
  background: rgba(0,0,0,0.35);
  opacity: 1;
  transition: opacity 0.4s;
  border-radius: 0;
}
.animated-modal .modal-content {
  background: #fff;
  margin: 3% auto;
  border-radius: 18px;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  box-shadow: 0 12px 48px rgba(42,125,173,0.23);
  max-width: 700px;
  min-width: 320px;
  position: relative;
  animation: modalPopIn 0.6s cubic-bezier(.77,0,.18,1);
  transform: scale(0.92);
  transition: transform 0.4s;
}
.modal.show .modal-content {
  transform: scale(1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalPopIn {
  0% { transform: scale(0.85) translateY(60px); opacity: 0; }
  80% { transform: scale(1.04) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.close {
  color: #fff;
  background: #2A7DAD;
  border-radius: 50%;
  float: right;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  cursor: pointer;
  margin-top: -1.2em;
  margin-right: -1.2em;
  box-shadow: 0 2px 8px rgba(42,125,173,0.10);
  transition: background 0.22s;
}
.close:hover {
  background: #ff5252;
}
.mandatory-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-bottom: 2rem;
}
.mandatory-table th, .mandatory-table td {
  padding: 0.9rem 1.2rem;
  background: #f6fbfd;
  border-radius: 12px;
  text-align: left;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(42,125,173,0.07);
}
.mandatory-table th {
  background: #2A7DAD;
  color: #fff;
  font-size: 1.08rem;
  border-radius: 12px 12px 0 0;
}
.mandatory-table tr {
  transition: box-shadow 0.22s, transform 0.22s;
}
.mandatory-table tr:hover {
  box-shadow: 0 4px 18px rgba(42,125,173,0.15);
  transform: scale(1.015);
}
.view-btn {
  background: linear-gradient(90deg, #ffd600 0%, #2A7DAD 100%);
  color: #17425a;
  border: none;
  border-radius: 8px;
  padding: 0.55em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(42,125,173,0.08);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  outline: none;
}
.view-btn:hover {
  background: linear-gradient(90deg, #2A7DAD 0%, #ffd600 100%);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(42,125,173,0.18);
}
.doc-viewer {
  margin-top: 2.2rem;
  background: #f6fbfd;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(42,125,173,0.11);
  padding: 1.2rem 1.5rem;
  min-height: 180px;
  max-height: 540px;
  overflow: auto;
  animation: viewerPopIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes viewerPopIn {
  from { transform: scale(0.96) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
@media (max-width: 800px) {
  .animated-modal .modal-content {
    max-width: 97vw;
    padding: 1.2rem 0.4rem 1rem 0.4rem;
  }
  .mandatory-table th, .mandatory-table td {
    font-size: 0.92rem;
    padding: 0.6rem 0.5rem;
  }
  .doc-viewer {
    padding: 0.7rem 0.4rem;
  }
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(42,125,173,0.65);
}
.modal-content {
  background-color: #fff;
  margin: 3% auto;
  padding: 2rem 2rem 1rem 2rem;
  border-radius: 18px;
  width: 96%;
  max-width: 540px;
  position: relative;
  box-shadow: 0 6px 32px rgba(26,35,126,0.25);
}
.close {
  color: #1a237e;
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: #e53935;
}
.mandatory-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.mandatory-list li {
  background: #eaf5e0;
  color: #2A7DAD;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(42,125,173,0.07);
}
.mandatory-list li:hover {
  background: #9bbc44;
  color: #fff;
}
.doc-viewer {
  min-height: 180px;
  background: #f7f9fb;
  border-radius: 7px;
  padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  box-shadow: 0 1px 6px rgba(26,35,126,0.05);
  text-align: center;
}
.doc-viewer iframe, .doc-viewer img {
  width: 100%;
  max-width: 420px;
  min-height: 320px;
  border: none;
  margin: 0 auto;
  display: block;
}
@media (max-width: 900px) {
    -slider-wrapper {
    width: 90vw;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(42,125,173,0.13);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
}
-slider {
    width: 100%;
    height: 38vh;
    min-height: 180px;
    max-height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    transition: opacity 0.7s, left 0.7s;
    animation: none;
}

@keyframes slideInRightToLeft {
    0% {
        left: 100%;
        opacity: 0.3;
    }
    60% {
        left: -10%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    0% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: -100%;
        opacity: 0;
    }
}

-slider img.active {
    opacity: 1;
    z-index: 1;
    left: 0;
    animation: slideInRightToLeft 0.8s cubic-bezier(0.4,0.2,0.2,1);
}

-slider img.prev {
    opacity: 0;
    z-index: 0;
    left: -100%;
    animation: slideOutLeft 0.8s cubic-bezier(0.4,0.2,0.2,1);
}
-slider img.active {
    opacity: 0.8;
    z-index: 1;
}
-cta {
    text-align: center;
    margin-top: 1.2rem;
    position: relative;
    z-index: 3;
}


-cta .btn {
    z-index: 4;
    position: relative;
    font-size: 1.25rem;
    padding: 0.9em 2.8em;
    box-shadow: 0 4px 24px rgba(42,125,173,0.13);
    background: linear-gradient(90deg, #ffd600 0%, #2A7DAD 100%) !important;
    color: #17425a !important;
    border: 2px solid #fff;
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    display: inline-block;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
}

@media (max-width: 700px) {
    -slider-wrapper {
        max-width: 98vw;
        border-radius: 10px;
    }
    -slider {
        height: 26vh;
        min-height: 100px;
        max-height: 180px;
    }
    -cta .btn {
        font-size: 1rem;
        padding: 0.7em 1.5em;
    }
}

    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
-slider img {
    width: 100vw;
    max-width: 100%;
    height: 70vh;
    max-height: 520px;
    min-height: 320px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    position: absolute;
    left: 0; top: 0;
    right: 0; bottom: 0;
}
-slider img.active {
    opacity: 0.7;
    z-index: 1;
}
    -content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
        margin: 2rem;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    -content h1 {
        font-size: 1.3rem;
    }
    .btn {
        font-size: 1rem;
        padding: 0.7em 1.5em;
        margin-top: 0.7rem;
    }
}

@media (max-width: 600px) {
    .container {
        width: 98%;
    }
     h1 {
        font-size: 1.5rem;
    }
    .logo span {
        font-size: 1rem;
    }
    form#admissionForm {
        padding: 0.5rem;
    }
    .modal-content {
        width: 98%;
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
        min-width: unset;
        max-width: 99vw;
    }
    .mandatory-list {
        flex-direction: column;
        gap: 0.5rem;
        max-height: 45vh;
        overflow-y: auto;
        margin-bottom: 1rem;
    }
    .mandatory-list li {
        width: 100%;
        font-size: 1.05rem;
        padding: 1rem 0.6rem;
        text-align: left;
        border-radius: 7px;
    }
    .doc-viewer {
        min-height: 120px;
        padding: 0.5rem 0.2rem;
        max-width: 100vw;
        overflow-x: auto;
    }
    .doc-viewer iframe, .doc-viewer img {
        min-height: 120px;
        max-width: 98vw;
        width: 100%;
    }
    .close {
        top: 10px;
        right: 14px;
        font-size: 1.5rem;
    }
}
