*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
html{
    width:100%;
}
body{
    background: #f2f2f2;
    height: 100vh;
    width: 100%;
} 
    
 header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
     background: rgba(0, 0, 0, 0.4); 
    backdrop-filter:blur(50px);
    z-index: 100;
} 
.flex{
    display: flex;
    align-items: center;
}
.container{
    
    max-width:1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
   
    
}
 .navbar{
    justify-content: space-between;
} 
.nav-links
{
  gap:20px;
  list-style-type: none;
}

.navbar a{
    padding: 20px 0;
    display: inline-block;
     color:#fa8072;   
    text-decoration: none;
    text-transform: capitalize;
    
}

.navbar a:hover{
    color: aqua;
}


/* Homepage */
.homepage{
  position: relative;
  height:100vh;
  width:100%;
  background: url("Images/Background\ image.jpeg");
  background-position: center;
  background-size: cover;
}

.homepage::before{
    content:" ";
    position: absolute;
    height: 100%;
    width: 100%;
    top:0;
    left:0;
    background: rgba(0, 0, 0, 0.4);
}
.homepage .content{
    position: relative;
    height: 85%;
    flex-direction: column;
    justify-content: center;
}
.homepage .text{
    color:#fff;
    text-align: center;
    margin-bottom: 50px;
}
.homepage .text h1{
    font-size: 60px;
    font-weight: 400;
    color:#f79256 ;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom:10px;
}
.homepage .text p{
    text-transform:uppercase;
    font-size: 15px;
    line-height:2.0;
    color:#fbd1a2 ;
    /* color: #F3D849;
 */
}
.homepage a{
    color:#333;
    text-decoration: none;
    background:#7dcfb6;
    padding: 10px 30px;
    border-radius: 5px;
    border: 2px solid#fff;
    box-shadow: rgba(0, 0, 0, 0.3);
    font-size: 18px ;
    transition: 0.3s;
    
}
.homepage a:hover{
    color: #fff;
    background: rgba(255,255,255,0.3);
}


/* Gallery */
.gallery{
    background: url("Images/ourgallery.jpg");
    background-size: cover;
}
section{
    padding-top:80px ;
    width: 100%;
    min-height: 100vh; 
}
.section-title{
    text-align: center;
}
section h2{
    font-size: 2rem;
}
section .cards{
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
}
section .card{
    width: calc(100%/3 - 30px);
    text-align: center;
    list-style: none;
    background-color: #fff;
    padding: 40px 15px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}
section .card p{
    margin-top: 5px;
  }

.gallery .card{
    padding: 0 0 20px;
}

.gallery .card img{
    height: 240px;
    width:100%;
    border-radius:8px 8px 0 0;
    margin-bottom: 20px;

}
/* About */
.about{
    background:url("Images/Aboutbg.jpg");
    background-size: cover;

}
.about .section-title h2{
    color:#800080;
    /* color:#f6f4e8; */
    
}
.section-title P{
    padding-top: 30px;
    line-height: 1.5;
    font-size:20px ;
} 
 .containers{
    min-height: 100vh;
    width: 100%;
} 

.service-wrapper{
    padding:5% 8%;
}  
.Service{
    display: flex;
    flex-direction: column;
    align-items: center;
}
 .service h2{
    color:#fff;
    font-size: 2 rem;
    position: relative;
}
 .service-wrapper .Service h2 :after{
  content: " ";
  position: absolute;
  top: 100%;
  left: 10%;
  height: 8px;
  width: 80%;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.05);

}
.service-cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-top: 80px;
}
.service-card{
    height: 330px;
    width: 350px;
    background-color: #1c2335;
    padding: 3% 8%;
    border: 0.2 px solid rgba(114,226,174,0.2);
    border-radius: 8px;
    transition: .6s;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card:after{
content: " ";
position: absolute;
top:150%;
left:-200px;
width: 120%;
transform: rotate(50deg);
background-color: #fff;
height: 18px;
filter: blur(30px);
opacity: 0.5;
transition: 1s;

}
.service-card :hover:after{
    width:225%;
    top:-100%;
}
.service-card i{
    color: #72e2ae;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 4.8rem;
}
.service-card h3{
    color:#fff;
    font-size: 20px;
    font-weight: 600;

}
.service-card p{
    font-size: 15px;
    text-align: center;
    width:100%;
    margin:40px 0px;
    color:rgba(255,255,255,0.9);
    line-height: 1.5;
    padding-bottom: 50px;

}
.service-card:hover{
    background-color:#ffa101;
    transform: translateY(-8px);
}
.team-section{
    margin-top: 65px;
}
.team-title h3{
    font-size: 40px;
    color: #800080;
    text-align: center;
    position: relative;
}

.team-cards{
    
    Width:100%;
    display: flex;
    justify-content: space-between;
    margin:20px auto;
    margin-bottom: 0px;
   
}
.team-card{
    
    height: 300px;
    background-color:#060721;
    border-radius:20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    margin: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.6s ease;
    width:calc(33.33% - 20px);
}
.team-card:hover{
    transform: translateY(-12px);
}
.team-card .team-image img{
    height:130px;
    width:130px;
    border-radius: 50%; 
    object-fit: cover;
    margin-bottom: 10px;
}

.team-detail h3{
    color:#fff;
    font-size: 25px;
    margin: 15px 0px;
}
.team-detail p{
    color:#FFBB98;
}

/* Contact */

.contact{
    margin-top:0px ;
    background:url("Images/contact.webp");
    background-size: cover;
}
.container{
   height: 100%;
}
.contact .section-title h2{
    color: #f2f2f2;
}
.contact .section-title p{
    color:#f2f2f2;
}
.contactBox{
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
   
}
.contactInfo{
    width:50%;
    display: flex;
    flex-direction: column;
}

.contactInfo .box{
    position: relative;
    padding: 20px 0;
    display: flex;
}
.contactInfo .box .icon{
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}
.contactInfo .box .text{
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color:#fff;
  flex-direction: column;
  font-weight: 300;
}
.contactInfo .box .text h3{
    font-weight: 500;
    color: #00bcd4;
}
.contactInfo .social-icon{
    margin-top: 10px;
}
.contactInfo .social-icon ul{
   position: absolute;
   display: flex;

}
.contactInfo .social-icon ul li{
    list-style: none;
    margin: 0 15px;
}
.contactInfo .social-icon ul li .fa-brands{
    font-size: 35px;
    line-height: 60px;
    transition: .3s;
    color: #000;
}
.contactInfo .social-icon ul li .fa-brands:hover{
    color: #fff;
}
.contactInfo .social-icon ul li a{
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgb(245,243,243);
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0.2);
    transition: .6s;
}
.contactInfo .social-icon ul li a:hover{
    transform: translate(0,-10%);
}
.contactInfo .social-icon ul li:nth-child(1) a:hover{
   background-color: #0165E1;
}
.contactInfo .social-icon ul li:nth-child(2) a:hover{
    background-color: #C13584;
 }
 .contactInfo .social-icon ul li:nth-child(3) a:hover{
    background-color: #FF0000;
 }
.contactForm{
    border: 2px solid black;
    width: 40%;
    padding: 40px;
    background:#fff;
}

.contactForm h2{
    
    font-size: 30px;
    color:#333;
    font-weight:500;
}
.contactForm  .inputBox{
    position: relative;
    width:100%;
    margin-top: 10px;
}
.contactForm  .inputBox input, .contactForm  .inputBox textarea{
    width:100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}
.contactForm  .inputBox span{
    position: absolute;
    left:0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}

.contactForm  .inputBox input:focus ~ span,
.contactForm  .inputBox input:valid ~ span ,
.contactForm  .inputBox textarea:focus ~ span,
.contactForm  .inputBox textarea:valid ~ span 

{
    color: #e91e63;
    font-size: 12px;
    transform: translateY(-20px);
}
.contactForm  .inputBox button{
    width: 100px;
    align-items: center;
    background:linear-gradient(270deg,#00bcd4,#ff994f);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 10%;
    font-size: 16px;
}
.contact .chat{
    width:60px;
    height:60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
}
.contact .chat img{
  width: 60px;
  height: 60px;
} 

#menu-toggler,#hamburger-btn{
    display: none;
}

/* Responsive */
@media  (width <860px) {
    
    .navbar .nav-links {
        position: fixed;
        left: 0;
        top:65px;
        height: 100vh;
        display: block;
        background:rgba(0, 0, 0, 0.4);
        backdrop-filter:blur(50px);
        width: 300px;
        padding-left: 20px;
        padding-top: 30px;
        left:-100%;
        transition: all 0.4s ease;

    }
    #menu-toggler:checked ~ .nav-links{
        left:0;
    }
    .nav-links{
        font-size: 18px;
    }
    #hamburger-btn{
        display: block;
        color:#fff;
        font-size: 22px;
        cursor: pointer;
    }
    section .cards .card{
        width:calc(100% / 2 - 15px);
    }
    .gallery .card h3{
        font-size: 24px;
    }

    .gallery .card p{
        font-size: 20px;
    }
    
}
@media (width > 560px){
    .nav-links{
        font-size: 26px;
    } 
    .homepage .text h1{
        font-size: 60px;
    }
    .homepage .text p{
        font-size: 24px;
    }
    .homepage a{
        font-size: 24px;
    }
    .gallery .section-title h2{
        font-size: 40px;
    }
    .gallery .section-title p{
        font-size: 30px;
        font-family: Didot;
    }
    .section-title h2{
        font-size: 40px;
    }
    .section-title p{
        padding-top: 30px;
        line-height: 1.5;
        font-size:26px ;
        justify-content: center;
    }
}



@media (width < 560px){
    section .cards .card{
        width:100%;
    }
}
@media (width < 560px){
    .service-cards{
    grid-template-columns:repeat(1,1fr);
    }
}
@media (width > 560px){
    .service-cards{
    grid-template-columns:repeat(2,1fr);
    }
}

@media  (width > 860px) {
    .service-cards{
        grid-template-columns: repeat(3,1fr);
    }
}
@media (width < 560px){
    .team-cards{
        display: flex;
        flex-direction: column;
    }
    .team-card{
        width: 85%;
        margin: 25px 35px;
    }
}
@media (width > 560px){
    .team-cards{
        display: flex;
        flex-direction: row;
    }
    .team-card{
        width: 90%;
        margin: 25px 10px;
    }
}
@media(width < 860px){
    .contact{
        padding: 70px;
    
    }
    .contactBox{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }
    
    .container .contactInfo{
        margin-bottom: 40px;
    }
    .contactInfo,.contactForm{
       width: 150%;
    }
    .contactForm{
        margin-top: 50px;
    }
    
    
    
}
@media(width  > 560px){
    .contact{
        padding: 70px;
    
    }
    .contactBox{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }
    
    .container .contactInfo{
        margin-bottom: 40px;
    }
    .contactInfo,.contactForm{
       width: 100%;
    }
    .contactForm{
        margin-top: 50px;
    }
    
    
    
}
