* {
    box-sizing: border-box;
}
/* Start Variables */

 :root {
    --main-color: #10cab7;
    --main1-color: #000f61;
    --main2-color: #047272;
    --secondary-color: #2c4755;
    --section-padding: 60px;
    --section-background: #f6f6f6;
}
/* End Variables */

body {
    margin: 0;
    padding: 0;
    font-family: " Raleway", Arial, Helvetica, sans-serif;
    background-color: #eee;
    color: #333;
    font-weight: 300;
    line-height: 1.5em;
    direction: rtl;
}

.wrapper {
    padding: 0 10%;
}


.flex {
display: flex;
flex-direction: column;
/* align-items: top center; */
direction: rtl;
}

.flex > * {
margin: 20px;
padding: 20px;
width: 100%;
}
@media (min-width: 900px) {
.flex {
    flex-direction: row;
    justify-content: center;
    text-align: right;
    /* flex-wrap: wrap; */
}
.flex > * {
margin: 20px;
padding: 20px;
flex-basis: calc(50% - 40px); /* تعيين حجم العرض لاثنين من الأعمدة */
width: 100%;
}

.flex > :nth-child(3) {
flex-basis: 100%; /* تعيين حجم العرض للعمود الثالث */
}
.flex > * {
    flex-basis: calc(50% - 40px); /* تعيين حجم العرض للأعمدة في الشاشات الأكبر حجمًا */
}
}
@media (min-width: 900px) {
.flex {
    flex-direction: row;
    justify-content: center;
    text-align: right;
}

.flex > * {
    width: auto;
}
#text{
    font-size: 2em;
}
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--main1-color);
}

input[type="email"] {
    background-color: white;
    border: 1px solid var(--main1-color);
    padding: 0.8em 2em;
    color: var(--main1-color);
}

.padding {
    padding: 10px 0;
    direction: rtl;
}

.section-title {
    font-size: 3em;
    margin-left: 40px;
    color: var(--main1-color);
}
/* nav */

.logo {
    font-size: 1.5em;
}

.logo-dot,
.intro-element h2 {
    color: var(--main1-color);
}

.current-page {
    color: var(--main1-color);
}

nav {
    border-top: 3px solid var(--main1-color);
}

nav .logo {
    display: block;
}

nav ul {
    list-style-type: none;
    text-align: right;
}

nav li {
    display: inline-block;
    padding: 0 0.5em;
}
/* Banner   */

#banner {
    height: 60vh;
    border-bottom: 3px solid var(--main1-color);
}

#banner .center {
    text-align: center;
    padding-top: 18vh;
}

#banner h1 {
    font-size: 4em;
    text-decoration: underline var(--main1-color);
}

#banner p {
    font-size: 2em;
}
/* Intro */

#intro article {
    border-right: 1px solid var(--main1-color);
    border-bottom: 1px solid var(--main1-color);
}
/* Team */

#team {
    background-color: var(--main1-color);
    color: #eee;
}

#team .logo-dot {
    color: #eee;
}

.team-member {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    transition-duration: 0.3s;
}

.team-member:hover {
    color: var(--main1-color);
    background-color: #eee;
    box-shadow: 0 0 20px #333;
}

.intro-element:hover,
.opinion:hover {
    color: var(--main2-color);
    background-color: #eee;
    box-shadow: 0 0 20px #333;
}

.team-member-photo img {
    border-radius: 110%;
    width: 70%;
}

.team-member h3 {
    font-size: 2em;
}

.team-member p {
    font-size: 1.5em;
}
/* Comments */

.opinion {
    text-align: center;
    border: 1px solid var(--main1-color);
    border-radius: 10px;
}

.opinion-person-photo img {
    width: 100%;
    height: 350px;
}

.opinion h3 {
    border-bottom: 1px solid var(--main1-color);
    display: inline-block;
}
/* footer */

footer {
    background-color: var(--main1-color);
    color: #eee;
    text-align: center;
    height: 300px;
}

footer .footer-link-list {
    width: 70%;
}

footer form {
    width: 100%;
}

footer .copyright {
    width: 50%;
}

footer input[type="submit"]:hover {
    border: 1px solid white;
}

.footer a:hover,
span:hover {
    color: var(--main1-color);
}

footer ul {
    list-style-type: none;
}

.footer-element {
    border-right: 1px solid #eee;
}
/* Start Contact */

.contact .info {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    text-align: center;
}

.info .label {
    font-size: 35px;
    font-weight: 800;
    color: var(--main1-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.info .link {
    display: block;
    font-size: 35px;
    font-weight: 800;
    color: var(--main-color);
    text-decoration: none;
}
/* End Contact */

/* Start Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 10px;
    text-align: center;
    font-size: 18px;
}

.footer span {
    font-weight: bold;
    color: var(--main-color);
}
.whatsapp-icon {
        width: 24px;
        height: 24px;
        vertical-align: middle;
    }
/* End Footer */