/********** Template CSS **********/
:root {
    --primary: #643902;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/slide-new-1.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: #d88d24;
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid #723807;
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
    cursor: pointer;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.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 {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.header-logo {
    width: 130px !important;
}


/* Counter Section start */

.counter-section {
    background: url('../img/fact-real-back.png') center center/cover no-repeat fixed;
    position: relative;
    padding: 0px 0;
    height: 314px;
}
.ab-vdo{
    display: contents;
}
.counter-section .overlay {
       background: linear-gradient(#b3541029, #643a025c);
    /* Dark overlay for better text visibility */
    padding: 80px 0;
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    color: #fff;
    text-align: center;
}

.counter-box {
    flex: 1 1 200px;
}

.counter-box i {
    font-size: 40px;
    color: #00bfff;
    margin-bottom: 10px;
}

.counter-box h2 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    color: white;
}

.counter-box p {
    font-size: 18px;
    margin-top: 5px;
}


.why-icon {
    width: 60px;
    height: 60px;
}

.whys-icon {
    width: 70px;
    height: 70px;
}


.whatsapp-float img {
    width: 60px;
    position: fixed;
    bottom: 40px;
    left: 20px;
    border-radius: 10px;
    z-index: 1;
}

.footer-logo {
    width: 224px;
    /* height: 103px; */
}


/* Gallery start */

.banner_gallery_grid .banner {
    display: flex;
    cursor: pointer;
}

.banner_gallery_grid .banner .picture_wrapper {
    height: 100vh;
    position: relative;
    transition: all 0.4s;
}


.banner_gallery_grid .banner .picture_wrapper .title {
    /* font-family: "Lato", sans-serif; */
    font-size: 30px;
    line-height: 60px;
    font-weight: 300;
    color: white;
    position: absolute;
    bottom: -30px;
    left: 30px;
    margin: 0;
    transform: rotate(-90deg);
    transform-origin: 0 0;
    transition: all 0.4s;
}

.banner_gallery_grid .banner .picture_wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.banner_gallery_grid .banner .picture_wrapper:hover {
    width: 50vw !important;
}

.banner_gallery_grid .banner .picture_wrapper:hover .title {
    bottom: 30px;
    transform: rotate(0);
    transform-origin: 0 30px;
}

.banner_gallery_grid .banner.items_1 .picture_wrapper {
    width: calc(100vw / 1);
}

.banner_gallery_grid .banner.items_2 .picture_wrapper {
    width: calc(100vw / 2);
}

.banner_gallery_grid .banner.items_3 .picture_wrapper {
    width: calc(100vw / 3);
}

.banner_gallery_grid .banner.items_4 .picture_wrapper {
    width: calc(100vw / 4);
}

.banner_gallery_grid .banner.items_5 .picture_wrapper {
    width: calc(100vw / 5);
}

.banner_gallery_grid .banner.items_6 .picture_wrapper {
    width: calc(100vw / 6);
}

.banner_gallery_grid .banner.items_7 .picture_wrapper {
    width: calc(100vw / 7);
}

.banner_gallery_grid .banner.items_8 .picture_wrapper {
    width: calc(100vw / 8);
}

.banner_gallery_grid .banner.items_9 .picture_wrapper {
    width: calc(100vw / 9);
}

.banner_gallery_grid .banner.items_10 .picture_wrapper {
    width: calc(100vw / 10);
}


/* Mission And Vision Start */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0turn;
    inherits: false;
}

.mission .card:hover {
    animation: 2s gradient-angle infinite linear;
}

.mission .card {
    /* animation: 2s gradient-angle infinite linear; */
    border: 4px solid transparent;
    background-image: linear-gradient(#aa4c06, #aa4d06a6), conic-gradient(from var(--gradient-angle), #aa4c06 0%, #aa4d06a6 37%, #aa4c06 30%, #aa4d06a6 33%, #aa4c06 40%, #aa4d06a6 50%, #aa4c06 77%, #aa4d06a6 80%, #aa4c06 83%, #aa4d06a6 90%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 1turn;
    }
}



.mission .card {
    display: grid;
    max-width: 100%;
    padding: 20px;
    text-decoration: none;
    color: currentColor;
    border-radius: 20px;
    place-content: center;
    place-items: center;
    aspect-ratio: 1/1;
    row-gap: 16px;
}

.mission .card h2 {
    /* font-family: "Comfortaa", sans-serif; */
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    font-optical-sizing: auto;
}

.mission .card p {
    /* font-size: 12px; */
    color: white;
}

.mission .card img {
    width: 60px;
    height: 60px;
}

.size {
    text-align: justify;
}

/* Mission And Vision ENd */

.certificate-thumb {
    cursor: pointer;
    transition: transform 0.3s;
}

.certificate-thumb:hover {
    transform: scale(1.05);
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

section.certificates {
    background: #f8f9fa;
    padding: 60px 0;
}

.about-header {
    background: url('../img/ts.jpg') center/cover no-repeat;
    min-height: 250px;
    /* adjust height */
    position: relative;
}

.about-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay */
}

.about-header .container {
    position: relative;
    z-index: 1;
}

/* Blog Section Header */
.about-header6 {
    background: url("../img/bl.jpg") center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-header6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
}

.about-header6 h1 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Blog Posts */
.blog-posts article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-posts article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.blog-posts .post-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-posts .title {
    font-size: 1.2rem;
    margin: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-posts .title a {
    text-decoration: none;
    color: #a43217;
    transition: color 0.3s ease;
}

.blog-posts .title a:hover {
    color: #a75216;
}

.blog-posts .content {
    padding: 0 15px 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-posts .content p {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-header6 h1 {
        font-size: 2rem;
    }

    .blog-posts .post-img img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .about-header6 {
        min-height: 200px;
    }

    .about-header6 h1 {
        font-size: 1.8rem;
    }

    .blog-posts .post-img img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .about-header6 h1 {
        font-size: 1.5rem;
    }

    .blog-posts .title {
        font-size: 1.1rem;
    }

    .blog-posts .post-img img {
        height: 160px;
    }
}


.blog-card img {
    height: 220px;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.overlay {
    position: relative;
}

.overlay .category-badge {
    z-index: 2;
}

.overlay img {
    width: 100%;
    border-radius: 5px;
}

.about-header1 {
    background: url("../img/h1.jpg") center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-header1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
}

.about-header1 h1 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.about-header5 {
    background: url("../img/g1.jpeg") center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-header5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
}

.about-header5 h1 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.blog-img {
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.blog-img:hover {
    transform: scale(1.05);
    /* zoom effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* stronger shadow */
}

.about-header8 {
    background: url("../img/q1.jpg") center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-header8::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
}

.about-header8 h1 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}


/* Donation Section */
.donation-section {
    /* background: linear-gradient(135deg, #f8f9fa, #e9f3ff); */
    padding: 60px 0;
    background-image: url('../img/dd-back.jpeg');
    background-size: cover;
}

/* Card styling */
.donation-section .card {
    border: none;
    border-radius: 15px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Section heading */
.donation-section h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Labels */
.donation-section .form-label {
    font-weight: 600;
    color: #333;
}

/* Inputs & textarea */
.donation-section .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.donation-section .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
}

/* Donate button */
.donation-section .btn-primary {
    background: linear-gradient(90deg, #d88d24, #6ec900);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.donation-section .btn-primary:hover {
    background: linear-gradient(90deg, #f5a251, #c45e15);
    transform: translateY(-2px);
}

/* Bank & QR boxes */
.donation-section .border {
    /* border: 2px solid #0d6efd !important; */
    border-radius: 12px;
    background: #fff;
}

.donation-section strong {
    color: #c45e15;
}

.donation-section img {
    max-width: 140px;
    border-radius: 10px;
}




.about-header7 {
    background: url("../img/don.jpeg") center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-header7::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
}

.about-header7 h1 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.text-col-jus {
    color: black;
    text-align: justify;
    hyphens: auto;
}


/* Mobile responsive */
/* Mobile responsive */
/* Mobile responsive */

@media(max-width:768px) {
    .counter-section {

        height: 905px;
    }
}

/* Default (desktop) – your existing styles remain */

@media (max-width: 768px) {
    .banner_gallery_grid .banner {
        flex-wrap: wrap;
        /* allow wrapping */
        flex-direction: column;
        /* stack items vertically */
    }

    .banner_gallery_grid .banner .picture_wrapper {
        width: 100% !important;
        /* full width on mobile */
        height: auto;
        /* let height adjust naturally */
    }

    .banner_gallery_grid .banner .picture_wrapper img {
        width: 100%;
        height: auto;
        /* maintain aspect ratio */
    }

    .banner_gallery_grid .banner .picture_wrapper .title {
        position: absolute;
        bottom: 10px;
        left: 15px;
        font-size: 20px;
        /* smaller text for mobile */
        line-height: normal;
        transform: rotate(0);
        /* don’t rotate on mobile */
    }

    .mission .card {
        display: grid;
        max-width: 100%;
        padding: 20px;
        text-decoration: none;
        color: currentColor;
        border-radius: 20px;
        place-content: center;
        place-items: center;
        aspect-ratio: 1 / 1;
        row-gap: 16px;
        margin-bottom: 20px;
    }
}

/* gallery home */

.gallery {
  overflow: hidden;
  height: 70vh;
  display: flex;
  position: relative;
}
.gallery .imgWrap {
  cursor: pointer;
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, opacity;
  transform-origin: center center;
}
.gallery .imgWrap:last-child {
  min-width: 1px;
}
.gallery .imgWrap .caption {
  position: absolute;
  left: 0;
  bottom: -100%;
  background-color: rgba(24, 81, 74, 0.75);
  border-top: 3px solid #d64b31;
  padding: 20px 10%;
  color: #fff;
  width: 100%;
  transition: bottom 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: bottom;
  z-index: 2;
}
.gallery .imgWrap:hover .caption {
  bottom: 0;
}
.gallery .imgWrap .caption h3 {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  text-transform: uppercase;
  margin-bottom: 0;
  color: #fff;
}
.gallery .imgWrap .caption span {
  font-size: 75%;
}
.gallery .imgWrap:hover {
  flex-grow: 2.25;
}
.gallery .imgWrap:not(:hover) {
  flex-grow: 0.8;
}
.gallery .imgWrap .img-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}
.gallery .imgWrap .img-label img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  cursor: pointer;
  object-fit: cover;
  transform: translateX(-50%) translateY(-50%);
}
.gallery .full-toggle:checked + .imgWrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  transform: none;
  animation: zoomIn 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.gallery .full-toggle:checked + .imgWrap .caption {
  bottom: 0;
}
.gallery .close {
  display: none;
  position: fixed;
  right: 1rem;
  top: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #18514a;
  color: #fff;
  cursor: pointer;
  z-index: 9;
  transition: opacity 0.75s ease, background-color 0.3s ease;
  transform: translateY(-50%);
  opacity: 0;
  border-radius: 50%;
}
.gallery .full-toggle[id="img1-full"]:checked ~ .close[for="img1-full"],
.gallery .full-toggle[id="img2-full"]:checked ~ .close[for="img2-full"],
.gallery .full-toggle[id="img3-full"]:checked ~ .close[for="img3-full"],
.gallery .full-toggle[id="img4-full"]:checked ~ .close[for="img4-full"],
.gallery .full-toggle[id="img5-full"]:checked ~ .close[for="img5-full"] {
  display: block;
  opacity: 1;
}
.gallery .close:hover {
  background-color: #d64b31;
}
.gallery .full-toggle:checked ~ .imgWrap:not(:checked + .imgWrap) {
  width: 0;
  opacity: 0;
}
.gallery .full-toggle:checked::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  transition: background 0.75s ease-in-out;
  animation: fadeIn 0.75s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.gallery .full-toggle:not(:checked) + .imgWrap.fullscreen-exit {
  animation: zoomOut 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes zoomOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}


.tops{
    background-color: #F6F1DE;
}

/* news page style */

@media(max-width:768px){
    .about-vdo{
            width: 369px;
    padding: 10px;
    }
    .gallery {
    overflow: hidden;
    height: 70vh;
    display: flex;
    flex-direction: column;
    /* position: relative; */
}
}