@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&family=Josefin+Sans:wght@100;200;300;400;500;600;700&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --primaryColor: #a70f0f;
    --secondaryColor: #620f0f;
    --lightColor: #ffffff;
    --darkColor: #303030;
    --bgColor-1: #f8f8f8;
    --bgcolor-2: #b9b9b9;

}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
html {
    font-family: 'Philosopher', 'cairo';
    font-size: 20px;
    
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: black;
}
::-webkit-scrollbar-thumb {
    background: #a70f0f;
}
span {
    color: #a70f0f;
}
h5 {
    font-size: 20px;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 400;
    
}
h6 {
    font-size: 20px;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 400;
    
}
p {
    font-size: 20px;
    text-align: justify;
}
header {
    display: flex;
    background-color: #ffffff;
    border-bottom: solid 1px  #620f0f;
    height: 12vh;
    align-items: center;
    justify-content: space-between;
    padding-right: 135px ;
    padding-left: 135px ;
    
}
.logo {
    width: 35%;
    display: flex;
    align-items: center;
}
.logo img {
    width: 150px;
    cursor: pointer;
}
nav {
    display: flex;
    width: 65%;
    text-align: end;
    align-items: center;
    justify-content: flex-end;
}
nav ul li {
    list-style: none;
    display: inline-block;
    margin: 0.8rem 1.5rem;
}
nav ul li a {
    text-decoration: none;
    color: #a70f0f;
    transition: 0.4s ease;
    text-shadow: 0px 1px 1px #303030;
}
nav ul li a:hover {
    color: var(--secondaryColor);
}
.btn {
    text-align: center;
}
.btn a {
    position: relative;
    padding: 15px 30px;
    display: block;
    text-decoration: none;
    width: 200px;
    overflow: hidden;
    border-radius: 40px;
}
.btn a span {
    position: relative;
    color: #fff;
    font-size: 18px;
    letter-spacing: 3px;
    z-index: 1;

}
.btn a .liquid {
    position: absolute;
    top: -70px;
    left: 0px;
    width: 200px;
    height: 200px;
    background: var(--primaryColor);
    box-shadow: inset 0 0 50px rgb(0, 0, 0);
    transition: .5s;
}
.btn a .liquid::after,
.btn a .liquid::before {
    content: '';
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}
.btn a .liquid::before {
    border-radius: 45%;
    background: rgba(20, 20, 20, 0.404);
    animation: animate 5s linear infinite;
}
.btn a .liquid::after {
    border-radius: 40%;
    background: rgba(20, 20, 20, .5);
    animation: animate 10s linear infinite;
}
.btn a:hover .liquid {
    top: -120;
}
.main {
    height: 70vh;
    background-image: url(/imgs/mainbackground.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 135px;
    padding-right:135px ;
    align-items: center;
    display: flex;
}
.main .content {
    width: 40%;
}
.main .content h1 {
    font-size: 60px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0px 2px 1px #303030;
    padding-bottom: 5px;
}
.main .content h2 {
    font-size: 40px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0px 2px 1px #303030;
    padding-bottom: 15px; 
}
.main .content h3 {
    font-size: 35px;
    padding-top: 10px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0px 2px 1px #303030;
    
}
.main .content h4 {
    font-size: 25px;
    
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0px 2px 1px #303030;
    padding-bottom: 15px;
}
.main .content p {
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 1px #303030;
}
hr {
    border: 1px solid var(--secondaryColor);
    border-radius: 100%;
}
.values {
    background-color: #f8f8f8;
    padding: 100px 35px;
}
.goals {
    background-color: #f8f8f8;
    padding: 100px 35px;
}
.rediccit {
    background-image: url(/imgs/rediccitbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 35px;
}
.rediccit .content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rediccit .content .textcontainer {
    width: 70%;
    padding: 0px 100px 0px 200px;
}
.rediccit .content .textcontainer p {
    margin-bottom: 30px;
}
.rediccit .content .imgcontainer {
    width: 30%;
    padding: 0px 100px;
}
.rediccit .content .imgcontainer img {
    cursor: pointer;
    width: 350px;
}
.it {
    color:#0B64A4;
}

.space {
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
}


.title {
    display: block;
}
.title h2 {
    display: block;
    text-align: center;
    font-size: 35px;
    letter-spacing: 1px;
    text-shadow: 0px 1px 1px #303030;
    margin-bottom: 30px;
}
.textcontainer {
    padding: 0px 100px;
}
.rbtn {
    
    text-align: center;
}
.rbtn a {
    position: relative;
    padding: 15px 30px;
    display: block;
    text-decoration: none;
    width: 200px;
    overflow: hidden;
    border-radius: 40px;
}
.rbtn a span {
    position: relative;
    color: #fff;
    font-size: 18px;
    letter-spacing: 3px;
    z-index: 1;

}
.rbtn a .liquid {
    position: absolute;
    top: -70px;
    left: 0px;
    width: 200px;
    height: 200px;
    background: #0686D8;
    box-shadow: inset 0 0 50px rgb(0, 0, 0);
    transition: .5s;
}
.rbtn a .liquid::after,
.rbtn a .liquid::before {
    content: '';
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}
.rbtn a .liquid::before {
    border-radius: 45%;
    background: rgba(20, 20, 20, 0.404);
    animation: animate 5s linear infinite;
}
.rbtn a .liquid::after {
    border-radius: 40%;
    background: rgba(20, 20, 20, .5);
    animation: animate 10s linear infinite;
}
.rbtn a:hover .liquid {
    top: -120;
}
footer {
    display: flex;
    height: 12vh;
    background-color: #620f0f;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-right: 35px ;
    padding-left: 35px ;
    
}
footer p {
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #ffffff;
}





@keyframes animate {
    0% {
        transform:  translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}








/*----------------------------------- Media Queries ------------------------------------------------*/

@media screen and (max-width: 575px) {
   html {
    font-size: 18px;
   } 
   h5 {
    font-size: 18px;
    letter-spacing: 0.5px;
   }
   p {
    font-size: 18px;
   }
   header {
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
   }
   .logo {
    width: 50%;
   }
   nav {
    display: flex;
    justify-content: end;
    width: 50%;
   }
   .logo img {
    width: 110px;
   }
   nav ul li {
    font-size: 16px;
    list-style: none;
    display: inline-block;
    margin: 0.4rem .75rem;
    }
    .btn a {
        padding: 10px 15px;
        width: 120px;
    }
    .btn a span {
        font-size: 16px;
        letter-spacing: 1px;
    }


   .main {
    padding-left: 15px;
    padding-right: 15px;
   }
   .main .content {
    width: 100%;
    margin-left: 0px;
   }
   .main .content h1 {
    font-size: 35px;
    padding-bottom: 1px;
   }
   .main .content h2 {
    font-size: 23px;
   }
   hr {
    margin-bottom: 10px;
   }
   .main .content h3 {
    font-size: 23px;
   }
   .main .content h4 {
    font-size: 20px;
   }
   .main .content p {
    font-size: 18px;
    letter-spacing: 0px;
   }
   .values, .goals {
    padding: 70px 15px;
   }
   .space {
    height: 20vh;
    
   }
   .space img {
    height: 12vh;
   }
   .textcontainer {
    padding: 0px;
    }
    .rediccit {
        padding: 70px 15px;
    }
    .rediccit .content {
        display: block
    }
    .rediccit .content .imgcontainer {
        text-align: center;
        width: 100%;
        padding: 0;
    }
    .rediccit .content .imgcontainer img {
        width: 300px;
        margin-bottom: 20px;
    }
    .rediccit .content .textcontainer {
        width: 100%;
        padding: 0;
    }
    .rbtn {
        display: flex;
        justify-content: center;
    }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
   html {
    font-size: 18px;
   } 
   h5 {
    font-size: 18px;
    letter-spacing: 0.5px;
   }
   p {
    font-size: 18px;
   }
   header {
    padding: 30px 35px;
    justify-content: space-between;
   }
   .logo {
    width: 50%;
   }
   nav {
    display: flex;
    justify-content: end;
    width: 50%;
   }
   .logo img {
    width: 100px;
   }
   nav ul li {
    font-size: 16px;
    list-style: none;
    display: inline-block;
    margin: 0.4rem .75rem;
    }
    .btn a {
        padding: 10px 15px;
        width: 120px;
    }
    .btn a span {
        font-size: 16px;
        letter-spacing: 1px;
    }


   .main {
    height: 80vh;
    padding: 200px 35px;
   }
   .main .content {
    width: 60%;
    margin-left: 0px;
   }
   .main .content h1 {
    font-size: 35px;
    padding-bottom: 1px;
   }
   .main .content h2 {
    font-size: 23px;
   }
   hr {
    margin-bottom: 10px;
   }
   .main .content h3 {
    font-size: 23px;
   }
   .main .content h4 {
    font-size: 20px;
   }
   .main .content p {
    font-size: 18px;
    letter-spacing: 0px;
   }
   .space {
    height: 20vh;
    
   }
   .space img {
    height: 12vh;
   }
   .textcontainer {
    padding: 0px;
    }
    .rediccit {
        padding: 50px 35px;
    }
    .rediccit .content {
        display: block
    }
    .rediccit .content .imgcontainer {
        text-align: center;
        width: 100%;
        padding: 0;
    }
    .rediccit .content .imgcontainer img {
        width: 300px;
        margin-bottom: 20px;
    }
    .rediccit .content .textcontainer {
        width: 100%;
        padding: 0;
    }
    .rbtn {
        display: flex;
        justify-content: center;
    }
    footer{
        height: 17vh;
    }
    footer h5 {
        font-size: 16px;
    }
    footer h6 {
        font-size: 16px;
        margin: 0;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
    html {
     font-size: 18px;
    } 
    h5 {
     font-size: 18px;
     letter-spacing: 0.5px;
    }
    p {
     font-size: 18px;
    }
    header {
    padding-left: 35px;
    padding-right: 35px;
    }
    .logo {
     width: 50%;
    }
    nav {
     display: flex;
     justify-content: end;
     width: 50%;
    }
    .logo img {
     width: 100px;
    }
    nav ul li {
     font-size: 16px;
     list-style: none;
     display: inline-block;
     margin: 0.4rem .75rem;
     }
     .btn a {
         padding: 10px 15px;
         width: 120px;
     }
     .btn a span {
         font-size: 16px;
         letter-spacing: 1px;
     }
    .main {
    padding-left: 35px;
    padding-right: 35px;
     }
    .main .content {
     width: 60%;
     margin-left: 0px;
    }
    .main .content h1 {
     font-size: 35px;
     padding-bottom: 1px;
    }
    .main .content h2 {
     font-size: 23px;
    }
    hr {
     margin-bottom: 10px;
    }
    .main .content h3 {
     font-size: 23px;
    }
    .main .content h4 {
     font-size: 20px;
    }
    .main .content p {
     font-size: 18px;
     letter-spacing: 0px;
    }
    .space {
     height: 20vh;
     
    }
    .space img {
     height: 12vh;
    }
    .textcontainer {
     padding: 0px;
     }
     .rediccit {
         padding: 50px 35px;
     }
     .rediccit .content {
         display: block
     }
     .rediccit .content .imgcontainer {
         text-align: center;
         width: 100%;
         padding: 0;
     }
     .rediccit .content .imgcontainer img {
         width: 300px;
         margin-bottom: 20px;
     }
     .rediccit .content .textcontainer {
         width: 100%;
         padding: 0;
     }
     .rbtn {
         display: flex;
         justify-content: center;
     }
     footer h5 {
        font-size: 18px;
     }
     footer h6 {
        font-size: 18px;
     }
 }