/* Custom CSS for School Website */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Salsa&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Colors */
:root {
    /* --primary-dark-blue: #1e3a8a; */
    --primary-dark-blue: #00185b;
    --primary-light-blue: #3b82f6;
    --secondary-light-blue: #dbeafe;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #374151;
    --text-dark: #1f2937;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Salsa', cursive;
    font-weight: 400;
}

.section-title {
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light-blue), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Top Header */
.top-header {
    background: var(--primary-dark-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--accent-blue);
    margin-right: 5px;
}

.social-links a {
    color: var(--white);
    margin: 0 8px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-blue);
}

/* Main Header */
.main-header {
    position: relative;
    background: linear-gradient(#00459a, #001a78b0), url(images/blue-bg-2.jpg) center center;
    background-size: cover;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.8s ease-out;
    background: #00459a;
}

.header-section {
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 1;
}

.logo img {
    width: 135px;
    /* height: 80px; */
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

.school-name {
    font-size: 3.9rem;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.school-tagline {
    color: #7caeff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.school-address {
    color: #ffffff;
    /* color: var(--dark-gray); */
    font-size: 0.98rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Navigation */
.main-nav {
    background: #ffffff;
    padding: 0;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.main-nav .navbar-nav {
    width: 100%;
    justify-content: center;
}

.main-nav .nav-link {
    color: var(--black) !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav .nav-link::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 ease;
}

.main-nav .nav-link:hover {
    background: var(--primary-dark-blue);
    transform: translateY(-2px);
    color: aliceblue !important;
}

.main-nav .nav-link:hover::before {
    left: 100%;
}

.main-nav .dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0;
}

.main-nav .dropdown-item {
    color: var(--text-dark);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.main-nav .dropdown-item:hover {
    background: var(--secondary-light-blue);
    color: var(--primary-dark-blue);
}

/* Slider Section */
.slider-section {
    position: relative;
}

.carousel-item img {
    height: 300px;
    object-fit: cover;
    /* filter: brightness(0.7); */
}

.carousel-caption {
    background: rgba(30, 58, 138, 0.8);
    padding: 30px;
    border-radius: 10px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.carousel-caption .btn {
    background: var(--accent-blue);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carousel-caption .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.carousel-caption .btn:hover {
    background: var(--primary-light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-caption .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Announcement Section */
.announcement-section {
    background: var(--secondary-light-blue);
    padding: 15px 0;
}

.announcement-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.announcement-label {
    background: var(--primary-dark-blue);
    color: var(--white);
    padding: 12px 25px;
    font-weight: 600;
    white-space: nowrap;
}

.announcement-label i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.announcement-content {
    flex: 1;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Welcome Section */
.welcome-section {
    background: var(--light-gray);
}

.welcome-content .section-title {
    text-align: left;
}

.welcome-content .section-title::after {
    left: 0;
    transform: none;
}

.welcome-content .lead {
    color: var(--primary-light-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.welcome-stats {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    color: var(--primary-dark-blue);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.welcome-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
    position: relative;
}

.welcome-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Why School Section */
.why-school-section {
    background: var(--white);
}

.facility-card {
    background: #dbeafe;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.facility-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

.facility-card:hover .facility-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.facility-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon i {
    transform: scale(1.2);
}

.facility-card h4 {
    color: var(--primary-dark-blue);
    margin-bottom: 15px;
}

.facility-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

/* Desk Sections */
.correspondent-desk,
.principal-desk {
    background: var(--light-gray);
}

.principal-desk {
    background: var(--white);
}

.desk-content .section-title {
    text-align: left;
}

.desk-content .section-title::after {
    left: 0;
    transform: none;
}

.quote-mark {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.desk-content .lead {
    font-style: italic;
    color: var(--primary-dark-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.desk-content .lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--secondary-light-blue);
}

.signature h5 {
    color: var(--primary-dark-blue);
    margin-bottom: 5px;
}

.designation {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 0;
}

.desk-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
    filter: grayscale(20%);
}

.desk-image img:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: grayscale(0%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* News and Video Section */
.news-video-section {
    background: var(--light-gray);
}

.news-section,
.video-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.news-section .section-title,
.video-section .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.news-section .section-title::after,
.video-section .section-title::after {
    left: 0;
    transform: none;
}

.news-scroll {
    height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-scroll::-webkit-scrollbar {
    width: 6px;
}

.news-scroll::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.news-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.news-item {
    padding: 20px;
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 20px;
    background: var(--secondary-light-blue);
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-width: 8px;
}

.news-item:hover::before {
    left: 100%;
}

.news-date {
    color: var(--primary-light-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-item h5 {
    color: var(--primary-dark-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.news-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.video-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 8px;
}

.thumbnail:hover,
.thumbnail.active {
    background: var(--secondary-light-blue);
}

.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
}

.thumbnail span {
    font-size: 0.8rem;
    color: var(--text-dark);
    display: block;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    filter: brightness(0.9);
    position: relative;
    overflow: hidden;
}

.gallery-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.gallery-img:hover::before {
    opacity: 1;
}

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-dark-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#galleryCarousel .carousel-control-prev {
    left: -25px;
}

#galleryCarousel .carousel-control-next {
    right: -25px;
}

/* Footer */
.footer {
    background: var(--primary-dark-blue);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-widget h5 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--accent-blue);
    width: 20px;
    margin-right: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.social-links-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-light-blue);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links-footer a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-links-footer a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    animation: bounce 0.6s ease;
}

.social-links-footer a:hover::before {
    width: 100px;
    height: 100px;
}

.newsletter .input-group {
    margin-top: 10px;
}

.newsletter .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 10px 15px;
}

.newsletter .btn {
    background: var(--accent-blue);
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 10px 20px;
}

.newsletter .btn:hover {
    background: var(--primary-light-blue);
}

/* Copyright */
.copyright {
    background: var(--primary-dark-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: var(--white);
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .school-name {
        font-size: 2rem;
    }

    .carousel-caption {
        width: 95%;
        padding: 20px;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .facility-card {
        margin-bottom: 30px;
    }

    .news-section,
    .video-section {
        margin-bottom: 30px;
        height: auto;
    }

    .news-scroll {
        height: 300px;
    }

    .desk-content {
        margin-top: 30px;
    }

    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .school-name {
        font-size: 1.5rem;
    }

    .school-tagline {
        font-size: 1rem;
    }

    .carousel-item img {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .facility-icon {
        width: 60px;
        height: 60px;
    }

    .facility-icon i {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation Classes */
.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* Staggered Animation Delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

.animate-delay-6 {
    animation-delay: 0.6s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar for News Section */
.news-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--light-gray);
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .top-header,
    .main-nav,
    .footer,
    .copyright {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section-title {
        page-break-after: avoid;
    }
}

img.footer-img {
    border-radius: 13px;
    transition: initial;
}

img.footer-img:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: grayscale(0%);
}

img.d-block.w-100.slider {
    height: 600px;
}

.why-school-section {
    background: #1e3a8a;
    position: relative;
}

.section-title-why {
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.section-title-why::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light-blue), var(--accent-blue));
    border-radius: 2px;
}

.section-subtitle-why {
    color: #b1c8ff;
}

.facility-card {
    background: rgb(255 255 255);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.facility-icon {
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.icon-blue {
    background: linear-gradient(45deg, #4e54c8, #8f94fb);
}

.icon-green {
    background: linear-gradient(45deg, #00b09b, #96c93d);
}

.icon-red {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
}

.icon-cyan {
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
}

.icon-purple {
    background: linear-gradient(45deg, #6a11cb, #5425fc);
}

.icon-orange {
    background: linear-gradient(45deg, #ff6b6b, #ff994c);
}

.icon-pink {
    background: linear-gradient(45deg, #ff69b4, #ff4584);
}

.icon-yellow {
    background: linear-gradient(45deg, #ffd700, #ffc107);
}

.facility-card h4 {
    color: #2c3e50;
}

.facility-card p {
    color: #7f8c8d;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.facility-card:hover .facility-icon {
    transform: rotate(360deg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f3f4f6, #ddd);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.hover-effect {
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: scale(1.05);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

button.common-btn {
    padding: 7px;
    border-radius: 8px;
    background-color: #00185b;
    color: white;
    border: 1px solid white;
}

.common-btn {
    padding: 7px;
    border-radius: 8px;
    background-color: #00185b;
    color: white;
    border: 1px solid white;
}

.navbar-nav .nav-link.active,
.navbar-nav .dropdown-item.active {
    color: #fff !important;
    background-color: #00185b !important;
    /* your theme color */
}

/* Submenu positioning */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}