/* ---------------------- General Hero Video ---------------------- */

.video-hero-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.video-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
}

.video-text {
    color: #fff;
}

.slider-1-title-2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.slider-1-title-2 span {
    color: #a37e2c;
}

.slider-1-desc {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.slider-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #a37e2c;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: #a37e2c;
}

@media (max-width: 767px) {
    .video-hero-wrapper {
        height: 40vh;
    }
}

/* ---------------------- Side Menu ---------------------- */

.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.70);
    color: #fff;
    z-index: 999999;
    padding: 60px 15px 120px;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.side-menu-logo img {
    max-width: 260px;
    margin-bottom: 40px;
}

.side-menu-nav {
    list-style: none;
    padding: 0 20px;
    margin: 0;
    flex-grow: 1;
}

.side-menu-nav li {
    margin-bottom: 30px;
}

.side-menu-nav a {
    color: #036039;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.side-menu-nav .arrow {
    font-size: 18px;
}

.side-menu-contact {
    margin-top: auto;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.side-menu-contact p {
    margin: 5px 0;
}

.side-menu-footer {
    margin-top: 10px;
    font-size: 14px;
}

.social-icons {
    margin-top: 5px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99998;
}

#closeMenu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1000000;
}

.mobile-menu-toggle {
    float: right;
    margin-top: 37px;
}

.toggle-menu {
    background: none;
    border: none;
    font-size: 40px;
    color: #026139;
}

/* ---------------------- Search Box ---------------------- */

.search-box-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.video-search-box {
    background-color: #026139;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.search-tabs .tab {
    flex: 1;
    padding: 10px;
    background: #fff;
    border: none;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px;
    margin: 0 5px;
}

.search-tabs .tab.active {
    background: #026139;
    color: #fff;
    text-decoration: underline;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.search-input-wrapper input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 16px;
    margin: 0;
}

.search-input-wrapper input::placeholder {
    color: #888;
}

@media (max-width: 767px) {
    .video-search-box {
        width: 90%;
        padding: 15px;
    }

    .search-tabs .tab {
        font-size: 14px;
        padding: 8px;
    }

    .search-input-wrapper input {
        font-size: 14px;
    }
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 150px;
    height: 100%;
    border-right: 1px solid #ccc;
}

.search-select {
    width: 100%;
    padding: 10px 35px 10px 10px;
    /* مساحة للسهم من اليمين */
    font-size: 14px;
    border: none;
    outline: none;
    background: #fff;
    color: #000;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    /* مهم عشان يخلي الضغط يوصل للـ <select> */
    color: #555;
    font-size: 14px;
}



.search-input-wrapper input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 16px;
}

.search-btn {
    padding: 10px 15px;
    background: #FFF;
    border: none;
    color: #FFF;
    cursor: pointer;
    font-size: 16px;
}

.search-btn i {
    color: #026139;
}

.embed-responsive-9by16 {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* (16 / 9) * 100 = 177.77% */
    overflow: hidden;
}

.embed-responsive-9by16 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-switcher {
    float: right;
    margin-top: 15px;
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    color: #FFF;
}

.sticky .language-switcher {
    margin-top: 18px;
    color: #056038;
}


.language-switcher .lang-link {
    display: inline;
    padding: 0;
    color: #056038;
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher .lang-link:hover {
    color: #ccc;
}

.language-switcher .active-lang {
    color: #ccc;
    pointer-events: none;
}


.side-menu-lang {
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #056038;
}

.side-menu-lang .lang-link {
    color: #056038;
    text-decoration: none;
    margin: 0 4px;
}

.side-menu-lang .lang-link:hover {
    text-decoration: underline;
}

.side-menu-lang .active-lang {
    color: #a4a2a2;
    pointer-events: none;
}

.about-sheltek-info p {
    text-align: justify;
}

#whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 3%;
    width: 50px;
    height: 50px;
    background-color: rgb(37, 211, 102);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    z-index: 9999;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 10px;
    border-radius: 50%;
    animation: 1.5s ease 0s infinite normal none running rotate-whatsapp;
    transition: transform 0.3s;
}

@media (min-width: 992px) and (max-width: 1169px) {
    #whatsapp-float {
        bottom: 10px;
        right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #whatsapp-float {
        bottom: 10px;
        right: 15px;
    }
}

@media (max-width: 767px) {
    #whatsapp-float {
        height: 40px;
        width: 40px;
        line-height: 40px !important;
        bottom: 10px;
        right: 15px;
    }
}


@keyframes rotate-whatsapp {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

.flat-item-image .main-img {
    background-color: #f0f0f0;
    height: 270px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.agent-image img{
    background-color: #f0f0f0;
    min-height: 263px;
    display: block;
}

.cutline-3 {
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
