@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
    --primaryColor: #FEA958;
    --middleColor: #393E46;
    --helperColor: #400B50;
    --lightHelper: #B60C52;
    --hrColor: #F8F5FF;
    --transparentColor: rgba(0, 0, 0, 0.699);
    --shadow: rgba(189, 188, 188, 0.514);
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray: #f8f8f8;
    --container-width: 1340px;
    --header-height: 200px;
    /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}


body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background-color: transparent
}

body::-webkit-scrollbar-thumb {
    background-color: var(--lightHelper);
    background-image: linear-gradient(0deg, var(--lightHelper) 0%, var(--helperColor) 100%);
    border-radius: 5px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;

}

ul {
    list-style: none;
}


.contact-section {
    position: relative;
}

.contact-section svg {
    position: absolute;
    right: 0;
    left: 0;
    height: 20px;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contact-section-page{
    margin-top: 50px;
}
.contact-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 20px;
}

.contact-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section-title {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--helperColor);
    position: relative;
}

.contact-section-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 25px;
    bottom: -10%;
    left: 0;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);

}

.contact-section-title::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 5px;
    border-radius: 25px;
    bottom: -25%;
    right: 0;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);

}

.contact-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center
}

/* معلومات الاتصال */
.contact-info {
    background-color: var(--helperColor);
    display: flex;
    padding: 30px;
    height: 100%;
    flex-direction: column;
    gap: 20px;
    background-image: url("../img/shiny-back.webp");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-bottom: .5px dashed #ffffff6c;
}

.info-icon i {
    font-size: 25px;
    text-align: center;
    color: var(--primaryColor);
}

.info-item h4 {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--white);
    font-weight: 700;
}

.info-item a {
    margin: 0;
    font-size: 14px;
    color: var(--white);
}

.contact-right {
    display: flex;
    margin-block: 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.contact-socials a {
    margin-left: 10px;
    color: var(--lightHelper);
    background-color: var(--white);
    padding: 3px 10px;
    border-radius: 50%;
    text-decoration: none;
}

.contact-socials a:hover {
    color: var(--white);
    background-color: var(--lightHelper);
}

/* النموذج */
.contact-form {
    background: #EFEBF1;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact-form img {
    width: 100%;
    aspect-ratio: 1/1;
}
@media (max-width: 576px) {
    .contact-socials a {
        margin-left: 8px;
        padding: 2px 8px;
    }
    
}
/* ---------------- map section --------------------------------- */

.address-container{
    margin:  auto;
    width: 90%;
    transition: transform 0.4s ease-in;
  }
  .address-container:hover{
    transform: scale(1.01);
  }
  
  .address-title{
    text-align: center;
    align-content: center;
    margin: 40px auto;
    width: fit-content;
    margin:0px auto 30px auto;
    border-bottom: 4px solid var(--middleColor);
    
  
  }
  
  .address-title h1{
    font-size: 2.5rem;
    color: var(--primaryColor);
    
  }
  .address-title p{
   
    font-size: 1.5rem;
    color: var(--middleColor) ;
  }
  
  /* موبايل */
  @media (max-width: 768px) {
    .contact-flow {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    .flow-item::after{
      display: none;
    }
    .contact-list a {
      font-size: 18px;
      font-weight: 600;
    }
    /* العناوين */
  .flow-item h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--helperColor);
  }
  
  }
  
  