/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #f39c12;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particles Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Top Header */
.top-header {
    background: #264a8a;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Main Header - FIXED STICKY */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 5px;
}

.logo-text p {
    color: var(--text-light);
    font-size: 14px;
}

/* Header Payment Button */
.header-payment-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.header-payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.header-payment-btn:hover::before {
    left: 100%;
}

.header-payment-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.header-payment-btn i {
    font-size: 16px;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Navigation - FIXED STICKY */
.navbar {
    background: var(--gradient);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-content {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 80%;
    width: 0;
    top: 19px;
    height: 3px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 0%;
}

/* Enhanced Dropdown Menus */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    z-index: 999;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Arrow */
.nav-item.has-dropdown>.nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover>.nav-link::before {
    transform: rotate(180deg);
}

/* Dropdown Links */
.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 14px;
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover,
.dropdown-link.active {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 30px;
    font-weight: 500;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.dropdown-link:hover::before,
.dropdown-link.active::before {
    width: 4px;
}

/* Dropdown Icons */
.dropdown-link i {
    margin-right: 8px;
    width: 16px;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.dropdown-link:hover i,
.dropdown-link.active i {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f39c12;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Active Page Indicator */
.nav-link.current-page {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
}

/* .nav-link.current-page::after {
    width: 80%;
} */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Announcements - Marquee Style */
.announcements {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.announcement-container {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.announcement-container:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.announcement-icon {
    font-size: 24px;
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.announcement-text {
    font-weight: 500;
    font-size: 16px;
    flex-shrink: 0;
}

.announcement-text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.announcement-text a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-right: 100px;
    flex-shrink: 0;
}

.announcement-item:last-child {
    margin-right: 0;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.welcome-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: justify;
}

/* Management Section */
.management-section {
    padding: 80px 0;
    background: #244887;
}

.management-head {
    color: #f39c26 !important;
}

.management-para {
    color: #ffffff !important;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

.management-carousel {
    position: relative;
}

.management-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.staff-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.management-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.management-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.news-left {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.news-left h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.news-carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.news-swiper {
    height: 100%;
}

.news-slide {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-slide:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.news-date {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date i {
    font-size: 12px;
}

.news-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-read-more {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: var(--primary-color);
    gap: 8px;
}

.news-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* News Carousel Navigation */
.news-swiper .swiper-button-next,
.news-swiper .swiper-button-prev {
    color: var(--white);
    background: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-top: -17px;
    transition: all 0.3s ease;
}

.news-swiper .swiper-button-next:hover,
.news-swiper .swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.news-swiper .swiper-button-next::after,
.news-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.news-swiper .swiper-pagination {
    bottom: -10px;
}

.news-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(30, 60, 114, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.news-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Video Section - Right Side */
.news-video {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.news-video h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.video-placeholder i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.video-placeholder h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.video-placeholder p {
    font-size: 14px;
    opacity: 0.9;
    max-width: 250px;
}

.video-info {
    text-align: center;
}

.video-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-video {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-video:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-video.secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-video.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Toppers Section */
.toppers-section {
    padding: 80px 0;
    background: var(--white);
}

.toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.topper-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.topper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.topper-rank {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.topper-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.topper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topper-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 22px;
}

.topper-class {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 15px;
}

.topper-percentage {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 15px;
}

.topper-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.subject-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.events-carousel {
    position: relative;
    margin-top: 50px;
}

.events-swiper {
    overflow: hidden;
    padding: 20px 0;
}

.event-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 15px;
    text-align: center;
    z-index: 2;
    min-width: 70px;
}

.event-date-badge .day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    display: block;
}

.event-date-badge .month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.event-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.event-content {
    padding: 25px;
}

.event-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-detail i {
    color: var(--accent-color);
    width: 16px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.event-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.event-price.free {
    color: var(--accent-color);
}

.btn-event {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-event:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Events Navigation */
.events-swiper .swiper-button-next,
.events-swiper .swiper-button-prev {
    color: var(--white);
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.events-swiper .swiper-button-next:hover,
.events-swiper .swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.events-swiper .swiper-button-next::after,
.events-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.events-swiper .swiper-pagination {
    bottom: -10px;
}

.events-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(30, 60, 114, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.events-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Event Status Indicators */
.event-status {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.event-status.upcoming {
    background: var(--accent-color);
    color: var(--white);
}

.event-status.registration {
    background: #27ae60;
    color: var(--white);
}

.event-status.limited {
    background: #e74c3c;
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.gallery-carousel {
    position: relative;
    margin-top: 50px;
}

.gallery-swiper {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-slide {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    box-shadow: var(--shadow);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 48px;
    margin-bottom: 15px;
}

.gallery-overlay h4 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-overlay p {
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
    line-height: 1.4;
}

/* Gallery Navigation */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--white);
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.gallery-swiper .swiper-pagination {
    bottom: 20px;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.gallery-modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    max-height: 80vh;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: -70px;
}

.gallery-next {
    right: -70px;
}

.gallery-modal-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
}

.gallery-modal-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-modal-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-staff-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 60px;
    overflow: hidden;
}

.modal-staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #264b8b;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--accent-color);
    border: none;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
    color: #ffffff;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 15px 15px;
        font-size: 14px;
    }

    .dropdown {
        min-width: 200px;
    }

    .welcome-content {
        gap: 30px;
    }

    .news-content {
        gap: 30px;
    }

    .news-carousel-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .header-left {
        justify-content: center;
    }

    .header-right {
        justify-content: center;
        width: 100%;
    }

    .header-payment-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: -15px;
        right: 0;
    }

    .nav-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-content.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.mobile-open .dropdown {
        max-height: 300px;
    }

    .dropdown-link {
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 40px;
    }

    .dropdown-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
        padding-left: 50px;
    }

    .nav-item.has-dropdown>.nav-link {
        cursor: pointer;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-carousel-container {
        height: 300px;
    }

    .news-swiper .swiper-button-next,
    .news-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .news-swiper .swiper-button-next::after,
    .news-swiper .swiper-button-prev::after {
        font-size: 12px;
    }

    .video-placeholder i {
        font-size: 48px;
    }

    .video-placeholder h4 {
        font-size: 18px;
    }

    .video-meta {
        flex-direction: column;
        gap: 10px;
    }

    .video-controls {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .welcome-text h2 {
        font-size: 28px;
    }

    .toppers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .topper-card {
        padding: 20px;
    }

    .topper-image {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .gallery-swiper .swiper-button-next::after,
    .gallery-swiper .swiper-button-prev::after {
        font-size: 16px;
    }

    .gallery-nav {
        display: none;
    }

    .gallery-modal-close {
        top: -40px;
        font-size: 24px;
    }

    .gallery-overlay h4 {
        font-size: 18px;
    }

    .gallery-overlay i {
        font-size: 36px;
    }

    .events-swiper .swiper-button-next,
    .events-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .events-swiper .swiper-button-next::after,
    .events-swiper .swiper-button-prev::after {
        font-size: 14px;
    }

    .event-details {
        flex-direction: column;
        gap: 10px;
    }

    .event-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .event-date-badge {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
        min-width: 60px;
    }

    .event-date-badge .day {
        font-size: 20px;
    }

    .event-content {
        padding: 20px;
    }

    .announcements {
        padding: 12px 0;
    }

    .announcement-container {
        animation-duration: 25s;
    }

    .announcement-text {
        font-size: 14px;
    }

    .announcement-icon {
        font-size: 20px;
    }

    .announcement-item {
        margin-right: 80px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .modal-content {
        padding: 20px;
    }

    .management-card {
        padding: 20px;
    }

    .staff-image {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .header-payment-btn {
        padding: 8px 16px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .header-payment-btn i {
        font-size: 14px;
    }

    .main-header {
        background: var(--white);
        padding: 20px 0 !important;
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .main-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 10px 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .main-header.scrolled {
        padding: 8px 0;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }

    .dropdown-link {
        padding: 10px 30px;
        font-size: 13px;
    }

    .toppers-grid {
        grid-template-columns: 1fr;
    }

    .news-left,
    .news-video {
        padding: 20px;
    }

    .news-slide {
        padding: 20px;
    }

    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .gallery-modal-info {
        bottom: -50px;
    }

    .gallery-modal-info h4 {
        font-size: 16px;
    }

    .event-card {
        margin: 0 5px;
    }

    .event-title {
        font-size: 18px;
    }

    .event-image {
        height: 180px;
        font-size: 36px;
    }

    .announcement-container {
        animation-duration: 20s;
    }

    .announcement-text {
        font-size: 13px;
    }

    .announcement-icon {
        font-size: 18px;
    }

    .announcement-item {
        margin-right: 60px;
    }
}

ul.nav-menu>li>a.current-page,
.nav-link.current-page,
.dropdown-link.current-page {
    color: #f39c12 !important;
    font-weight: bold;
}

.image-wrapper {
    position: relative;
    display: block;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(36, 72, 135, 0.8);
    /* or your desired color */
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 16px;
    font-weight: 500;
}

.topper-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.topper-image i {
    font-size: 60px;
    /* color: #244887; */
}

.page-title-area.title-bg-eight {
    background-color: #113558;
    /* override as needed */
    padding: 40px 0;
    color: #fff;
    text-align: center;
}

.page-title-area.title-bg-eight h2 {
    font-size: 36px;
    color: #f39c12;
    margin-bottom: 15px;
}

.page-title-area.title-bg-eight ul.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.page-title-area.title-bg-eight ul.breadcrumb li {
    color: #f39c12;
    position: relative;
    padding: 0 8px;
}

.page-title-area.title-bg-eight ul.breadcrumb li:not(:last-child)::after {
    content: "›";
    color: #ccc;
    padding-left: 8px;
}

.page-title-area.title-bg-eight ul.breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-title-area.title-bg-eight ul.breadcrumb li a:hover {
    color: #ffffff;
}

.page-title-area.title-bg-eight ul.breadcrumb li.active {
    font-weight: bold;
    color: #ffffff;
}

.contact-info-area.pt-100.pb-70 {
    padding: 55px;
}

.gallery-container,
.gallery-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.gallery-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.common-btn,
.btn-gallery {
    background-color: #e41525;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.common-btn:hover,
.btn-gallery:hover {
    background-color: #c3121d;
}

.gallery-info {
    margin-bottom: 30px;
}

.gallery-info h4,
.gallery-item h5 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-info p {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid figure {
    margin: 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item h5 {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.filter-form {
    background-color: #f8fafc;
    border: 1px solid #d1d5db !important;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-form select {
    appearance: none;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    min-width: 200px;
    font-size: 16px;
    color: #1e293b;
    transition: border-color 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

.filter-form select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

@media (max-width: 576px) {
    .filter-form {
        width: 100%;
        text-align: center;
    }

    .filter-form select {
        width: 100%;
    }
}

.news-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-image img {
    width: 100%;
    max-width: 220px;
    border-radius: 8px;
}

.news-content h4 {
    font-size: 1.25rem;
    color: #1e293b;
}

.news-content p {
    color: #475569;
    margin-bottom: 0.75rem;
}

.news-content .common-btn {
    background-color: #244887;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-transform: capitalize;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.news-content .common-btn:hover {
    background-color: #1e3a6e;
    text-decoration: none;
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .news-image img {
        max-width: 100%;
    }
}

/* Contact Info Boxes */
.contact-info-area .contact-info {
    background: #f9f9f9;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.contact-info-area .contact-info i {
    font-size: 36px;
    color: #244887;
    margin-bottom: 10px;
    display: block;
}

.contact-info-area .contact-info span {
    display: block;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-area .contact-info a {
    display: block;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 5px;
    transition: 0.2s;
}

.contact-info-area .contact-info a:hover {
    color: #244887;
}

/* Contact Form */
.contact-area {
    background-color: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.contact-area h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: #244887;
}

.contact-area p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-area .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-area .form-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}

.contact-area .form-control {
    padding-left: 45px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.2s;
}

.contact-area textarea.form-control {
    height: auto;
    padding-top: 15px;
    min-height: 120px;
}

.contact-area .form-control:focus {
    border-color: #244887;
    box-shadow: none;
}

.contact-area .common-btn {
    background-color: #244887;
    color: #fff;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-area .common-btn:hover {
    background-color: #1d356c;
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .contact-info-area .contact-info {
        margin-bottom: 20px;
    }

    .contact-area {
        padding: 30px 20px;
    }
}

.custom-contact-wrapper {
    width: 100%;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.custom-contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.custom-contact-grid h2 {
    text-align: center;
    color: #244887;
    margin-bottom: 10px;
}

.custom-contact-grid p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #244887;
}

.submit-btn {
    background-color: #244887;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #1a3366;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.is-invalid {
    border-color: #dc3545;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-btn {
    padding: 10px 25px;
    background-color: #244887;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #d00;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.alert-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.alert-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.gallery-title {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.image-wrapper {
    text-decoration: none !important; /* remove underline */
}

.image-wrapper h4 {
    text-decoration: none;
}