* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: jaldi;
}

html {
    scroll-behavior: smooth;
}

/*Navbar Start*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    padding: 0rem;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    font-size: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff3366;
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .logo {
        height: 32px;
    }

    .mobile-toggle {
        display: block;
        z-index: 101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}

@media (max-width: 480px) {
    .logo {
        height: 28px;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        /* Update existing mobile nav-links styles with these new background properties */
        background: rgba(255, 255, 255, 0.7);
        /* Transparent white base */
        backdrop-filter: blur(10px) saturate(180%);
        /* First level blur */
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        /* For Safari */
        box-shadow:
            rgba(255, 255, 255, 0.5) -1px -1px 24px inset,
            /* Second level inner glow */
            rgba(209, 209, 209, 0.3) 1px 1px 24px inset,
            /* Third level depth */
            rgba(0, 0, 0, 0.1) 0px 4px 16px;
        /* Subtle outer shadow */
        border: 1px solid rgba(255, 255, 255, 0.18);
        /* Subtle border */
    }

    /* Optional: Make the nav links slightly darker for better contrast */
    .nav-links a {
        color: rgba(0, 0, 0, 0.8);
        font-weight: 600;
    }
}

/*Navbar End*/

/*Featured Newspaper section*/

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: #f4f4f4;
    text-align: center;
}

.image-section h2 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 18px;
}

.image-section img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .image-section {
        padding: 20px;
    }

    .image-section h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
}

@media (min-width: 1200px) {
    .image-section {
        padding: 60px;
    }

    .image-section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
}


:root {
    --primary: #ffa500;
    --secondary: #2c3e50;
    --accent: #e74c3c;
    --neutral: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Cabinet Grotesk', sans-serif;
    --width: 200px;
    --height: 200px;
    --quantity: 10;
}

/* Navigation */


/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    background-color: #ffffff;
}

.hero-content {
    width: 40%;
    padding: 0 4rem;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: bolder;
    z-index: 2;
    /* Added properties to fix layout shifting */
    position: relative;
    min-height: 300px;
}

.hero-content h1 {
    font-size: 3.7em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    /* Added properties to fix heading position */
    position: relative;
    line-height: 1.2;
}

#changing-text {
    /* Added properties to prevent layout shifts */
    min-height: 2em;
    display: block;
    position: relative;
}

.hero-video {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        height: 100vh;
        position: absolute;
        z-index: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        min-height: 200px;
        /* Added for stability */
    }

    .hero-content h1 {
        font-size: 2.5em;
        margin-bottom: 1rem;
    }

    #changing-text {
        font-size: 1.2em;
        text-align: center;
        width: 100%;
        min-height: 3em;
        /* Added for stability */
    }

    .hero-video {
        width: 100%;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
    }

    .hero-video::before {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content {
        min-height: 180px;
        /* Added for smallest screens */
    }

    #changing-text {
        font-size: 1.15em !important;
        min-height: 4em;
    }

    .hero-content h1 {
        font-size: 2.2em !important;
    }

    h1 {
        font-size: 1em !important;
    }
    #threeimgh{
        display: none;
    }
}
#smimg{
    width: 100%;
    height: auto;
}
@media (min-width: 480px){
    #threeimgd{
        display: none;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/*Activities Container*/

.activities-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.activities-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Main Activities Slider */
.activities-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    margin-bottom: 1rem;
    touch-action: pan-y pinch-zoom;
}

.activities-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.activities-slide.active {
    opacity: 1;
}

.activities-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Navigation Controls */
.activities-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 999;
    /* Highest z-index for buttons */
}

.nav-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
    pointer-events: auto;
    z-index: 1000;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Caption and Counter */
.activities-info {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    z-index: 999;
}

/* Thumbnails */
.activities-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.activities-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.activities-thumbnail:hover {
    opacity: 1;
}

.activities-thumbnail.active {
    opacity: 1;
    outline: 2px solid #3b82f6;
}

.activities-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .activities-thumbnails {
        display: none;
    }

    .activities-slider {
        height: 50vh;
    }

    .nav-button {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/*Activities End*/

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    #changing-text {
        font-size: 1.2em;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        color: #fff !important;
    }

    .hero-content h1 {
        color: #fff !important;
    }
}



/* Featured Section */
.featured-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

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

.featured-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.featured-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide-container {
    display: flex;
    transition: transform 0.8s ease;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slide-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.5s ease;
}

.slide-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .featured-container h2 {
        font-size: 2rem;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slide-nav.prev {
        left: 10px;
    }

    .slide-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .featured-section {
        padding: 2rem 0.5rem;
    }

    .slide-nav {
        width: 36px;
        height: 36px;
    }

    .slide-dot {
        width: 10px;
        height: 10px;
    }
}

/* featured end */
/* Founder Section */
.founder-section {
    padding: 4rem 0;
    background: #fff;
}

.founder-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 1rem;
}

.founder-image {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-content {
    flex: 1;
}

.founder-content h2 {
    color: #333;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/*Footer end*/
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
    }


    .featured-slider {
        height: 300px;
    }
}

.row {
    max-width: 114rem;
    margin: 0 auto
}

.row:not(:last-child) {
    margin-bottom: 8rem
}

@media only screen and (max-width: 56.25em) {
    .row:not(:last-child) {
        margin-bottom: 6rem
    }
}

@media only screen and (max-width: 56.25em) {
    .row {
        max-width: 50rem;
        padding: 0 3rem
    }
}

.row::after {
    content: "";
    display: table;
    clear: both
}

.row [class^="col-"] {
    float: left
}

.row [class^="col-"]:not(:last-child) {
    margin-right: 6rem
}

@media only screen and (max-width: 56.25em) {
    .row [class^="col-"]:not(:last-child) {
        margin-right: 0;
        margin-bottom: 6rem
    }
}

@media only screen and (max-width: 56.25em) {
    .row [class^="col-"] {
        width: 100% !important
    }
}

.row .col-1-of-2 {
    width: calc((100% - 6rem) / 2)
}

.row .col-1-of-3 {
    width: calc((100% - 2 * 6rem) / 3)
}

.row .col-2-of-3 {
    width: calc(2 * ((100% - 2 * 6rem) / 3) + 6rem)
}


.row .col-1-of-4 {
    width: calc((100% - 3 * 6rem) / 4)
}

.row .col-2-of-4 {
    width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem)
}

.row .col-3-of-4 {
    width: calc(3 * ((100% - 3 * 6rem) / 4) + 2 * 6rem)
}

.row {
    padding: 3rem;
}

.section-about {
    background-color: #ffffff;
    padding: 13rem 0;
    padding-bottom: 0px;
    margin-top: -20vh;
    margin-bottom: 0;
    color: #2c3e50;
}

@media only screen and (max-width: 56.25em) {
    .section-about {
        padding: 12rem 0;
    }
}

.u-center-text {
    text-align: center !important;
}

.u-margin-bottom-big {
    margin-bottom: 1rem !important;
}

.heading-secondary {
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.2rem;
}

@media only screen and (max-width: 56.25em) {
    .heading-secondary {
        font-size: 2.7rem;
    }
}

@media only screen and (max-width: 37.5em) {
    .heading-secondary {
        font-size: 2.5rem;
    }
}


.heading-tertiary {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.u-margin-bottom-small {
    margin-bottom: 1.5rem !important;
}

.paragraph {
    font-size: 1.6rem;
}

.paragraph:not(:last-child) {
    margin-bottom: 3rem;
}


.composition {
    position: relative;
}

.composition__photo {
    width: 55%;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    position: absolute;
    z-index: 10;
    transition: all 0.2s;
    outline-offset: 2rem;
}

@media only screen and (max-width: 56.25em) {
    .composition__photo {
        float: left;
        position: relative;
        width: 33.33333333%;
        box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
    }
}

.composition__photo--p1 {
    left: 0;
    top: -2rem;
}

@media only screen and (max-width: 56.25em) {
    .composition__photo--p1 {
        top: 0;
        transform: scale(1.2);
    }
}

.composition__photo--p2 {
    right: 0;
    top: 2rem;
}

@media only screen and (max-width: 56.25em) {
    .composition__photo--p2 {
        top: -1rem;
        transform: scale(1.3);
        z-index: 100;
    }
}

.composition__photo--p3 {
    left: 20%;
    top: 10rem;
}

@media only screen and (max-width: 56.25em) {
    .composition__photo--p3 {
        top: 1rem;
        left: 0;
        transform: scale(1.1);
    }
}

.composition__photo:hover {
    outline: 1rem solid #000;
    transform: scale(1.02) translateY(-0.3rem);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.composition:hover .composition__photo:not(:hover) {
    transform: scale(0.75);
}

/*Noticeboard start*/


/*Noticeboard End*/



/*FONTS*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #2c3e50;
}

/*Gallery Section*/
/* Gallery Section */
.gslider {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    padding: 40px 0;
    margin: 20px 0;
}

.list {
    display: flex;
    position: relative;
    width: max-content;
}

/* Right moving gallery */
.gslider-right .list {
    animation: slideShowRight 45s linear infinite;
}

/* Left moving gallery */
.gslider-left .list {
    animation: slideShowLeft 45s linear infinite;
}

.list .item {
    width: 280px;
    height: 280px;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.list .item:hover {
    transform: scale(1.05);
    z-index: 1;
}

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

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

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

@keyframes slideShowLeft {
    0% {
        transform: translateX(-50%);
    }

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

.gslider::before,
.gslider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.gslider::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5, transparent);
}

.gslider::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5, transparent);
}

/* Pause animation on hover */
.gslider:hover .list {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gslider {
        height: 250px;
    }

    .list .item {
        width: 230px;
        height: 230px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .gslider {
        height: 200px;
    }

    .list .item {
        width: 180px;
        height: 180px;
        margin: 0 8px;
    }
}

/*Gallery end*/

/*Video Loader*/
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

#video-container.hidden {
    opacity: 0;
    pointer-events: none;
}

#video-container video {
    width: 1920px;
    height: 1080px;
    object-fit: contain;
}

/*Adjustments for smaller devices*/

@media(max-width: 768px) {
    #mrd {
        margin-bottom: -30px;
    }

    .mru {
        margin-bottom: -300px;
    }

    #mru {
        margin-bottom: -100px;
    }

    #ru {
        margin-top: -60px;
    }

    .gslider::before {
        left: 0;
        background: linear-gradient(to right, #0000, transparent);
    }

    .gslider::after {
        right: 0;
        background: linear-gradient(to left, #0000, transparent);
    }
}

#tdn {
    text-decoration: underline;
    color: white;
}

.volunteer-section-volunteer {
    background-color: #E31837;
    color: white;
    padding: 20px 5px;
    text-align: center;
    font-family: Arial, sans-serif;
}

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

.volunteer-title-volunteer {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    animation: fadeIn-volunteer 1s ease-in;
}

.volunteer-description-volunteer {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-button-volunteer {
    background-color: white;
    color: #E31837;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volunteer-button-volunteer:hover {
    transform: scale(1.05);
    background-color: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn-volunteer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    .volunteer-title-volunteer {
        font-size: 2rem;
    }

    .volunteer-description-volunteer {
        font-size: 1rem;
        padding: 0 20px;
    }

    #Activities {
        margin-top: -400px;
    }
}

/*Volunteer section start*/
.volunteer-section-volunteer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 5px;
    text-align: center;
    font-family: Arial, sans-serif;
}

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

.volunteer-title-volunteer {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;

}

.volunteer-description-volunteer {
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-button-volunteer {
    background-color: white;
    color: #FFA500;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volunteer-button-volunteer:hover {
    transform: scale(1.05);
    background-color: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn-volunteer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    .volunteer-title-volunteer {
        font-size: 2rem;
    }

    .volunteer-description-volunteer {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/*dv donate volunteer section*/
.main-contentdv {
    padding-top: 20px;
}

.containerdv {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Modified cta-section for new layout */
.cta-sectiondv {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 30px 0;
}

/* New vertical image styles */
.vertical-imagedv {
    flex: 0 0 40%;
    height: 650px;
    /* Change this from 450px to 650px or higher as needed */
    background: url('donation.png') center/contain no-repeat;
    /* Change cover to contain */
    border-radius: 15px;
    overflow: hidden;
}

/* Modified cards container */
.cards-containerdv {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 650px;
    /* Match the vertical-imagedv height */
}

.cta-carddv {
    position: relative;
    width: 100%;
    height: 50%;
    /* Changed from 200px to 50% */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* New hover effects */
.cta-carddv:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.donate-carddv {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
}

.join-carddv {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/api/placeholder/600/200');
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
}

/* Enhanced hover effects for background */
.donate-carddv::before,
.join-carddv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transition: transform 0.5s ease;
    z-index: -1;
}

.donate-carddv:hover::before,
.join-carddv:hover::before {
    transform: scale(1.1);
}

.card-contentdv {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-titledv {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.donate-carddv .card-titledv {
    color: #2c3e50;
}

.join-carddv .card-titledv {
    color: #2c3e50;
}

.card-textdv {
    color: #666;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Text hover effect */
.cta-carddv:hover .card-titledv {
    transform: translateY(-2px);
}

.cta-carddv:hover .card-textdv {
    transform: translateY(-2px);
}

.titledv {
    text-align: center;
    font-size: 2.5rem;
    margin: 40px 0;
    color: #333;
}

.photo-griddv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.photo-carddv {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #2c3e50;
}

.photo-placeholderdv {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-textdv {
    padding: 20px;
    text-align: center;
}

.photo-textdv h3 {
    margin-bottom: 10px;
    color: #333;
}

.photo-textdv p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-sectiondv {
        flex-direction: column;
    }

    .vertical-imagedv {
        flex: 1;
        width: 100%;
        min-height: 500px;
        /* Added min-height */
        background: url('donation.png') center/cover no-repeat;
        background-size: contain;
        /* Changed from cover */
        margin-bottom: 20px;
        /* Added spacing */
    }

    .cards-containerdv {
        width: 100%;
        height: auto;
    }

    .cta-carddv {
        width: 100%;
        height: 200px;
    }

    .photo-griddv {
        grid-template-columns: 1fr;
    }

    .titledv {
        font-size: 2rem !important;
    }
}

/*End of donate volunteers*/

/*Upcoming events*/
#uev{
    font-size: 2.5rem;
    margin-top: 70px;
    margin-bottom: 40px;
}
.upcoming-section-uev {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title-uev {
    text-transform: uppercase;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 2.5rem;
}

.events-container-uev {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card-uev {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.event-card-uev:hover {
    box-shadow: #000;
}

.event-image-uev {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.event-content-uev {
    padding: 1.5rem;
}

.event-title-uev {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.event-details-uev {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.event-date-uev {
    color: #ffa500;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.register-btn-uev {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.register-btn-uev:hover {
    background: #2c3e50;
}

@media (max-width: 768px) {
    .section-title-uev {
        font-size: 2rem !important;
    }

    .events-container-uev {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .mtl {
        margin-left: 200px;
    }
}