@import url('https://fonts.googleapis.com/css2?family=Lato&family=Roboto+Condensed&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 6px;
    
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 12px;
    
}
:root {
    --bg-color: #000;
    --second-bg-color: #080808;
    --text-color: #fff;
    --main-color:#f40202;
    
}

html {
    cursor: url('/img/cursor.png'),auto;
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 2rem  13rem;
    width: 100%;
    background-color: var(--bg-color);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header.sticky{
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}
.navbar{
    transition: 0.2s all ease-in-out;
    position: relative;
    z-index: 999;
}
.custom-swal-popup {
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--main-color); /* Change this color to whatever you like */
}


.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;

}
.shadow-nav{
    transition: 0.5s ease-in-out;
    box-shadow: 4px 2px 20px var(--main-color);
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 3rem;
    cursor: url('/img/cursor.png'),auto;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}


/* home section design */
.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 34vw;
    /* height: 80vh; */
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    
}
.about h3{
color: var(--main-color);
}
.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-color);
}

.home-content p {
    font-size: 1.9rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    box-shadow: 3px 3px 40px var(--main-color);
    transition: .5s ease-in-out;
}
.social-media a i{
    color: var(--text-color);
}
.social-media a:hover {
    background-color: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    margin-top: 10px;
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--main-color);
    border: 1px solid transparent;
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 600;
    transition: .4s ease-in-out;
    cursor: url('/img/cursor.png'),auto;
}
.btn:active{
    transform: scale(0.9);
}
.btn:hover {
    border: 1px solid var(--main-color);
    background-color: transparent;
    box-shadow: 3px 3px 40px var(--main-color);

}

/* about section design */
.about {
  
    gap: 3rem;
    background-color: var(--second-bg-color);

}
.about-content{
    display: flex;
    justify-content: center;
}
.about-img{
    margin-top: 70px;
}
.about img {
    width: 34vw;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;

}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 2rem;
    margin-top: 1rem;
}
.about-content .contact-email, .contact-number{
    font-size: 2rem;
    margin: 2rem 0;
}
.about-content .phone{
    margin-top: -1rem;

}
.about-content .contact-span{
    font-weight: 600;
    color: var(--main-color);
}
.skills{
    margin-top: 20px;
    align-items: center;
    width: 40vw;
    

}
.skills div{
    display: flex;
    align-items: center;
    padding:15px;
}
.skills div img{
    height: 40px;
    width: 40px;
}
.skills div /* Container for skill bars */
.container {
  width: 100%; /* Full width */
  background-color: #141414; /* Grey background */
  margin-left: 20px;
  border-radius: 15px;
  height: 15px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.skill {
    height: 30px;
    text-align: right; /* Right-align text */
    padding-top: 3px; /* Add top padding */
    padding-bottom: 3px; /* Add bottom padding */
    color: white; /* White text color */
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center
}
  
  .react {width: 90%; background-color: var(--main-color);} /* Green */
  .wix {width: 80%; background-color: var(--main-color);} /* Green */
  .wordpress {width: 70%; background-color: var(--main-color);} /* Green */
/* servives design */
.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background-color: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    text-align: center;
    border-radius: 2rem;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
    border: 2px solid rgba(255, 255, 255, 0.062);
}

.services-box img {
    height: 7rem;
    width: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;

}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0rem 3rem;

}

.services-container .services-box:hover {
    border-color: var(--main-color);
    box-shadow: 5px 5px 50px var(--main-color);
}

/* portfolio design */
.portfolio {
    background: var(--second-bg-color);
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio-container {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0 2rem;
    margin: 20px 0;
}

.portfolio-box {
    width: 33.3%;
    height:200px;
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
    object-fit: cover;
}

.portfolio-box img {
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
}

.portfolio-layer h4 {
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}
.error{
    color: #9d3025;
    font-size: 16px;
    display: none;

}

.card-container{
    margin-top: 5rem;
    min-height: calc(100vh - 80px);
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    height: auto;
}


/* Card styles */
.card {
    padding: 3rem 2rem 4rem;
    height:350px;
    background-color: var(--second-bg-color);
    border: 2px solid rgba(255, 255, 255, 0.062);
    transition: 0.5s ease;
    border-radius: 2rem;
}
.card:hover{
    border-color: var(--main-color);
    box-shadow: 5px 5px 50px var(--main-color);

}
/* Card header */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header img {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.062);
    object-fit: cover;
    border-radius: 50%;
}

.client-name {
    font-size: 2.6rem;
}

/* Review text */
.review {
    font-size: 1.5rem;
    margin: 1rem 0rem 3rem;
}
.stars{
    margin-top: 10px;
    color: #FFD700;}
.link a {
    font-size: 1.6rem;
    color: var(--main-color);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .review-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .card {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .client-name {
        font-size: 2.4rem;
    }

    .review {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .review-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 2rem 1rem 3rem;
    }

    .client-name {
        font-size: 2rem;
    }

    .review {
        font-size: 1.7rem;
    }

    .link a {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.5rem 1rem 2.5rem;
    }

    .client-name {
        font-size: 1.8rem;
    }

    .review {
        font-size: 1.3rem;
    }

    .link a {
        font-size: 1.3rem;
    }
}

/* community */
.community {
    position: relative;
    overflow-x: hidden;
    background-color: var(--second-bg-color);

}
.community .community-head{
    margin-top: 20px;
}
.community .community-head h3{
    font-size: 2.6rem;
    color: var(--main-color);
}
.community .join{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.community .left{
    width: 60%;
}
.community p{
    font-size: 2rem;
    margin: 10px 0;
}
.community .left h2{
    font-size: 2rem;
    font-weight: 500;
}
.community .right{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 50px;
    
}
.community .right img{
    height: 350px;
    width: 350px;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
    box-shadow: 5px 5px 40px var(--main-color);
    animation: upDown 2s infinite ease-in-out;
}
.community .right img:hover{
    box-shadow: 10px 10px 40px var(--main-color);
}
@keyframes upDown {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
/* contact */
.contact{
    position: relative;

}
.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;

}


.contact form .input-box input,
.contact form textarea {
    width: 100%;
    border-radius: 1rem;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background-color: var(--second-bg-color);
    margin: .7rem 0;
    
}

.contact form .input-box input,textarea {
    border:1px solid rgba(255, 255, 255, 0.356);
    width:100%;
}
.contact form .error-text {
    text-align: left;
    font-size: 1.6rem;
    margin-left: 1rem;
    color: #9d3025;
    margin-top: -5px;
    display: none;
}
.contact form .input-box input:focus, textarea:focus {
    
    border: 2px solid var(--main-color);

}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    text-align: center;
}
.footer{
    display: flex;
    height: 70px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background-color: var(--bg-color);
}
.footer-text p{
    font-size: 1.6rem;
}
.footericonTop{
    display: inline-flex;;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    font-weight: 700;
}
.footericonTop a i{
    font-size: 2.4rem;
    color: var(--text-color);
}

.swiper{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Break points*/

@media (max-width:1200px){
    html{
        font-size: 55%;
    }
}
@media (max-width:991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .footer{
        padding: 2rem 3%;
    }
}

@media (max-width:768px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        transform: translateX(200%);
        width: 100%;
        z-index: -1;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        /* display: none; */
        
    }
    .navbar.active{
        transform: translateX(0);
        /* display: block; */
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.6rem;
    }

    .home-content h2{
        font-size: 5rem;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
}
.about-content{
    margin-top: 20px;
    flex-direction: column;
    
}
.about-img{
    margin-top: 0px;
}
.about img{
    width: 70vw;
    margin-top: 6rem;
}
.skills{
    width: 90vw;
    margin: 20px auto;
}
.skills div{
    display: flex;
    align-items: center;
    height: 70px;
}
.skills div img{
    margin-bottom: 60px;
}
.services-container .services-box
{
    flex-direction: column;
}
.services h2{
    margin-bottom: 3rem;
}
.portfolio-container{
    flex-direction: column;
    gap: 2rem 0;
}
.portfolio-box{
    width: 100%;
    height: auto;
}

.community .join{
    flex-direction: column;
}
.community .left{
    width: 100%;
    margin: 0 auto;
}
.community .right{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
}
.community .right img{
    width: 200px;
    height: 200px;
    
}
}







/* HTML: > */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);    
    --r1: 154%;
    --r2: 68.5%;
    width: 60px;
    aspect-ratio: 1;
    border-radius: 50%; 
    background:
      radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#0ef 80%),
      radial-gradient(var(--r1) var(--r2) at bottom,#0ef 79.5%,#0000 80%),
      radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#0ef 80%),
      #ccc;
    background-size: 50.5% 220%;
    background-position: -100% 0%,0% 0%,100% 0%;
    background-repeat:no-repeat;
    animation: l9 2s infinite linear;
    display: none;

  }
  @keyframes l9 {
      33%  {background-position:    0% 33% ,100% 33% ,200% 33% }
      66%  {background-position: -100%  66%,0%   66% ,100% 66% }
      100% {background-position:    0% 100%,100% 100%,200% 100%}
  }
