﻿@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'), url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'), url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'), url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'), url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #0D1F2E;
    --secondary-color: #5a6f80;
    --section-bg-color: #f0f8ff;
    --site-footer-bg-color: #44525d;
    --custom-btn-bg-color: #597081;
    --custom-btn-bg-hover-color: #5bc1ac;
    --dark-color: #000000;
    --p-color: #717275;
    --border-color: #e9eaeb;
    --body-font-family: 'Metropolis', sans-serif;
    --h1-font-size: 52px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 16px;
    --btn-font-size: 18px;
    --copyright-font-size: 14px;
    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --primary-gradient: linear-gradient(135deg, #0D1F2E 0%, #5a6f80 100%);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family);
    overflow-x: hidden;
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-semibold);
    letter-spacing: -1px;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -2px;
}

h2 {
    color: var(--secondary-color);
    font-size: var(--h2-font-size);
    letter-spacing: -2px;
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    color: var(--p-color);
    text-decoration: none;
}

    a:hover {
        color: var(--primary-color);
    }

b,
strong {
    font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-bg {
    background-color: var(--section-bg-color);
}

.section-overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

    .section-overlay + .container {
        position: relative;
    }


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
    background: var(--border-color);
    height: 5px;
}

.progress-bar {
    background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
    color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
    margin-bottom: 0;
    padding-left: 0;
}

.custom-list-item {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 20px 40px;
}

.custom-text-box-image {
    border-radius: var(--border-radius-medium);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-text-box-icon {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--secondary-color);
    font-size: var(--h6-font-size);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    line-height: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

    .video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120%;
        height: 120%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }



/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
    border-radius: var(--border-radius-large);
    width: 65px;
    height: 65px;
    object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 25px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

    .custom-btn .icon-container {
        position: relative;
        width: 24px;
        height: 18px;
    }

    .custom-btn .icon-default,
    .custom-btn .icon-hover {
        position: absolute;
        top: 0;
        left: 0;
        width: 24px;
        height: 18px;
    }

    .custom-btn .icon-hover {
        opacity: 0;
    }

    .custom-btn:hover .icon-default {
        opacity: 0;
    }

    .custom-btn:hover .icon-hover {
        opacity: 1;
    }

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    color: var(--custom-btn-bg-color);
    margin-top: 8px;
    padding: 12px 25px;
}

.custom-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--primary-color);
}

    .navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
    .custom-border-btn:hover {
        background: var(--primary-color);
        border-color: transparent;
        color: var(--white-color);
    }

.btn-cotizar {
    width: 220px;
    color: var(--white-color) !important;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
    background: var(--white-color);
    z-index: 9;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    color: var(--primary-color);
    font-size: var(--h6-font-size);
    font-weight: var(--font-weight-bold);
}

    .navbar-brand span {
        display: inline-block;
        vertical-align: middle;
    }

    .navbar-brand small {
        color: var(--secondary-color);
        display: block;
        font-size: 10px;
        line-height: normal;
        text-transform: uppercase;
    }

.logo {
    width: 80px;
    height: auto;
}

.footer-logo {
    width: 80%;
    height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 0;
    padding: 20px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        background: transparent;
        color: var(--primary-color);
    }

.dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    border: 0;
    max-width: 50px;
    padding: 0;
    margin-top: 20px;
}

.dropdown-item {
    display: inline-block;
    color: var(--p-bg-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
    padding-top: 0;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
}

.dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background: transparent;
    }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
            transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
            transition: top 300ms 50ms ease, transform 300ms 350ms ease;
            transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
            top: 0;
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
            transform: rotate(45deg);
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
            transform: rotate(-45deg);
        }

    .navbar-toggler .navbar-toggler-icon {
        background: var(--dark-color);
        transition: background 10ms 300ms ease;
        display: block;
        width: 30px;
        height: 2px;
        position: relative;
    }

        .navbar-toggler .navbar-toggler-icon:before,
        .navbar-toggler .navbar-toggler-icon:after {
            transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
            transition: top 300ms 350ms ease, transform 300ms 50ms ease;
            transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
            position: absolute;
            right: 0;
            left: 0;
            background: var(--dark-color);
            width: 30px;
            height: 2px;
            content: '';
        }

        .navbar-toggler .navbar-toggler-icon::before {
            top: -8px;
        }

        .navbar-toggler .navbar-toggler-icon::after {
            top: 8px;
        }

@media (max-width: 991px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .navbar-nav .nav-item {
            margin-bottom: 0.5rem;
        }

        .navbar-nav .nav-link {
            padding: 10px;
            text-align: left;
        }

    .footer-logo {
        display: none;
    }
}

@media (max-width: 767px) {
    .navbar-nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .navbar-nav .nav-link {
            padding: 12px 15px;
            text-align: left;
            width: 100%;
        }

    .navbar-toggler {
        margin-right: 20px;
    }

    .navbar-brand {
        margin-left: 20px;
    }
}

/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
    background: var(--primary-color);
    padding-top: 15px;
    padding-bottom: 10px;
}

    .site-header p,
    .site-header p a,
    .site-header .social-icon-link {
        color: var(--white-color);
        font-size: var(--copyright-font-size);
    }

    .site-header .social-icon {
        list-style: none;
        padding-left: 0;
        display: flex;
        gap: 10px;
    }

    .site-header .social-icon-item {
        display: flex;
    }

    .site-header .social-icon-link {
        background: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
    height: 680px;
    min-height: 680px;
    position: relative;
}

.carousel:hover .carousel-control-next-icon,
.carousel:hover .carousel-control-prev-icon {
    opacity: 1;
}

#hero-slide .carousel-item {
    height: 680px;
    min-height: 680px;
    position: relative;
}

    #hero-slide .carousel-item img {
        position: relative;
        z-index: 1;
        width: 100%;
        min-height: 680px;
    }

#hero-slide .carousel-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    color: var(--secondary-color);
    text-align: right;
    min-width: 980px;
    min-height: 680px;
    padding: 100px 100px 50px 100px;
    overflow: visible;
}

    #hero-slide .carousel-caption .title-span-bg {
        background: rgba(0, 0, 0, 0.4);
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }

    #hero-slide .carousel-caption .text-desc-bright {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        font-size: 1.2rem;
        font-weight: 400;
    }

    #hero-slide .carousel-caption .text-desc-dark {
        width: 60%;
        margin-left: auto;
        margin-right: 0;
        text-align: right;
        text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1.3;
    }

    #hero-slide .carousel-caption::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient( to top left, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.9) 100% );
        clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 100%);
        pointer-events: none;
        z-index: 5;
    }

    #hero-slide .carousel-caption h1 {
        position: relative;
        z-index: 10;
        display: inline-block;
        line-height: 1;
        font-size: 4rem;
        margin-bottom: 1rem;
        transform: translateZ(0);
    }    

    #hero-slide .carousel-caption > * {
        position: relative;
        z-index: 20;
    }

.carousel-image {
    display: block;
    width: 100%;
    min-height: 680px;
}

#hero-slide .carousel-indicators-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

#hero-slide .carousel-indicators {
    margin-right: 0;
    margin-left: 22px;
    justify-content: inherit;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 0.4;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    background-size: 60% 60%;
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: all 0.5s;
}

    .carousel-control-next-icon:hover,
    .carousel-control-prev-icon:hover {
        background-color: var(--primary-color);
    }

@media (max-width: 991px) {
    .hero-section-full-height,
    #hero-slide .carousel-item,
    #hero-slide .carousel-item img {
        height: 420px;
        min-height: 420px;
        object-fit: cover;
    }

    #hero-slide .carousel-caption {
        min-width: auto;
        min-height: auto;
        padding: 40px 20px;
        text-align: center;
    }

        #hero-slide .carousel-caption h1 {
            font-size: 2rem;
            text-align: right;
        }

        #hero-slide .carousel-caption p {
            font-size: 1rem;
        }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section-full-height,
    #hero-slide .carousel-item,
    #hero-slide .carousel-item img {
        height: 300px;
        min-height: 300px;
    }

    #hero-slide .carousel-caption {
        padding: 20px 15px;
    }

        #hero-slide .carousel-caption h1 {
            font-size: 1.6rem;
        }

        #hero-slide .carousel-caption p {
            font-size: 0.9rem;
        }
}

@media screen and (max-width: 580px) {
    .hero-section-full-height,
    #hero-slide .carousel-item,
    .carousel-image {
        min-height: 300px;
    }

    #hero-slide .carousel-caption {
        clip-path: none;
        padding: 20px;
        min-width: auto;
        min-height: auto;
        width: 100%;
    }

        #hero-slide .carousel-caption .text-desc-dark {
            max-width: 100%;
            text-align: right;
            font-size: 0.9rem;
        }

        #hero-slide .carousel-caption h1 {
            font-size: 1.6rem;
        }
}


/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
    text-align: center;
    transition: all 0.5s ease;
    min-height: 220px;
    padding: 20px;
    border-radius: var(--border-radius-medium);
}

.featured-block-image {
    display: block;
    margin: auto;
    width: 7rem;
    max-width: 100%;
    height: auto;
    transition: all 0.5s;
}

.featured-block-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 15px;
    transition: all 0.3s;
}

.featured-block:hover {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

    .featured-block:hover .featured-block-image {
        transform: scale(0.85);
    }

@media (max-width: 991px) {
    .featured-block {
        min-height: 200px;
        padding: 15px;
    }

    .featured-block-image {
        width: 6rem;
    }

    .featured-block-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .featured-block {
        min-height: auto;
        padding: 10px;
    }

    .featured-block-image {
        width: 5rem;
    }

    .featured-block-text {
        font-size: 0.95rem;
        margin-top: 10px;
    }

}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.about-image {
    border-radius: var(--border-radius-medium);
    display: block;
    width: 350px;
    height: 400px;
    object-fit: cover;
}

.custom-text-block {
    padding: 60px 40px;
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
    margin: 20px;
    margin-bottom: 0;
}

.counter-number,
.counter-text {
    color: var(--secondary-color);
    display: block;
}

.counter-number,
.counter-number-text {
    color: var(--primary-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
}


/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
    background-image: url('../images/different-people-doing-volunteer-work.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.donate-form {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
    background-image: url('../images/news/close-up-volunteer-oganizing-stuff-donation.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.news-block-top {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.news-block-two-col-image-wrap {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 150px;
    margin-right: 20px;
}

.news-category-block {
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
}

    .news-category-block .category-block-link {
        color: var(--white-color);
        margin-right: 10px;
    }

.news-block-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-block-title-link {
    color: var(--dark-color);
}

.news-detail-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-size: var(--h5-font-size);
    font-weight: var(--font-weight-semibold);
    color: var(--site-footer-bg-color);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 90px 50px 50px 50px;
    text-align: center;
}

    blockquote::before {
        content: "“";
        color: var(--custom-btn-bg-color);
        font-size: 100px;
        line-height: 1rem;
        display: block;
    }

.author-comment-link {
    font-size: var(--copyright-font-size);
    font-weight: var(--font-weight-semibold);
}

.search-form {
    margin-top: 20px;
}

.category-block,
.subscribe-form {
    margin-top: 40px;
    margin-bottom: 40px;
}

.category-block-link {
    font-size: var(--copyright-font-size);
    margin-top: 5px;
    margin-bottom: 5px;
}

    .category-block-link:hover {
        color: var(--primary-color);
    }

.badge {
    background: var(--secondary-color);
    border-radius: var(--border-radius-medium);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding-bottom: 2px;
}

.tags-block-link {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    display: inline-block;
    font-size: var(--copyright-font-size);
    line-height: normal;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 15px;
}

    .tags-block-link:hover {
        border-color: var(--dark-color);
        color: var(--dark-color);
    }

.cta-section {
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: "";
        background-color: var(--primary-color);
        border-radius: 50%;
        position: absolute;
        top: -100px;
        left: -30px;
        margin: auto;
        width: 200px;
        height: 200px;
    }

    .cta-section::after {
        content: "";
        border: 20px solid var(--custom-btn-bg-color);
        border-radius: 50%;
        position: absolute;
        bottom: -100px;
        right: 0;
        left: 0;
        margin: auto;
        width: 150px;
        height: 150px;
    }


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .testimonial-section::before {
        content: "";
        border-radius: 50%;
        border: 12px solid var(--primary-color); /* 👈 borde grueso */
        background: transparent;
        position: absolute;
        top: -100px;
        left: -30px;
        margin: auto;
        width: 250px;
        height: 250px;
    }

    .testimonial-section::after {
        content: "";
        background: var(--custom-btn-bg-color);
        border-radius: 50%;
        position: absolute;
        bottom: -110px;
        right: -80px;
        width: 350px;
        height: 350px;
    }

#testimonial-carousel .carousel-caption {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
}

#testimonial-carousel .carousel-title {
    background: var(--section-bg-color);
    line-height: normal;
    margin-bottom: 30px;
}

    #testimonial-carousel .carousel-title::before {
        content: open-quote;
        color: var(--p-color);
        font-size: var(--h1-font-size);
        position: relative;
        top: 10px;
        right: 10px;
    }

    #testimonial-carousel .carousel-title::after {
        content: close-quote;
        color: var(--p-color);
        font-size: var(--h1-font-size);
        position: relative;
        top: 10px;
        left: 10px;
    }

#testimonial-carousel .carousel-title {
    quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
    background: var(--primary-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
}

    #testimonial-carousel .carousel-name::before {
        content: "";
        position: absolute;
        top: -10px;
        right: 0;
        left: 0;
        width: 0;
        height: 0;
        margin: auto;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid var(--primary-color);
    }

.carousel-name-title {
    font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
    position: relative;
    top: 150px;
    bottom: auto;
    margin-top: 50px;
    margin-bottom: 150px;
}

    #testimonial-carousel .carousel-indicators li {
        text-indent: inherit;
        background: transparent;
        margin: 0 10px;
    }

        #testimonial-carousel .carousel-indicators li,
        #testimonial-carousel .carousel-indicators li::before {
            width: 45px;
            height: 45px;
        }

    #testimonial-carousel .carousel-indicators .avatar-image {
        width: 45px;
        height: 45px;
    }

    #testimonial-carousel .carousel-indicators .active,
    #testimonial-carousel .carousel-indicators .active .avatar-image {
        background: transparent;
        width: 50px;
        height: 50px;
    }


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
    position: relative;
    background: var(--border-color);
}

    .contact-section::after {
        content: "";
        position: absolute;
        top: -100px;
        left: -100px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: var(--custom-btn-bg-color);
        z-index: 0;
    }

    .contact-section::before {
        content: "";
        position: absolute;
        bottom: -60px;
        right: -80px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 20px solid var(--primary-color);
        background: transparent;
        z-index: 0;
    }

.contact-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 40px;
}

.contact-info-wrap {
    padding-top: 40px;
    padding-left: 40px;
}

.contact-image-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    width: 100%;
}

@media (max-width: 980px) {
    .contact-section::after {
        top: -150px;
        left: -150px;
    }
}

@media (max-width: 576px) {
    .contact-section::after {
        display: none;
    }
}

@media (max-width: 991px) and (min-width: 700px) {
    .contact-col {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
        .contact-col .d-flex {
            justify-content: center;
        }
}

@media (max-width: 991px) {
    .contact-col {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

        .contact-col .d-flex {
            justify-content: center;
        }
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
    background-color: var(--section-bg-color);
    box-shadow: none;
    border: 0;
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    outline: none;
}

    .custom-form .form-control:hover,
    .custom-form .form-control:focus {
        border-color: var(--secondary-color);
    }

.custom-form label {
    margin-bottom: 10px;
}

.custom-form .form-check-group {
    margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
    padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
    padding-right: 12px;
    padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
    font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
    position: relative;
    height: 100%;
    padding-left: 0;
}

.custom-form .input-group-text {
    background: var(--secondary-color);
    border: 0;
    color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
    background-color: var(--section-bg-color);
    border-radius: .25rem;
    border: 0;
    box-shadow: none;
    outline: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 25px 50px;
    transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
    background-image: none;
}

    .form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
    .form-check-radio .form-check-input:hover + .form-check-label,
    .form-check-radio .form-check-input:checked + .form-check-label {
        color: var(--white-color);
    }

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--white-color);
}

.input-group-file {
    border-radius: .25rem;
    padding: 13px .75rem;
}

    .input-group-file input[type=file] {
        width: 0.1px;
        height: 0.1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
        padding: 0;
    }

    .input-group-file .input-group-text {
        background: transparent;
        color: inherit;
        margin-bottom: 0;
        padding: 0;
    }

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s;
    margin-bottom: 0;
}

    .custom-form button[type="submit"]:hover,
    .custom-form button[type="submit"]:focus {
        background: var(--custom-btn-bg-hover-color);
        border-color: transparent;
    }


/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
    background: var(--white-color);
}

.search-form {
    position: relative;
}

    .search-form .form-control {
        padding-right: 50px;
    }

    .search-form button[type="submit"] {
        background: transparent;
        position: absolute;
        top: 0;
        right: 0;
        color: var(--p-color);
        width: 50px;
        padding: 12px;
    }

        .search-form button[type="submit"]:hover {
            background: transparent;
            color: var(--dark-color);
        }

.subscribe-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 30px;
}

    .subscribe-form .form-control {
        background: var(--white-color);
    }

.donate-form .form-control {
    margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    background-color: var(--site-footer-bg-color);
    padding-top: 70px;
}

.site-footer-bottom {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 2;
    margin-top: 70px;
    padding-top: 25px;
    padding-bottom: 25px;
}

    .site-footer-bottom a {
        color: var(--white-color);
    }

        .site-footer-bottom a:hover {
            color: #FF6;
        }

.site-footer-link {
    color: var(--white-color);
}

.copyright-text {
    color: var(--section-bg-color);
    font-size: var(--copyright-font-size);
    margin-right: 30px;
}

.site-footer .custom-btn {
    font-size: var(--copyright-font-size);
}

    .site-footer .custom-btn:hover {
        background: var(--primary-color);
    }


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
    column-count: 2;
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    list-style: none;
    display: block;
}

.footer-menu-link {
    font-size: var(--p-font-size);
    color: var(--white-color);
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--site-footer-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--copyright-font-size);
    display: block;
    margin-right: 5px;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 38px;
}

    .social-icon-link:hover {
        background: var(--primary-color);
        color: var(--white-color);
    }


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
    .featured-block {
        min-height: inherit;
    }

    .gallery-section::after {
        width: 450px;
        height: 450px;
    }

    .partner-logo {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 1170px) {
    #hero-slide .carousel-image {
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-form {
        padding-bottom: 40px;
    }

    .donate-form {
        padding: 35px;
    }

    .navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 30px;
    }

        .navbar-expand-lg .navbar-nav .nav-link {
            padding: 8px 20px;
        }

    .dropdown:hover .dropdown-menu {
        display: block;
        position: relative;
        margin-top: 5px;
        margin-bottom: 20px;
        left: 20px;
    }

    .site-header .social-icon {
        text-align: left;
        margin-top: 5px;
    }

    .hero-section-full-height {
        height: inherit;
    }

    .carousel:hover .carousel-control-next-icon,
    .carousel:hover .carousel-control-prev-icon {
        opacity: 1;
    }

    #hero-slide .carousel-item {
        height: inherit;
    }

    .carousel-control-prev {
        left: 12px;
    }

    .carousel-control-next {
        right: 12px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        opacity: 1;
        width: 60px;
        height: 60px;
    }

    .news-detail-header-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .cta-section::before {
        width: 150px;
        height: 150px;
    }

    .cta-section::after {
        bottom: -60px;
        width: 100px;
        height: 100px;
    }

    .cta-section .row {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .gallery-section::after {
        width: 300px;
        height: 300px;
    }

    .testimonial-section::before {
        width: 150px;
        height: 150px;
    }

    .testimonial-section::after {
        width: 200px;
        height: 200px;
    }

    #testimonial-carousel .carousel-caption {
        padding-top: 0;
    }

    blockquote {
        padding: 70px 30px 30px 30px;
    }

    .about-image {
        width: inherit;
        height: 450px;
    }

    .partner-logo {
        width: 250px;
        height: 250px;
        margin: 0;
    }

    .custom-text-block {
        padding: 20px 0 0 0;
    }

    .counter-number,
    .counter-number-text {
        font-size: var(--h2-font-size);
    }

    .contact-info-wrap {
        padding-top: 0;
    }

    .site-footer {
        padding-top: 50px;
    }

    .copyright-text-wrap {
        justify-content: center;
    }

    .site-footer-bottom {
        text-align: center;
        margin-top: 50px;
    }

        .site-footer-bottom .footer-menu {
            margin-top: 10px;
            margin-bottom: 10px;
        }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }

    #hero-slide .carousel-caption {
        min-width: inherit;
        padding-bottom: 30px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 45px;
        height: 45px;
    }

    .partner-logo {
        width: 150px;
        height: 150px;
    }

    .gallery-section::after {
        width: 200px;
        height: 200px;
    }

    .testimonial-section::before {
        top: -50px;
        width: 100px;
        height: 100px;
    }

    .testimonial-section::after {
        bottom: -150px;
        width: 200px;
        height: 200px;
    }

    .social-share .tags-block {
        margin-bottom: 10px;
    }

    .donate-form {
        padding: 25px;
    }
}

/*---------------------------------------
  SERVICES             
-----------------------------------------*/
.price-section {
    background: #fff;
    padding-top: 100px;
    padding-bottom: 120px;
}

    .price-section .plan {
        background: var(--primary-color);
        color: #ffffff;
        padding: 0 0 60px 0;
        text-align: center;
        transition: all 0.5s;
    }

        .price-section .plan:hover {
            box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
        }

        .price-section .plan .plan_title {
            background-color: #f6f6f6;
            color: #202020;
            padding-top: 40px;
            padding-bottom: 40px;
        }

        .price-section .plan .plan_sub_title {
            border-bottom: 1px solid #ffffff;
            padding: 30px;
        }

        .price-section .plan ul {
            padding: 0;
        }

            .price-section .plan ul li {
                display: block;
                font-size: 16px;
                padding: 40px 0 10px 0;
                color: var(--white-color);
                font-family: var(--body-font-family);
            }

        .price-section .plan .btn {
            background: #ffffff;
            border: none;
            border-radius: 20px;
            color: #202020;
            font-size: 16px;
            font-weight: bold;
            padding: 20px 40px;
            transition: all 0.4s ease-in-out;
            margin-top: 20px;
        }

            .price-section .plan .btn:hover {
                background: #202020;
                color: #ffffff;
            }


/*---------------------------------------
  WHATSAPP              
-----------------------------------------*/
.boton-whatsapp {
    background-color: #25D366;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.3));
    height: 60px;
    justify-content: center;
    padding: 0;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    z-index: 1100;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .boton-whatsapp:hover {
        transform: translateX(-10px) scale(1.05);
        background-color: #128C7E;
        filter: drop-shadow(4px 4px 15px rgba(0,0,0,0.4));
    }

    .boton-whatsapp::after {
        content: '¡Escríbenos!';
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        background: #333;
        color: white;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .boton-whatsapp::before {
        content: '';
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid #333;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .boton-whatsapp:hover::after,
    .boton-whatsapp:hover::before {
        opacity: 1;
    }

.widget-content {
    height: inherit;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .widget-content img {
        width: 32px;
        height: 32px;
        transition: all 0.3s ease;
    }

.boton-whatsapp:hover .widget-content img {
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .boton-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 45px;
    }

    .widget-content img {
        width: 28px;
        height: 28px;
    }

    .boton-whatsapp::after {
        font-size: 12px;
        padding: 6px 10px;
    }
}


/*---------------------------------------
  PARTNERS              
-----------------------------------------*/
.partners-section {
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.infinite-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

    .infinite-carousel .carousel-track {
        display: inline-flex;
        animation: scroll 20s linear infinite;
        align-items: center;
        gap: 40px;
    }

    .infinite-carousel:hover .carousel-track {
        animation-play-state: paused;
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.infinite-carousel .carousel-track img {
    flex-shrink: 0;
}

.partner-logo {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    filter: grayscale(30%) brightness(0.9);
    z-index: 10;
}

    .partner-logo:hover {
        transform: scale(1.1);
        filter: grayscale(0%);
        cursor: pointer;
    }

@media (max-width: 768px) {
    .partner-logo {
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        height: 100px;
        width: 100px;
    }
}


/*---------------------------------------
                
-----------------------------------------*/
#team .card-img-top {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto 0;
    display: block;
}


/*---------------------------------------
  GALLERY & TEAM BUTTON              
-----------------------------------------*/
.fan-button-container {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    overflow: hidden;
    will-change: transform;
}

.button-half {
    position: absolute;
    width: 50%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

    .button-half.left {
        left: 0;
        transform-origin: right center;
    }

    .button-half.right {
        right: 0;
        transform-origin: left center;
    }

    .button-half:hover {
        transform: scaleX(1.1);
        z-index: 3;
    }

.fan-leaf {
    position: absolute;
    width: 50%;
    height: 50%;
    overflow: hidden;
    transition: transform 0.5s ease;
    transform-origin: 100% 100%;
    pointer-events: none;
}

    .fan-leaf img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .fan-leaf.tl {
        top: 0;
        left: 0;
        transform-origin: 100% 100%;
    }

    .fan-leaf.tr {
        top: 0;
        right: 0;
        transform-origin: 0% 100%;
    }

    .fan-leaf.bl {
        bottom: 0;
        left: 0;
        transform-origin: 100% 0%;
    }

    .fan-leaf.br {
        bottom: 0;
        right: 0;
        transform-origin: 50% 50%;
    }

.text-leaf {
    background: #0D1F2E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: .5px;
    pointer-events: none;
}

    .text-leaf span {
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        line-height: 1.1;
        text-align: center;
    }

    .text-leaf.tl span {
        margin-right: -10px;
    }

    .text-leaf.br span {
        margin-left: -10px;
    }

.button-half.left:hover ~ .text-leaf.tl {
    background: #5bc1ac;
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.button-half.right:hover ~ .text-leaf.br {
    background: #5bc1ac;
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.center-text {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient( circle at center, rgba(13, 31, 46, 0.5) 0%, rgba(13, 31, 46, 0.3) 60%, rgba(13, 31, 46, 0.1) 100%, transparent 180% );
    border-radius: 50%;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-half:hover ~ .center-text {
    opacity: 1;
    background: radial-gradient( circle at center, rgba(91, 193, 172, 0.5) 0%, rgba(91, 193, 172, 0.3) 60%, rgba(91, 193, 172, 0.1) 100%, transparent 180% );
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(91, 193, 172, 0.25);
}

.center-text span {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
    display: block;
    white-space: nowrap;
    position: relative;
}

.button-half.left:hover ~ .center-text span::before {
    content: "Equipo";
}

.button-half.right:hover ~ .center-text span::before {
    content: "Galería";
}

.center-text span {
    font-size: 0; /* Ocultar texto por defecto */
}

    .center-text span::before {
        font-size: 20px;
    }


/*---------------------------------------
  GALLERY              
-----------------------------------------*/
.bg-gallery {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient( -60deg, var(--primary-color) 33%, var(--custom-btn-bg-hover-color) 66%, var(--secondary-color) 100% );
    bottom: 0;
    left: -50%;
    opacity: 0.3;
    position: absolute;
    right: -50%;
    top: 0;
    z-index: 0;
}

.bg-gallery-2 {
    animation-direction: alternate-reverse;
    animation-duration: 4s;
}

.bg-gallery-3 {
    animation-duration: 5s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.gallery-section {
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gallery-container {
    display: grid;
    place-items: center;
    margin: 4rem 0;
    z-index: 2;
    position: relative;
}

    .gallery-container .results {
        display: flex;
        width: calc(100% - 2rem);
        padding: 0;
        margin: 0;
        list-style-type: none;
    }

    .gallery-container .result {
        padding: 0;
        margin: 0;
        flex: 1;
        cursor: pointer;
    }

        .gallery-container .result img {
            max-width: 100%;
            width: 100%;
            object-fit: cover;
            opacity: 0.6;
            transition: transform 0.3s ease, opacity 0.3s ease;
            cursor: pointer;
            pointer-events: auto;
        }

        .gallery-container .result:hover img {
            transform: scale(1.05);
            opacity: 1;
            cursor: pointer;
        }

        .gallery-container .result a {
            outline-offset: 4px;
            cursor: default;
            pointer-events: none;
        }

.gallery-more {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

    .gallery-more a {
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: none;
        font-size: 1.1rem;
        transition: all 0.2s ease;
        border-bottom: 2px solid transparent;
        padding: 8px 16px;
        border-radius: 4px;
    }

        .gallery-more a:hover {
            color: var(--custom-btn-bg-hover-color);
            border-bottom: 2px solid var(--custom-btn-bg-hover-color);
            background: rgba(231, 76, 60, 0.1);
        }

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

    .gallery-modal.show {
        display: block;
    }

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10001;
}

.close-modal {
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: #ccc;
    }

.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 80px 20px;
    min-height: 0;
    height: calc(100vh - 140px);
}

.modal-main-image {
    max-width: calc(100% - 100px);
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    font-size: 30px;
    width: 60px;
    height: 60px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.modal-thumbnails {
    height: 120px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    height: 100px;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

    .thumbnails-container::-webkit-scrollbar {
        height: 6px;
    }

    .thumbnails-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .thumbnails-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0.6;
}

    .thumbnail:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .thumbnail.active {
        border-color: var(--primary-color, #e74c3c);
        opacity: 1;
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .modal-image-container {
        padding: 60px 20px 20px;
        height: calc(100vh - 120px);
    }

    .modal-main-image {
        max-width: calc(100% - 60px);
    }

    .nav-btn {
        font-size: 20px;
        width: 50px;
        height: 50px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .modal-thumbnails {
        height: 100px;
    }

    .thumbnails-container {
        height: 80px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .gallery-container .results .result:nth-child(n+5) {
        display: none;
    }
}
@media (max-width: 1024px) and (min-width: 901px) {
    .gallery-container .results .result:nth-child(n+7) {
        display: none;
    }
}

@media (min-width: 1025px) {
    .gallery-container .results .result {
        display: block;
    }
}

