@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;500&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    font-family: Cairo;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #270349;
    color: white;
    padding: 0px 10px;
    z-index: 999;
    border-top: solid hsl(0, 85%, 36%) 4px;
    position: fixed;
    width: 100%;
}

header:hover {
    border-top: solid cadetblue;
}

header a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: ease 1s;
}

header a:hover {
    color: #0eaa9c;
    font-size: 20px;
}

.carsour {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 0px 100px;
    background-size: cover;
    background-image: url(images/home3.jpg);
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    background-position: center;
}

.carsour span {
    color: aqua;
}

.carsour h2 {
    color: aqua;
}

.carsour a {
    color: white;
    text-decoration: none;
    background-color: #0eaa9c;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    transition: ease 1s;
}

.carsour a:hover {
    font-size: 20px;
    background-color: #270349;
}

.services h2 {
    text-align: center;
    margin: 30px 0px;

}

.services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px 80px;

}

.services .card {
    margin-right: 20px;
    box-shadow: 3px 3px 6px 6px #ccc;
    padding: 10px;
    width: 16em;
    margin-bottom: 50px;
    text-align: center;

}

.card h3 {
    color: crimson;
    font-weight: 1000;
}

.card p {
    font-size: 14px;
}

.Studying {
    background-color: #2c3e50;
    text-align: center;
}

.Studying h2 {
    color: white;
    margin-bottom: 30px;
    border-bottom: crimson;
    display: inline-block;
    margin-top: 30px;

}

.Studying .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.Studying .card {
    background-color: white;
    border: solid;
    border-radius: 20px;
    margin-right: 20px;
    padding-bottom: 10px;
    width: 16em;
    margin-bottom: 30px;
    overflow: scroll;
    min-height: 250px;
}

.Studying button {
    border-radius: 10px;
    color: white;
    background-color: #d4dbda;
    padding: 0px 8px;
    border: none;
    transition: 1s ease;
}

.Studying button:hover {
    transform: scale(1.1);
}

.Studying .card-desc {
    margin: 0px 10px;
}

.Studying .card-desc p {
    font-size: 12px;
    line-height: 1.32;
    font-weight: 700;
}

.Studying .card-desc button {
    align-self: end;
    margin-left: 10px;
    font-weight: 700;

}

.Studying image {
    height: 12em;
    width: 100%;
    object-fit: cover;
}

.notilla {
    padding: 50px 100px;
    display: flex;
    align-items: center;
}

.notilla p {
    font-size: 13px;
}

.notilla h2 {
    color: crimson;
}

.notilla-disc {
    width: 60%;
    text-align: center;
}

.notilla-img {
    width: 40%;
    margin-right: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 2px rgba(0 0 0 /40%);
    transition: ease all 1s;
}

.notilla-img:hover {
    transform: translate(30px, -10px);
}

.img-rtl {
    margin-left: 30px !important;
    margin-right: 0px !important;
}

.about {
    padding: 50px;
    background-image: url(images/home2.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.4);
    min-height: 80vh;
    text-align: center;
}

.about>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;

}

.about h2 {
    color: white;
    text-align: center;
    border-bottom: solid white;
    display: inline;
    lock
}

.about img {
    border-radius: 50%;
    width: 16em;
    height: 16em;
    border: solid white;
    margin-right: 20px;
    margin-bottom: 20px;
    object-fit: cover:
}

footer {
    text-align: center;
    color: white;
    background-color: #2c3e50;
    padding: 20px;
}

.up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: crimson;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
    display: flex;
    align-items: center;
    color: white;
}

.up:hover {
    background-color: #0eaa9c;
}



.contact {
    padding: 100px;
    background: cadetblue;
    background: rgb(59, 49, 240);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 4%, rgba(0, 212, 255, 1) 90%);
    text-align: center;
}

.contact h2 {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    border-bottom: solid;
    display: inline-block;
}

.input_form {
    margin-bottom: 20%;
    position: relative;
    width: 100%;
    margin-bottom: 20px;

}

.input_form input {
    border: none;
    border-bottom: solid #0eaa9c;
    outline: none;
    padding: 0px 5px;
    width: 100%;
    height: 40px;
    font-size: 16px;
}

.input_form input:hover~label,
.input_form input:valid~label {
    top: 13%;
}

.input_form label {
    font-size: 12px;
    position: absolute;
    top: 40%;
    left: 5px;
    transform: translateY(-50%);
    transition: all 1s;
    pointer-events: none;

}

.send {
    padding: 5px 30px;
    border: none;
    background-color: #2c3e50;
    color: white;
    transition: all 1s;
}

.send:hover {
    transform: scale(1.1);
    background-color: rgb(18, 241, 223);
}


/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: crimson;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #0eaa9c;