:root {
    --primary-color: #ff4e00;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Contact Bar Styling */
.contact-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.contact-info {
    margin-right: 20px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    color: var(--secondary-color);
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4bbb 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand img {
    max-height: 45px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 18px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(59, 95, 216, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Carousel Styling */
.carousel-item {
    height: auto;
    /* background: linear-gradient(135deg, #76aeff 0%, #76aeff 100%); */
    position: relative;
    overflow: hidden;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: center;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.carousel-caption p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.2s forwards;
}

.carousel-caption .btn-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Indicators */
.carousel-indicators {
    margin-bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    width: 14px;
    height: 14px;
}

/* Active Nav Item */
.nav-item .active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .carousel-item {
        height: auto;
    }

    /* Handle dropdown on mobile */
    .dropdown-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .dropdown-menu.show {
        display: block;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-item {
        height: auto;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.section-title {
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ff4e00;
    /* Fallback color */
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    display: inline-block;
    /* Required for gradient text to work properly */
}

.section-divider {
    width: 100px;
    height: 4px;
    background-color: #FFA500;
    margin: 0 auto;
    margin-bottom: 30px;
}

.feature-item {
    margin-bottom: 15px;
}

.feature-icon {
    color: #FFA500;
    margin-right: 10px;
}

.learn-more-btn {
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 15px rgba(48, 67, 153, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.learn-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(48, 67, 153, 0.3);
    color: white;
    background: linear-gradient(45deg, #ff4e00, #304399);
}

.learn-more-btn i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Achievement Gallery Styling */
.achievement-card {
    background: white;
    border: 1px solid #ddd;
    margin: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.achievement-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-img {
    transform: scale(1.05);
}

.achievement-info {
    padding: 15px;
    text-align: center;
    background: white;
}

.achievement-info .stream {
    font-weight: 600;
    color: #008B8B;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-info .name {
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.achievement-info .percentage {
    font-weight: 600;
    color: #008B8B;
    font-size: 1.2rem;
}

/* Awards Gallery Styling */
.award-item {
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.award-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.award-item:hover .award-img {
    transform: scale(1.1);
}

.award-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.award-item:hover .award-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.award-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.award-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Custom Navigation Arrows */
.custom-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.custom-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-nav button:hover {
    background: linear-gradient(45deg, #ff4e00, #304399);
    transform: scale(1.1);
}

.custom-nav .prev-btn {
    left: -25px;
}

.custom-nav .next-btn {
    right: -25px;
}

/* Achievement and Awards Sections */
/* .section-title {
    color: linear-gradient(45deg, #ff4e00, #76aeff);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
} */

.section-divider {
    width: 100px;
    height: 4px;
    background-color: #FFA500;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* Section Titles Animation */
.animated-title {
    position: relative;
    display: inline-block;
}

.animated-title:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #008B8B;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.animated-title:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement-item,
.award-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.achievement-item:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-item:nth-child(3) {
    animation-delay: 0.4s;
}

.achievement-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Add these new styles */
.top-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container img {
    max-height: 80px;
    transition: all 0.3s ease;
}

.submit-fee-btn {
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 67, 153, 0.2);
}

.submit-fee-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 67, 153, 0.3);
    color: white;
    background: linear-gradient(45deg, #ff4e00, #304399);
}

/* Update Navigation Arrows */
.custom-nav {
    position: absolute;
    width: 110%;
    left: -5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.custom-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.custom-nav button:hover {
    background: linear-gradient(45deg, #ff4e00, #304399);
    transform: scale(1.1);
    opacity: 1;
}

.custom-nav .prev-btn {
    left: 0;
}

.custom-nav .next-btn {
    right: 0;
}

/* Enhanced Achievement Cards */
.achievement-card {
    background: white;
    border-radius: 15px;
    margin: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.achievement-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.achievement-info {
    padding: 20px;
    text-align: center;
    background: white;
    border-top: 4px solid #304399;
}

.achievement-info .stream {
    color: #304399;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.achievement-info .name {
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.achievement-info .percentage {
    color: #304399;
    font-weight: 700;
    font-size: 1.4rem;
    background: -webkit-linear-gradient(45deg, #304399, #4059c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Award Cards */
.award-item {
    margin: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.award-info {
    background: linear-gradient(to top, rgba(48, 67, 153, 0.95), rgba(64, 89, 200, 0.7));
    padding: 25px;
}

.award-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.award-info p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Footer Styling */
footer {
    background: linear-gradient(45deg, #ff4e00, #76aeff);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #FFA500, #FF6B6B, #4ECDC4);
}

.footer-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #FFA500;
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    margin-right: 0.8rem;
    color: #FFA500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #FFA500;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 2.5rem;
    }

    .footer-title {
        margin-bottom: 1.2rem;
    }
}

/* Birthday Section Styling */
.birthday-section {
    background: linear-gradient(to top, rgba(48, 67, 153, 0.95), rgba(64, 89, 200, 0.7));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.birthday-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🎉</text></svg>') center/50px repeat;
    opacity: 0.1;
    animation: floatBalloons 20s linear infinite;
}

@keyframes floatBalloons {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.birthday-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.birthday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.birthday-card::after {
    content: '🎂';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    opacity: 0.5;
}

.birthday-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.birthday-name {
    color: #2575fc;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.birthday-date {
    color: #6a11cb;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.birthday-wish {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
}

.birthday-wish:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

/* Notice Board Section */
.notice-board {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 40px;
}

.notice-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #304399;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.notice-date {
    color: #304399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.notice-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.notice-content {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notice-link {
    color: #304399;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.notice-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.notice-link:hover {
    color: #253580;
}

.notice-link:hover i {
    transform: translateX(5px);
}

/* Upcoming Events Ticker */
.events-ticker {
    background: linear-gradient(45deg, #ff4e00, #4059c8);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    white-space: nowrap;
    margin-right: 50px;
    display: flex;
    align-items: center;
}

.ticker-item i {
    margin-right: 10px;
    color: #FFA500;
}