
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');

/* // <weight>: Use a value from 100 to 900

.bitter-<uniquifier> {
  font-family: "Bitter", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
     --primary-color:#0b0c10;
     --secondary-color: #1f2833;
     --primary-text:#66fcf1;
     --secondary-text : #c5c6c7;
     --outline:#45a29e;
     --nav-height:12vh;

}
*{
    margin:0;
    padding:0;
    box-sizing : border-box;
    caret-color: transparent;
    /* caret-color: auto; */

}
html{
    font-size : 62.5%;
    overflow-x:hidden ;
    scroll-behavior: smooth;
    font-family: "Bitter", serif;
    scroll-padding-top:var(--nav-height) ;
    color: var(--seconday-text);
}
html * {
    transition:all 1s ease;
}
.header{
    padding: 0 2rem;
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height:var(--nav-height) ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
header .logo{
    height: var(--nav-height);
}
header .logo img {
    height: 100%;
}
.header .nav a {
    color: var(--secondary-text);
    margin: 0 1.5rem;
    font-size:2rem ;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
}
.header .nav a:hover {
    color: var(--primary-text)
}
.header .nav a.active {
    color: var(--primary-text);
}
.header .hamburger{
    display: none;
    height: 3rem;
    width: 3rem;
    line-height: 2.5;
    border-radius: 0.4rem;
    background-color: var(--secondary-text);
    text-align: center;
    font-size: 1.8rem;
    justify-content: center;
    align-items: center;
}

.header .hamburger i {
    color: var(--primary-text);
}
h1{
    font-size: 4rem;
    color: var(--primary-text);
    font-family: "Bitter", serif;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: capitalize;
    letter-spacing: 0.2rem;
}

h3{
    text-transform:capitalize;
    font-family: "Bitter" serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 2.3;
    color: var(--primary-text);
    padding: 1rem;
}
section {
    /* width : 5%; */
    min-height: calc(100vh - var(--nav-height));
}

section:not(.home):not(.about):not(.contact){
    padding: 0.2rem;

}
main{
    position: relative;
    top: var(--nav-height);
    left: 0;
    width: 100%;

}


/* home section starts here  */
.home {
    background-color:var(--primary-color);
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    background: url(images/projectbg2.jpg);
    height: 100vh;
}
.home 
.hero-img{
    /* width: inherit; */
    height: calc(100vh - var(--nav-height));
}
.home .hero-img img{
    width: 100%;
    object-fit: cover; 
    width: 100%;
    height: 100%;
    /* height: 650px; */
    object-fit: cover;
    opacity:0.4 ;
}
.home .description{
    /* background-color: #66fcf1; */
    height: inherit;
    display: grid;
    grid-template-rows: 60% 40%;
    margin: auto;
    height : calc(100vh - var(--nav-height));
}
.home .description .slogan{
/* background-color: #45a29e; */
color: var(--primary-text);
font-size: 6rem;
line-height: 9rem;
font-family: "Bitter", serif;
width: 60%;
margin: auto;
text-align: center;
transform: translateX(12%);
opacity: 0;
}
.home .description .slogan.show{
    opacity: 1;
    transform: translateX(0);
}
.home .description .hero-btn 
 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    transform: translateX(-12%);
    opacity: 1;
    font-weight: 600;
    margin-bottom: 12rem;
    margin-left: 8%;
    /* background-color: blue; */
}
.home .description .hero-btn.show
.contactForm .inputbox input[type="submit"]{
    opacity: 1;
    transform: translateX(0);
}
.home .description .hero-btn a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
    height: 5rem;
    border: solid 2px var(--primary-text);
    border-radius: 4rem;
    font-size: 2.2rem;
    text-decoration: none;
    color: var(--outline);
    text-transform: capitalize;
    background-color: transparent;

}
.home .description .hero-btn a:hover,
.contactForm .inputbox input[type="submit"]:hover{
    background-color: var(--primary-text);
    color: var(--secondary-color);
    box-shadow: 5px -5px 15px var(--primary-text);
}

/* About section begins */
 /* General Styles for Responsiveness */
.about {
    background: var(--primary-color) url(images/projectbg2.jpg) center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

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

.about .contents {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    max-width: 1200px;
    font-size: 1.6rem;
    color: var(--secondary-text);
    line-height: 2rem;
    transform: translateX(12%);
    opacity: 0;
    padding: 1rem;
}

.about .container .title h1 {
    text-align: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contents .artical p {
    text-transform: capitalize;
    font-family: "Open Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2rem;
    color: var(--secondary-text);
    padding: 1rem;
}

.about .contents.show, .about h1.show {
    transform: translateX(0);
    opacity: 1;
}

.about .contents .article {
    margin-top: 1rem;
    display: inline-block;
    width: 100%;
    padding: 1rem;
}

.about .contents .image-section {
    display: inline-block;
    width: 100%;
    height: auto;
    text-align: center;
    align-items: center;
}

.about .contents .image-section img {
    max-width: 100%;
    height: auto;
}

/* Media Queries for Responsiveness */

/* Tablets */
@media (min-width: 768px) {
    .about .contents {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .about .contents .article, .about .contents .image-section {
        width: 48%;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    .about .contents {
        flex-direction: row;
    }

    .about .contents .article, .about .contents .image-section {
        width: 45%;
    }
}

/* Small Screens and Mobile Devices */
@media (max-width: 767px) {
    .about .contents {
        flex-direction: column;
    }

    .about .contents .article, .about .contents .image-section {
        width: 100%;
    }
}

 
/* services section start */

.services {
    background: url(images/projectbg2.jpg);
    background-color: var(--primary-color);
}       

section:not(.home):not(.about) :not(.contact) {
    padding: 0.2rem;
    padding-top: 2rem;
}
.services .container {
    margin: auto;
    margin-top: 10rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    
}

.services .container .card {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    color: var(--secondary-text);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transform: translateY(-60px);
}

.services const .card:nth-child(2n){
    transform: translateY(-60px);
}




.services const .card.show{
    transform:translateY(0);
}
/* Image container */
.services .container .card .img-div {
    position: relative;
    width: 100%; /* Full width */
    height: 200px; /* Fixed height for all images */
    overflow: hidden;
    border-radius: 8px;
}

/* Image size control */
.services .container .card .img-div img {
    width: 100%;
    height: 100%;
    /* max-height:500% ; */
    object-fit: cover; /* Ensures image scales properly */
    object-position: center;
}

/* Title and description on image */
.services .container .card .img-div h3,
.services .container .card .img-div p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: white;
    padding: 0.5rem;
    text-align: center;
    margin: 0;
}

/* Details Section */
.services .container .card .details {
    padding: 1rem;
    background-color: var(--primary-color);
    text-align: center;
    height: 1.rem;
}

.services .container .card .details h3 {

    color: #66fcf1;
}

/* Read More Hover Effect */
.services .container .card .details .read-more {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, var(--primary-color), var(--outline));
    opacity: 0.9;
    /* display: none; */
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.services .container .card:hover .details .read-more {
    transform: translateY(0);
}




/* project section */
.banner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px; /* Container width */
    height: 500px; /* Container height */
    transform-style: preserve-3d;
    animation: rotate 20s linear infinite; /* Continuous rotation */
    perspective: 1200px; /* Added perspective for better 3D effect */
}

.banner  .orbit-container .card {
    position: absolute;
    width: 250px; /* Same card size for all */
    height: 250px; /* Same card size for all */
    transform-style: preserve-3d;
    background: hsl(0, 2%, 90%);
    color:var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1s; /* Smooth transition */
    transform: rotateY(calc((var(--position) - 1) * (360deg / var(--quantity)))) translateZ(300px); /* Even spacing around circle */
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color:#0b0c10;
}

.projects h1{
    margin-top: 1px
}
.card .icon {
    font-size: 6em;
    margin-bottom: 10px;
}

.card .summary {
    margin-bottom: 50px;
    font-size: 1.3em;
    opacity: 0.7;
}


/* Rotating animation */
@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.projects {
    position: relative;
    padding-top: 50px; /* Adds space between the heading and the orbit */
    padding-bottom: 50px; /* Adds space below the orbit, adjust as needed */
    background-image: url('images/projectbg2.jpg'); /* Replace with your image path */
    background-size: cover; /* Makes sure the image covers the whole section */
    background-position: center; /* Centers the image */
    color: #fff; /* Optional: adjust text color to stand out against the background */
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px; /* Adds space between the text and the orbit */
}

.orbit-container {
    margin-top: 300px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px; /* Container width */
    height: 500px; /* Container height */
    transform-style: preserve-3d;
    animation: rotate 20s linear infinite; /* Continuous rotation */
    perspective: 1200px; /* Added perspective for better 3D effect */
}




/* conatact section */


@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
}

.contact{
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background:url(images/projectbg2.jpg) ;
    background-size: cover;
}

.contact .content{
    gap: 20px;
    max-width: 800px;
    text-align: center;
    margin-bottom: 30px;
}

.contact .content h2{
    gap: 20px;

    font-size: 36px;
    font-weight: 500;
    color: #fff;
}

.contact .content p{
    gap: 20px;

    font-size: 18px;
    font-weight: 300;
    color: #fff;
}

.container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.container .contactInfo{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box{

    position: relative;
    padding: 20px 0;
    display: flex;
}

.container .contactInfo .box .icon{

    min-width: 60px;
    height: 60px;
    background:#fff;
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size:22px;
    padding-bottom:40px ;
}

.container .contactInfo .box .text{
    display: flex;
    /* margin-top: none; */
    margin-left: 20px;
    font-size: 16px;
    color:#fff;
    flex-direction: column;
    font-weight:300;
}

.container .contactInfo .box .text h3{
   margin-top: -40px;
    font-weight: 500;
    color: #00bcd4;
}

.contactForm{
    width: 45%;
    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:focus~span{
    color:#e91e63;
    font-size:8px;
    transform: translateY ( -20px);
    /* text:none; */
    padding-left: 5%;
}

@media(max-width:991px){
    .contact{
        padding: 30px;
        flex-direction: column;
    }

    .container{
        flex-direction: column;
    }

    .container .contactInfo{
        margin-bottom: 20px;
        width: 100%;
    }

    .contactForm{
        width: 100%;
        padding: 20px;
    }

    .contact .content h2, .contact .content p{
        font-size: 24px;
    }
}



/* footer section start   */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Style */
  body {
    font-family: Arial, sans-serif;
  }
  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  

  
  /* Footer Style */
  .footer {
    margin-top: 15px;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px 0;
  }
  
  .footer p {
    margin: 0;
    font-size: 14px;
  }
  
  /* Social Icons Style */
  .social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-icon {
    color: #fff; /* White color for icons */
    font-size: 20px;
    text-decoration: none;
  }
  
  .social-icon:hover {
    color: #ddd; /* Change color on hover */
  }
  
  /* Mobile Responsive Design */
  @media (max-width: 600px) {
    .footer {
      padding: 15px 10px;
    }
  
    .social-icons {
      flex-direction: column; /* Stack icons vertically on small screens */
      gap: 10px;
    }
  
    .social-icon {
      font-size: 24px; /* Increase icon size on mobile */
    }
  }
  
  
  /* Mobile Responsive Design */
  @media (max-width: 600px) {
    .footer {
      padding: 15px 10px;
    }
  
    .footer-links {
      flex-direction: column; /* Stack links vertically on small screens */
      gap: 10px;
    }
  }
  .chat-button {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .chat-button:hover {
    background-color: #128C7E;
  }
  



 /* laptops and small devices */
@media(max-width:1200px){
    html{
        font-size: 55%;
    }
    .header{
        padding: 0 4rem;
    }
    .home .description .slogan{
        font-size: 5rem;
    }
    .home .description .hero-btn{
        width: 95%;
    }
    .home .description .hero-btn a{
        width: 17rem;
        height: 4.5rem;
    }
}

/* tablets and ipds */
@media(max-width: 768px) {
    html {
        font-size: 50%;
    }
    .header .hamburger {
        display: flex;
    }
    .header .nav{
        position: absolute;
        top: 100%;
        /* left :60%; */
        right: 0;
        width: 28rem;
        background-color: var(--primary-text);
        border-radius: 5px;
        padding: 1rem;
        display: none;
    }
    .header .nav.active {
        display: block;
    }
    .header .nav a {
        display: block;
        margin: 1rem;
        color: var(--seconday-text);
    }
    .header .nav a.active{
        color: var(--outline);
    }
    .home{
        display: block;
    }
    .home .hero-img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0.2;
    }
    .home .description .slogan{
        width: 50%;
    }
    .home .description .hero-btn
    {
        flex-direction: column;
        justify-content: center;
    }
    .home .description .hero-btn a{
        margin-bottom: 2.5rem;
        width:60%;
        height:5rems;
    }
}

/* mobile devices */
@media(max-width:480px){
    html{
        font-size: 46%;
    }
}

