@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

:root {
  --skyblue: #196bde;
  --vivid-blue: #196cdf;
  --medium-blue: #2C76D6;
  --light-blue: #f0faff;
  --midnight-blue: #1d2a3c;
  --black-color: #000;
  --white-color: #fff;
  --main-transition: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
}

/* #region General Styles */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Tajawal", serif;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

.fa-btn {
  background: var(--skyblue) !important;
  color: var(--white-color) !important;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
}

.fa-btn:hover {
  background: var(--medium-blue) !important;
  color: var(--white-color) !important;
}

.stars i {
  color: var(--skyblue);
}

@media (max-width: 768px) {
  .section-heading {
    width: 100%;
    font-size: 28px;
    text-align: center;
  }

  .section-text {
    text-align: center;
    width: 80%;
    font-size: 18px;
  }
}

  .section-heading {
    color: var(--skyblue);
    font-size: 40px;
    position: relative;
    width:  fit-content;
    margin: 0 auto 70px;
  }

  .section-heading::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: var(--midnight-blue);
  }

  .section-heading::after {
    content: '';
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--white-color);
    border: 2px solid var(--midnight-blue);
    border-radius: 50%;
  }

  .sec-para {
    width: 550px;
    max-width: 100%;
    margin: 0 auto 40px;
    line-height: 2;
    text-align: center;
  }
/* #endregion */

/* #region Start Header */
header {
  padding: 0;
}

.header-nav {
  background-color: var(--white-color);
  box-shadow: 0 0 5px #ccc;
  height: 65px;
}

.logo img {
  height: 45px;
}

.main-nav li {
  padding-left: 25px;
}

.main-nav a {
  font-size: 17px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--skyblue) !important;
}

@media (max-width: 768px) {
  .nav-mob-btn {
    border-color: var(--skyblue);
  }

  .nav-mob-btn:focus {
    box-shadow: none;
  }
  .main-nav {
    padding: 20px;
    background-color: var(--skyblue);
    border-radius: 5px;
  }

  .main-nav li {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffffff6c;
    width: 95%;
  }

  .main-nav li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
  }
  .main-nav a {
    color: var(--white-color) !important;
  }
}
.social-icons i {
  color: var(--skyblue);
  font-size: 20px;
  cursor: pointer;
  transition: .3s;
}

.social-icons i:hover {
  color: var(--medium-blue);
}
/* #endregion */

/* #region Start Hero */
.hero {
  height: calc(100vh - 65px);
  background-image: url('../images/hero-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size:  cover;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 50px;
  }
}

.hero-title {
  width: 75%;
  font-size: 38px;
  font-weight:  600;
  color: var(--black-color);
}

.hero-text {
  font-size: 20px;
  line-height: 1.8em;
}

@media (max-width: 768px) {
  .hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    width: 100%;
    font-size: 28px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-left {
    margin-top: 50px;
  }
}

.hero-left img {
  width: 400px;
  height: 400px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .hero-left img {
    max-width: 100%;
    height: 350px;
  }
}

.custom-radius {
  border-radius: 50% 0 0 50%;
}
/* #endregion */

/* #region Start Statistics */
.statistics {
  color: var(--white-color);
  background-image: url('../images/stat-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
  position: relative;
}

.statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 108, 223, 0.9);
}

.stat:not(:last-child) {
  border-left: 1px solid var(--white-color);
}

@media (max-width: 768px) {
.statistics {
  margin-top: 250px;
  padding-top: 20px;
  margin-bottom: 0;
}

.stat {
  padding-right: 75px;
  margin-top: 30px;
  border: none !important;
}

.stat h2 {
  margin-bottom: -5px;
}
}

.stat-title {
  position: relative;
}

.stat-title::before {
  font-family: 'Font Awseome 5 Free';
  font-weight: 900;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -15px;
}

.stat-2::before,
.stat-3::before {
  content: '+';
}

.stat-4::before {
  content: '%';
  left: -23px;
}
/* #endregion */

/* #region Start services */
@media (max-width: 768px) {
  .services {
    padding: 50px 0;
  }

  .srv-col {
    width: 100%;
  }
}

.service {
  height: 290px;
  border: none !important;
  background-color: var(--light-blue);
  position: relative;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
  transition: 0.5s;
}

.service::before,
.service::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  background-color: var(--skyblue);
  z-index: -1;
  transition: 0.5s;
}

.service:hover::before {
  height: 100%;
}

.service i {
  width: 50px;
  height: 50px;
  background-color: var(--midnight-blue);
  color: var(--white-color);
  font-size: 25px;
  border-radius: 8px;
  transition: var(--main-transition);
}

.service h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--skyblue);
  transition: var(--main-transition);
}

.service:hover h3 {
  color: var(--white-color)
}

.service p {
  line-height: 2;
  color: var(--black-color);
  transition: var(--main-transition);
}

.service:hover p {
  color: var(--white-color);
}

@media (max-width: 768px) {
  .service {
    padding: 15px;
    margin-bottom: 25px;
  }
}
/* #endregion */

/* #region Start portfolio */
.portfolio {
  background-color: var(--white-color);
  padding: 50px 0;
}

.port {
  transition: .3s ease-in-out;
  cursor: pointer;
}
.port:hover {
  transform: translateY(-10px);
}

.port h5,
.port p,
.port h6 {
  color: var(--midnight-blue)
}

.port .card-skills h6 {
  font-size: 18px;
  font-weight: bold;
}

.port .card-icons span {
  display: inline-block;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--skyblue);
  color: var(--skyblue);
  font-size: 15px;
  font-weight: 600;
}
/* #endregion */

/* #region Start skills */
.skills {
  background-color: var(--light-blue);
}

.skills .swiper {
  margin-top: 70px;
}

.swiper-card {
  transition: var(--main-transition);
  cursor: pointer;
}

.sk-img img {
  width: 150px;
  height: 150px;
  border-radius: 25px;
  /* border: 1px solid var(--primary-color); */
}

@media (max-width: 767px) {
  .sk-img {
    text-align: center;
  }
}

.swiper-pagination-bullet-active {
  background-color: var(--skyblue) !important;
}
/* #endregion */

/* #region Start Contact*/
.contact-sec {
  background-color: var(--white-color);
}

.contact-sec .col-right p {
  line-height: 1.8;
}

.contact-sec .col-right {
  background-color: var(--skyblue);
  height: 600px;
}

@media (max-width: 767px) {

    .contact-sec .col-right {
  height: 400px;
}

.contact-sec .col-right p {
  width: 100% !important;
}

.contact-sec .contact-form {
  margin-top: 40px;
  margin-bottom: 40px;
}
}

.contact-sec form {
  width: 55%;
}

.contact-sec input {
  height: 40px;
}

.contact-sec input:focus,
.contact-sec textarea:focus {
  box-shadow: none;
  border: 1px solid var(--primary-color) !important;
}

.contact-sec form textarea {
  height: 150px;
}

.contact-sec input[type='submit'] {
  background-color: var(--midnight-blue) !important;
  color: var(--white-color) !important;
}
/* #endregion Contact*/

/* #region Start Footer */
footer {
  background-color: #012957;
  background-image: url('../images/footerbg.png');
  background-position: center;
  background-size: contain;
  color: var(--white-color);
}

footer h6 {
  color: var(--white-color);
  font-size: 18px;
}

footer p {
  line-height: 2em;
}

footer .contact p,
footer a {
  cursor: pointer;
  transition: var(--main-transition);
}

footer .contact p:hover,
footer a:hover {
  color: var(--hover-color) !important;
}

footer p,
footer a,
footer .copyright {
  font-size: 15px;
}

.newsletter .in-email:focus {
  box-shadow: none !important;
  border: 2px solid var(--hover-color);
}

footer .copyright {
  border-top: 1px solid #ccc;
}

.f1 p {
  width: 85%;
}

@media (max-width: 768px) {
  .f1 p {
    width: 90%;
  }
}
/* #endregion */
