* {
    margin: 0;
    padding: 0;
}

[type=radio] {
    display: none;
}

#slider {
    height: 50vh;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    margin: 0 auto;
    max-width: 90%;
}

#slider label {
    margin: auto;
    width: 70%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    left: 0;
    right: 0;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#slider label:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

#slider input[type="radio"]:checked~label {
    transform: translateZ(0) scale(1.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

#s1:checked~#slide4,
#s2:checked~#slide5,
#s3:checked~#slide1,
#s4:checked~#slide2,
#s5:checked~#slide3 {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .37);
    transform: translate3d(-30%, 0, -200px);
}

#s1:checked~#slide5,
#s2:checked~#slide1,
#s3:checked~#slide2,
#s4:checked~#slide3,
#s5:checked~#slide4 {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .3), 0 2px 2px 0 rgba(0, 0, 0, .2);
    transform: translate3d(-15%, 0, -100px);
}

#s1:checked~#slide1,
#s2:checked~#slide2,
#s3:checked~#slide3,
#s4:checked~#slide4,
#s5:checked~#slide5 {
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, .3), 0 11px 7px 0 rgba(0, 0, 0, .19);
    transform: translate3d(0, 0, 0);
}

#s1:checked~#slide2,
#s2:checked~#slide3,
#s3:checked~#slide4,
#s4:checked~#slide5,
#s5:checked~#slide1 {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .3), 0 2px 2px 0 rgba(0, 0, 0, .2);
    transform: translate3d(15%, 0, -100px);
}

#s1:checked~#slide3,
#s2:checked~#slide4,
#s3:checked~#slide5,
#s4:checked~#slide1,
#s5:checked~#slide2 {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .37);
    transform: translate3d(30%, 0, -200px);
}

#slide1 {
    background: #00BCD4
}

#slide2 {
    background: #4CAF50
}

#slide3 {
    background: #CDDC39
}

#slide4 {
    background: #FFC107
}

#slide5 {
    background: #FF5722
}

.welcome-heading {
    font-family: Poppins, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgb(27, 38, 48);
    text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 3px;
    margin-left: 0px;
    position: relative;
    line-height: 1.2;
}


.section-title {
    font-family: Poppins, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
}

.about-text {
    font-family: Poppins, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgb(52, 73, 94);
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: rgb(231, 76, 60);
    margin: 10px auto 0px;
}

.count-number.visible {
    opacity: 1;
    transform: translateY(0px);
}

.count-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.count-number {
    font-family: Montserrat, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgb(231, 76, 60);
    margin-bottom: 10px;
}

.visible {
    visibility: visible !important;
}

.nav-links {
    display: inline-block;
    margin: 0 10px;
    /* Add gaps between links */
    padding: 5px 10px;
    /* Add padding for spacing */
    text-decoration: none;
    /* Remove underline */
    font-size: 1rem;
    /* Adjust font size */
    font-weight: 600;
    /* Make text bold */
    color: #fff;
    /* Text color */
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    /* Gradient background */
    border: 2px solid transparent;
    /* Transparent border */
    border-radius: 25px;
    /* Rounded corners */
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.5);
    /* Neon glow effect */
    position: relative;
    /* For pseudo-elements */
    overflow: hidden;
    /* Hide overflow for animations */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

.nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transition: all 0.4s ease;
    transform: skewX(-45deg);
}

.nav-links:hover::before {
    left: 100%;
    /* Slide the gradient effect */
}

.nav-links:hover {
    color: #fff;
    /* Keep text color white */
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
    /* Reverse gradient on hover */
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.7);
    /* Enhance neon glow on hover */
    transform: scale(1.1);
    /* Slightly enlarge the link on hover */
}

.footer {
    color: #333;
    /* Dark text for contrast */
    font-family: 'Poppins', sans-serif;
    /* Consistent font */
    padding: 40px 0;
    /* Vertical padding */
    border-top: 1px solid #ddd;
    /* Subtle border at the top */
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    /* Slightly smaller text for a clean look */
}

.footer a {
    color: #333;
    /* Dark color for links */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s ease;
    /* Smooth hover effect */
}

.footer a:hover {
    color: #ff7e5f;
    /* Highlight color on hover */
}

.footer .social-link {
    display: inline-block;
    margin: 0 10px;
    color: #333;
    /* Default icon color */
    transition: transform 0.3s ease, color 0.3s ease;
    /* Smooth hover effect */
}

.footer .social-link:hover {
    color: #ff7e5f;
    /* Highlight color on hover */
    transform: scale(1.2);
    /* Slightly enlarge icon on hover */
}

.footer hr {
    border-color: #ddd;
    /* Subtle divider color */
    margin: 20px 0;
}

.landing-section {
    height: 100vh;
    position: relative;
    flex-direction: column;
    background: url(images/hero-bg.png) no-repeat;
    background-size: cover;
    margin-top: -60px;
}

@media (max-width: 768px) {
    .landing-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 75dvh;
    }

    .landing-section img {
        width: 200px;
        margin: 0 auto;
        display: block;
    }

    .welcome-heading {
        font-size: 2rem;
        text-align: center;
        margin-left: 0;
    }

    .auto-typing-box {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #events .section-title,
    #about .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .sticky-navbar {
        visibility: hidden;
    }

    .welcome-heading.text-black.mt-5.ms-5 {
        margin: -48px 0 - 48px 0;
    }

    .count-number {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 0.8 rem;
    }

    #slider {
        height: 40vh;
    }

    #slider label {
        width: 80%;
    }

}

/* media queries for screen > 768 */
@media (max-width: 992px) {
    .sticky-navbar {
        visibility: hidden;
    }
}

/* Count Section Styling */
.events-count-section {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    padding: 50px 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.count-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.count-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.count-icon {
    font-size: 3rem;
    color: #ff7e5f;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.count-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.count-label {
    font-size: 1.2rem;
    color: #555;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styling for Count Section */
@media (max-width: 768px) {
    .events-count-section {
        padding: 30px 0;
    }

    .count-card {
        margin-bottom: 20px;
        /* Add spacing between cards */
        padding: 20px;
        /* Reduce padding for smaller screens */
    }

    .count-icon {
        font-size: 2.5rem;
        /* Adjust icon size */
    }

    .count-number {
        font-size: 2rem;
        /* Adjust number size */
    }

    .count-label {
        font-size: 1rem;
        /* Adjust label size */
    }
}

@media (max-width: 576px) {
    .events-count-section {
        padding: 20px 0;
    }

    .count-card {
        margin-bottom: 15px;
        /* Add smaller spacing between cards */
        padding: 15px;
        /* Further reduce padding */
    }

    .count-icon {
        font-size: 2rem;
        /* Further adjust icon size */
    }

    .count-number {
        font-size: 1.8rem;
        /* Further adjust number size */
    }

    .count-label {
        font-size: 0.9rem;
        /* Further adjust label size */
    }
}

/* About Us Section Styling */
.about-us-container {
    position: relative;
    z-index: 2;
    padding: 50px 20px;
    overflow: hidden;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.about-text .highlight {
    color: #ff7e5f;
    font-weight: bold;
}

.about-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
    transform: scale(1.05);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Background Styling */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/about-bg.jpg') no-repeat center center/cover;
    z-index: 1;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.2);
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: translateY(-3px);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .about-us-container {
        padding: 30px 10px;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .about-text {
        font-size: 0.9rem;
    }

    .about-image-wrapper {
        max-width: 250px;
    }
}

.about-section {
    padding: 0 30px 0 30px;
}

/* Contact Form Styling */
.contact-form-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #ff7e5f;
    margin-bottom: 20px;
}

.contact-form-container .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.contact-form-container .btn-success {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form-container .btn-success:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    #slider {
        height: 30vh;
    }

    #slider label {
        width: 90%;
    }
}

/* Landing Section Styling */
.landing-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/hero-bg.png') no-repeat center center/cover;
    text-align: center;
    padding: 20px;
}

.landing-section img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.welcome-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1b262f;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.auto-typing-box {
    font-size: 1.8rem;
    font-weight: 500;
    color: #273746;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    display: inline-block;
    border-left: 3px solid #e74c3c;
    padding-left: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Responsive Styling for Landing Section */
@media (max-width: 992px) {
    .landing-section {
        height: 80vh;
        padding: 10px;
    }

    .landing-section img {
        max-width: 250px;
    }

    .welcome-heading {
        font-size: 2.5rem;
    }

    .auto-typing-box {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .landing-section {
        height: 70vh;
    }

    .welcome-heading {
        font-size: 2rem;
    }

    .auto-typing-box {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .landing-section {
        height: 60vh;
    }

    .landing-section img {
        max-width: 200px;
    }

    .welcome-heading {
        font-size: 1.8rem;
    }

    .auto-typing-box {
        font-size: 1rem;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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