/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

p {
    font-size: 20px;
}


.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}
@media (min-width: 577px) {
  .FirstImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
}

@media (max-width: 576px) {

  .video-container {
    height: auto;
   
  }

  .FirstImg {
    position: relative;
    width: 100%;
    overflow: hidden;
    object-fit: contain;
     margin-top: 5rem;
  }

  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
        margin-top: 2rem;
  }
 .overlay h1 {
    font-size:18px;
 }

}
.content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo_Video_Home {
    height: 8rem;
    margin-bottom: 20px;

    padding: 5px;
    border-radius: 5px;
}

.navbar-brand {
    height: 4rem;
   
    padding: 5px;
    border-radius: 5px;
}

.navbar-item {
    position: relative;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    font-weight: 500;
}


.navbar1-solutions {
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.navbar-link-solutions {
    color: black;
    text-decoration: none;
    font-size: x-large;
}

.navbar-link-solutions:hover {
    color: #ddd;
}

.nav-link{
    color: black !important;
    font-size: large  !important;
    font-weight: 500 !important;
}

.navbar1 {
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: hsla(0, 0%, 100%, 0.61);
    backdrop-filter: blur(8px) brightness(1.2);

}

.navbar-link {
    color: black;
    text-decoration: none;
    font-size: larger;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    padding: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: fit-content
}

.dropdown-menu li {
    margin-bottom: 10px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-item {
    color: black;
    text-decoration: none;
    display: block;
    padding: 5px 5px;
    font-size: 15px;
}

.dropdown-item:hover {
    background-color: rgb(216, 222, 228) !important;
}

/* Show Dropdown on Hover */
.navbar-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: row;

    }

    ul .dropdown-menu {
        box-shadow: none;
        width: max-content;
    }

    ul .dropdown-item {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .navbar-menu {
        font-size: 12px;
        flex-wrap: wrap;
    }


}

 

.navbar1.scrolled {
    background: hsla(0, 0%, 100%, 0.61);
    backdrop-filter: blur(8px) brightness(1.2);
}

.navbar1.scrolled .navbar-link {
    color: black;
}

.navbar-link:hover {
    color: rgb(255, 255, 255);
}


    @media (max-width: 768px) {
        .TitleHomePage{
            font-size: 20px
        }
}

  .nav-link.active {
    color: red !important;
    font-weight: bold;
  }




.firstBlockHome {
    display: flex;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    align-items: center;
}

.FirstBlock-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligns all items to the start (left) */
    width: 100%;
    /* Takes full width for alignment */
    max-width: 1200px;
}


.FirstImgHome {
    max-width: 100%;
    /* Makes the image responsive */
    height: auto;
    /* Maintains aspect ratio */
    margin: 20px 0;
    /* Adds spacing above and below the image */
}

.ContactButton {
    background-color: #914332;
    color: white;
    padding: 10px 20px;
    /* Adds padding for better appearance */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: fit-content;
}


.ContactButtonFooter {
    background-color: transparent;
    /* Transparent inside */
    color: white;
    /* White text */
    border: 2px solid white;
    /* White border */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    /* Smooth transition */
}



.ContactButton:hover {
    background-color: #6f2e1f;
    /* Darker shade on hover */
}

.no-gutters {
    margin: 0;
    padding: 0;
}

.no-gutters .col-sm-4 {
    padding: 0;
}

/* SECOND BLOC*/
.secondBlockHome {
    background-color: #f9f4f0;
    padding: 20px;

}

.custom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ddd;
    /* Optional: Add border to visualize card edges */
    border-radius: 8px;
    /* Optional: Rounded corners */
    overflow: hidden;
    /* Ensure images and text fit within card */
}

.card-img-top {
    object-fit: cover;
    height: 200px;
    /* Adjust as necessary */
    width: 100%;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 150px;
    overflow: hidden;
    /* Ensure overflow content is hidden */
}


.card-body-solutions {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    text-align: center;

    overflow: hidden;
    /* Ensure overflow content is hidden */
}

@media (max-width: 992px) {
    .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem;
        text-align: center;
        height: 200px;
        /* Set a fixed height */

        overflow: hidden;
        /* Ensure overflow content is hidden */
    }
}



.card-text {
    margin: 0;
    font-size: 18px;
    color: #2f445b;
    line-height: 1.5;
    font-weight: bold;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .card-body {
        height: 120px;
        /* Adjust minimum height as necessary */
    }

    .card-text {
        margin: 0;
        font-size: 14px;
        color: #2f445b;
        line-height: 1.2;
        font-weight: bold;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .card-body {
        min-height: 80px;
        /* Adjust minimum height as necessary */
    }

    .card-text {
        margin: 0;
        font-size: 14px;
        color: #2f445b;
        line-height: 1.2;
        font-weight: bold;
    }
}

@media (min-width: 768px) and (max-width: 812px) {
    .card-body {
        min-height: 100px;
        /* Adjust minimum height as necessary */
    }

    .card-text {
        margin: 0;
        font-size: 14px;
        color: #2f445b;
        line-height: 1.2;
        font-weight: bold;
    }
}

/*   THIRD block 3  */

.thirdBlockHome {
    display: flex;
    justify-content: center;
    padding: 20px;
    align-items: center;
}

.ul3rdBlock {
    list-style: none;

}

.ul3rdBlock li {
    margin-bottom: 10px;
    font-size: 19px;
    text-align: left;
  
}

.ul3rdBlock li:before {
    content: '✓ ';
    color:  #faaf40
}



footer {
    background-color: #162d59;
    padding: 15px;
    color: white;
    text-align: center;
}





.logo-footer-brand {
    height: 5rem;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    display: inline-block;
}

footer .social-icons img {
    width: 70px;
    height: auto;
}


.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}


.footer-menu-link {
    color: white;
    font-size: 20px;
}



.ServicesIcons {
    width: 3rem;
}

.DescriptionInEverySoltion {
    font-size: 20px;
}

@media (max-width: 768px) {

    .ContactButton {
        padding: 8px 16px;
        /* Adjusts button padding for smaller screens */
        font-size: 14px;
        /* Adjusts button font size for smaller screens */
    }
}

.titleAboutUs {
    color: black;
    text-decoration: underline;
}

.aboutUsSecondBlock {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #78553ecc;
    color: white;
}

.aboutUsBlock-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
}

.AboutUsSecondBlockItem {
    margin-bottom: 20px;
    text-align: left;

}

.AboutUsSecondBlockItem h3 {
    margin-top: 20px;
    font-size: 24px;
}

.AboutUsSecondBlockItem p {
    font-size: 20px;
}



.AboutUsSecondBlockItem:not(:last-child) p {
    border-bottom: 2px solid white;
    padding-bottom: 20px;
}


.FirstBlock-content-wrapper h1 {
    text-align: center;
}

form label {
    font-size: 16px;
}

form input {
    height: 50px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-footer-saif {
    text-decoration: none;
}


.borderAfterTitle {
    width: 60%;
    height: 5px;
    border-radius: 15px;
    background-color: #faaf40;
    margin-bottom: 1rem
}



.titleSolutionsCards {
    color: #040148;
    text-decoration: underline;
    text-decoration-color: #040148;
    font-weight: bold;
    text-align: left;
}

.leftBlock {
    max-width: 600px;
    min-height: 14rem;
}


@media (max-width: 997px) {
    .rightImgSeriviceBlock {
        justify-content: center;
    }
}

.feature-card {
      background: #fff;
      border: none;
      border-radius: 15px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      padding: 2rem;
      height: 100%;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

    .emoji {
      font-size: 3rem;
      animation: float 2s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-5px);
      }
    }

    .feature-title {
      font-weight: bold;
      margin-top: 10px;
      font-size: large;
    }

    .feature-text {
      color: black;
      text-align: left;
      hyphens: auto;
    }

    .ptagsolutions {
        font-weight: bold;
    }

    .DescriptionInEverySolution{
        text-align: justify;
  
    }