:root {
  --primary-color: #002F5D;
  --gray-color: #002F5D;
  --dark-color: #002F5D;
  --light-color: #ffffff;
  --swiper-theme-color: #002F5D;
}

body {
  margin: 0;
  font-family: "bold" , sans-serif;
  font-size: x-large;
  direction: rtl;
  unicode-bidi: embed;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  max-width: 1100px;
  padding: 0 50px;
  margin: 0 auto;
}
.wrapper p {
  font-family: bold;
  font-size: large;
  color: #000;
}
/* Navbar */

nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #002F5D;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
  padding: 16px 0;
  transition: all 400ms ease;
}

nav.main-nav .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.main-nav .logo {
  direction: ltr;
  font-size: large;
  font-weight: 800;
  color: #FAFCFD;
}

nav.main-nav .menu-icon {
  cursor: pointer;
}
.btn {
  margin-right: 35%;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  padding: 10px 35px;
  display: inline-block;
}
.btn.light {
  background: var(--light-color);
  color: #000;
  
}

/* Hero Section */

header {
  height: 100vh;
  background: var(--gray-color);
  overflow: hidden;
  position: relative;
}

header .wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

header .left {
  flex: 1;

}

header .right {
  flex: 1;
  position: relative;
  height: calc(100% - 70px);
  align-self: flex-end;
}

header h1 {
  font-size: 80px;
  color: #fff;
  margin: 0;
}

header p {
  
  color: #000000;
  font-family: "bold", sans-serif;
  font-size: 100px;
  margin: 8px 0;
  margin-bottom: 24px;
  line-height: 180%;
}


header .right .hero-image {
  position: absolute;
  bottom: 0;
  height: 90%;
}

header .right .hero-bg {
  position: absolute;
  top: 20%;
}

.dots {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 200;
}

.dots .dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 400ms ease;
}

.dots .dot.active {
  background: #fff;
}

.dots .dot:hover::after {
  font-family: bold;
  content: attr(data-location);
  color: #000000;
  padding: 3px 8px;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: 17px;
}

/* Navigation Menu Items */

.nav-items {
  opacity: 0;
  pointer-events: none;
  transition: all 400ms ease;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #002F5D;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-items.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-items .close-icon {
  position: fixed;
  top: 22px;
  width: 100%;
  max-width: 1100px;
  padding: 0 50px;
}

.nav-items .close-icon img {
  height: 22px;
  width: 22px;
  cursor: pointer;
}

.nav-items ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

.nav-items ul li {
  opacity: 0;
  transform: translateX(-12px);
  transition: all 1000ms ease;
}

.nav-items.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.nav-items ul li a {
  font-family: bold;
  text-decoration: none;
  color: #000000;
  font-size: 35px;
  text-transform: uppercase;
  margin: 8px 0;
  display: inline-block;
}

.nav-items ul li a:hover {
  font-weight: 800;
}

/* Sections */

section h2 {
  font-size: 60px;
  color: #fff;
  margin: 0;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}

section h2::before {
  content: attr(data-title);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

section {
  background: var(--dark-color);
  padding: 40px 0 50px 0;
}

section:nth-of-type(even) {
  background: var(--gray-color);
}

/* My Projects */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 400ms ease;
}

.gallery img:hover {
  transform: scale(1.2);
}

.gallery .project {
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.gallery .project .title {
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 800;
  background: var(--dark-color);
  color: #fff;
  transform: translateY(50px);
  transition: all 400ms ease;
}

.gallery .project:hover .title {
  transform: translateY(0);
}

/* Services */
.services ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services ul li {
  font-family: bold;
  color: #000000;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  margin: 16px 0;
  position: relative;
}

.services ul li::after {
  position: absolute;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #ffffff;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.services ul li:hover::after {
  opacity: 1;
}

/* Skills */

 .skills {
  padding: 1px 0 1px 0;
 }
.skills .icons-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 800px;
  margin: 60px auto;
  gap: 100px;
}

.skills .icons-container .icon {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills .icons-container img {
  height: 100px;
}

.skills .icons-container .icon .skill {
  color: #000000;
  font-size: 20px;
  margin-top: 24px;
  pointer-events: none;
  opacity: 0;
  transition: all 400ms ease;
}

.skills .icons-container .icon:hover .skill {
  opacity: 1;
}
/* Contact Me */

/* Footer */

/* Media Queries */

@media (max-width: 740px) {
  nav.main-nav .wrapper,
  .nav-items .close-icon {
    padding: 0 32px;
  }

  header .wrapper {
    flex-direction: column;
  }

  header .left {
    margin-top: 100px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  header .left h1 {
    font-size: 40px;
  }

  header .right {
    width: 100%;
    display: flex;
    justify-content: center;
    flex: 1.5;
  }

  header .right .hero-image {
    height: 100%;
  }

  header .right .hero-bg {
    width: 280px;
    top: 60px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  section h2 {
    font-size: 40px;
  }

  section h2::before {
    font-size: 80px;
  }

  .services ul li {
    font-size: 20px;
    margin: 12px 0;
  }

  .skills .icons-container img {
    height: 80px;
  }

  .skills .icons-container .icon .skill {
    opacity: 1;
  }
  .contact-container h2 {
    font-size: 40px;
    
  }
}

@media (max-width: 600px) {
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    
  }

  .buttons a.btn {
    max-width: 160px;
    
  }

  section h2 {
    font-size: 30px;
  }

  section h2::before {
    font-size: 40px;
    top: -20px;
  }

  .gallery {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  
  .skills .icons-container {
    grid-template-columns: 1fr 1fr;
  }
  
}

.container{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
	background-color: #002F5D;
    padding: 50px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #FAFCFD;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	bottom: -10px;
	background-color: #ffffff;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 19px;
	text-transform: capitalize;
	color: #000;
	text-decoration: none;
	font-weight: 300;
	color: #FAFCFD;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #bdb6b6;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: #000;
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
.container {
  margin: 20px 40px;
  color: black;
}

.heading {
  padding-top: 150px;
    text-align: center;
  font-size: 60px;
  color:black;
}


.profiles {
  display: flex;
  justify-content: space-around;
}

.profile {
  flex-basis: 260px;
}

.profile .profile-img {
  height: 260px;
  width: 260px;
  

  cursor: pointer;
  transition: 1.5s;
}

.profile:hover .profile-img {
    filter: drop-shadow(30px 10px 4px lightgray);
    transform: scale(0.9,0.9);
}

.user-name {
  margin-top: 30px;
  font-size: 35px;
}

.profile h5 {
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 3px;
  color:black;
}

.profile p {
  font-size: large;
  margin-top: 20px;
  text-align: justify;
}

@media only screen and (max-width: 1150px) {
  .profiles {
    flex-direction: column;
  }

  .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile p {
    text-align: center;
    margin: 20px 60px 80px 60px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 900px) {
  .heading {
    font-size: 40px;
    color: rgb(0, 0, 0);
    text-align: center;
  }

  .heading span {
    font-size: 15px;
  }

  .profiles {
    margin: 20px 0;
  }

  .profile p {
    margin: 20px 10px 80px 10px;
  }
}