/*----------------------------------------*/
/* Root CSS
/*----------------------------------------*/
/* :root {
    --default-Font-Family :"Josefin Sans", sans-serif;
    --color-white:#ffffff;
    --color-background: #f7d115;
    --color-dark: #000000;
    --loader-primary: #f44336;
    --loader-secondary: #673ab7;
    --header-border: rgba(255, 255, 255, 0.1);
    --dropdown-bg: #ffffff;
    --loader-thickness: 4px;
    --header-social-divider: rgba(225, 225, 225, 0.2);
    --dropdown-text: #111111;
    --hero-dot-inactive: #b7b7b7;
    --hero-dot-line: rgba(255, 255, 255, 0.3);
    --jobs-bg: #100028;
    --hover-overlay: rgba(0, 0, 0, 0.5);
    --play-btn-border: rgba(255, 255, 255, 0.7);
    --counter-bg: #100028;
    --counter-item-bg: #1a083d;
    --border-gray: #333333;
    --footer-bg: #0a0119;
    --footer-social-bg: rgba(255, 255, 255, 0.1);
    --input-border: #544E5E;
    --slider-dot-inactive: rgba(255, 255, 255, 0.2);
    --blog-hover-border: #222222;
    --color-background: #ef4908;
    --testimonial-border: #3D3A64;
    --portfolio-underline: #333333;
    --pagination-bg: rgba(242, 242, 242, 0.1);
    --blog-border: #222222;
    --blog-meta: #777777;
    --quote-border: rgba(225, 225, 225, 0.8);
    --form-border: rgba(225, 225, 225, 0.5);
    --tag-bg: rgba(255, 255, 255, 0.1);
    --input-focus-border: #e1e1e1;
} */

:root {
    --default-Font-Family: "Josefin Sans", sans-serif !important;
    --color-white: #ffffff;
    --color-background: #f7d115;
    --color-dark: #000000;
    --loader-primary: #f44336;
    --loader-secondary: #673ab7;
    --header-border: rgba(255, 255, 255, 0.1);
    --dropdown-bg: #ffffff;
    --loader-thickness: 4px;
    --header-social-divider: rgba(225, 225, 225, 0.2);
    --dropdown-text: #111111;
    --hero-dot-inactive: #b7b7b7;
    --hero-dot-line: rgba(255, 255, 255, 0.3);
    --hover-overlay: rgba(0, 0, 0, 0.5);
    --play-btn-border: rgba(255, 255, 255, 0.7);
    --counter-bg: #85632d;
    --counter-item-bg: linear-gradient(135deg, #c6ac4b 0%, #a88f3d 100%);
    --border-gray: #333333;
    --footer-bg: #0d1b02;
    --footer-social-bg: rgba(255, 255, 255, 0.1);
    --input-border: #544E5E;
    --slider-dot-inactive: rgba(255, 255, 255, 0.2);
    --blog-hover-border: #222222;
    --testimonial-border: #3D3A64;
    --portfolio-underline: #333333;
    --pagination-bg: rgba(242, 242, 242, 0.1);
    --blog-border: #222222;
    --blog-meta: #777777;
    --quote-border: rgba(225, 225, 225, 0.8);
    --form-border: rgba(225, 225, 225, 0.5);
    --tag-bg: rgba(255, 255, 255, 0.1);
    --input-focus-border: #e1e1e1;
}

html,
body {
    height: 100%;
    font-family: var(--default-Font-Family);
    -webkit-font-smoothing: antialiased;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--dropdown-text);
    font-weight: 400;
    font-family: "Play", sans-serif;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    font-size: 16px;
    font-family: var(--default-Font-Family);
    color: var(--color-white);
    font-weight: 400;
    line-height: 32px;
    margin: 0 0 15px 0;
}

img {
    max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
    outline: none;
}

a:hover,
a:focus {
    text-decoration: none !important;
    outline: none;
    color: var(--color-white);
}

ul,
ol {
    padding: 0;
    margin: 0;
}

/*---------------------
    Helper CSS
-----------------------*/
.icon-tiktok,
.icon-facebook,
.icon-whatsapp,
.icon-email {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(10deg);
    transition: filter 0.3s ease;
}

.icon-tiktok1,
.icon-facebook1,
.icon-whatsapp1,
.icon-email1 {
    display: inline-block;
    width: 80%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(10deg);
    transition: filter 0.3s ease;
}

.icon-tiktok:hover,
.icon-facebook:hover,
.icon-whatsapp:hover,
.icon-email:hover {
    filter: sepia(10%) saturate(100%) brightness(110%) hue-rotate(15deg);
    transform: scale(1.1);
}

.icon-tiktok,
.icon-tiktok1 {
    background-image: url('../img/icons/tiktok.png');
}

.icon-facebook,
.icon-facebook1 {
    background-image: url('../img/icons/facebook.png');
}

.icon-whatsapp,
.icon-whatsapp1 {
    background-image: url('../img/icons/whatsapp.png');
}

.icon-email,
.icon-email1 {
    background-image: url('../img/icons/email.png');
}

.section-title {
    margin-bottom: 50px;
}

.section-title.center-title {
    text-align: center;
}

.section-title.center-title h2:after {
    right: 0;
    margin: 0 auto;
}

.section-title span {
    color: var(--color-white);
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title h2 {
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 25px;
    font-size: 2rem;
}

.section-title h2:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 70px;
    background: var(--color-background);
    content: "";
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.spad {
    padding-top: 100px;
    padding-bottom: 100px;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
    color: var(--color-white);
}

/* buttons */
.primary-btn {
    display: inline-block;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.primary-btn:hover:before {
    height: 100%;
    width: 100%;
}

.primary-btn:hover:after {
    height: 100%;
    width: 100%;
}

.primary-btn:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid var(--color-background);
    border-top: 2px solid var(--color-background);
    content: "";
    z-index: -1;
    -webkit-transition: all, 0.7s;
    -o-transition: all, 0.7s;
    transition: all, 0.7s;
}

.primary-btn:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid var(--color-background);
    border-bottom: 2px solid var(--color-background);
    content: "";
    z-index: -1;
    -webkit-transition: all, 0.7s;
    -o-transition: all, 0.7s;
    transition: all, 0.7s;
}

.site-btn {
    font-size: 15px;
    color: var(--color-white);
    background: var(--color-background);
    font-family: "Play", sans-serif;
    font-weight: 700;
    border: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 34px 12px;
    width: 100%;
}

/* Preloder */
#preloder {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: var(--color-dark);
}

.loader {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    border-radius: 60px;
    animation: loader 0.8s linear infinite;
    -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
        border: var(--loader-thickness) solid var(--loader-primary);
        border-left-color: transparent;
    }

    50% {
        transform: rotate(180deg);
        border: var(--loader-thickness) solid var(--loader-secondary);
        border-left-color: transparent;
    }

    100% {
        transform: rotate(360deg);
        border: var(--loader-thickness) solid var(--loader-primary);
        border-left-color: transparent;
    }
}

@-webkit-keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        border: var(--loader-thickness) solid var(--loader-primary);
        border-left-color: transparent;
    }

    50% {
        -webkit-transform: rotate(180deg);
        border: var(--loader-thickness) solid var(--loader-secondary);
        border-left-color: transparent;
    }

    100% {
        -webkit-transform: rotate(360deg);
        border: var(--loader-thickness) solid var(--loader-primary);
        border-left-color: transparent;
    }
}

/*---------------------
    Header
-----------------------*/
.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid var(--header-border);
    z-index: 9;
}

.header__logo {
    padding: 30px 0;
}

.header__logo a {
    display: inline-block;
}

/* --- Media Query para dispositivos móviles (ej. hasta 768px de ancho) --- */
@media (max-width: 998px) {
    .header__logo {
        width: 100px;
        /* Tamaño más pequeño para móviles */
        float: left;
        /* Alinearlo a la izquierda */
        margin-left: 10px;
        /* Un pequeño margen a la izquierda para que no toque el borde */
        display: block;
        /* Asegúrate de que siga siendo un bloque */
    }
}

/* --- Media Query para dispositivos móviles (ej. hasta 768px de ancho) --- */
@media (max-width: 768px) {
    .header__logo {
        width: 100px;
        /* Tamaño más pequeño para móviles */
        float: left;
        /* Alinearlo a la izquierda */
        margin-left: 10px;
        /* Un pequeño margen a la izquierda para que no toque el borde */
        display: block;
        /* Asegúrate de que siga siendo un bloque */
    }
}

/* --- Opcional: Para pantallas aún más pequeñas (ej. hasta 480px) --- */
@media (max-width: 480px) {
    .header__logo {
        width: 80px;
        /* Incluso más pequeño para teléfonos */
        margin-left: 5px;
        /* Ajuste de margen */
    }
}

.header__nav__option {
    text-align: right;
    padding: 28px 0px;
}

.header__nav__menu {
    display: inline-block;
    margin-right: 45px;
}

.header__nav__menu ul li {
    list-style: none;
    display: inline-block;
    margin-right: 45px;
    position: relative;
}

.header__nav__menu ul li.active a:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.header__nav__menu ul li:hover a:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.header__nav__menu ul li:hover .dropdown {
    top: 34px;
    opacity: 1;
    visibility: visible;
}

.header__nav__menu ul li:last-child {
    margin-right: 0;
}

.header__nav__menu ul li .dropdown {
    position: absolute;
    left: 0;
    top: 60px;
    width: 140px;
    background: var(--dropdown-bg);
    text-align: left;
    padding: 2px 0;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
}

.header__nav__menu ul li .dropdown li {
    display: block;
    margin-right: 0;
}

/*---------------------
    Navigation & Social
-----------------------*/
.header__nav__menu ul li .dropdown li a {
    font-size: 14px;
    color: var(--dropdown-text);
    padding: 8px 20px;
    text-transform: capitalize;
}

.header__nav__menu ul li .dropdown li a:after {
    display: none;
}

.header__nav__menu ul li a {
    font-size: 16px;
    font-family: "Play", sans-serif;
    color: var(--color-white);
    display: block;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}

.header__nav__menu ul li a:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-background);
    content: "";
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
}

.header__nav__social {
    display: inline-block;
    position: relative;
    padding-left: 50px;
}

.header__nav__social:before {
    position: absolute;
    left: 0;
    top: 4px;
    height: 13px;
    width: 1px;
    background: var(--header-social-divider);
    content: "";
}

.header__nav__social a {
    color: var(--color-white);
    font-size: 15px;
    margin-right: 18px;
}

.header__nav__social a:last-child {
    margin-right: 0;
}

.slicknav_menu {
    display: none;
}

/*---------------------
  Hero Slider
-----------------------*/
.hero__slider.owl-carousel .owl-item.active .hero__text span,
.hero__slider.owl-carousel .owl-item.active .hero__text h2,
.hero__slider.owl-carousel .owl-item.active .hero__text .primary-btn {
    top: 0;
    opacity: 1;
}

.hero__slider.owl-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 45px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.hero__slider.owl-carousel .owl-dots button {
    color: var(--hero-dot-inactive);
    font-size: 18px;
    font-family: "Play", sans-serif;
    margin-right: 16px;
    position: relative;
    display: inline-block;
}

.hero__slider.owl-carousel .owl-dots button.active {
    color: var(--color-white);
}

.hero__slider.owl-carousel .owl-dots button.active:after {
    background: var(--color-white);
    height: 2px;
}

.hero__slider.owl-carousel .owl-dots button:after {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--hero-dot-line);
    content: "";
}

.hero__slider.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

.hero__item {
    height: 684px;
    padding-top: 255px;
}

.hero__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Un gradiente lineal que va de negro semitransparente a completamente transparente */
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.9), rgba(50, 49, 49, 0.3));
    /* O un gradiente con color sólido y semitransparente: */
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); */
    /* z-index: 1; */
}

/* Define the starting state for all hero elements */
.hero__text span,
.hero__text h2,
.hero__text .primary-btn {
    position: relative;
    top: 100px;
    opacity: 0;
    transition: all 0.5s ease-out;
    /* Standardized transition */
    color: var(--color-white);
    /* Grouped color since they all use it */
}

/* Now, only define the unique differences */
.hero__text span {
    display: block;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    transition-delay: 0.2s;
    /* Staggered effect */
}

.hero__text h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 70px;
    text-transform: uppercase;
    margin-bottom: 38px;
    transition-delay: 0.4s;
}

.hero__text .primary-btn {
    transition-delay: 0.7s;
}

/*---------------------
    jobs Section
-----------------------*/
.jobs {
    overflow: hidden;
    /* background: var(--jobs-bg); */
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
}

.jobs__gallery {
    margin: 10px 50px;
}

.jobs__item {
    height: 311px !important;
    width: calc(16.67% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.jobs__item:hover .jobs__item__hover {
    bottom: 0;
}

.jobs__item.large__item {
    height: 633px !important;
    width: calc(33.33% - 10px);
}

.jobs__item.wide__item {
    width: calc(33.33% - 10px);
    height: 311px !important;
}

.jobs__item .play-btn {
    display: inline-block;
    color: var(--color-white);
    font-size: 20px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid var(--play-btn-border);
    border-radius: 50%;
}

.grid-sizer {
    width: calc(16.67% - 10px);
}

.jobs__item__hover {
    background: var(--hover-overlay);
    position: absolute;
    left: 0;
    bottom: -200px;
    width: 100%;
    padding: 20px 25px 20px;
    -webkit-transition: all, 0.5s;
    -o-transition: all, 0.5s;
    transition: all, 0.5s;
}

.jobs__item__hover h4 {
    font-size: 22px;
    color: var(--color-white);
    font-weight: 700;
}

.jobs__item__hover span {
    font-size: 18px;
    color: var(--color-background);
    font-weight: 600;
}

.jobs__item__hover ul li {
    color: var(--color-white);
    list-style: none;
    font-size: 16px;
    margin-right: 23px;
    position: relative;
    display: inline-block;
}

.jobs__item__hover ul li:after {
    position: absolute;
    right: -18px;
    top: 1px;
    content: "/";
}

.jobs__item__hover ul li:last-child {
    margin-right: 0;
}

.jobs__item__hover ul li:last-child:after {
    display: none;
}

/*---------------------
    Counter
-----------------------*/
.counter {
    background: var(--counter-bg);
    height: 840px;
    padding-top: 380px;
    overflow: hidden;
}

.counter__content {
    padding: 0px 50px;
}

.counter__item {
    background: var(--counter-item-bg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    height: 255px;
    width: 255px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter__item::before {
    position: absolute;
    left: -1px;
    bottom: -2px;
    height: 636px;
    width: 636px;
    border-left: 1px solid var(--border-gray);
    border-top: 1px solid var(--border-gray);
    content: "";
    z-index: -1;
}

.counter__item.second__item {
    margin-top: -185px;
}

.counter__item.second__item:before {
    left: -316px;
    bottom: -65px;
    border-right: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    border-left: none;
    border-top: none;
}

.counter__item.four__item {
    margin-top: -185px;
}

.counter__item.four__item:before {
    left: -380px;
    bottom: -380px;
    border-right: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    border-left: none;
    border-top: none;
}

.counter__item.third__item:before {
    left: -65px;
    bottom: -317px;
}

.counter__item__text {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.counter__item__text h2 {
    font-size: 60px;
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 18px;
}

.counter__item__text p {
    color: var(--color-white);
    margin-bottom: 0;
}

/*---------------------
    Team
-----------------------*/
.team {
    padding-bottom: 90px;
    overflow: hidden;
    /* background: var(--jobs-bg); */
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(20, 12, 2, 0.6);
    background-blend-mode: overlay;


}

.section-title.team__title {
    margin-bottom: 90px;
}

.team__item {
    height: 390px;
    position: relative;
    overflow: hidden;
}

.team__item:hover .team__item__text {
    bottom: 0;
}

.team__item.team__item--second {
    margin-top: -60px;
}

.team__item.team__item--third {
    margin-top: -120px;
}

.team__item.team__item--four {
    margin-top: -180px;
}

.team__item__text {
    text-align: center;
    position: absolute;
    left: 0;
    bottom: -500px;
    width: 100%;
    padding: 50px 0 30px;
    z-index: 1;
    -webkit-transition: all, 0.5s;
    -o-transition: all, 0.5s;
    transition: all, 0.5s;
}

.team__item__text:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: url(../img/wood.jpg);
    content: "";
    z-index: -1;
}

.team__item__text h4 {
    font-size: 22px;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team__item__text p {
    color: var(--color-white);
    font-weight: 300px;
    margin-bottom: 12px;
}

.team__item__text .team__item__social a {
    color: var(--color-white);
    display: inline-block;
    font-size: 15px;
    margin-right: 18px;
}

.team__item__text .team__item__social a:last-child {
    margin-right: 0;
}

.team__btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

/*---------------------
  Latest
-----------------------*/

/*---------------------
  Latest News
-----------------------*/
.latest {
    /*background: var(--jobs-bg);*/
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.6);
    background-blend-mode: overlay;
    padding-bottom: 80px;
}

.blog__item.latest__item {
    margin-bottom: 0;
}

.blog__item.latest__item:hover {
    border: 1px solid var(--blog-hover-border) !important;
    background: url(../img/blog/Gemini_blog1.png);
    background-size: cover;
}

.latest__slider.owl-carousel .owl-item .col-lg-4 {
    max-width: 100%;
}

.latest__slider.owl-carousel .owl-dots {
    text-align: center;
    padding-top: 35px;
}

.latest__slider.owl-carousel .owl-dots button {
    height: 8px;
    width: 8px;
    background: var(--slider-dot-inactive);
    border-radius: 50%;
    margin-right: 10px;
}

.latest__slider.owl-carousel .owl-dots button.active {
    background: var(--color-background);
}

.latest__slider.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

/*---------------------
  Call To Action
-----------------------*/
.callto {
    padding-top: 130px;
}

.callto.sp__callto {
    padding-top: 0;
    /* background: var(--jobs-bg); */
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.6);
    background-blend-mode: overlay;
}

.callto__text h2,
.callto__text p {
    margin: 2% 0;
    -webkit-text-stroke: 2px rgb(135, 114, 7);
    color: var(--color-white);
}

.callto__text h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 55px;
}

.callto__text p {
    font-size: 18px;
    text-transform: uppercase;
}

.callto__text a {
    color: var(--color-white);
    background: var(--footer-bg);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--default-Font-Family);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 32px 12px;
}

/*---------------------
  Footer
-----------------------*/
.footer {
    background: var(--footer-bg);
}

.footer__top {
    padding: 30px 0;
    border-bottom: 1px solid var(--header-border);
    /* Reusing header border alpha */
}

.footer__top__logo {
    line-height: 40px;
}

.footer__top__logo a {
    display: inline-block;
}

.footer__top__social {
    text-align: right;
}

.footer__top__social a {
    display: inline-block;
    font-size: 15px;
    color: var(--color-white);
    height: 40px;
    width: 40px;
    background: var(--footer-social-bg);
    border-radius: 50%;
    line-height: 44px;
    text-align: center;
    margin-right: 6px;
}

.footer__top__social a:last-child {
    margin-right: 0;
}

.footer__option {
    padding-bottom: 35px;
    padding-top: 75px;
}

.footer__option__item {
    margin-bottom: 35px;
}

.footer__option__item h5 {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 35px;
}

.footer__option__item p {
    font-weight: 300;
    margin-bottom: 20px;
}

.footer__option__item .read__more {
    font-size: 16px;
    color: var(--color-white);
}

.footer__option__item .read__more span {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.5;
    position: relative;
    top: 4px;
    margin-left: 5px;
}

.footer__option__item ul li {
    list-style: none;
}

.footer__option__item ul li a {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
}

.footer__option__item form {
    position: relative;
}

.footer__option__item form input {
    height: 50px;
    width: 100%;
    padding-left: 20px;
    border: 1px solid var(--input-border);
    background: transparent;
    font-size: 16px;
    color: var(--color-white);
}

/* Placeholder Styling */
.footer__option__item form input::placeholder {
    color: var(--color-white);
}

.footer__option__item form button {
    font-size: 20px;
    color: var(--color-white);
    border: none;
    height: 50px;
    width: 50px;
    background: var(--color-background);
    line-height: 50px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
}

.footer__copyright {
    border-top: 0.5px solid var(--header-border);
}

.footer__copyright p,
.footer__copyright a {
    margin-bottom: 0;
    font-size: 1px;
}

/*---------------------
  Breadcrumb
-----------------------*/
/*---------------------
  Breadcrumb
-----------------------*/
.breadcrumb-option {
    padding-top: 180px;
}

.breadcrumb__text h2 {
    color: var(--color-white);
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 12px;
}

.breadcrumb__links a {
    font-size: 16px;
    color: var(--color-white);
    font-weight: 300;
    display: inline-block;
    margin-right: 32px;
    position: relative;
}

.breadcrumb__links a:after {
    position: absolute;
    right: -22px;
    top: -3px;
    content: "/";
    color: var(--color-white);
    font-size: 20px;
}

.breadcrumb__links span {
    font-size: 16px;
    color: var(--color-white);
    font-weight: 300;
    display: inline-block;
}

/*---------------------
  About
-----------------------*/
.about {
    /* background: var(--jobs-bg);  */
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.6);
    background-blend-mode: overlay;
    padding-bottom: 150px;
}

.about__pic__item {
    height: 235px;
    margin-right: -10px;
    margin-bottom: 20px;
}

.about__pic__item.about__pic__item--large {
    height: 490px;
}

.about__text {
    padding-left: 30px;
}

.about__text .services__item .services__item__icon:after {
    border-color: #3D3A64;
}

.about__text__desc {
    margin-top: -10px;
}

/*---------------------
  Testimonial
-----------------------*/
.testimonial {
    padding-bottom: 60px;
    background-color: rgba(15, 9, 2, 0.6);
    background-blend-mode: overlay;
}

.testimonial__slider.owl-carousel .owl-item .col-lg-4 {
    max-width: 100%;
}

.testimonial__slider.owl-carousel .owl-dots {
    text-align: center;
    padding-top: 35px;
}

.testimonial__slider.owl-carousel .owl-dots button {
    height: 8px;
    width: 8px;
    background: var(--slider-dot-inactive);
    border-radius: 50%;
    margin-right: 10px;
}

.testimonial__slider.owl-carousel .owl-dots button.active {
    background: var(--color-background);
}

.testimonial__slider.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

.testimonial__text {
    padding: 30px 40px 25px 30px;
    border: 1px solid var(--testimonial-border);
    margin-bottom: 25px;
    position: relative;
    z-index: 9;
}

.testimonial__text P {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 30px;
    margin-bottom: 0;
}

.testimonial__author {
    padding-left: 30px;
}

.testimonial__author__pic {
    float: left;
    margin-right: 20px;
}

.testimonial__author__pic img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.testimonial__author__text {
    overflow: hidden;
}

.testimonial__author__text h5 {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.testimonial__author__text span {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 300;
    display: inline-block;
}

/*---------------------
  Services
-----------------------*/
.services {
    /* background: var(--jobs-bg); */
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.7);
    background-blend-mode: overlay;
    padding-bottom: 70px;
    padding-top: 110px;
}

.services__title p {
    margin-bottom: 45px;
}

.services__item {
    margin-bottom: 45px;
}

.services__item:hover .services__item__icon:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.services__item h4 {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 18px;
}

.services__item p {
    margin-bottom: 0;
}

.services__item__icon {
    position: relative;
    height: 80px;
    width: 80px;
    line-height: 70px;
    text-align: center;
}

.services__item__icon:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-background);
    content: "";
    -webkit-transition: all, 0.5s;
    -o-transition: all, 0.5s;
    transition: all, 0.5s;
}

.services-page {
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.7);
    background-blend-mode: overlay;
    padding-bottom: 50px;
}

/*---------------------
  Logo
-----------------------*/
.logo {
    background: var(--counter-bg);
    padding: 100px 20px;
}

.logo__carousel.owl-carousel .owl-item img {
    width: auto;
    display: inline-block;
}

/*---------------------
  Portfolio
-----------------------*/
.portfolio {
    background: url('../img/wood.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.7);
    background-blend-mode: overlay;
    padding-bottom: 70px;
    padding-top: 110px;
}

.portfolio__filter {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio__filter li {
    list-style: none;
    font-size: 16px;
    color: var(--color-white);
    margin-right: 5px;
    display: inline-block;
    cursor: pointer;
    padding: 6px 22px;
}

.portfolio__filter li.active {
    border: 1px solid var(--color-background);
}

.portfolio__filter li:last-child {
    margin-right: 0;
}

.portfolio__item {
    margin-bottom: 35px;
}

.portfolio__item:hover .portfolio__item__text h4:after {
    opacity: 1;
}

.portfolio__item__video {
    height: 240px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 28px;
}

.portfolio__item__video .play-btn {
    display: inline-block;
    color: var(--color-white);
    font-size: 20px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid var(--play-btn-border);
    border-radius: 50%;
}

.portfolio__item__text {
    text-align: center;
}

.portfolio__item__text h4 {
    color: var(--color-white);
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.portfolio__item__text h4:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: var(--portfolio-underline);
    content: "";
    -webkit-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
    opacity: 0;
}

.portfolio__item__text ul li {
    list-style: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin-right: 24px;
    position: relative;
    color: var(--color-white);
}

.portfolio__item__text ul li:after {
    position: absolute;
    right: -16px;
    top: 0;
    content: "/";
}

.portfolio__item__text ul li:last-child {
    margin-right: 0;
}

.portfolio__item__text ul li:last-child:after {
    display: none;
}

.portfolio__item__text span {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-white);
    display: block;
}

.pagination__option {
    text-align: center;
    padding-top: 20px;
}

.pagination__option.blog__pagi {
    padding-top: 5px;
}

.pagination__option .arrow__pagination {
    font-size: 15px;
    color: var(--color-white);
    display: inline-block;
    text-transform: uppercase;
}

.pagination__option .arrow__pagination.left__arrow {
    margin-right: 26px;
}

.pagination__option .arrow__pagination.right__arrow {
    margin-left: 18px;
}

.pagination__option .arrow__pagination span {
    opacity: 0.5;
}

.pagination__option .number__pagination {
    font-size: 18px;
    color: var(--color-white);
    height: 50px;
    width: 50px;
    background: var(--pagination-bg);
    line-height: 50px;
    text-align: center;
    display: inline-block;
    margin-right: 6px;
}
.pagination__option .active {
    background: #f3bd00; /* Color destacado (Cámbialo al color de tu marca) */
    color: #ffffff !important;
    border-color: #f3bd00;
}

.pagination__option a.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}
/*---------------------
  Blog
-----------------------*/
.blog {
    background: var(--jobs-bg);
}

.blog__item {
    border: 1px solid var(--blog-border);
    padding: 40px 48px 35px 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 45px;
}

.blog__item:hover {
    border: 1px solid transparent !important;
    background: url(../img/blog/blog-2.jpg) no-repeat;
    background-size: cover;
}

.blog__item:hover ul li,
.blog__item:hover p {
    color: var(--color-white);
}

.blog__item h4 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 31px;
    margin-bottom: 18px;
}

.blog__item ul {
    margin-bottom: 20px;
}

.blog__item ul li {
    color: var(--blog-meta);
    list-style: none;
    font-size: 14px;
    font-weight: 300;
    margin-right: 25px;
    position: relative;
    display: inline-block;
}

.blog__item ul li:after {
    position: absolute;
    right: -16px;
    top: 0px;
    content: "/";
}

.blog__item ul li:last-child {
    margin-right: 0;
}

.blog__item ul li:last-child:after {
    display: none;
}

.blog__item p {
    font-weight: 300;
    line-height: 29px;
    margin-bottom: 22px;
}

.blog__item a {
    font-size: 16px;
    color: var(--color-white);
}

.blog__item a span {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.5;
    position: relative;
    top: 4px;
    margin-left: 5px;
}

/*---------------------
  Blog Details Hero
-----------------------*/
.blog-hero {
    padding: 300px 0 230px;
}

.blog__hero__text {
    text-align: center;
}

.blog__hero__text h2 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 47px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog__hero__text ul li {
    font-size: 14px;
    color: var(--color-white);
    font-weight: 300;
    list-style: none;
    display: inline-block;
    margin-right: 25px;
    position: relative;
}

.blog__hero__text ul li:after {
    position: absolute;
    right: -18px;
    top: 0;
    content: "/";
}

.blog__hero__text ul li:last-child {
    margin-right: 0;
}

.blog__hero__text ul li:last-child:after {
    display: none;
}

/*---------------------
  Blog Details
-----------------------*/
.blog-details {
    background: var(--jobs-bg);
}

.blog__details__text,
.blog__details__desc {
    margin-bottom: 30px;
}

.blog__details__text p,
.blog__details__desc p {
    font-size: 18px;
    line-height: 29px;
    font-weight: 300;
    margin-bottom: 20px;
}

.blog__details__quote {
    border: 1px solid var(--quote-border);
    padding: 35px 90px 35px 40px;
    position: relative;
    margin-bottom: 35px;
}

.blog__details__quote p {
    font-size: 22px;
    font-weight: 300;
    line-height: 35px;
    font-style: italic;
    margin-bottom: 10px;
}

.blog__details__quote h6 {
    font-size: 15px;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog__details__quote i {
    font-size: 36px;
    color: var(--color-background);
    position: absolute;
    right: 30px;
    bottom: 25px;
}

.blog__details__tags {
    padding-bottom: 60px;
    border-bottom: 1px solid var(--header-border);
    margin-bottom: 65px;
}

.blog__details__tags span {
    display: inline-block;
    font-size: 15px;
    color: var(--color-white);
    font-weight: 300;
    margin-right: 25px;
}

.blog__details__tags a {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-white);
    display: inline-block;
    margin-right: 11px;
    padding: 8px 15px 7px;
    margin-bottom: 5px;
    background: var(--tag-bg);
}

.blog__details__option__item h5,
.blog__details__option__item__text h6,
.blog__details__recent h4,
.blog__details__recent__item h5,
.blog__details__comment h4 {
    color: var(--color-white);
}

.blog__details__option__item__text span,
.blog__details__recent__item span {
    color: var(--blog-meta);
}

.blog__details__comment form textarea,
.input__list input {
    background: transparent;
    border: 1px solid var(--form-border);
    color: var(--color-white);
    font-weight: 300;
    font-size: 16px;
}

.blog__details__comment form textarea::placeholder,
.input__list input::placeholder {
    color: var(--color-white);
}

.blog__details__comment form textarea {
    height: 120px;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 14px;
    resize: none;
}

.input__list input {
    height: 50px;
    width: calc(33.33% - 20px);
    float: left;
    padding-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

/*---------------------
  Contact Widget
-----------------------*/
.contact-widget {
    background: url('../img/woopPino.jpg') no-repeat center;
    background-size: cover;
    background-color: rgba(15, 9, 2, 0.7);
    background-blend-mode: overlay;
    padding-bottom: 70px;
}

.contact__widget__item {
    margin-bottom: 30px;
}

.contact__widget__item__icon {
    height: 70px;
    width: 70px;
    border: 1px solid var(--form-border);
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    float: left;
    margin-right: 30px;
}

.contact__widget__item__icon i {
    font-size: 30px;
    color: var(--color-white);
}

.contact__widget__item__text {
    overflow: hidden;
    padding-top: 7px;
}

.contact__widget__item__text h4 {
    font-size: 22px;
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 10px;
}

.contact__widget__item__text p {
    margin-bottom: 0;
}

.contact__widget__item {
    /* This ensures the smooth animation */
    transition: all 0.4s ease-in-out;
    /* Add circular borders (use 50% for perfect circles, or 12px for rounded squares) */
    border-radius: 15px;
    /* Optional: keeps the icon/text centered if it has padding */
    padding: 3%;
    display: flex;
}

.contact__widget__item:hover {
    background-color: var(--counter-item-bg);
    /* Adds a slight lift effect and shadow for depth */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--quote-border);
}

/*---------------------
  Contact Form
-----------------------*/
.contact {
    background: var(--jobs-bg);
    padding-top: 0;
    overflow: hidden;
}

.contact__map {
    height: 450px;
}

.contact__map iframe {
    width: 100%;
}

.contact__form h3 {
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.contact__form form input,
.contact__form form textarea {
    width: 100%;
    border: 1px solid var(--form-border);
    background: transparent;
    font-size: 16px;
    color: var(--color-white);
    padding-left: 20px;
    font-weight: 300;
    -webkit-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
}

.contact__form form input {
    height: 50px;
    margin-bottom: 20px;
}

.contact__form form textarea {
    height: 110px;
    padding-top: 12px;
    margin-bottom: 14px;
    resize: none;
}

.contact__form form input:focus,
.contact__form form textarea:focus {
    border-color: var(--input-focus-border);
    outline: none;
}

/* Placeholder Styling */
.contact__form form input::placeholder,
.contact__form form textarea::placeholder {
    color: var(--color-white);
}

/*---------------------------------
  Responsive Media Queries
-----------------------------------*/
@media only screen and (min-width: 1200px) {
    .containerBody {
        max-width: 1170px;
    }
}

/* Medium Device = 1200px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

    .header__nav__menu,
    .header__nav__menu ul li {
        margin-right: 25px;
    }

    .header__nav__social {
        padding-left: 25px;
    }

    .counter__item::before {
        display: none;
    }

    .counter__content {
        padding: 0px 145px 0 50px;
    }

    .counter__item.second__item,
    .counter__item.four__item {
        margin-top: -210px;
    }

    .hero__slider.owl-carousel .owl-dots {
        max-width: 930px !important;
    }
}

/* Tablet Device = 768px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero__slider.owl-carousel .owl-dots {
        max-width: 690px !important;
    }

    .services__title {
        margin-bottom: 50px;
    }

    .counter__item {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        margin-bottom: 30px;
        width: auto;
    }

    .counter__item::before {
        display: none;
    }

    .counter__content {
        padding: 0;
    }

    .counter__item.second__item,
    .counter__item.four__item {
        margin-top: 0;
    }

    .counter__item__text {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }

    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .team__item.team__item--second {
        margin-top: 0;
    }

    .team__item.team__item--third {
        margin-top: 0;
    }

    .team__item.team__item--four {
        margin-top: 0;
    }

    .team__btn {
        position: relative;
        padding-top: 50px;
    }

    .about__pic {
        margin-bottom: 50px;
    }

    .about__text {
        padding-left: 0;
    }

    .portfolio__filter li {
        padding: 6px 15px;
    }

    .slicknav_menu {
        background: transparent;
        padding: 0;
        display: block;
    }

    .slicknav_nav ul {
        margin: 0;
        padding: 10px 30px;
    }

    .slicknav_nav .slicknav_row,
    .slicknav_nav a {
        padding: 7px 0;
        margin: 0;
        color: var(--color-white);
        font-weight: 600;
    }

    .slicknav_nav .slicknav_row:hover {
        border-radius: 0;
        background: transparent;
        color: var(--dropdown-text);
    }

    .slicknav_nav a:hover {
        border-radius: 0;
        background: transparent;
        color: var(--dropdown-text);
    }

    .slicknav_nav {
        background: var(--blog-border);
    }

    .slicknav_btn {
        position: absolute;
        right: 10px;
        top: 26px;
        background: var(--color-background);
    }

    .header .containerBody {
        position: relative;
    }

    .header__nav__option {
        display: none;
    }
}

/* Wide Mobile = 480px */
@media only screen and (max-width: 767px) {
    .services__title {
        margin-bottom: 50px;
    }

    .counter__item {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        margin-bottom: 80px;
        width: auto;
    }

    .counter__item::before {
        display: none;
    }

    .counter__content {
        padding: 0;
    }

    .counter__item.second__item {
        margin-top: 0;
    }

    .counter__item.four__item {
        margin-top: 0;
    }

    .counter__item__text {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }

    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .team__item.team__item--second {
        margin-top: 0;
    }

    .team__item.team__item--third {
        margin-top: 0;
    }

    .team__item.team__item--four {
        margin-top: 0;
    }

    .team__btn {
        position: relative;
        padding-top: 50px;
    }

    .about__pic {
        margin-bottom: 50px;
    }

    .about__text {
        padding-left: 0;
    }

    .hero__slider.owl-carousel .owl-dots {
        max-width: auto;
        padding: 0 15px;
    }

    .slicknav_menu {
        background: transparent;
        padding: 0;
        display: block;
    }

    .slicknav_nav ul {
        margin: 0;
        padding: 10px 30px;
    }

    .slicknav_nav .slicknav_row,
    .slicknav_nav a {
        padding: 7px 0;
        margin: 0;
        color: var(--color-white);
        font-weight: 600;
    }

    .slicknav_nav .slicknav_row:hover {
        border-radius: 0;
        background: transparent;
        color: var(--dropdown-text);
    }

    .slicknav_nav a:hover {
        border-radius: 0;
        background: transparent;
        color: var(--dropdown-text);
    }

    .slicknav_nav {
        background: var(--blog-border);
    }

    .slicknav_btn {
        position: absolute;
        right: 10px;
        top: 26px;
        background: var(--color-background);
    }

    .header .containerBody {
        position: relative;
    }

    .header__nav__option {
        display: none;
    }

    .hero__text h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .grid-sizer {
        width: calc(50% - 10px);
    }

    .jobs__item.wide__item {
        width: calc(50% - 10px);
        padding-right: 3rem;
    }

    .jobs__item {
        width: calc(50% - 10px);
    }

    .jobs__item.large__item {
        width: calc(50% - 10px);
    }

    .footer__top__social {
        text-align: left;
        padding-top: 30px;
    }

    .portfolio__filter li {
        margin-bottom: 10px;
    }

    .input__list {
        margin-right: 0;
    }

    .input__list input {
        width: 100%;
        margin-right: 0;
    }

    .contact__map {
        margin-bottom: 40px;
    }

    .team__item {
        margin-bottom: 20px;
    }

    .team .p-0 {
        padding: 0 15px !important;
    }

    .about__pic__item {
        margin-right: 0;
    }

    .blog__details__quote {
        padding: 30px 45px 35px 35px;
    }
}

/* Small Device = 320px */
@media only screen and (max-width: 479px) {
    .hero__text h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .grid-sizer {
        width: 100%;
    }

    .jobs__item.wide__item {
        width: 100%;
    }

    .jobs__item {
        width: 100%;
        margin-right: 0;
    }

    .jobs__item.large__item {
        width: 100%;
    }

    .jobs__gallery {
        margin-right: 0;
    }

    .pagination__option .arrow__pagination.left__arrow {
        margin-right: 15px;
    }

    .pagination__option .arrow__pagination.right__arrow {
        margin-left: 10px;
    }

    .blog__details__quote {
        padding: 30px 40px 35px 35px;
    }
}

/* Detail Jobs */
/* 1. Container adjustments for staggered layout */
.gallery-container {
    margin-top: 60px;
    /* Space to allow the 'up' items to move without hitting the top */
    display: flex;
    flex-wrap: wrap;
}

/* 2. STAGGER EFFECT: Applied to the COLUMN, not the image */
.staggered-up {
    transform: translateY(-60px);
}

.unified-zoom-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    /* Flatter edges like the reference image */
    background: #f8f9fa;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.main-display-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-img {
    width: 100%;
    height: 380px;
    /* Matching your reference height */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.unified-zoom-card:hover .zoom-overlay {
    opacity: 1;
}

.unified-zoom-card:hover img {
    transform: scale(1.08);
}

/* Modal */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-img {
    max-width: 90%;
    max-height: 85vh;
    border: 3px solid white;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    border: none;
    background: none;
}

/* Responsive: remove stagger on mobile */
@media (max-width: 768px) {
    .staggered-up {
        transform: translateY(0);
    }

    .gallery-container {
        margin-top: 20px;
    }
}
