*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
:root{
    --bluue-color: #031a32;
    --sky-color:#a8dee2;
    --green-color:#1f80b0;
    --blue-color:#0f054c;
    --red-color: #ff3150;
    --yellow-color: #ffc400;
    --section-color: #eff7fa;
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
body{
    background-color: #f8f9fa;}
/*start navbar*/
.custom-navbar {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    color: white;
}
.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 1rem;
    margin-right: 20px;
    position: relative;
}
.navbar-nav .nav-link.active {
    color: var(--green-color);
}
.navbar-nav .nav-link.active::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--green-color);
    position: absolute;
    bottom: -5px;
    left: 0;
}
.navbar-nav .nav-link:hover {
    color: var(--green-color);
}
.navbar-toggler {
    border: none;
}
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        margin-right: 0;
        text-align: center;
    }
}
@media (max-width: 992px) {
    .navbar-expand-lg .navbar-collapse{
        background-color: #0f054cba;
    }
}
/* أنماط الزر الأساسي */
#openModalBtn {
    border: none;
    background-color: var(--green-color);
    color: #fff;
    cursor: pointer;
    margin: 15px 2px;
    border-radius: 50px;
    height: 43px;
    padding: 0 20px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    width: 393px;
}

#openModalBtn:hover {
    background-color: var(--blue-color);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

/* أنماط النموذج */
form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.innn, textarea {
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.innn:focus, textarea:focus {
    border-color: var(--blue-color);
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button[type="submit"] {
    margin-top: 20px;
    padding: 12px;
    background-color: var(--blue-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}
  
button[type="submit"]:hover {
    background-color: var(--green-color);
}
/*End navbar*/
.custom-navbar,.hero-section, .hero-section::before {
    background-image: url('../Image/new/Preview\ Landing\ Page.jpg');
    background-size: cover;
    background-position: center;
    color: white;
  }
/*start  hero*/
.hero-section {
    height: calc(112vh - 30px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}
.text-container {
    z-index: 1;
    position: relative;
    width: 50%; 
}
.buttons-container {
    display: flex;
    flex-direction: row; /* Default to side-by-side for large screens */
    gap: 15px; /* Add space between buttons */
    align-items: center; /* Vertically center the buttons */
}
/*.buttons-container button,*/
.buttons-container a {
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    border-color: transparent;
    background-color: var(--green-color) ;
    color: #fff;
    cursor: pointer;
    border-radius: 50px;
    text-decoration: none;
    width: 350px;
    text-align: center;
}

/* Stack buttons on small screens */
@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column; /* Stack buttons under each other */
        gap: 10px; /* Reduce space between stacked buttons */
    }
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2; 
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
/* Modal styles */ 

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
} 
.close-btn:hover {
    color: red;
}
@media (max-width: 768px) {
    .text-container {
        width: 100%; 
        text-align: center; 
    }
    
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
    /*.hero-section a{
        margin: 42px;
    }*/

}
/*End  hero*/
/*Start Service*/


.serh::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--green-color); 
    margin: 0 auto;
    margin-top: 10px;
}
    .img-thumb {
      width: 100%;
      height: 100px;             /* غيّر الارتفاع حسب الحاجة */
      object-fit: cover;         /* crop لملأ الإطار */
      border-radius: 8px;
      transition: transform .18s ease, box-shadow .18s ease;
      display: block;
    }

    .img-thumb:hover {
      transform: translateY(-4px) scale(1.02);
    }

    .gallery-item {
      padding: 0px;
    }

    /* لو عايز المسافة صفر بين الصور شيل الـ padding */
    @media (max-width: 576px) {
      .img-thumb { height: 140px; }
    }
.services .container {
    width: 85%;
}
@media (max-width: 993px) { 
    .services h2 {
        margin-bottom: 20px; 
    }
    
}
@media (max-width: 576px) {
    .service-box {
        height: 600px;
        padding: 15px;
        text-align: center;
        width: 100%;
    }
    }
/*start statistics*/
.statistics{
    background-image: url(../Image/new/Preview\ Landing\ Page.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    clip-path: polygon(0% 0%, 100% 16%, 100% 86%, 0 100%);
}
.statistics h2 {
    font-size: 32px;
    color: white;
    margin: 4% auto;
    position: relative;
}
.statistics h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--green-color); 
    margin: 0 auto;
    margin-top: 10px;
}
.statistics .container {
    max-width: 1140px;
    margin: 6% auto;
}

.statistics .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:-20px auto 40px auto;
    width: 100%;
}

.statistics .col-md-3 h3 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.statistics .col-md-3 p {
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

.statistics .col-md-3 {
    text-align: center;
    position: relative;
}

.statistics .icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .statistics {
        clip-path:polygon(0% 0%, 100% 6%, 100% 93%, 0 100%);
        padding: 30px 0; /* تقليل المسافة الداخلية */
    }
}
/*End statistics*/
/*Start brands */
.brands {
    background-color: #fff;
    padding: 50px 0;
}
.brands h2 {
    font-size: 32px;
    color: var(--blue-color);
    margin-bottom: 30px;
    position: relative;
}
.brands h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--green-color); 
    margin: 0 auto;
    margin-top: 10px;
}

.brands .container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
    padding: 0 20px;
}

.logo-wrapper {
    display: flex;
    justify-content: start;
    gap: 40px;
    animation: scroll 20s linear infinite; 
}

.brand-logo {
    max-height: 150px;
    max-width: 150px;
    object-fit: contain;
}
/*End brands */
.blogs  {
    background-image: url(../Image/new/Preview\ Landing\ Page.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 5%;
    padding: 50px 0;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 6%, 100% 94%, 0 100%);
   /* height: 100%;*/
}
.blogs h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    margin-top: 10%;
}
.blogs h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--green-color); 
    margin: 0 auto;
    margin-top: 10px;
}
.blog-left {
    margin-bottom: 30px;
}

.blog-right .blog-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}
@media (max-width: 992px) {
    .blog-right .blog-post {
        display: block;
    }
    .blog-right .blog-thumbnail {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 15px;
        height: 283px;
    }
    .blogs h2{
        margin-top: 35%;
    }
    .ppp{
        margin-bottom: 35%;
    }
}
@media (min-width: 992px){
    .blog-right .blog-thumbnail {
        height: 106px;
    }
}
.blog-post {
    padding: 20px;
    border-radius: 8px;
}

.blog-left .blog-post {
    position: relative;
}

.blog-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.blog-right{
    margin-bottom: 15%;
}


.blog-content {
    text-align: left;
}

.blog-title {
    color: #fff;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 700;
    text-align: justify;
}

.blog-left .blog-title {
    font-size: 24px;
    text-align: justify;
}
.blog-content p{
    color: white;
    text-align: justify;

}
.blog-thumbnail{
    border-radius: 8px;
}
/*Partners section*/
.clients-section {
    background-color: #ffffff; 
    padding: 0;
    text-align: center;
}
.clients-section h2 {
    font-size: 32px;
    color: var(--blue-color);
    margin-bottom: 30px;
    position: relative;
}
.clients-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--green-color); 
    margin: 0 auto;
    margin-top: 10px;
}
.gray-strip {
    background-color: #f2f2f2;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px;
    width: 80%;
}
.clip-right {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    margin-left: -24px;
    margin-right: auto !important; 
}
.clip-left {
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
    margin-right: 0;
    text-align: right; 
    margin-left: 20%; 
}
.container-fluid {
    padding: 0; 
}
.custom-row {
    margin-right:-24px;
    margin-left: auto; 
    width: 80%; 
    position: relative; 
}
.client-logo {
    max-height: 120px; 
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}
.client-logo:hover {
    transform: scale(1.1); 
}
/****/

/* تعديل الحجم على الأجهزة المحمولة */
@media (max-width: 768px) {
    .client-logo {
        max-height: 160px; /* زيادة حجم الشعار على الشاشات الصغيرة */
    }
    .gray-strip {
        padding: 30px;  /* تقليل الحشو ليتناسب مع الشاشات الصغيرة */
    }
    .clients-section h2 {
        font-size: 28px;  /* تقليل حجم العنوان قليلاً ليتناسب مع الشاشات الصغيرة */
    }
    .gray-strip {
        padding: 20px;  /* تقليل الحشو في الشريط الرمادي */
    }
    .clip-left {
        margin-top: -17%;
        margin-bottom: -17%;
    }
}

/* تعديل أكبر للشعارات على الشاشات الأكبر */
@media (min-width: 1200px) {
    .client-logo {
        max-height: 160px;  /* زيادة الحجم على الشاشات الكبيرة */
    }
}
/*contact section*/
.contact-section {
    width: 100%;
    padding: 40px 0; 
    position: relative;
    clip-path: polygon(0% 0%, 100% 8%, 100% 100%, 0 100%);
    margin-top: 5%;
    background-image: url(../Image/new/Preview\ Landing\ Page.jpg);
    background-size: cover;
    background-position: center;
    color: white;
}
.contact-container {
    margin-top: 10%;
    max-width: 1200px; 
    padding: 0 20px; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.left-side, .right-side {
    flex: 1;
}
.left-side {
    max-width: 45%;
}
.left-side h2 {
    font-size: 24px;
    color: white; /* لون النص أبيض */
    margin-bottom: 10px;
}
.left-side p {
    font-size: 16px;
    color: #f0f0f0; /* لون النص رمادي فاتح */
    margin-bottom: 20px;
}
.contact-form {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    background-color: transparent;
}
.contact-form textarea {
    height: 120px;
}
.contact-form button {
    background-color: var(--green-color); 
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contact-form button:hover {
    transform: translateY(-5px);
}
/* Right side styles */
.right-side {
    max-width: 45%;
}
.right-side p {
    font-size: 16px;
    color: #f0f0f0; /* لون النص رمادي فاتح */
    margin-bottom: 10px;
}
/*floating-social-media section*/
.floating-social-media {
    position: fixed; 
    top: 60%; 
    right: 2%; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    z-index: 1000;
}

.floating-social-media .social-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; 
    height: 40px; 
    background-color: var(--blue-color); 
    color: #fff; 
    border-radius: 50%; 
    text-decoration: none; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-social-media .social-icon:hover {
    background-color: var(--green-color); 
    transform: scale(1.1);
}

.floating-social-media .social-icon i {
    font-size: 18px;
}

.floating-social-media .social-icon::after {
    content: attr(data-name);
    position: absolute;
    right: 50px;
    white-space: nowrap;
    background-color: var(--blue-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-social-media .social-icon:hover::after {
    opacity: 1;
}
/*footer section*/
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 2%;
    font-family: 'Arial', sans-serif;

 } 
.quick-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 10px;
    max-width: 1140px;
    margin: 0 auto;
}
.quick-links h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}
.quick-links nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-links  a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s;

}
.quick-links a:hover {
    text-decoration: underline;
    color:var(--green-color);
}
.copyright {
    margin-top: 10px;
    font-size: 16px;
    color: white;
}
.footer p {
    margin-top: 20px;
    font-size: 14px;
}
/* Keyframe animation for scrolling effect */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}