/* Custom Styles for Video Banner */

/* Banner Video Background */
.banner__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.banner__video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 46, 21, 0.85) 0%, rgba(17, 46, 21, 0.7) 100%);
    z-index: 1;
}

/* Adjust banner area for video */
.banner__area {
    position: relative;
    min-height: 850px;
    display: flex;
    align-items: center;
}

.banner__area .container {
    position: relative;
    z-index: 2;
}

.banner__area .banner__bg {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner__area {
        min-height: 700px;
    }
}

@media (max-width: 767px) {
    .banner__area {
        min-height: 600px;
    }
}

/* Language Switcher */
.language-switcher .dropdown-toggle {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background: #f5f5f5;
    border-color: #112E15;
    color: #112E15;
}

.language-switcher .dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

.language-switcher .dropdown-menu {
    min-width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-switcher .dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    color: #333 !important;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
}

.language-switcher .dropdown-item:hover {
    background: #112E15 !important;
    color: #fff !important;
}

.language-switcher .dropdown-menu {
    min-width: 150px;
    list-style: none;
    padding: 5px 0;
}

.language-switcher .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-switcher .dropdown-item img {
    width: 22px !important;
    height: 14px !important;
    margin: 0 !important;
    border: 1px solid #eee;
    border-radius: 2px;
    object-fit: cover;
}

.language-switcher .dropdown-toggle img {
    width: 22px !important;
    height: 14px !important;
    margin-right: 8px !important;
    border: 1px solid #eee;
    border-radius: 2px;
    object-fit: cover;
}

/* Mobile Language Switcher */
.tgmobile__menu-language {
    margin: 20px 0;
    padding: 0 20px;
}

.tgmobile__menu-language .list-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tgmobile__menu-language li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.tgmobile__menu-language li a.active {
    background: #112E15;
    color: #fff;
    border-color: #112E15;
}

.tgmobile__menu-language li a img {
    width: 20px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
}

/* Footer Custom Colors */
.footer__area-two {
    background-color: var(--tg-theme-secondary) !important;
}

.footer__bottom-two {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer__top-two {
    padding: 80px 0 60px !important;
}

.footer__widget-link-two li a, 
.footer__widget-link-two li,
.footer__contact .list-wrap li,
.footer__contact .list-wrap li a,
.footer__newsletter-two span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer__widget-link-two li a:hover,
.footer__contact .list-wrap li a:hover {
    color: var(--tg-color-white-default) !important;
}

.footer__widget-title-two {
    color: var(--tg-color-white-default) !important;
}

.footer__social-two .list-wrap li a {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.footer__social-two .list-wrap li a:hover {
    background-color: var(--tg-theme-primary) !important;
}

.footer__social-two .list-wrap li a img {
    filter: brightness(0) invert(1);
}

/* =====================
   Contact Info Items - Modern Hover
   ===================== */
.contact__info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__info-item {
    position: relative;
    padding: 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(17, 46, 21, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.contact__info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #2D6A4F, #52B788);
    border-radius: 0 4px 4px 0;
    transition: height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.contact__info-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.3), rgba(82, 183, 136, 0.1), rgba(45, 106, 79, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact__info-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(17, 46, 21, 0.15), 0 8px 24px rgba(17, 46, 21, 0.08);
    border-color: rgba(45, 106, 79, 0.2);
}

.contact__info-item:hover::before {
    height: 100%;
}

.contact__info-item:hover::after {
    opacity: 1;
}

.contact__info-item .title {
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact__info-item:hover .title {
    color: #2D6A4F;
}

.contact__info-item p,
.contact__info-item ul {
    position: relative;
    z-index: 1;
}

.contact__info-item ul.list-wrap li a {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact__info-item ul.list-wrap li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2D6A4F;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact__info-item:hover ul.list-wrap li a {
    color: #2D6A4F;
}

.contact__info-item:hover ul.list-wrap li a::after {
    width: 100%;
}

/* Subtle background shine effect */
.contact__info-item .shape {
    position: absolute;
    z-index: 0;
    opacity: 0.06;
    transition: all 0.6s ease;
    right: 20px;
    bottom: 20px;
}

.contact__info-item:hover .shape {
    opacity: 0.15;
    transform: scale(1.1) rotate(5deg);
}

/* Add a subtle shimmer overlay on hover */
.contact__info-item .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.contact__info-item:hover .shimmer {
    left: 100%;
}

/* =====================
   Modern Premium Map
   ===================== */
.contact__map-wrap {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__map-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(17, 46, 21, 0.4), rgba(255, 255, 255, 0.1), rgba(17, 46, 21, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.contact__map-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    z-index: 1;
}

.contact__map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
    filter: grayscale(0%) saturate(1.05) contrast(1.02);
    transition: filter 0.5s ease;
}

.contact__map iframe:hover {
    filter: grayscale(0%) saturate(1.1) contrast(1.05);
}

/* Map info overlay badge */
.contact__map-wrap .map-location-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #112E15;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact__map-wrap .map-location-badge i {
    font-size: 16px;
    color: #E63946;
}

/* Responsive */
@media (max-width: 991px) {
    .contact__map-wrap,
    .contact__map,
    .contact__map iframe {
        min-height: 380px;
    }
}

@media (max-width: 767px) {
    .contact__map-wrap,
    .contact__map,
    .contact__map iframe {
        min-height: 300px;
    }
    
    .contact__map-wrap {
        border-radius: 12px;
        margin-top: 30px;
    }
}
