/* 
    1- General style
    2- Common style
    3- Navbar Section
    4- Hero Section
    5- About Section
    6- Projects Section
    7- Contact Section
    8- Media query
*/

/* 1- General style */
@font-face {
  font-family: "Edu-NSW-ACT-Foundation";
  src: url(../fonts/EduNSWACTFoundation-VariableFont_wght.ttf);
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Edu-NSW-ACT-Foundation";
}
:root {
  --primary-color: #7062e5;
  --secondary-color: #2591a7;
  --body-text-color: #454445;
  --text-light-color: #808080;
  --name-bg-color: #c2a02c;
  --bg-light: #F2F1F2;
  --white-color: #ffffff;
}

/* 2- Common style */
h3{
  text-align: center;
  font-size: 35px;
  font-weight: 600;
  color: var(--body-text-color);
}
h3::after{
    content: '';
    width: 7px;
    height: 7px;    
    background-color: var(--body-text-color);
    display: block;
    border-radius: 50%;
    margin: 7px auto 0px;
}
h4{  
  font-size: 23px;
  font-weight: 600;
  color: var(--body-text-color);
}
h5{
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  color: var(--body-text-color);
}
a:link{
  text-decoration: none;
  font-size: 18px;
}
a.btn, button{
    color: var(--body-text-color);
    background-color: var(--bg-light);
    border: none;
    padding: 10px 20px;
    /* border-radius: 5px; */
    transition: color ease-in-out 0.5s, background-color ease-in-out 0.5s;
}
a.download:hover{
    color: var(--white-color);
    background-color: var(--primary-color);
}
ul{
  list-style: none;
  padding: 0px;
}
i{
    font-size: 20px;
}
/* 3- Navbar Section */
.navbar h1 a{
  color: var(--secondary-color);
  font-size: 35px;
  font-weight: bold;
}
.navbar h1 a:hover{
  color: var(--secondary-color);
}
.navbar ul li a{
    font-weight: 400;
    margin: 0px 15px;    
    transition: color ease-in-out 0.5s;
}
.navbar ul li a::after{
    content: '';
    width: 5px;
    height: 5px;    
    background-color: var(--body-text-color);
    display: block;
    border-radius: 50%;
    margin: 7px auto 0px;
    transition: background-color ease-in-out 0.5s;
}
.navbar ul li a:hover{
    color: var(--primary-color);
}
.navbar ul li a:hover::after{
    background-color: var(--primary-color);
}
/* 4- Hero Section */
.hero, .about, .projects, .contact{
  margin: 100px 0px;
}
.hero .hero-content h5{  
  background-color: var(--name-bg-color);  
  color: var(--white-color);
  padding: 5px;
  border-radius: 5px;  
}
.hero .hero-content h2{
  font-size: 50px;
  font-weight: 600;
  color: var(--body-text-color);
  margin: 15px 0px;
}
.hero .hero-content span{
  color: var(--secondary-color);
}
.hero .hero-content p,
.about .about-content .intro p{
  color: var(--body-text-color);
  font-size: 20px;
  font-weight: 400;
  margin: 15px 0px;
}
.hero .hero-content a.hire,
.about .about-content .intro .down-btn a,
.contact .contact-content form button{
  background-color: var(--primary-color);  
  color: var(--white-color);
}
.hero .hero-content a:hover{
  color: var(--white-color);
  background-color: var(--primary-color);
}
.hero .hero-content ul{  
  display: flex;
  gap: 20px;  
  margin-top: 50px;
}
.hero .hero-content ul li a{
    display: flex;
    align-items: center;
    justify-content: center;     
    width: 35px;
    height: 35px;        
    background-color: var(--white-color);
    color: var(--body-text-color);            
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: color ease-in-out 0.5s, background-color ease-in-out 0.5s;
}
.hero .hero-content ul li i{
  font-size: 16px;
}
.hero .hero-img .img{
  width: 250px;
  height: 250px;  
  border-radius: 50%;
  background: linear-gradient(#2cafc9, #a39bee), center;  
}
/* 5- About Section */
.about .about-content .intro .details{
  text-align: center;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.about .about-content .intro p{
  color: var(--text-light-color);  
}
.about .about-content span{
  background-color: var(--primary-color);
  color: var(--white-color);
  display: inline-block;  
  padding: 5px;
  border-radius: 5px;
}
/* 6- Projects Section */
.projects .projects-content .swiper{
  height: 290px;
  position: relative;
}
.projects .projects-content .swiper .swiper-pagination{
  position: absolute;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
  background-color: var(--primary-color);
}
.projects .projects-content .swiper img{  
  transition: all ease-in-out 0.5s;
}
.projects .projects-content .swiper img:hover{
transform: scale(1.05);
}
/* 7- Contact Section */
.contact .contact-title{
  text-align: center;
}
.contact .contact-title p{
  color: var(--text-light-color);
  font-size: 18px;
}
.contact .contact-content .info .card{
  height: 240px;  
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 10px;  
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3); 
  transition: color ease-in-out 0.5s, background-color ease-in-out 0.5s;
}
.contact .contact-content .info .card h4{
  color: var(--white-color);
  transition: color ease-in-out 0.5s;
}
.contact .contact-content .info .card ul{  
  text-align: center;
}
.contact .contact-content .info .card li{
  line-height: 2;
  word-break: break-all;
  font-size: 20px;  
}
.contact .contact-content .info .card li a{
  color: var(--white-color);
  transition: color ease-in-out 0.5s;
}
.contact .contact-content .info .card:hover{
  background-color: var(--white-color);  
}
.contact .contact-content .info .card:hover h4,
.contact .contact-content .info .card:hover li a{
  color: var(--body-text-color);
}
.contact .contact-content form input,
.contact .contact-content form textarea{
  transition: border-color ease-in-out 0.5s;
}
.contact .contact-content form input:hover,
.contact .contact-content form input:focus,
.contact .contact-content form textarea:hover,
  .contact .contact-content form textarea:focus{
  border-color: var(--primary-color);
}
.contact .contact-content form button i{
  font-size: 16px;
}
/* 8- Footer */
footer{
  text-align: center;  
}
footer .list ul{
  display: flex;
  gap: 30px;
  justify-content: center;  
  margin-top: 10px;
}
footer .list ul a{
  color: var(--body-text-color);
  transition: color ease-in-out 0.5s;
}
footer ul a:hover{
  color: var(--primary-color);
}
/* 8- Media query */
@media screen and (max-width: 991px) {
    .navbar ul li a::after{
        display: none;
    }
}
@media screen and (max-width: 768px) {
  .about .about-content .intro .details{    
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
  }
  .projects .projects-content .swiper{
    height: 220px;
  }
}
@media screen and (max-width: 576px) {
  .projects .projects-content .swiper{
    height: 100%;
  }
  .projects .projects-content .swiper .swiper-pagination{
    display: none;
  }
}