body {
    font-family: 'Roboto', sans-serif;
}
.hero {
    position: relative; /* ضروري عشان الصورة داخلها */
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    position: relative;
    z-index: 2; /* خلي النص فوق الصورة */
}

.hero p,
.hero a {
    position: relative;
    z-index: 2; /* نفس الشيء */
}

/* الصورة كخلفية */
.hero img.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* تحت كل حاجة */
}


#services {
    background: rgb(255, 255, 255);
}

.property-card {
    transition: transform 0.3s;
}

.property-card:hover {
    transform: scale(1.05);
}

footer {
    color: white;
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .about {
        width: 30rem;
        margin-left: 10rem;
    }
}

.vision-mission {
    background: #ffffff;
}

.vm-box {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.vm-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.vm-box h3 {
    font-weight: 700;
    font-size: 1.5rem;
}

.vm-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-card {
    border-radius: 30px;
    overflow: hidden;
    transition: 0.3s ease;
}

.service-card img {
    height: 25rem;
    object-fit: cover;
    border-radius: 30px;
}

/* Hide carousel on desktop */
@media (min-width: 768px) {
    #servicesCarousel {
        display: none !important;
    }
}

/* Hide desktop grid on mobile */
@media (max-width: 767px) {
    #servicesDesktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .clients {
        height: 40vh;
        /* ثبّت الارتفاع */
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* علشان المحتوى يبقى في النص */
    }
}

/* Fix image alignment */
.team-card img {
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.str {
    color: rgb(211, 211, 0);
}

/* Flex layout for name + button */
.team-info {
    display: flex;
    align-items: center;
    padding: 1rem 5.4rem;
    column-gap: 1px;
    /* ← غيّر الرقم ده */
}

/* Name takes 2/3 */
.team-info .name-box {
    width: 66.66%;
}

/* Button takes 1/3 */
.team-info .link-box {
    width: 33.33%;
    text-align: right;
}

/* Remove extra space */
.team-info h5 {
    margin: 0;
    font-weight: 600;
}

/* PHONE VERSION ONLY */
@media (max-width: 768px) {

    /* Make cards smaller */
    .team-card {
        max-width: 90%;
        margin: 0 auto;
    }

    /* Smaller image height */
    .team-card img {
        height: 200px;
        object-fit: cover;
    }

    /* Stack name and button vertically */
    .team-info {
        display: block;
        text-align: center;
        padding: 1rem 0;
    }

    .team-info .name-box {
        width: 100%;
        margin-bottom: 0.6rem;
        /* space between name and button */
    }

    .team-info .link-box {
        width: 100%;
        text-align: center;
    }

    .team-info .btn {
        width: 70%;
        margin: 0 auto;
    }

    /* Increase spacing between team members */
    .row.g-4 {
        row-gap: -1rem !important;
    }
}

@media (max-width: 767px) {

    /* FORCE cards to shrink */
    .team-card {
        background-color: #f8f9fa;
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        border-radius: 80px;
        overflow: hidden;
        height: 9rem;
        box-shadow: 10px 10px 9px -7px rgba(156, 156, 156, 0.75);
        -webkit-box-shadow: 10px 10px 9px -7px rgba(134, 134, 134, 0.75);
        -moz-box-shadow: 10px 10px 9px -7px rgba(155, 155, 155, 0.75);
    }

    /* force image styling */
    .team-card img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* make the info stack vertically */
    .team-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem !important;
        gap: 0.6rem !important;
        /* المسافة بين الاسم والزرار */
        text-align: center !important;
    }

    .team-info .name-box {
        width: 100% !important;
    }

    .team-info .link-box {
        width: 100% !important;
        text-align: center !important;
    }

    .team-info .btn {
        width: 70% !important;
    }

    /* spacing between cards */
}

@media (max-width: 768px) {
    .team-card {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }

    .team-card img {
        width: 120px !important;
        height: 120px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .team-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-info h3 {
        font-size: 16px;
        margin: 0;
    }

    .team-info p {
        font-size: 13px;
        margin: 0;
        opacity: 0.8;
    }

    .team-car {
        align-self: flex-start;

        font-size: 13px;
    }
}



/* Card style for form */
.contact-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #dedede;
    transition: 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.clean-input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.2s;
}

.clean-input:focus {
    border-color: #000;
    box-shadow: none;
}

/* Info Box */
.info-box {
    background: white;
    border-radius: 14px;
    border: 1px solid #dedede;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}


.social-icon svg {
width: 24px;      /* عرض الأيقونة */
height: 24px;     /* ارتفاع الأيقونة */
fill: #ffffff;    /* اللون أبيض */
transition: transform 0.3s; /* تأثير hover */
text-decoration: none;
outline: none;   
}

.social-icon:hover svg {
transform: scale(1.2); /* تكبير عند hover */
}
.social-icon {
text-decoration: none;   /* لأي نص محتمل */
outline: none;           /* يشيل الخط الأزرق */
}

.tt{
padding-bottom:11 px  ;
}

/*yt css*/.yt-feature-section {
  max-width: 1100px;
  margin: 60px auto;
  padding:  20px;
  font-family: Arial, sans-serif;
    /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);

}
.bio{
    color:darkslategrey;
}
/* TOP LAYOUT */
.yt-top-area {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* CHANNEL SIDE */
.yt-channel {
  width: 220px;
  text-align: center;
}

.yt-pic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0px 0px 15px -2px rgba(0,0,0,0.57);
  -webkit-box-shadow: 0px 0px 15px -2px rgba(0,0,0,0.57);
  -moz-box-shadow: 0px 0px 15px -2px rgba(0,0,0,0.57);
}

.yt-channel-name {
  margin: 8px 0;
  font-size: 25px;
color: #000;
}

.yt-sub-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 22px;
  font-size: 14px;
}

/* BIG VIDEO */
.yt-featured-video {
  flex: 1;
}

.yt-featured-video iframe {
  width: 100%;
  height: 460px;
  border-radius: 16px;
  border: none;
}

/* BOTTOM VIDEO ROW */
.yt-video-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.yt-video-row iframe,.soon {
  width: 100%;
  height: 138px;
  border-radius: 12px;
  border: none;
}

/* MOBILE */
@media (max-width: 900px) {
  .yt-top-area {
    flex-direction: column;
  }
  .yt-feature-section{
      margin:7px;
  }
  .yt-video-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-featured-video iframe{
    width: 344px ;
    height: 200px; 
}
.yt-video-row iframe,.soon {
    width: 160px;
    height: 84px;
    border-radius: 12px;
    border: none;
  }
}

;
