/********** Template CSS **********/
:root {
    --primary: #c43c3c;
    --secondary: #000555;
    --light: #F1F3FA;
    --dark: #000000;
}

html {
  scroll-behavior: smooth;
}

/* Headings */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-5 {
    font-family: 'Poppins', sans-serif;
}

.tagline {
    font-family: 'Poppins', sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: color .3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    font-family: "Font Awesome 5 Free";
    transition: transform .3s ease;
}

.navbar .nav-item.dropdown {
    position: relative;
}

.navbar .nav-item .dropdown-menu {
    min-width: 260px;
    padding: 12px;
    border: 1px solid rgba(196, 60, 60, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 45px rgba(0, 5, 85, .12), 0 8px 18px rgba(196, 60, 60, .10);
    backdrop-filter: blur(12px);
}

.navbar .nav-item .dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(196, 60, 60, .08), rgba(0, 5, 85, .03));
    pointer-events: none;
}

.navbar .dropdown-item {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    margin-bottom: 6px;
    border-radius: 12px;
    color: var(--dark);
    font-weight: 500;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, padding-left .25s ease;
}

.navbar .dropdown-item:last-child {
    margin-bottom: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    color: var(--primary);
    background: linear-gradient(90deg, rgba(196, 60, 60, .12), rgba(0, 5, 85, .04));
    padding-left: 22px;
    transform: translateX(4px);
}

.navbar .dropdown-item:active {
    color: var(--primary);
    background: linear-gradient(90deg, rgba(196, 60, 60, .18), rgba(0, 5, 85, .07));
}

.navbar .nav-item:hover > .dropdown-toggle::after,
.navbar .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .nav-item .dropdown-menu {
        min-width: 100%;
        margin-top: 8px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(0, 5, 85, .08);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(18px) scale(.98);
        transform-origin: top center;
        transition: opacity .35s ease, transform .35s ease, top .35s ease;
        pointer-events: none;
    }

    .navbar .nav-item:hover .dropdown-menu,
    .navbar .nav-item .dropdown-menu.show {
        top: 100%;
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}


/*** Header ***/
/* .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
} */

/* ===============================
   HERO IMAGE
=================================*/
.carousel-img {
    height: 700px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 12s ease-in-out;
}

.carousel-item.active .carousel-img {
    transform: scale(1.1);
}

/* ===============================
   PREMIUM DARK OVERLAY
=================================*/
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(0, 0, 0, 0.85) 10%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.3) 80%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* ===============================
   CAPTION LAYOUT
=================================*/
.carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-align: left;
    display: flex;
    align-items: center;
    animation: fadeSlideUp 1.2s ease forwards;
}

/* Text Animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   HEADINGS
=================================*/
.carousel-caption h1 {
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.carousel-caption p.lead {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
}

/* Welcome Text */
.letter-spacing {
    letter-spacing: 4px;
    font-size: 14px;
}

/* ===============================
   PREMIUM BUTTONS
=================================*/
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #CC7722);
    border: none;
    /* padding: 14px 36px; */
    font-weight: 600;
    transition: all 0.4s ease;
    /* box-shadow: 0 10px 25px rgba(13,110,253,0.3); */
    box-shadow: 0 10px 25px #CC7722;
    
}

.btn-primary:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 15px 35px rgba(13,110,253,0.5); */
    box-shadow: 0 10px 25px #CC7722;
}

/* Glass Button */
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    padding: 14px 36px;
    transition: all 0.4s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-4px);
}

/* ===============================
   ARROWS MODERN STYLE
=================================*/
.custom-arrow {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .custom-arrow,
.carousel-control-next:hover .custom-arrow {
    background: var(--primary);
    transform: scale(1.1);
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .carousel-img {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel-caption p {
        font-size: 15px;
    }
}
.carousel-item {
    transition: opacity 1.5s ease-in-out;
}



/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

/*** About ***/
/* .about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/All-Images/about.png) left center no-repeat;
    background-size: cover;
} */

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}


/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Footer ***/
.footer {
    color: #ffffff;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    content: "›";
    font-size: 18px;
    font-weight: 500;
    margin-right: 10px;
    color: #CC7722;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #fff;
}

.copyright {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.96rem;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.copyright-link {
    color: #f3bb7f;
    font-weight: 600;
}
/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/

.display-5 {
        font-size: 1.5rem !important;
        color: var(--primary)!important;
    }
.display-1 {
        font-size: 2rem  !important;
        color: #ffffff !important;
    }
h4,.h4 {
        font-size: 1.25rem !important;
        color: var(--primary)!important;
    }

.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/All-Images/about.png) center center no-repeat;
    background-size: cover;
}

.page-header-category {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/All-Images/about.png) center center no-repeat;
    background-size: cover;
}

.page-header-contact {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/All-Images/about.png) center center no-repeat;
    background-size: cover;
}

/*** About Page ***/
.about-page {
    background:
        radial-gradient(circle at top left, rgba(204, 119, 34, 0.10), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 42%, #fff8ef 100%);
}

.about-section {
    padding: 34px;
    border-radius: 28px;
    border: 0;
}

.about-section-hero {
    background: transparent;
    box-shadow: none;
}

.about-section-warm {
    background: transparent;
}

.about-section-cool {
    background: transparent;
}

.about-section-contact {
    background: transparent;
}

.about-showcase {
    position: relative;
    padding: 1.25rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 236, 0.95));
    box-shadow: 0 24px 60px rgba(18, 32, 56, 0.14);
    overflow: hidden;
}

.about-showcase::before,
.about-showcase::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.about-showcase::before {
    width: 220px;
    height: 220px;
    top: -120px;
    right: -70px;
    background: rgba(204, 119, 34, 0.12);
}

.about-showcase::after {
    width: 170px;
    height: 170px;
    bottom: -90px;
    left: -60px;
    background: rgba(24, 36, 63, 0.08);
}

.about-showcase-main {
    width: 100%;
    min-height: 460px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(18, 32, 56, 0.14);
    display: block;
}

.about-showcase-media {
    position: relative;
    z-index: 1;
}

.about-showcase-card {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 32, 56, 0.16);
    border-left: 5px solid #CC7722;
}

.about-showcase-card h2 {
    margin-bottom: 12px;
    color: #18243f;
    font-size: 1.45rem;
    line-height: 1.35;
}

.about-showcase-card p {
    color: #5b6275;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.about-intro-card,
.about-feature-card,
.office-bearer-card,
.about-contact-card {
    height: 100%;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 32, 56, 0.10);
}

.about-intro-card {
    padding: 36px;
    border: 0;
    background: #ffffff;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(204, 119, 34, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.about-title {
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--secondary);
}

.about-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-pill {
    padding: 10px 16px;
    border: 1px solid rgba(204, 119, 34, 0.14);
    border-radius: 999px;
    background: rgba(255, 247, 236, 0.95);
    color: var(--secondary);
    font-weight: 600;
}

.about-feature-card {
    padding: 28px 24px;
    border: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ec 100%);
    transition: transform .3s ease, box-shadow .3s ease;
}

.about-feature-card:hover,
.office-bearer-card:hover,
.about-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(18, 32, 56, 0.14);
}

.about-feature-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), #df7d57);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: none;
}

.about-feature-card h5,
.office-bearer-card h5,
.about-contact-card h3,
.about-section-heading h2 {
    color: var(--secondary) !important;
}

.about-feature-card p,
.about-intro-card p,
.office-bearer-card p,
.about-contact-card p,
.about-section-heading p {
    color: #5b6275;
}

.about-section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.office-bearers-stage {
    position: relative;
}

.office-bearer-card {
    position: relative;
    padding: 30px 24px;
    overflow: hidden;
    border: 0;
    background: #ffffff;
    border-top: 4px solid rgba(204, 119, 34, 0.7);
}

.office-bearer-card::before {
    content: none;
}

.office-bearer-card::after {
    content: "";
    position: absolute;
    inset: auto -42px -42px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(204, 119, 34, 0.08);
    pointer-events: none;
}

.office-bearer-card-lead {
    padding: 34px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ec 100%);
}

.office-bearer-card-member {
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.office-bearer-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.office-bearer-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(196, 60, 60, .1);
    color: var(--primary);
    font-weight: 700;
}

.office-bearer-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(24, 36, 63, 0.06);
    color: #18243f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.office-bearer-card h5 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.45rem;
}

.office-bearer-role {
    position: relative;
    z-index: 1;
    margin-bottom: 0.9rem;
    color: var(--primary) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.office-bearer-copy {
    position: relative;
    z-index: 1;
    color: #5b6275;
    line-height: 1.7;
}

.governance-note {
    padding: 36px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #b54731 45%, #cc7722 100%);
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(18, 32, 56, 0.16);
    position: relative;
    overflow: hidden;
}

.governance-note::before,
.governance-note::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.governance-note::before {
    width: 220px;
    height: 220px;
    top: -110px;
    right: -70px;
    background: rgba(255, 248, 239, 0.16);
}

.governance-note::after {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -50px;
    background: rgba(255, 255, 255, 0.10);
}

.about-contact-card {
    padding: 34px;
    border: 0;
    background: #ffffff;
}

.contact-accent-card {
    background:
        linear-gradient(135deg, rgba(255, 248, 239, 0.94), rgba(255, 255, 255, 0.98)),
        url(../img/All-Images/shape-5.webp) right bottom / 180px no-repeat;
}

.about-contact-list {
    display: grid;
    gap: 16px;
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ec 100%);
    border: 0;
}

.about-contact-item i {
    margin-top: 4px;
    color: var(--primary);
}

.about-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ec 100%);
    border: 0;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}

.about-action-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(18, 32, 56, 0.14);
    color: var(--primary);
}

.about-action-link i {
    color: var(--primary);
}

.about-action-static {
    cursor: default;
}

.about-action-static:hover {
    color: var(--secondary);
    transform: none;
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 26px;
    }

    .about-title {
        font-size: 1.9rem;
    }

    .office-bearer-card-lead,
    .office-bearer-card-member {
        padding: 28px 22px;
    }

    .about-showcase-main {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 18px;
        border-radius: 22px;
    }

    .about-intro-card,
    .governance-note,
    .about-contact-card {
        padding: 24px;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .office-bearer-topline {
        flex-wrap: wrap;
    }

    .about-action-grid {
        grid-template-columns: 1fr;
    }

    .about-showcase {
        padding: 0.9rem;
    }

    .about-showcase-main {
        min-height: 250px;
    }

    .about-showcase-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .about-showcase-card h2 {
        font-size: 1.2rem;
    }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.product-table th,
.product-table td {
  padding: 14px 16px;
  border: 2px solid #28d4f0;
  text-align: left;
}

.product-table th {
  background-color: #252628;
  color: #ffffff;
  font-weight: 500;
}

.product-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  .product-table thead {
    display: none;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table tr {
    margin-bottom: 15px;
    border: 1px solid #28d4f0;
    border-radius: 6px;
    overflow: hidden;
  }

  .product-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .product-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: bold;
    text-align: left;
  }
}

p {
    margin-top: 0;
    font-size: 16px;
    font-weight: 400;
}

.btn-light {
    color: #000;
    background-color: #fff9f0;
    border-color: #fff9f0;
}

/*** Activities Start ***/
.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.5s;
    border: 2px solid #f974168a;
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.activities .activities-item:hover {
    transform:translateY(-10px);
    border-color: #f974160f;
    box-shadow:0 0 25px #ffdb81df;
    background: #CC77223b !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    border: 2px solid #f97416;
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2);
}

/* .event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
} */

.event-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.event-item a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

/* .events {
    max-height: 30rem !important;
    overflow-y: scroll !important;
    padding: 0% 2% 0% 2% !important;

    scrollbar-width: thin;
    scrollbar-color: #f97416 #e5e7eb;
}

.events::-webkit-scrollbar {
    width: 6px;
}

.events::-webkit-scrollbar-thumb {
    background: #f97416;
    border-radius: 10px;
}

.events::-webkit-scrollbar-track {
    background: #e5e7eb;
} */

.events {
    max-height: 30rem !important;
    overflow-y: auto !important;   /* auto looks cleaner than forced scroll */
    /* padding: 0 2% !important; */

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f5f5f5;
}

/* Chrome, Edge, Safari */
.events::-webkit-scrollbar {
    width: 6px;
}

.events::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.events::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 8px;
}

.events::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}
/*** Events End ***/

.home-events-stage .about-showcase-card {
    margin-top: 0;
    margin-bottom: 1rem;
}

.home-events-stage {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-events-heading h2 {
    color: #18243f;
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.home-events-heading p {
    color: #5b6275;
}

.home-events-list {
    display: grid;
    gap: 10px;
    max-height: 420px !important;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -2px;
}

.home-event-card {
    display: grid;
    grid-template-columns: 110px 1fr 150px;
    gap: 18px;
    align-items: center;
    min-height: 182px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
    border: 1px solid rgba(24, 36, 63, 0.08);
    box-shadow: 0 14px 32px rgba(18, 32, 56, 0.10);
    transition: transform .3s ease, box-shadow .3s ease;
}

.home-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(18, 32, 56, 0.14);
}

.home-event-date {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(24, 36, 63, 0.05);
    border: 1px solid rgba(204, 119, 34, 0.16);
}

.home-event-day {
    color: #18243f;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.home-event-month {
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-event-copy h4 {
    margin-bottom: 10px;
    border: 0;
    padding: 0;
    width: auto;
    color: #18243f;
    font-size: 1.05rem;
}

.home-event-copy p {
    margin-bottom: 14px;
    color: #5b6275;
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-event-thumb {
    overflow: hidden;
    border-radius: 18px;
}

.home-event-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(18, 32, 56, 0.10);
    transition: transform .35s ease;
}

.home-event-card:hover .home-event-thumb img {
    transform: scale(1.06);
}

.home-events-action {
    margin-top: 20px;
    padding: 0;
}

.home-events-list::-webkit-scrollbar {
    width: 8px;
}

.home-events-list::-webkit-scrollbar-track {
    background: rgba(24, 36, 63, 0.06);
    border-radius: 999px;
}

.home-events-list::-webkit-scrollbar-thumb {
    background: rgba(204, 119, 34, 0.7);
    border-radius: 999px;
}

.home-events-list::-webkit-scrollbar-thumb:hover {
    background: rgba(204, 119, 34, 0.9);
}

@media (max-width: 991.98px) {
    .home-events-list {
        max-height: 680px;
    }

    .home-event-card {
        grid-template-columns: 96px 1fr;
        min-height: 0;
    }

    .home-event-thumb {
        grid-column: 1 / -1;
    }

    .home-event-thumb img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .home-events-list {
        max-height: 560px;
        padding-right: 6px;
    }

    .home-event-card {
        grid-template-columns: 1fr;
    }

    .home-event-date {
        min-height: auto;
    }

    .home-event-thumb img {
        height: 180px;
    }
}

/*** Other button ***/
.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

a:hover {
    color: var(--bs-primary) !important;
}
/*** End button ***/

/* ---------- GLOW ANIMATION ---------- */
@keyframes auraGlow {
    0% { box-shadow: 0 0 40px rgba(240,199,94,0.4); }
    50% { box-shadow: 0 0 90px rgba(240,199,94,0.8); }
    100% { box-shadow: 0 0 40px rgba(240,199,94,0.4); }
}

/* ---------- HEADER ---------- */

.ms-4 {
    margin-left: 0rem !important;
    text-align: center;
}

.display-5 {
    border-bottom: 2px solid #CC7722;
    padding-bottom: .5rem;
    width: 100%;
}

h4,.h4 {
    border-bottom: 2px solid #CC7722;
    padding-bottom: .5rem;
    width: 100%;
    }

.border-dark {
    border-color: #CC7722 !important;
}

.eventbutton {
    /* justify-self: center; */
    align-self: center;
    padding-top: 2%;
    padding: 2%;
    /* box-shadow: rgb(255 248 240) 0px 0px 45px; */
    /*background: #fff6ed;*/
    /* border: 1px; */
    /* border-radius: 15px; */
    /* box-shadow: 0 0 25px #ffdb81; */
    margin-top: 1%;
}

.aboutbutton {
    justify-self: left;
    padding: 2.5%;
    /* box-shadow: rgb(255 248 240) 0px 0px 45px; */
    /*background: #fff6ed;*/
    border: 1px;
    /* border-radius: 15px; */
    /* box-shadow: 0 0 25px #ffdb81; */
    /* margin-top: 1%; */
}

.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
}

.tagline{
    /* margin-top:25px; */
    font-size: 2rem;
    color: #0f3d2e;
    text-align: center;
    font-weight: bold;
}


/* ===========================
   GALLERY SECTION
=========================== */
.gallery-section {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 30px;
    /* border-radius: 30px; */
    background:
        radial-gradient(circle at top right, rgba(204, 119, 34, 0.14), transparent 26%),
        linear-gradient(140deg, rgba(255, 250, 243, 0.94) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 245, 234, 0.94) 100%);
    box-shadow: 0 22px 60px rgba(18, 32, 56, 0.08);
    overflow: hidden;
}

.gallery-showcase-section {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(204, 119, 34, 0.14), transparent 26%),
        linear-gradient(140deg, rgba(255, 250, 243, 0.94) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 245, 234, 0.94) 100%);
    box-shadow: 0 22px 60px rgba(18, 32, 56, 0.08);
    overflow: hidden;
}

.gallery-showcase-section > .gallery-heading-panel,
.gallery-showcase-section > .gallery-container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.gallery-showcase-section::before,
.gallery-showcase-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gallery-showcase-section::before {
    width: 230px;
    height: 230px;
    top: -120px;
    left: -90px;
    background: rgba(24, 36, 63, 0.05);
}

.gallery-showcase-section::after {
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -80px;
    background: rgba(204, 119, 34, 0.10);
}

.gallery-heading-panel,
.gallery-container {
    position: relative;
    z-index: 1;
}

.gallery-heading-panel {
    padding: 8px 6px 0;
}

.gallery-heading-panel p {
    max-width: 640px;
    color: #5b6275;
    font-size: 1rem;
    line-height: 1.8;
}

.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.gallery-filter-bar .filter-btn {
    margin: 0 !important;
    box-shadow: none;
}

.filter-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.gallery-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
}

.gallery-box {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(24, 36, 63, 0.08);
    box-shadow: 0 18px 40px rgba(18, 32, 56, 0.10);
    cursor: pointer;
}

.gallery-box img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-box:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(180deg, rgba(8, 13, 24, 0.05) 0%, rgba(8, 13, 24, 0.82) 78%);
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.gallery-overlay h5 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.35;
    border: 0;
    padding: 0;
    width: auto;
}

.gallery-overlay p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 92%;
}

@media (max-width: 991.98px) {
    .gallery-showcase-section {
        padding: 24px;
        border-radius: 24px;
    }

    .gallery-filter-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .gallery-showcase-section {
        padding: 18px;
        border-radius: 20px;
    }

    .gallery-heading-panel {
        padding: 0;
    }

    .gallery-filter-bar {
        gap: 8px;
    }

    .gallery-filter-bar .filter-btn {
        margin: 0 !important;
        flex: 1 1 calc(50% - 8px);
        font-size: 0.92rem;
    }

    .gallery-box,
    .gallery-box img {
        min-height: 280px;
        height: 280px;
    }

    .gallery-overlay {
        padding: 18px;
    }

    .gallery-overlay p {
        max-width: 100%;
    }
}

/* ===========================
   GALLERY PAGES
=========================== */
.gallery-page-header {
    background:
        linear-gradient(135deg, rgba(21, 26, 48, 0.84), rgba(204, 119, 34, 0.58)),
        url('../img/All-Images/svh-banner-inner.webp') center center / cover no-repeat;
}

.gallery-page-shell {
    background:
        radial-gradient(circle at top left, rgba(204, 119, 34, 0.09), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 45%, #fff8ef 100%);
    overflow-x: hidden;
}

.gallery-page-copy {
    max-width: 760px;
}

.gallery-page-intro {
    max-width: 720px;
    color: #5b6275;
    line-height: 1.8;
}

.gallery-box > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery-box .gallery-overlay {
    transition: background 0.25s ease;
}

.gallery-box:hover .gallery-overlay {
    background: linear-gradient(180deg, rgba(8, 13, 24, 0.08) 0%, rgba(8, 13, 24, 0.90) 78%);
}

.gallery-open-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gallery-posts-toolbar {
    padding: 1.25rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 238, 0.98));
    box-shadow: 0 18px 42px rgba(18, 32, 56, 0.08);
}

.gallery-posts-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.gallery-posts-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.gallery-subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gallery-subcategory-nav-wrap {
    margin-bottom: 1.5rem;
}

.gallery-subcategory-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1.05rem;
    border: 1px solid rgba(24, 36, 63, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #18243f;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.gallery-subcategory-chip:hover {
    background: linear-gradient(135deg, rgba(196, 60, 60, 0.12), rgba(204, 119, 34, 0.14));
    border-color: rgba(196, 60, 60, 0.18);
    color: var(--primary);
}

.gallery-category-group {
    display: none;
}

.gallery-subcategory-block {
    margin-bottom: 2rem;
    padding: 1.35rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 238, 0.98));
    box-shadow: 0 18px 42px rgba(18, 32, 56, 0.08);
}

.gallery-subcategory-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.gallery-subcategory-header h3 {
    margin-bottom: 0.45rem;
    color: #18243f;
}

.gallery-subcategory-header p {
    margin-bottom: 0;
    color: #5f6677;
    line-height: 1.7;
}

.gallery-subcategory-count {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(204, 119, 34, 0.10);
    color: #9b5415;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.gallery-sub-image-trigger {
    display: block;
}

.gallery-posts-switch a,
.gallery-posts-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(24, 36, 63, 0.08);
    color: #18243f;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gallery-posts-switch a.active,
.gallery-posts-switch button.active,
.gallery-posts-switch button:hover,
.gallery-posts-switch a:hover {
    background: linear-gradient(135deg, var(--primary), #cc7722);
    border-color: transparent;
    color: #ffffff;
}

.gallery-posts-switch button {
    cursor: pointer;
}

.gallery-post-item {
    display: none;
}

.gallery-post-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    text-decoration: none;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 32, 56, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 52px rgba(18, 32, 56, 0.14);
}

.gallery-post-media {
    position: relative;
    overflow: hidden;
}

.gallery-post-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 32, 56, 0.04) 0%, rgba(18, 32, 56, 0.26) 100%);
}

.gallery-post-media img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-post-card:hover .gallery-post-media img {
    transform: scale(1.08);
}

.gallery-post-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #18243f;
    box-shadow: 0 12px 24px rgba(18, 32, 56, 0.12);
}

.gallery-post-copy {
    padding: 1.2rem;
}

.gallery-post-label {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    background: rgba(204, 119, 34, 0.10);
    color: #9b5415;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-post-copy h4 {
    color: #18243f;
    margin-bottom: 0.55rem;
}

.gallery-post-copy p {
    margin-bottom: 0;
    color: #5f6677;
    line-height: 1.7;
}

.gallery-posts-note {
    padding: 1.35rem;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(24, 36, 63, 0.98), rgba(35, 51, 86, 0.98));
    color: #ffffff;
}

.gallery-posts-note p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 0;
}

.gallery-post-modal .modal-dialog {
    max-width: min(94vw, 1180px);
}

.gallery-post-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #0f1728;
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.gallery-post-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 1rem 1.25rem;
}

.gallery-post-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
    opacity: 0.9;
}

.gallery-post-modal .modal-body {
    padding: 1rem;
}

.gallery-post-modal-kicker {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-post-modal .carousel-inner {
    border-radius: 22px;
    background: #060b14;
}

.gallery-post-modal .carousel-item {
    text-align: center;
}

.gallery-post-modal-image {
    width: auto !important;
    max-width: 100%;
    max-height: 76vh;
    margin: 0 auto;
    object-fit: contain;
}

.gallery-post-modal .carousel-control-prev,
.gallery-post-modal .carousel-control-next {
    width: 12%;
    opacity: 1;
}

.gallery-post-modal .carousel-control-prev-icon,
.gallery-post-modal .carousel-control-next-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background-color: rgba(15, 23, 40, 0.72);
    background-size: 42%;
}

.gallery-post-modal-meta {
    padding: 1rem 0.35rem 0.2rem;
}

.gallery-post-modal-counter {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-post-modal-caption {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.gallery-empty-state {
    display: none;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 32, 56, 0.08);
}

.gallery-empty-state i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .gallery-subcategory-header {
        flex-direction: column;
    }

    .gallery-subcategory-block {
        padding: 1rem;
        border-radius: 22px;
    }

    .gallery-post-media img {
        height: 240px;
    }

    .gallery-post-modal .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .gallery-post-modal .modal-content {
        border-radius: 20px;
    }

    .gallery-post-modal .modal-header,
    .gallery-post-modal .modal-body {
        padding: 0.85rem;
    }

    .gallery-post-modal-image {
        max-height: 62vh;
    }

    .gallery-post-modal .carousel-control-prev,
    .gallery-post-modal .carousel-control-next {
        width: 18%;
    }

    .gallery-post-modal .carousel-control-prev-icon,
    .gallery-post-modal .carousel-control-next-icon {
        width: 2.6rem;
        height: 2.6rem;
    }
}

/* .mb-5 {
    margin-bottom: 3rem !important;
} */

