:root {
    --accent-color: #142d4c;
    /* Neon Green */
    --neon-green: grey;
    --neon-yellow: rgb(37, 112, 128);
    --text-color: #ffffff;
}

/* Root Variables */
:root {
    --bg-color: #0a192f;
    --neon-green: #39ff14;
    --neon-blue: #00eaff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(255, 255, 255, 0.3);
}

/* Full Page Background */
body {
    background: #f8f9fa;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Background Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1600x900/?cyberpunk,technology') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

/* Two-column hero layout */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
}

/* Left Side: Text */
.hero-text {
    flex: 1;
    text-align: left;
}

/* Welcome Text */
.glitch-text {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 20px;
}

.glitch-text span {
    color: #142d4c;
    font-weight: 1000;
}

/* Subtitle */
.neon-subtitle {
    font-size: 1.3rem;
    color: #385170;
    margin-bottom: 15px;
}

/* Quote */
.cyber-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 10px;
    margin-bottom: 25px;
}

/* Glitch Animation */
@keyframes glitch {
    0% {
        text-shadow: 2px 2px 5px var(--neon-green);
    }

    50% {
        text-shadow: -2px -2px 5px var(--neon-blue);
    }

    100% {
        text-shadow: 2px 2px 10px var(--neon-green);
    }
}

/* Cyber Buttons */
.glass-button-container {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.cyber-button {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #142d4c;
    border-radius: 8px;
    background: #ffffff;
    color: #142d4c;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cyber-button:hover {
    background: #142d4c;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Right Side: Mentor Image */
.hero-visual {
    flex: 1;
    position: relative;
}

.mentor-img {
    width: 100%;
    border-radius: 15px;
    animation: floatUpDown 4s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatUpDown {

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

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

/* Glowing Orb Effect */
.glowing-orb {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.5), transparent);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulseGlow 2s infinite alternate;
    right: -50px;
    top: 50%;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 5px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 5px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

body {
    background: #f8f9fa;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Title Styling */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 40px;
}

/* Section Styling */
.guidelines-section {
    background: #142d4c;
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 50px;
}

/* Container for Guidelines */
.guideline-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Individual Guideline Item */
.guideline-item {
    display: flex;
    align-items: center;
    text-align: left;
}

/* Icon Box Styling */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #4CAF50;
    /* Green border */
    border-radius: 20px;
    font-size: 2.5rem;
    margin-right: 20px;
}

/* Text Box Styling */
.text-box h3 {
    font-size: 1.8rem;
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif;
}

.text-box p {
    font-size: 1rem;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Background Animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/*faq*/
.faq-container {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 15px;
}


.faq-heading {
    text-align: center;
    font-size: 28px;
    color: #142d4c;
    font-weight: bold;
    margin-bottom: 25px;
}

.faq-item {
    background: #385170;
    color: #ececec;
    margin: 15px 0;
    padding: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.faq-item:hover {
    background: #142d4c;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}


.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}


.faq-toggle {
    font-size: 26px;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background: #ececec;
    color: #333;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px !important;
    padding: 15px;
    opacity: 1;
}

.description {
    text-align: center;
    font-weight: 200;
    align-items: center;
    display: flex;
    color: #ffff;
    font-size: 1.25rem;
    background: #385170;
    padding: 10px;
    border-radius: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #142d4c;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.header {
    font-size: 32px;
    margin: 30px 0 20px;
    text-align: center;
    font-weight: bold;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 20px;
    background-color: #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.active2 {
    background-color: #007bff;
    color: white;
}

.team-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.member-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.member-card {
    width: 170px;
    height: 200px;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.position {
    color: #555;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0 20px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .centered-members {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .leads-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .centered-members {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .main-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .centered-members {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .lead-card {
        max-width: 300px;
        margin: 0 auto;
    }
}


/* Neon Glitch Effect */
.glitch {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    color: white;
    text-shadow: 0px 0px 15px var(--accent-color),
        0px 0px 25px var(--neon-green),
        0px 0px 35px var(--neon-yellow);
    animation: glitch 1.5s infinite linear, floatText 4s ease-in-out infinite;
}

@keyframes floatText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes glitch {

    0%,
    14% {
        text-shadow: 0.05em 0 0 var(--accent-color),
            -0.05em -0.025em 0 var(--neon-green),
            -0.025em 0.05em 0 var(--neon-yellow);
    }

    15%,
    49% {
        text-shadow: -0.05em -0.025em 0 var(--accent-color),
            0.025em 0.025em 0 var(--neon-green),
            -0.05em -0.05em 0 var(--neon-yellow);
        transform: translateX(-2px);
    }

    50%,
    99% {
        text-shadow: 0.025em 0.05em 0 var(--accent-color),
            0.05em 0 0 var(--neon-green),
            0 -0.05em 0 var(--neon-yellow);
        transform: translateX(2px);
    }

    100% {
        text-shadow: -0.025em 0 0 var(--accent-color),
            -0.025em -0.025em 0 var(--neon-green),
            -0.025em -0.05em 0 var(--neon-yellow);
        transform: translateX(0);
    }
}

/* Interactive Hover Effect */
.glitch:hover {
    animation: pulse 1s infinite alternate;
    cursor: pointer;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0px 0px 15px var(--accent-color);
    }

    100% {
        transform: scale(1.1);
        text-shadow: 0px 0px 30px var(--neon-green);
    }
}

.scroll-indicator {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-color, white);
    /* Fallback to white if --text-color is undefined */
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    z-index: 9999;
    display: block !important;
}

/* Mouse animation */
.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
}

.mouse::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    animation: scrollMouse 1.5s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.6;
        transform: translateY(10px);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

body {
    margin: 0;
    background: #80CBC4;
    background-size: 600% 600%;
    animation: gradientBG 10s ease infinite;
    color: #142d4c;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-image {
    background-image: url("pbg.webp");

    min-height: 380px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Navbar Styles */
nav {
    max-width: 1500px;
    background: #142d4c;
    backdrop-filter: blur(10px);
    font-size: 18px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--glass-border);
    z-index: 1000;
    border-radius: 15px;
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 80px;
    transition: all 0.3s ease-in-out;
}

nav:hover {
    transform: translateX(-50%) scale(1.02);
    box-shadow: 0 10px 40px #142d4c;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 12px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #4cf1c8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #4cf1c8;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Logo */
.webtitle {
    font-size: 22px;
    font-weight: bold;
    margin-right: 10px;
    color: var(--text-color);
    transition: transform 0.3s;
}

.webtitle:hover {
    transform: scale(1.1);
}

.logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: rotate(360deg) scale(1.1);
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: transform 0.3s;
}

.hamburger-menu:hover {
    transform: scale(1.2);
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger-menu {
        display: block;
    }
}


.content {
    margin-top: 80px;
    padding: 20px;
    flex-grow: 1;
    text-align: center;
    color: cornsilk;
}


.logo {
    height: 52px;
    width: 52px;
    margin-right: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Outfit, sans-serif;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

nav.container1 p {
    color: #80CBC4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webtitle {
    font-weight: 700;
    font-size: 22px;
    color: #80CBC4;
    margin: 0;
    display: inline;
}

nav a {
    flex-wrap: wrap;
    color: #fff;
    margin-right: auto;
    display: inline-flex;
    flex-direction: row-reverse;
    /* text-decoration: solid; */
}

a {
    text-decoration: none;
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: color .3s ease, text-decoration .3s ease;
    background-color: transparent;
}

.column {
    height: 80%;
    width: 50%;
    padding: 20px;
    align-items: center;
}

.row {
    display: flex;
    justify-content: space-around;
}


.card {
    border: 3px solid#142d4c;
    color: #fff;

    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
    background-color: #142d4c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    gap: 20px;
    transition: transform 0.3s ease;
    /* Smooth hover effect */
}

.card:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #222f4c, #040f36);
}

.card h3 {
    color: #4cf1c8;
    font-family: cursive;
    font-weight: bold;
    font-size: 1.5rem;
}

.card p {
    font-family: cursive;
    font-size: 21px;
}

.about-us {
    padding: 20px;
    font-size: 30px;
    color: rgb(2, 0, 36);
    align-self: center;
    border: rgb(2, 0, 36);
}

.about-us h1 {
    font-family: Rajdhani;
    font-size: 40px;
    text-align: center;
    font-weight: 400px;
    background-color: #fff;
    border: rgb(2, 0, 36);
    border-style: groove;
    border-radius: 10px;
}

.team h1 {
    font-family: Rajdhani;
    font-size: 40px;
    text-align: center;
    font-weight: 400px;
    background-color: #fff;
    border: rgb(2, 0, 36);
    border-style: groove;
    border-radius: 10px;
}
.blog-title {
    font-family: Rajdhani;
    font-size: 40px;
    text-align: center;
    font-weight: 400px;
    background-color: #fff;
    border: rgb(2, 0, 36);
    border-style: groove;
    border-radius: 10px;
}
.faq-heading {
    font-family: Rajdhani;
    font-size: 40px;
    text-align: center;
    font-weight: 400px;
    background-color: #fff;
    border: rgb(2, 0, 36);
    border-style: groove;
    border-radius: 10px;
}
.events-heading {
    font-family: Rajdhani;
    font-size: 40px;
    text-align: center;
    font-weight: 400px;
    background-color: #fff;
    border: rgb(2, 0, 36);
    border-style: groove;
    border-radius: 10px;
}


ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

nav .logo {
    margin-left: 30px;
    margin-right: 20px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

div {
    display: block;
    unicode-bidi: isolate;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 5px 20px;
    font-size: 16px;
    color: #fff;
    position: relative;
    transition: transform .2s ease-in-out;
}

@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-direction: column;
        background-color: rgba(20, 45, 76, 0.9);
        position: absolute;
        width: 100%;
    }

    nav ul li {
        margin: 0 15px;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: flex;
        margin: 10px;
    }
}

.btn {
    background: linear-gradient(45deg, #385170, #142d4c);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #fdbb2d, #b21f1f);
}

.team-members {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}



footer {
    background-color: rgb(2, 0, 36);
    color: white;
    text-align: center;

    position: relative;
    height: fit-content;
    width: 100%;
    font-size: 20px;
}



footer .heart {
    color: red;
}

.footer-container {
    display: flex;
    height: 200px;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 20px;
    margin-left: 600px;

}


.footer-links ul,
.footer-social ul {

    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin: 5px 0;
}

.footer-links ul li a,
.footer-social ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social ul li a:hover {
    color: #385170;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #444;
    padding-top: 2px;
    font-size: 16px;
}


.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 100px;
    /* Adjust based on your logo size */
    height: auto;
    margin-right: 10px;
    margin-left: 50px;
}


h2 {
    font-size: 28px;
    color: #142d4c;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease-in-out;

}

h2:hover {
    color: rgba(245, 245, 245, 0.909);
}

h1 {
    font-size: 2.5rem;
    color: #142d4c;


}

#projects {
    padding: 50px 20px;
    text-align: center;

    max-width: 800px;
    margin: 50px auto;

}

.view-all-blogs {
    text-align: center;
    margin-top: 30px;
}

.view-all-blogs .btn-primary {
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-all-blogs .btn-primary:hover {
    background-color: #2980b9;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blogs Section Styles */
.year-wise-blogs {
    background-color: #80CBC4;
    padding: 30px 0;
}

.year-wise-blogs .section-title {
    text-align: center;
    font-size: 2rem;
    color: #142d4c;
    margin-bottom: 20px;
}

.blog-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
}

.blog-navigation .nav-btn {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-navigation .nav-btn.active {
    background-color: #007bff;
    color: white;
}

.blog-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f1f1f1;
}

.blog-list::-webkit-scrollbar {
    height: 6px;
}

.blog-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.blog-list::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}

.blog-item {
    flex: 0 0 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: transform 0.2s ease;
}

.blog-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-item a {
    text-decoration: none;
    color: #333;
}

.blog-item h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #007bff;
}

.blog-item p {
    margin: 0 0 6px 0;
    font-size: 0.8rem;
    color: #666;
}

.blog-item .date {
    font-size: 0.7rem;
    color: #999;
}

.view-all-blogs {
    text-align: center;
    margin-top: 15px;
}

.view-all-blogs .btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-blogs .btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.blog-series-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-series {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-series h3 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.blog-series-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.blog-item {
    background-color: white;
    border-radius: 8px;
    padding: 12px;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-item a {
    text-decoration: none;
    color: #333;
}

.blog-item h4 {
    margin: 0 0 8px 0;
    color: #007bff;
}

.blog-item p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 0.9em;
}

.blog-item .date {
    color: #999;
    font-size: 0.8em;
}

.view-all-blogs {
    text-align: center;
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .blog-series-container {
        grid-template-columns: 1fr;
    }
}

.blog-list-container {
    position: relative;
}

.blog-navigation-arrows {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.blog-navigation-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-list-container:hover .blog-navigation-arrow {
    opacity: 1;
}

.blog-navigation-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.blog-navigation-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.year-group {
    display: none;
}

.year-group.active {
    display: block;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Events Section Styles */
.events-section {
    padding: 4rem 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.event-poster {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    transition: bottom 0.3s;
}

.event-card:hover .event-overlay {
    bottom: 0;
}

.event-card:hover .event-poster img {
    transform: scale(1.1);
}

.event-description {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--primary-color);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.close-modal {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary-color);
}

.btn-more-info {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-more-info:hover {
    background-color: #2980b9;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .event-poster {
        height: 300px;
    }
}

/* Events Section Heading Styles */
/* .events-section h1 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-left: 50%;
    transform: translateX(-50%);
} */

.events-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.events-section h1:hover::after {
    transform: scaleX(1);
}
