@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Dosis:wght@200..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
/*
        #e8d8c7 بيج
        #39b2ca #307d9f ازرق سماوي  
        #175d91 #2180b8 ازرق 
        #ba9f58
        #ae8b47
        #cab874
        #296537 #659748
        
*/
/* Start Variables */
:root {
    --main-color : #659748;
    --secondary-color: #659748;
    --section-background: #e8d8c7;
    }
    
    /* End Variables */
    /* Start Global Rules */
      * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: "Rubik";
      }
      .parent{
        background-color: #eee;
      }
      .container{
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        /* width: 600px; */
      }
      /* Small */
    @media (min-width: 768px) {
      .container {
        width: 750px;
      }
    }
    /* Medium */
    @media (min-width: 992px) {
      .container {
        width: 970px;
      }
    
    }
    /* Large */
    @media (min-width: 1200px) {
      .container {
        width: 1170px;
      }
    }
    /* End Global Rules */
    /* Start Header */
    .header {
      padding: 20px;
    }
    .header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .header .container a {
      text-decoration: none;
    }
    .header .logo {
      color: black;
    }
    .header .links {
      position: relative;
    }
    /* .header .links:hover .icon span:nth-child(2) {
      width: 100%;
    } */
    .header .links .icon {
      width: 30px;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .header .links .icon span {
      background-color: #333;
      margin-bottom: 5px;
      height: 2px;
    }
    /* .header .links .icon span:first-child {
      width: 100%;
    }
    .header .links .icon span:nth-child(2) {
      width: 60%;
      transition: var(--main-duration);
    }
    .header .links .icon span:last-child {
      width: 100%;
    } */
    .header .links ul {
      list-style: none;
      margin: 0;
      padding: 0;
      background-color: #f6f6f6;
      position: absolute;
      left: 0;
      min-width: 200px;
      top: calc(100% + 15px);
      display: none;
      z-index: 1;
      border-radius: 8px;
    }
    .header .links ul::before {
      content: "";
      border-width: 10px;
      border-style: solid;
      border-color: transparent transparent #f6f6f6 transparent;
      position: absolute;
      left: 5px;
      top: -20px;
    }
    .header .links:hover ul {
      display: block;
    }
    .header .links ul li a {
      display: block;
      padding: 15px;
      text-decoration: none;
      color: #333;
      transition: 0.3s;
    }
    .header .links ul li a:hover {
      padding-right: 25px;
    }
    .header .links ul li:not(:last-child) a {
      border-bottom: 1px solid var(--secondary-color);
    }
    /* Start Header */
    /* Start Landing */
    .landing{
      position: relative;
      background-color: #e8d8c7 ;
      background-size: cover;
      /*height: calc(100vh - 64px);*/
      position: relative;
      height: 650px;
      width: 100%;
    }
    .landing .intro-text div{
      width:351px;
      height: 313px;
      background-image:url(../images/SYRIAN\ CIVIL\ ORGANIZATION1.png) ;
      background-size: cover;
      align-items: center;
      padding-bottom: 0px;
      margin-bottom: 0px; 
      position: relative;
      left: 22%;
    }
    .intro-text {
      display: grid !important;
      justify-content: center;
      align-items: center;
    }
    .landing .intro-text{
      position: relative;
      right: 50%;
      top : 50%;
      transform: translate(-50% , -50%);
      text-align: center;
      width: 320px;
      max-width: 100%;
    }
    .landing .intro-text p {
      width: 710px;
      position: relative;
      left: 48%;
      font-size: 20px;
      font-weight: 600;
      margin-top: 10px;
    }
    .life {
      color: #659748;
      font-weight: bold;
    }
    /*========================================================*/
    /* تصميم النافذة المنبثقة */
    .popup {
      display: none; /* النافذة مخفية بشكل افتراضي */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* خلفية مظللة */
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    
    .popup-content {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      width: 300px;
      height: 270px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      position: relative;
    }
    .popup-content h2 {
      margin-top: 0;
    }
    
    .popup-content p {
      font-size: 14px;
      margin: 10px 0;
    }
    .close-btn {
      background-color: red;
      color: white;
      border: none;
      font-size: 16px;
      padding: 10px 20px;
      cursor: pointer;
      border-radius: 5px;
      position: absolute;
      top: 76%;
      right: 35%;
    }
    /*========================================================*/
    /*========================================================================================*/
    .btn {
      display: flex;
      justify-content: center;
    }
    .btn-box {
      position:absolute;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 345px;
      height: 50px;
      top: 86%;
    }
    .btn-box a {
      position: relative;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 150px;
      height: 100%;
      background:  transparent ;
      border: 2px solid  var(--secondary-color);
      border-radius: 8px;
      font-size: 19px;
      color:  var(--secondary-color);
      text-decoration: none;
      font-weight: 600;
      letter-spacing: 1px;
      z-index: 1;
      overflow: hidden;
      transition: 0.5s;
    }
    .btn-box a:hover {
      background-color:var(--secondary-color);
      color: white;
    }
    .btn-box a:nth-child(2) {
      background: transparent;
      color: var(--secondary-color);
    }
    .btn-box a:nth-child(2):hover {
      background-color:var(--secondary-color);
      color: white;
    }
    .btn-box a:nth-child(2)::before {
      background: white;
    }
    .btn-box a:hover::before {
      width: 100%;
    }
    /*========================================================================================*/
    /* End landing */
    /* Start Features */
    .features {
      padding-top: 60px;
      padding-bottom: 60px;
      background-color: #f6f6f6;
    }
    .features .container {
      display: grid;
      grid-template-columns: repeat(auto-fill , minmax(300px , 1fr));
      grid-gap: 20px;
    }
    .features .feat {
      padding: 20px;
      text-align: center;
    }
    .features .feat i {
      color: var(--main-color);
    }
    .features .feat h3 {
      font-weight: 800px;
      margin: 30px;
    }
    .features .feat p {
      line-height: 1.8;
      color: #777;
      font-size: 17px;
    }
    /* End Features */
    /* Start Components */
    .special-heading {
    color: #ebeced;
    text-align: center;
    font-size: 100px;
    margin: 0px;
    letter-spacing: -3px;
    }
    .special-heading + p {
      margin: -30px 0 0;
      font-size: 20px;
      text-align: center;
      color: #797979;
    }
    @media (max-width : 767px) {
      .special-heading {
        font-size: 60px;
      }
      .special-heading + p {
        font-size: -20px;
      }
      .landing .intro-text {
        position: relative;
        right: 48%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 143px;
        max-width: 100%;
    }
      .landing .intro-text div{
        width: 351px;
        height: 313px;
        background-image: url(../images/SYRIAN\ CIVIL\ ORGANIZATION1.png) ;
        background-size: cover;
        align-items: center;
        padding-bottom: 0px;
        margin-bottom: 0px;
        left: 41%;
      }
      .landing .intro-text p {
        width: 300px;
        left: 35%;
        font-size: 15px;
        font-weight: 500;
        margin-top: 0px;
        text-align: center;
      }
      .about .about-content .image::after {
        display: none;
      }
    }
    /* End Components */
    /* Start Services */
    .services {
      padding-top: 60px;
      padding-bottom: 60px;
    }
    .services .services-content {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      grid-gap: 30px;
      margin-top: 100px;
    }
    .services .services-content .srv {
      display: flex;
      margin-bottom: 40px;
    }
    @media (max-width : 767px) {
    .services .services-content .srv {
      flex-direction: column;
      text-align: center;
    
    }
    }
    .services .services-content .srv i {
      color: var(--main-color);
      flex-basis: 60px;
    }
    .services .services-content .srv .text {
      flex: 1;
    }
    .services .services-content .srv .text h3 {
      margin: 0 0 20px;
    }
    .services .services-content .srv .text p {
      color: #777;
      font-weight: 300;
      line-height: 1.6;
    }
    .services .services-content .image {
      text-align: center;
      position: relative; 
    }
    .services .services-content .image::before {
      content: "";
      background-color: var(--secondary-color);
      width: 100px;
      height: calc(100% + 100px);
      top: -50px;
      position: absolute;
      right: 0;
      z-index: -1;
    }
    .services .services-content .image img {
      width: 260px;
    } 
    @media (max-width: 1199px) {
      .image-column {
        display: none;
      }
    }
    /* End Services */
    /* Start Portfolio */
    .portfolio {
      padding-top: var(--section-padding);
      padding-bottom: var(--section-padding);
      background-color: var(--section-background);
    }
    /* .portfolio .portfolio-content {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      grid-gap: 30px;
      margin-top: 80px;
    } */
    /* .portfolio .portfolio-content .card {
      background-color: white;
    }
    .portfolio .portfolio-content .card img {
      max-width: 100%;
    }
    .portfolio .portfolio-content .card .info {
      padding: 20px;
    }
    .portfolio .portfolio-content .card .info h3 {
      margin: 0;
    }
    .portfolio .portfolio-content .card .info p {
      color: #777;
      line-height: 1.6;
      margin-bottom: 0;
    } */
    .wrapper {
      padding: 10px 10% ;
    }
    #card-area {
      padding: 50px 0;
    }
    .box-area {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      grid-gap: 40px;
      margin-top: 50px;
    }
    .box {
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9) ;
    }
    .box img {
      width: 100%;
      height: 500px ;
      border-radius: 10px;
      display: block;
      transition: transform 0.5s;
      object-fit: cover;
    }
    .overlay {
      height: 0;
      width: 100%;
      background: linear-gradient(transparent, #1c1c1c 60%);
      border-radius: 10px;
      position: absolute;
      left: 0;
      bottom: 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      padding: 0 40px;
      text-align: center;
      font-size: 14px;
      transition: height 0.5s;
      color: white;
      
    }
    .overlay p {
      line-height: 1.8;
    }
    .overlay h3 {
      font-weight: 500;
      margin-bottom: 5px;
      margin-top: 80%;
      font-size: 24px;
      letter-spacing: 2px;
      color: white;
    }
    .overlay h3 span i {
      font-size: 24px;
    }
    .boxLhover img {
      transform: scale(1.2);
    }
    .box:hover .overlay {
      height: 100%;
    }
    /* End Portfolio */
    /* Start About */
    .about {
      padding-top: var(--section-padding);
      padding-bottom: calc(var(--section-padding) + 60px);
    }
    .about .about-content {
      margin-top: 100px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    @media (max-width: 991px) {
      .about .about-content {
        flex-direction: column;
        text-align: center;
      }
    }
    .about .about-content .image {
      position: relative;
      width: 250px;
      height: 375px;
    }
    @media (max-width: 991px) {
      .about .about-content .image {
        margin: 0 auto 60px;
      }
    }
    .about .about-content .image::before {
      content: "";
      position: absolute;
      background-color: #ebeced;
      width: 100px;
      height: calc(100% + 80px);
      top: -40px;
      left: -20px;
      z-index: -1;
    }
    .about .about-content .image::after {
      content: "";
        position: absolute;
        width: 100px;
        height: 233px;
        border-left: 80px solid var(--main-color);
        border-bottom: 80px solid var(--main-color);
        z-index: -1;
        right: -130px;
        top: -39px;
    }
    .about .about-content .image img {
      max-width: 100%;
    }
    .about .about-content .text {
      flex-basis: calc(100% - 500px);
    }
    .about .about-content .text p:first-of-type {
      font-weight: bold;
      line-height: 2;
      margin-bottom: 50px;
    }
    .about .about-content .text hr {
      width: 50%;
      display: inline-block;
      border-color: var(--main-color);
    }
    .about .about-content .text p:last-of-type {
      line-height: 2;
      color: #777;
    }
    /* End About */
    /* Start Contact */
    .contact {
      padding-top: var(--section-padding);
      padding-bottom: var(--section-padding);
      background-color: var(--section-background);
    }
    .contact .info {
      padding-top: var(--section-padding);
      padding-bottom: var(--section-padding);
      text-align: center;
    }
    .contact .info .label {
      font-size: 35px;
      font-weight: 700;
      color: var(--secondary-color);
      letter-spacing: -2px;
      margin-bottom: 15px;
    }
    .contact .info .link {
      display: block;
      font-size: 35px;
      font-weight: 600;
      color: var(--main-color);
      text-decoration: none;
    }
    .contact .info .social {
      margin-top: 40px;
      padding-bottom:50px ;
      font-size: 16px;
    }
    .contact .info .social div:first-child {
      font-weight: 500;
      font-size: 20px;
    }
    .contact .info .social i {
      margin-left: 10px;
      margin-top: 20px;
      color: var(--secondary-color);
      position: relative;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 60px;
      height: 60px;
      background: transparent;
      border: 2px solid var(--main-color);
      border-radius: 50%;
      text-decoration: none ;
      z-index: 1;
      transition: 0.5s;
    }
    .contact .info .social i:hover {
      color: #e8d8c7;
      background-color: var(--secondary-color);
      border: 2px solid #e8d8c7;
    }
    @media (max-width: 767px) {
      .contact .info .label,
      .contact .info .link {
        font-size: 25px;
      }
    }
    /* End Contact */
    /* Start Footer */
    .footer {
      background-color: var(--secondary-color);
      color: white;
      padding: 30px 10px;
      text-align: center;
      font-size: 18px;
    }
    .footer span {
      font-weight: bold;
      color: #175d91;
    }
    /* End Footer */
    /* تصميم زر التمرير للأعلى */
    .scroll-to-top {
      position: fixed;
      bottom: 7%; /* المسافة من الأسفل */
      right: 40px; /* المسافة من اليمين */
      background-color: var(--secondary-color); /* اللون الأخضر لخلفية الزر */
      color: white; 
      border: none;
      width: 80px;
      height: 80px;
      border-radius: 50%; /* جعل الزر دائري */
      padding: 15px;
      font-size: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      display: none; /* إخفاء الزر بشكل افتراضي */
      transition: all 0.3s ease;
      border: solid 1px white;
      z-index: 1;
    }
    
    .scroll-to-top:hover {
      background-color: #e8d8c7; 
      border: solid 1px var(--secondary-color);
      color: var(--secondary-color);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }
    
    /* تغيير حجم الأيقونة داخل الزر */
    .scroll-to-top i {
      font-size: 50px;
    }