/* --------------------------------- navbar --------------------------------- */
.bg-primary-navbar {
    background-color: var(--primary) !important;
}
.navbar-brand{
    width: 20%;
}
@media (max-width: 768px) {
    .navbar-brand{
        width: 50%;
    }
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #d4af37;
    font-weight: 700;
}

/* ------------------------------ scrollTopBtn ------------------------------ */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: #d4af37;
    color: white;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }

  #scrollTopBtn:hover {
    background-color: #0056b3;
  }

  #scrollTopBtn i{
    color: #ffffff;
  }

/* ---------------------------------- hero --------------------------------- */
.hero {
    width: 100%;
    /* background-image: url('/assets/images/hero/Etijahat-Website-Home-page-slides-1.png');
    background-repeat: no-repeat;
    background-size: cover; */
    height: 100vh;
}

.carousel {
    height: 85vh;
}

.carousel-inner {
    height: 90vh;
}

.carousel-item {
    height: 100vh;
}

.bg-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
}

.bg-slide-1 {
    background-image: linear-gradient(rgba(245, 248, 255, 0), rgba(245, 248, 255, 0)), url('../images/hero/Etijahat-Website-Home-page-slides-1.png');
}

.bg-slide-2 {
    background-image: linear-gradient(rgba(245, 248, 255, 0), rgba(245, 248, 255, 0)), url('../images/hero/Etijahat-Website-Home-page-slides-2.png');
}

.bg-slide-3 {
    background-image: linear-gradient(rgba(245, 248, 255, 0), rgba(245, 248, 255, 0)), url('../images/hero/Etijahat-Website-Home-page-slides-3.png');
}

/* .carousel-item img {
    height: 100%;
} */

.hero .content-hero {
    position: absolute;
    height: 100%;
}

.hero .content-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.carousel-caption {
    top: 0;
}

.hero .carousel .content {
    display: grid;
    align-items: center;
    z-index: 1024;
    position: relative;
    height: 100%;
    align-content: center;
}

.hero .carousel div h1 {
    color: var(--primary);
    /* margin: 50px 0 0 100px; */
}

.hero .carousel .content .box-content {
    padding: 1rem;
    width: 45%;
    background: #f4f7fa;
    border-radius: 15px;
}

.hero .carousel .content .box-content p {
    color: #000;
}


/* ---------------------------------- news ---------------------------------- */
.news {
    background: #f2f2f2;
    /* height: 40vh; */
}
.news h5 {
    padding: 0.5rem;
    margin: 0 1rem;
}
.news .row{
    margin: -15px  20px;
}
.news .video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news .video-card:hover {
    transform: translateY(-5px);
}

.news .video-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.news .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news .video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.news .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    /* background-color: #ff0000; */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.news  .video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
/* ------------------------------- section-02 ------------------------------- */
.section-02 {
    width: 100%;
    height: 100vh;
}

.section-02 .img {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 65%;
}

.section-02 .border-bottom {
    width: 60%;
    border-bottom: 2px solid var(--secondary-01) !important;
}

.section-02 .content-section-02 {
    margin: auto 100px;
}

.section-02 h5 {
    margin: 0 -5px;
}

.section-02 h6 {
    width: 60%;
}

.section-02 p {
    color: #000;
    width: 60%;
}

@media (max-width: 768px) {
    .hero .carousel .content .box-content{
        width: 100%;
    }
    .section-02 {
        height: unset;
        text-align: center;
    }

    .section-02 .border-bottom {
        width: 90%;
        margin: 0 10px;
    }

    .section-02 .content-section-02 {
        margin: auto;
    }

    .section-02 .img {
        display: none;
    }

    .section-02 h6 {
        width: 100%;
    }

    .section-02 p {
        width: 100%;
    }
}

/* ------------------------------- section-03 ------------------------------- */
.section-03 {
    width: 100%;
    height: 100vh;
}

.section-03 .box-border {
    width: 150px;
    height: 150px;
    border: 2px solid var(--secondary-01);
    border-radius: 50%;
    margin: 50px;
    text-align: center;
}

.section-03 .box-border .box-in-border {
    border: 3px solid var(--secondary-01);
    border-radius: 50%;
    width: 135px;
    height: 135px;
    margin: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-03 .box-border .box-in-border span {
    align-items: center;
    background: #ffffff;
    font-size: 50px;
    position: relative;
    right: -24px;
}

.section-03 .box-border .text-title {
    margin-top: 0.5px;
    background-color: var(--secondary-01);
    padding: 4px;
    position: relative;
    top: 10px;
}

.content-section-03 {
    margin: auto 100px;
}

.section-03 .img {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 50%;
}

.section-03 .border-bottom {
    width: 60%;
    border-bottom: 2px solid var(--secondary-01) !important;
}

.section-03 h5 {
    margin: 0 -5px;
}

.section-03 h6 {
    width: 60%;
}

.section-03 p {
    color: #000;
    width: 60%;
}

@media (max-width: 768px) {
    .section-03 {
         height: unset;
    }
    .content-section-03 {
        margin: auto;
    }
}

/* ------------------------------- services ------------------------------- */
.services {
    width: 100%;
    /* height: 100vh; */
    padding: 60px;
}

.services .img img {
    width: 30%;
}

.services .content {
    margin: 1rem auto;
}

.services .content p {
    color: #000;
    width: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: auto;
}

.services .border-bottom {
    width: 40%;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 1.5rem auto;
    border-bottom: 2px solid var(--secondary-01) !important;
}

.services .icon-img {
    display: flex;
    justify-content: center;
}

.services .services-box {
    width: 33.33%;
    text-align: center;
    margin: auto;
}

.services .icon-img img {
    width: 40%;
    margin: auto;
}

@media (max-width: 768px) {
    .services {
        height: auto;
    }
    .section-03 .box-border {
        margin: 40px 20px;
    }
    .section-03 .img {
        display: none;
    }
    .services .content p {
         width: 100%;
    }
    .services .img img {
        width: 80%;
    }
}

/* ------------------------------- services ------------------------------- */
/* .section-04 {
    width: 100%;
    height: 100vh;
    padding: 60px;
    background-image: url();
}

.section-04 .border-bottom {
    width: 30%;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 15px;
    border-bottom: 2px solid var(--secondary-01) !important;
} */

.why-choose-section {
    /* padding: 60px 20px; */
    /* max-width: 1200px; */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.background-wrapper {
    position: relative;
    z-index: 1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: top;
    background-image: url('/assets/images/why-choose-section/Etijahat-Website-Home-page-pic-2.png');
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1a3057;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #f0d78c;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: auto;
    width: 70%;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}


.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    min-width: 40px;
    height: 40px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-icon {
    color: #f0d78c;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.advantage-content h3 {
    font-size: 1.2rem;
    color: #1a3057;
    margin-bottom: 10px;
    font-weight: 700;
}

.advantage-content p {
    color: #444;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .advantages-container {
        grid-template-columns: 1fr;
    }
    .advantage-item{
        margin: 0;
        padding: 0 20px;
    }

}

/* ------------------------------ virtual-tour ------------------------------ */
.virtual-tour {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 60px;
    height: 100vh;
}

.virtual-tour .background-wrapper {
    position: relative;
    z-index: 1;
}

.virtual-tour .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: top;
    background-image: url('/assets/images/why-choose-section/Etijahat-Website-Home-page-pic-2.png');
}
@media (max-width: 768px) {
    .virtual-tour {
        height: unset;
    }
}

/* --------------------------------- partner -------------------------------- */
.partner {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 60px;
}

/* .partner img{
    width: 10%;
    margin: 0 15px;
} */


.banner-container {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    background-color: #f0f0f0;
    padding: 20px;
    border-bottom: 2px solid #d4af37;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    max-width: 120px;
}

.logo-img {
    width: 100px;
    object-fit: contain;
    margin-bottom: 5px;
}

.logo-text {
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.arabic-text {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.divider {
    width: 50%;
    height: 3px;
    background-color: #d4af37;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .banner-container {
        flex-wrap: wrap;
    }

    .logo-item {
        margin: 10px;
    }
}

/* --------------------------------- footer --------------------------------- */

.footer {
    position: relative;
    /* height: 95vh; */
    left: 0;
    right: 0;
    bottom: 0;
    /* padding: 100px 0; */
}

.trusted-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    /* استخدم خطًا مناسبًا */
    font-size: 24px;
    font-weight: bold;
    color: #1c355e;
    /* لون الخط */
    position: relative;
    margin: 0 15%;
}

.trusted-partner .line {
    width: 80px;
    /* طول الخط */
    height: 2px;
    /* سماكة الخط */
    background-color: #d4af67;
    /* اللون الذهبي */
}

.trusted-partner .left {
    margin-right: -75px;
    margin-top: -100px;
}

.trusted-partner .right {
    margin-top: 75px;
    margin-left: -80px;
}

.content-footer {
    /* position: absolute; */
    width: 100%;
    bottom: 0;
    background-image: url('/assets/images/footer/bacground.svg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 2%;
}

.content-footer img {
    max-width: 100%;
    height: auto;
    position: relative;
    top: 0;
    right: 0;
    overflow: hidden;
}

.content-footer h4,
p {
    color: #fff;
}

.content-footer ul {
    list-style: none;
    padding: 0;
    color: #fff;
}

.bg-footer-bottom {
    background-color: var(--secondary);
}

@media (max-width: 768px) {
    .footer {
        position: relative !important;
    }
}

@media (max-width: 900px) {
    .social-responsibility { flex-direction: column; min-height: 320px; }
    .social-responsibility > div:first-child { padding: 1.5rem 1rem 0.5rem 1.5rem; }
    .social-responsibility > div:last-child { justify-content: center; align-items: center; }
}
@media (max-width: 600px) {
    .social-responsibility h2 { font-size: 1.3rem; }
    .social-responsibility > div:first-child { padding: 1rem 0.5rem 0.5rem 1rem; }
    .social-responsibility > div:last-child img { max-width: 180px; }
}
.social-responsibility-home {
    background: linear-gradient(90deg, rgba(77,108,166,0.92) 0%, rgba(122,158,220,0.85) 100%), url('/assets/images/social-responsibility/social-responsibility-image-home.png') right no-repeat;
    display: flex;
    align-items: center;
    min-height: 220px;
    border-radius: 8px;
    background-position: 100% 20%;
}

.social-responsibility-content {
    padding: 2.5rem 2.5rem 2.5rem 3.5rem;
    z-index:2;
    max-width: 50vw;
}
.social-responsibility-content h2 {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 400;
    margin-bottom: 0.7rem;
}
.social-responsibility-content .gold-line {
    width: 40%;
    height: 2px;
    background: #f0d78c;
    margin-bottom: 1.2rem;
}
.social-responsibility-content .desc {
    color: #e6eaf3;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.learn-more-btn {
    background: #fff;
    color: #1a3057;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.4rem 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e6eaf3;
    transition: background 0.2s;
}
.learn-more-btn:hover {
    background: #f0d78c;
    color: #fff;
}
@media (max-width: 900px) {
    .social-responsibility-home { min-height: 320px; }
    .social-responsibility-content { padding: 1.5rem 1rem 0.5rem 1.5rem; max-width: 100vw; }
}
@media (max-width: 600px) {
    .social-responsibility-content h2 { font-size: 1.3rem; }
    .social-responsibility-content { padding: 1rem 0.5rem 0.5rem 1rem; }
}

/* ------------------------------- news ------------------------------- */

.video-thumbnail img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
}

.swiper-slide {
  transform: scale(0.9);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-slide-active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.video-card {
  /* background: #f9f9f9; */
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.video-thumbnail {
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 10px;
  border-radius: 50%;
}
.swiper-wrapper {
 height:unset !important;
}
