

:root {
    --bg1: #ffffff;
    --bg2: #091728;
    --mainColor: #fff;
    --sColor: 	#29b9c9;
    --tColor: #29b9c9;
    --buttonBg: #29b9c9;
    --mainTransition: 0.3s;
    --seactionPadding: 120px 0;
}

/*---------- General Styling ----------*/

*,
*::before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    overflow-x: hidden;
    direction:rtl;
    background-color: #fff;
}

::selection {
    background-color: var(--sColor);
    color: var(--mainColor);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/*---------- Reusable CSS Code ----------*/

.showcase-info {
    margin-top: -34%;
    margin-right: -40%;
}
.container {
    position: relative;
    width: 100%;
    max-width: 75rem;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.logo {
    margin-left: 1.5rem;
    font-size: 1.5rem;
    color: var(--mainColor);
    transition: var(--mainTransition)
}

.logo span {
    color: var(--tColor);
}

.sub-heading {
    /*color: var(--tColor);*/
    color:#00614a;
    font-size: 2rem;
    font-weight: 600;
    padding: 0.13rem 0.75rem;
    margin-bottom: 1rem;
    border-right: 5px solid var(--sColor);
}

.heading {
    color:#00614a;
    font-size: 3rem;
    font-weight: 400;
    margin: 2;
}

.text {
    color: var(--sColor);
    font-size: 0.9rem;
    margin: 2rem 0 1rem;
    line-height: 2;
}

.btn {
    display:inline-block;
    border: none;
    cursor: pointer;
    transition: var(--mainTransition);
    margin: 2%;
}
.social-media {
    width: 55%;
    /*position: absolute;*/
  /*  top: 500%;
    right: 2%;*/
    margin-top: 12%;
    margin-right: 22%;
    
}
.social-media a {
    display: inline-flex;
   /* justify-content: center;*/
    /*align-items: center;*/
    width: 3rem;
    height: -34%;
    background: transparent;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--buttonBg);
    
    
}
.f-btn {
    border-radius: 1.5rem;
    background-color: var(--buttonBg);
    color: var(--bg1);
    font-size: 0.8rem;
    padding: 0.9rem 2rem;
    position: relative;
    overflow: hidden;
}

.f-btn:before,
.f-btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--mainTransition);
}

.f-btn:before {
    top: 0;
}

.f-btn:after {
    bottom: 0;
}

.f-btn:hover::before {
    top: -50%;
}

.f-btn:hover::after {
    bottom: -50%;
}


/*---------- Navbar Styling ----------*/

header {
    position:fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: var(--mainTransition);
    background-color: var(--bg1);
}

nav.container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

header.scrolled .logo {
    height: 80px;
    line-height: 80px;
}

header .logo {
    height: 120px;
    line-height: 120px;
}

header .fa-bars {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    font-size: 2rem;
    cursor: pointer;
    transform: translateY(-50%);
    color: var(--mainColor);
    transition: var(--mainTransition);
}

header ul {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    transition: var(--mainTransition)
}

.nav-link {
    position: relative;
    display: inline-block;
    margin: 0 1.2rem;
    font-size: 0.80rem;
    font-weight: 500;
    opacity: 0.9;
    transition: 0.3s;
    color: var(--mainColor);
    transition: var(--mainTransition);
}

.nav-link:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -15px;
    width: 0;
    height: 2px;
    background-color: var(--sColor);
    transition: var(--mainTransition);
}

.nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 0;
    height: 2px;
    background-color: var(--tColor);
    transition: var(--mainTransition);
}

.nav-link:hover::before,
.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--tColor);
}

.nav-link.active {
    color: var(--tColor);
    font-weight: 700;
}

.container .btnlogin-popup {
    width: 125px;
    height: 40px;
    background:#29b9c9;
    border: 2px solid #121212;
    outline:none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #121212;
    font-weight: 500;
    margin-left: 20px;

}
/*---------- Showcase Area Styling ----------*/

.showcase-area {
    padding: var(--seactionPadding);
    background-color: var(--bg2);
    overflow: hidden;
}

.showcase-area .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: calc(100vh - 120px);
    max-height: 600px;
    align-items: center;
   margin: 19%;
}

.showcase-btn {
    display: flex;
    align-items: center;
    margin: -8%;
    margin-left: -3%;
    
}

.showcase-btn .f-btn {
    margin-left: 1.5rem;
}

.s-btn {
    background-color: transparent;
    color: var(--tColor);
    padding: 2rem 0;
    font-size: 0.90rem;
    font-weight: 600;
    position: relative;
}

.s-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    background-color: var(--sColor);
    width: 90%;
    height: 5px;
    border-radius: 1rem;
    transition: var(--mainTransition);
}

.s-btn:hover::before {
    left: 0;
    width: 100%;
    transform: translateX(0);
}

.showcase-img img {
/*border-radius: 0 0.5rem 0.5rem 0;*/
   width: 300px;
   height: 300px;
   margin-top: -20%;
   margin-right: 10%;
}



/*---------- About me Styling ----------*/

.about {
    padding: var(--seactionPadding);
    background-color: var(--bg1);
    overflow: hidden;
}

.about .container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    height: calc(50vh);
    max-height: 600px;
    align-items: center;
}

.about-img img {
    border-radius: 50%;
    border: 10px solid var(--sColor);
}

.about-info .text:last-of-type {
    margin-top: 1rem;
}

.my-info h2 {
    color: var(--mainColor);
    margin-bottom: 2rem;
}

.my-info-list {
    display: flex;
    justify-content: space-between;
    color: var(--mainColor);
    margin-bottom: 2rem;
}

.my-info-list ul li {
    margin-bottom: 1rem;
}

/*---------- Services Styling ----------*/

.services {
    padding: var(--seactionPadding);
    background-color: var(--bg1);
    overflow: hidden;
}

.services .my-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.services-box {
    text-align: center;
    padding: 2.5rem 1rem 0;
    border-radius: 10px;
    background-color:#00614a;
    border: 5px solid transparent;
    transition: var(--mainTransition)
}

.services-box:hover {
    border-color: var(--tColor);
}

.services-box i {
    color: var(--mainColor);
    font-size: 4rem;
}

.services-box h2 {
    color: var(--mainColor);
    margin: 2rem 0;
    font-weight: 400;
}

/*---------- Work Styling ----------*/

.work {
    padding: var(--seactionPadding);
    background-color: var(--bg2);
    overflow: hidden;
}

.sociat a {
  /* display:inline-flex;*/
   justify-content: center;
    align-items:center;
    width: 10rem;
    height: 4rem;
    background: transparent;
    border-radius: 50%;
    font-size: 6rem;
    color: var(--buttonBg);
    margin: 3rem 1.5rem 3rem 0;
}

/*---------- Contact Styling ----------*/

.contact {
    padding: var(--seactionPadding);
    background-color: var(--bg2);
    overflow: hidden;
}

.contact form {
    margin-top: 2rem;
}

.input-box {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.input input,
.textarea textarea {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    background-color: var(--bg1);
    color: var(--mainColor);
    transition: var(--mainTransition)
}

.input input:not(:last-of-type) {
    margin-bottom: 1rem;
}

.input input:focus,
.textarea textarea:focus {
    outline: none;
    border: 2px solid var(--tColor);
}

.input input::placeholder,
.textarea textarea::placeholder {
    font-family: Cairo;
    transition: var(--mainTransition);
}

.input input:focus::placeholder,
.textarea textarea:focus::placeholder {
        opacity: 0;
}
    
.textarea textarea {
    height: 100%;
    resize: none;
}

/*---------- Footer Styling ----------*/

footer {
    width: 100%;
    padding: 1.5rem 1rem;
    background-color: var(--bg1);
    color: var(--sColor);
    text-align: center;
    position: relative;
}

footer a {
    position: absolute;
    right: 2rem;
    top: -27px;
    width: 57px;
    height: 57px;
    background-color: var(--tColor);
    color: var(--mainColor);
    font-size: 2.5rem;
    border-radius: 3px;
}

footer a i {
    position: absolute;
    top: calc(50% + 10px);
    left: 50%;
    transform: translate(-50%, -50%);
}

/*---------- Media Styling ----------*/

@media (max-width: 1199px) {

    .showcase-area .sub-heading,
    .about .sub-heading{
        width: fit-content;
        margin: 0 auto 1rem;
    }

    .showcase-area {
        padding: 160px 0 80px;
    }
    .showcase-area .container,
    .about .container {
        grid-template-columns: 1fr;
        height: 100%;
        max-height: 100%;
        text-align: center;
    }
    .showcase-btn {
        justify-content: center;
    }
    .showcase-img {
        margin-top: 2rem;
    }

    .about,
    .services,
    .work,
    .contact {
        padding: 100px 0 80px;
    }
    .about-img {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    header .fa-bars {
        display: none;
    }
}

@media (max-width: 767px) {

    header ul {
        position: absolute;
        background-color: var(--bg1);
        top: 120px;
        right: 0;
        flex-direction: column;
        padding-bottom: 1rem;
        border-top: 1px solid var(--mainColor);
        transform: translateX(-100%);
        transition: var(--mainTransition);
    }

    .show {
        transform: translateX(0);
    }
    
    .hidden {
        transform: translateX(-100%);
    }

    header.scrolled ul {
        top: 80px;
    }

    .nav-link {
        margin: 1rem 0;
    }
    
    .showcase-imge img {
        width: 300px;
        height: 300px;
    }

    .about-img img {
        width: 300px;
        height: 300px;
    }

    .input-box {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 400px) {

    .heading {
        font-size: 2rem;
    }

    .showcase-imge img {
        width: 260px;
        height: 260px;
    }

    .about-img img {
        width: 260px;
        height: 260px;
    }

    .my-info-list {
        text-align: right;
        font-size: 0.9rem;
    }

    .my-work-box img {
        height: 260px;
    }

}

/********/

body {
   
    background-size: cover;
    background-position: center;
    background: url(aw.jpg) no-repeat;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
.wrapper {
    position: relative;
    height: 450px;
    width: 400px;
    background: transparent;
    border: 2px solid rgba(249, 249, 249, 0.434);
    border-radius: 25px;
    backdrop-filter: blur(50px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.819);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
   transition: transform .5 ease ,height .2s ease;
  }

  .wrapper.active-popup {
    transform: scale(1);
  }

.wrapper.active {
    height: 520px;
}

  /*.wrapper .icon-close {
    position: absolute;
    background: #0a2155;
    color: #fff;
    font-size: 2rem;
    justify-content: center;
    text-align: center;
    height: 45px;
    width: 45px;
    right: 0;
    top: 0;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
  }
  */
  .wrapper .form-box.login {
    transition: transform .18s ease;
    transform: translateX(0);

   }
.wrapper.active .form-box.login {
    transition: none;
    transform: translateX(-400px);

   }

   

  .wrapper .form-box {
    width: 100%;
    padding: 40px;
  }
  
  .form-box h2 {
    font-size: 2rem;
    text-align: center;
    color: #0a2155;
  }
  
  .input-box {
    position: relative;
    border-bottom: 2px solid #0a2155;
    margin: 30px 0px;
    width: 100%;
    height: 30px;
    color: #0a2155;
  }
  
  .input-box label {
    position: absolute;
    top: 15px;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
  }
  
  .input-box input:focus + label,
  .input-box input:valid + label {
    top: -5px;
  }
  
  .input-box input {
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    outline: none;
    color: #0a2155;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 35px 0 5px;
  }
  
  .input-box .icon {
    position: absolute;
    right: 4px;
    font-size: 1.2em;
    color: #0a2155;
    line-height: 35px;
  }
  
.remember-forgot {
    font-size: .8em;
    color: #0a2155;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    margin: -15px 0 15px;
}
.remember-forgot label input {
    accent-color: #0a2155;
    margin-right: 5px;
  }
  
  .remember-forgot a {
    text-decoration: none;
    color: #0a2155;
  }
  
  .remember-forgot a:hover {
    text-decoration: underline;
    color: #0a2155;
  }
  
  .btn {
    width: 15%;
    height: 45px;
    /*background: #0a2155;*/
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
  }
  .login-register {
    font-size: 0.8em;
    color: #0a2155;
    text-align: center;
    font-weight: 500;
    margin: 30px 0 10px;
  }
  
  .login-register p a {
    color: #0a2155;
    text-decoration: none;
    font-weight: 600;
  }
  
  .login-register p a:hover {
    color: #0a2155;
    text-decoration: underline;
    font-weight: 500;
  }
  .wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
  }

  .wrapper.active .form-box.register {
    transition: transform .18s ease;
    transform: translateX(0); 
  }
.full-length-image img {
    width: 100%; /* Adjust this value as needed */
    margin-top: 20px; /* Optional: Adjust the top margin */
}
