@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --red: #ff0808;
    --deep-red: #f20b0b;
    --green: #007b3d;
    --text: #101010;
    --muted: #777
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    font-family: Poppins, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55
}

a {
    text-decoration: none;
}

img {
    -webkit-user-drag: none;
}

.site-header {
    height: 81px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(calc((100% - 1110px)/2), 5%);
    position: relative;
    z-index: 10
}

.brand {
    font-size: 26px;
    color: #202020;
    text-decoration: none;
    font-weight: 500
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center
}

.nav a {
    font-size: 16px;
    color: #333;
    text-decoration: none
}

.nav a.active,
.nav a:hover {
    color: #1684d5
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 23px
}

.hero {
    height: 100%;
    background: #fe0000;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 35px 20px 0
}

.welcome {
    color: #2B1770;
    font-family: "Poppins", Sans-serif;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "Poppins", Sans-serif;
    font-size: 58px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-art {
    display: block;
    width: 80%;
    height: auto;
    object-fit: contain;
    margin: 2px auto 0;
}

.overlap-logo {
    position: absolute;
    width: 13%;
    height: auto;
    object-fit: contain;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about {
    align-items: center;
    padding-top: 130px;
    padding-bottom: 55px;
    min-height: 280px;
}

.red-heading {
    color: #f20b0b;
    font-weight: 600;
    margin: 0 0 16px
}

.about-copy p {
    font-size: 16px;
    color: #777;
    margin: 0 0 13px
}

.about-copy .tamil {
    font-size: 16px
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain
}

.president {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0
}

.president img {
    width: 100px;
    height: auto;
    object-fit: cover
}

.president strong {
    display: block;
    color: #f20b0b;
    font-size: 26px
}

.president small {
    display: block;
    font-size: 16px;
    color: #777
}

.button {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    fill: #ffffff;
    color: #ffffff;
    background-color: #fe0000;
    border-radius: 0px 0px 0px 0px;
    padding: 20px 30px 20px 30px;
    text-decoration: none;
    transition: all .3s ease-out;
}

.button:hover {
    background-color: #007736;
    color: #ffffff;
    transition: all .3s ease-out;
}

.mission {
    background: #f6f6f6;
    padding-top: 28px;
    padding-bottom: 55px
}

.section h2:not(.red-heading) {
    color: #000000;
    font-family: "Poppins", Sans-serif;
    font-size: 44px;
    font-weight: 600;
}

.mission-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.mission-card a {
    color: #000000;
}

.mission-card p {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin: 6px 0 4px;
}

.mission-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin: 10px 0 0 0;
}

.accounts {
    align-items: center;
    background: #f4f4f4;
    padding-top: 35px;
    padding-bottom: 35px
}

.qr-card {
    width: 100%;
    height: auto;
    object-fit: contain
}

.account-copy .red-heading {
    margin-bottom: 10px
}

.account-copy p {
    font-size: 18px;
    margin: 5px 0;
    line-height: 32px;
}

.account-copy .small-note {
    font-size: 16px;
    color: #2B1770;
    font-family: "Poppins", Sans-serif;
    font-weight: 700;
    line-height: 25px;
    margin-top: 20px;
}

.trust-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pledge {
    background: #151515 url('../images/pledge-bg.webp') center/cover no-repeat;
    color: #fff;
    position: relative
}

.pledge:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.7;
    background: #000000
}

.pledge-inner {
    position: relative;
    max-width: 1080px;
    margin: auto;
}

.pledge h2 {
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 14px
}

.pledge h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0 0 12px
}

.pledge p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 12px
}

.donate-strip {
    background: #007b3d;
    color: #fff;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.donate-strip strong {
    font-size: 24px
}

.donate-strip p {
    font-size: 16px;
    margin: 7px 0 0
}

.donate-button {
    background: white;
    color: #008347;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 17px 55px;
    text-align: center;
}

.news {
    background: #f7f7f7;
    padding-top: 35px;
    padding-bottom: 40px
}

.news-grid img {
    width: 100%;
    height: auto;
    object-fit: cover
}

.news-grid h3 {
    font-size: 20px;
    color: #ff0808;
    line-height: 1.4;
    font-weight: bold;
    margin: 8px 0 4px
}

.news-grid p {
    font-size: 16px;
    color: #777;
    margin: 0
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
    font-size: 24px;
    border-radius: 6px 0 0 6px;
    z-index: 20
}

footer {
    text-align: center;
    font-size: 16px;
    color: #555;
    padding: 17px 10px;
    background: #fff;
    border-top: 1px solid #e7e7e7
}

footer a {
    text-decoration: none;
    color: #555555;
}

.tamil {
    font-family: 'Noto Sans Tamil', Poppins, Arial, sans-serif
}

/* @media screen  and (max-width:991px){

} */
@media(max-width:700px) {
    .site-header {
        height: 45px;
        padding: 0 6%
    }

    .brand {
        font-size: 12px
    }

    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 45px;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 6%;
        box-shadow: 0 5px 12px #0001;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .nav.open {
        display: flex
    }

    .nav a {
        font-size: 12px
    }

    .hero {
        height: 433px;
        padding: 22px 12px 0
    }

    .welcome {
        font-size: 15px;
        margin-bottom: 9px
    }

    .hero h1 {
        font-size: 21px;
        line-height: 1.5
    }

    .desktop-break {
        display: none
    }

    .hero-art {
        width: min(90%, 390px);
        height: 270px;
        margin-top: 8px
    }

    .overlap-logo {
        width: 68px;
        height: 78px;
        bottom: -39px
    }

    .section {
        padding-left: 9%;
        padding-right: 9%
    }

    .about {
        padding-top: 65px;
        padding-bottom: 35px
    }

    .about-image {
        height: 175px;
        grid-row: 2
    }

    .mission {
        padding-top: 28px;
        padding-bottom: 40px
    }

    .section h2:not(.red-heading) {
        margin-bottom: 20px
    }

    .accounts {
        grid-template-columns: 85px 1fr;
        gap: 15px;
        padding-top: 30px;
        padding-bottom: 30px
    }

    .account-copy p {
        line-height: 26px;
    }

    .trust-image {
        grid-column: 1/-1;
        width: 100%;
        height: 180px;
        object-fit: cover
    }

    .donate-strip {
        padding: 18px 9%;
        gap: 14px
    }

    .donate-button {
        padding: 10px 18px;
        min-width: 100px;
        font-size: 10px
    }

    .news {
        padding-top: 30px
    }

    .news-grid {
        gap: 12px
    }

    .news-grid img {
        height: 60px
    }
}

@media(max-width:390px) {
    .hero h1 {
        font-size: 18px
    }

    .hero {
        height: 390px
    }

    .hero-art {
        height: 235px
    }

    .donate-strip {
        align-items: flex-start;
        flex-direction: column
    }

    .donate-button {
        align-self: stretch
    }
}


/* Bootstrap-assisted responsive refinements */
.container-fluid {
    --bs-gutter-x: 0;
}

.mission-grid.row,
.news-grid.row {
    margin-left: 0;
    margin-right: 0;
}

.mission-grid.row>*,
.news-grid.row>* {
    padding-left: 9px;
    padding-right: 9px;
}

@media (max-width: 991.98px) {
    .site-header {
        padding-left: 4%;
        padding-right: 4%;
    }

    .nav {
        gap: 16px;
    }

    .hero h1 {
        font-size: clamp(22px, 3.2vw, 28px);
    }

    .about {
        gap: 25px;
    }

    .accounts {
        grid-template-columns: 125px minmax(0, 1fr) 220px;
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        height: 75px;
    }

    .brand {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 6%;
        box-shadow: 0 5px 12px #0001;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        font-size: 13px;
    }

    .hero {
        height: auto;
        min-height: 390px;
        padding: 26px 16px 50px;
    }

    .welcome {
        font-size: 18px;
    }

    .hero h1 {
        font-size: clamp(19px, 4.5vw, 25px);
    }

    .hero-art {
        width: min(100%, 390px);
        height: auto;
        aspect-ratio: 1.48;
    }

    .overlap-logo {
        width: 100px;
        height: auto;
        bottom: -45px;
    }

    .section {
        padding: 42px 6%;
    }

    .about {
        padding-top: 58px;
    }

    .about-image {
        grid-row: auto;
        height: auto;
        max-height: 230px;
    }

    .accounts {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 18px;
    }

    .trust-image {
        grid-column: 1 / -1;
        height: auto;
        max-height: 250px;
    }

    .donate-strip {
        padding: 22px 6%;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .donate-button {
        width: 100%;
        min-width: 0;
        padding: 12px 20px;
    }

    .news-grid {
        display: flex;
        row-gap: 18px;
    }

    .news-grid img {
        height: auto;
        aspect-ratio: 2.4 / 1;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 350px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero h1 {
        font-size: 27px;
        line-height: 1.4;
    }

    .hero-art {
        margin-top: 14px;
    }

    .accounts {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .account-copy p {
        overflow-wrap: anywhere;
    }

    .news-grid>* {
        width: 100%;
    }
}

.breadcrumbs {
    background: linear-gradient(#000000c4, #000000c4), url(../images/breadcrumbs-bg.webp);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.breadcrumbs.contact {
    background: linear-gradient(#000000c4, #000000c4), url(../images/contact-bg.webp);
    background-size: cover;
    background-position: center;
}

.breadcrumbs.services {
    background: linear-gradient(#000000c4, #000000c4), url(../images/services-bg.webp);
    background-size: cover;
    background-position: center;
}

.breadcrumbs h2 {
    color: #ffffff;
    font-size: 40px;
}

.breadcrumbs p,
.breadcrumbs a {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 0;
}

.contact_main {
    padding-bottom: 350px !important;
}

.contact_overlay_info {
    background: #007736;
    width: 50%;
    padding: 20px;
    position: absolute;
    z-index: 1;
    top: 30%;
    right: 0;
}

.contact_overlay_info h3 {
    font-size: 26px;
    color: #ffffff
}

.contact_overlay_info h4 {
    font-size: 24px;
    color: #ffffff
}

.contact_overlay_info p,
.contact_overlay_info a {
    font-size: 20px;
    color: #ffffff
}

.contact_form {
    background-color: #7A7A7A2B;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.contact-title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 400;
    color: #111;
    margin-bottom: 12px;
}

.contact_form .form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #222;
}

.contact_form .form-control {
    min-height: 30px;
    padding: 11px 15px;
    font-size: 10px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    background-color: #fff;
}

.contact_form textarea.form-control {
    min-height: 75px;
    resize: vertical;
}

.contact_form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.contact_form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.contact_form .form-control.is-valid {
    border-color: #198754;
    background-image: none;
}

.contact_form .invalid-feedback {
    font-size: 10px;
    margin-top: 4px;
}

.contact-submit {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
}

#contactStatus {
    font-size: 12px;
    display: none;
}

@media screen and (max-width: 991px) {
    .contact_overlay_info {
        width: 100%;
        position: relative;
    }

    .contact_main {
        padding-bottom: 50px !important;
    }
}

@media (max-width: 576px) {
    .contact_form {
        padding: 30px 0 !important;
    }

    .contact-form-wrapper {
        max-width: 100%;
    }

    .contact-title {
        font-size: 18px;
    }

    .contact_form .form-control {
        font-size: 12px;
        min-height: 36px;
    }

    .contact_form textarea.form-control {
        min-height: 90px;
    }

    .contact_form .form-label {
        font-size: 11px;
    }

    .contact-submit {
        font-size: 12px;
        padding: 9px 14px;
    }
}

/* ==============================
   SERVICES MAIN CONTAINER
============================== */

.services-area {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 45px 20px 60px;
}

.service-section {
    width: 100%;
    /* margin-bottom: 70px; */
    padding: 50px 0;
}

/* .service-section:last-child {
    margin-bottom: 0;
} */

/* ==============================
   SERVICE TEXT
============================== */

.service-copy {
    min-width: 0;
}

.service-copy h2 {
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.35;
}

.service-section h2,
.service-section h3 {
    font-size: 26px;
    color: #fe0000;
}

.service-section h3 {
    margin: 15px 0 12px;
    font-weight: 600;
    line-height: 1.35;
}

.service-section p {
    margin: 0 0 12px;
    color: #7a7a7a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.service-section p:last-child {
    margin-bottom: 0;
}

/* ==============================
   ALTERNATING SERVICE LAYOUT
============================== */

.service-top {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 25px;
}

.service-top.has-image {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.service-section.reverse .service-top.has-image .service-copy {
    order: 2;
}

.service-section.reverse .service-top.has-image .service-feature {
    order: 1;
}

/* Featured image */

.service-feature {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.service-feature img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-feature:hover img {
    transform: scale(1.025);
}

/* ==============================
   SWIPER IMAGE GALLERY
============================== */

.service-gallery {
    width: 100%;
    margin-top: 25px;
    position: relative;
}

.service-gallery .swiper {
    width: 100%;
    overflow: hidden;
}

.service-gallery .swiper-wrapper {
    align-items: stretch;
}

.service-gallery .swiper-slide {
    height: auto;
    overflow: hidden;
}

.service-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #f3f3f3;
    transition: transform 0.4s ease;
}

.service-gallery .swiper-slide:hover img {
    transform: scale(1.04);
}

/* Swiper arrows */

.service-gallery .swiper-button-prev,
.service-gallery .swiper-button-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
        visibility 0.3s ease;
}

.service-gallery .swiper-button-prev {
    left: 5px;
}

.service-gallery .swiper-button-next {
    right: 5px;
}

.service-gallery .swiper-button-prev::after,
.service-gallery .swiper-button-next::after {
    font-size: 12px;
    font-weight: 700;
}

.service-gallery:hover .swiper-button-prev,
.service-gallery:hover .swiper-button-next,
.service-gallery:focus-within .swiper-button-prev,
.service-gallery:focus-within .swiper-button-next {
    opacity: 1;
    visibility: visible;
}


/* =========================
   GALLERY SECTION
========================= */

.gallery-section {
    width: 100%;
    padding: 8px 3% 45px;
    background: #fff;
}

.gallery-year-heading {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-year-heading h2 {
    display: inline-block;
    margin: 0;
    padding: 12px 30px;
    background: #301779;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Tabs */

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-tab {
    min-width: 117px;
    padding: 12px 22px;
    border: 1px solid #301779;
    background: #fff;
    color: #111;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.gallery-tab.active,
.gallery-tab:hover {
    background: #301779;
    color: #fff;
}

.gallery-tab:focus-visible,
.gallery-item:focus-visible {
    outline: 3px solid #a993ff;
    outline-offset: 3px;
}

/* Photo grid */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.gallery-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 2px;
    overflow: hidden;
    background: #f2f2f2;
    cursor: pointer;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Videos tab */

.gallery-panel[hidden] {
    display: none !important;
}

.gallery-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    height: 100%;
}

.gallery-video-grid video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #111;
}

/* =========================
   LIGHTBOX
========================= */

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 65px;
    background: rgba(0, 0, 0, .94);
}

.lightbox-swiper {
    width: 100%;
    height: 100%;
}

.lightbox-swiper .swiper-wrapper {
    align-items: center;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.lightbox-swiper .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Close button */

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 24px;
    z-index: 10;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #c9b9ff;
}

/* Counter */

.lightbox-counter {
    position: absolute;
    top: 23px;
    left: 24px;
    z-index: 10;
    color: #fff;
    font-size: 14px;
}

/* Lightbox arrows */

.gallery-lightbox .swiper-button-prev,
.gallery-lightbox .swiper-button-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.gallery-lightbox .swiper-button-prev {
    left: 8px;
}

.gallery-lightbox .swiper-button-next {
    right: 8px;
}

.gallery-lightbox .swiper-button-prev::after,
.gallery-lightbox .swiper-button-next::after {
    font-size: 19px;
    font-weight: 600;
}

/* Prevent background scrolling */

body.lightbox-open {
    overflow: hidden;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 1400px) {
    .gallery-section {
        padding-right: 4%;
        padding-left: 4%;
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 20px 15px 35px;
    }

    .gallery-year-heading h2 {
        padding: 11px 15px;
        font-size: 17px;
    }

    .gallery-tabs {
        gap: 12px;
        margin-bottom: 22px;
    }

    .gallery-tab {
        min-width: 100px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-lightbox {
        padding: 60px 38px;
    }

    .lightbox-close {
        top: 10px;
        right: 12px;
        font-size: 38px;
    }

    .lightbox-counter {
        top: 22px;
        left: 15px;
    }

    .gallery-lightbox .swiper-button-prev,
    .gallery-lightbox .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .gallery-lightbox .swiper-button-prev {
        left: 0;
    }

    .gallery-lightbox .swiper-button-next {
        right: 0;
    }

    .gallery-lightbox .swiper-button-prev::after,
    .gallery-lightbox .swiper-button-next::after {
        font-size: 14px;
    }
}

.gallery-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.video-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #111;
    cursor: pointer;
}

.video-gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 22px;
    pointer-events: none;
}

.video-lightbox[hidden] {
    display: none !important;
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 24px;
    background: rgba(0, 0, 0, 0.94);
}

.video-lightbox-content {
    width: min(900px, 80vw);
    text-align: center;
}

.video-lightbox-content video {
    display: block;
    width: 100%;
    max-height: 75vh;
    background: #000;
}

.video-lightbox-content p {
    margin-top: 12px;
    color: #fff;
}

.video-lightbox-close,
.video-lightbox-prev,
.video-lightbox-next {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 32px;
}

.video-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 42px;
}

@media (max-width: 768px) {
    .gallery-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .video-lightbox {
        gap: 8px;
        padding: 50px 8px;
    }

    .video-lightbox-content {
        width: calc(100% - 70px);
    }

    .video-lightbox-prev,
    .video-lightbox-next {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .gallery-video-grid {
        grid-template-columns: 1fr;
    }
}