*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --Dark: #302f37;
    --primary: #f77d1a;
    --red: #f0252b;
    --blue: #0a82be;
    --pink: #f292bc;
    --medium-breakpoint: 1200px;
    --small-breakpoint: 767px;
}

h1,
h2,
h3,
h4,
p, ul {
    margin: 0;
}

ul {
    list-style: none;
    padding-left: 0;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

button,
input {
    outline: none;
}

button {
    border: none;
    background-color: #fff;
}

body {
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
    line-height: normal;
    font-style: normal;
}

.news {
    width: 100%;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.heading {
    font-size: 40px;
    font-weight: 400;
    padding-block: 136px 81px;
    color: #fff;
    width: 60%;
    margin: 0 auto;
}

.news-slider {
    padding-bottom: 110px;
    padding-inline: 40px;
}

.news-slider .news-slide {
    padding: 40px 36px;
    display: flex;
    gap: 19px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    opacity: 0.3;
    transform: scale(0.9);
    height: 320px;
}

.news-slider .news-slide.slick-current {
    opacity: 1;
    z-index: 1;
    transform: scale(1.05) translateY(0);
}

/*
.news-slider .news-slide.slick-current{
  opacity: 1;
  z-index: 1;
  transform: scale(1.2);
}
*/

.news-img {
    flex: 0 0 328px;
}

.news-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1400px) {
    .news-img {
        flex: 0 0 240px;
    }
}

.news-content {
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.news-heading {
    font-weight: bold;
    font-size: 18px;
}

.news-heading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-inline-end: 8px;
}

.news-title {
    font-weight: bold;
    font-size: 18px;
    text-align: start;
}

.news-date {
    font-size: 18px;
    font-weight: 400;
}

.news-details {
    overflow: hidden;
    font-weight: 400;
    margin-bottom: 25px;
}

.news-slider .slick-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.news-slider .slick-slider-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.news-slider .slick-active .slick-slider-dot {
    background-color: #fff;
}

@media screen  and (max-width: 768px) {
    .news-slider .news-slide {
        flex-wrap: wrap;
        height: auto;
    }

    .news-slider .news-slide.slick-current {
        transform: scale(1);
    }

    .news-slider .news-img {
        flex-grow: 1;
    }
}

/***/
.banner {
    height: 478px;
    background-image: url(../img/banner-bg.png);
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-inline-start: 152px;
}

.banner-heading {
    color: #DEB353;
    font-size: 70px;
    font-weight: bold;
}

.listings {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #162B4B;
    padding-inline: 40px;
    padding-block: 20px 50px;
}

.listing {
    display: flex;
    gap: 40px;
    padding-block: 56px;
    position: relative;
}

@media screen  and (max-width: 1100px) {
    .listing {
        flex-wrap: wrap;
    }
}

.listing::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    height: 19px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    background-image: url(../../img/divider.png);
}

.listing-box {
    flex: 1 1 50%;
    max-height: 313px;
    padding: 55px 47px;
    background-image: linear-gradient(#ffffff09, #96969609);
    background-color: #ffffff09;
}

.listing-heading {
    font-size: 24px;
    font-weight: bold;
    color: #B89D59;
    margin-bottom: 10px;
}

.listing-info {
    font-size: 20px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.swiper-slide-active {
    height: 200px;
}

.search-section {
    background-color: #162B4B;
    padding-block: 30px;
    position: relative;
}

.search-btn {
    padding: 12px 24px;
    outline: none;
    display: flex;
    border-radius: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.35);
    font-size: 25px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.search-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.search-btn .img-icon {
    margin-inline-start: 18px;
}

.search-btn .img-icon img {
    width: 22px;
    height: 22px;
}

.search-container {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.07);
    position: relative;
}

#close-btn {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 16px;
}

.form-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.search-container label {
    color: #deb353;
    font-size: 22px;
}

.search-container .search-input,
.search-container .search-input, .search-container .filter-input {
    flex: 1 1 30%;
}

@media (max-width: 768px){
    .search-container .search-input, .search-container .filter-input {
    flex: 1 1 100%;
    }
}

.search-container input.form-input {
    width: 100%;
    padding: 1.125rem;
    border: unset;
    outline: unset;
    font-size: 1.5rem;
    color: #fff;
    padding-left: unset;
    font-weight: 400;
    padding-bottom: 1.125rem;
    -webkit-appearance: textfield;
    outline-offset: -2px;
    background-color: rgba(255, 255, 255, 0.1803921569);
    padding-inline-start: 12px;
}

.search-section select {
    width: 100%;
    padding: 0.5rem 1.125rem 0.5rem 12px;
    background-color: rgba(255, 255, 255, 0.1803921569);
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
}

.search-section option {
    color: #000;
}

.search-section input#search::placeholder {
  color: #fff;
  opacity: 1;
}

.search-section input#search::-ms-input-placeholder {
  color: #fff;
}
