@import url('https://fonts.googleapis.com/css2?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;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}


:root{
    --bg-color: #0a192f;
    --second-bg-color: #112240;
    --tex-color: #ccd6f6;
    --main-color: #64ffda;
    --text-secondary: #8892b0;
    --navy-light: #233554;
}

html {
    font-size: 62.5%;
    overflow: auto;
}


body {
    background: var(--bg-color);
    color: var(--tex-color);
}

/* tsParticles Container */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;

}


.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: .1rem solid var(--navy-light);
    backdrop-filter: blur(10px);
    background: rgba(10, 25, 47, 0.95);
}



.logo {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--tex-color);
    cursor: default;
    text-decoration: none;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--tex-color);
    margin-left: 4rem;
    transition: .3s;
    text-decoration: none;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);

}

#menu-icon {
    font-size: 3.6rem;
    color: var(--tex-color);
    display: none;
}


.home{
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 35vw;
    height: 35vw;
    animation: floatImage 4s ease infinite;
 
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}


.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 1rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-color);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-content h1::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--main-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--main-color);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}


.home-content p {
    font-size: 1.6rem;
    
}

.social-media a {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   width: 4em;
   height: 4em;
   background: transparent;
   border: .2rem solid var(--main-color);
   border-radius: 50%;
   font-size: 1.5rem;
   color: var(--main-color);
   margin: 3rem 1.5rem 3rem 0;
   transition: .5s ease;
}


.social-media a:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    transform: translateY(-3px);
}

.social-media a i {
    font-size: 2rem;
}


.btn{
    display: inline-block;
    padding: .5rem 2.8rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 4rem;
    font-size: 2rem;
    color: var(--main-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    position: relative;
    overflow: hidden;
}

.btn a{
    margin-left: .2rem;
    font-weight: 900;
    font-size: 2rem;
    text-align: center;
    align-items: center;
}



.btn:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    transform: translateY(-2px);
}


.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--bg-color);
    padding: 10rem 9% 2rem;
}

.about-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    width: 35vw;
    height: 35vw;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-img img:hover {
    transform: scale(1.05);
}

.heading {
    font-size: 4.5rem;
    text-align: center;
}


.about-content h2{
text-align: left;
line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
   
}

.about-content p {
    font-size: 1.6rem;
   margin: 2rem 0 3rem;
}

.services h2{
    margin-bottom: 5rem;

}

.services-container {
    display: flex;
    justify-items: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
} 

.services-container .service-box {
   flex: 1 1 30rem;
   background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--navy-light);
    transition: .5s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.services-container .service-box:hover {
   border-color: var(--main-color);
   transform: translateY(-10px);
   box-shadow: 0 20px 40px -15px rgba(100, 255, 218, 0.3);
}


.service-box i {
    font-size: 7rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.service-box h3 {
    font-size: 2.6rem;
}

.service-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.projects {
    background: var(--bg-color);
    padding: 10rem 9% 2rem;
}

.projects h2 {
    margin-bottom: 4rem;
    text-align: center;
}

.projects h2 span {
    color: var(--main-color);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--second-bg-color);
    border-radius: 1rem;
    border: 2px dashed var(--main-color);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.no-projects p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin: 0;
}

.project-container .project-box {
 position: relative;
 border-radius: 2rem;
 box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
 overflow: hidden;
 display: flex;
 background: var(--second-bg-color);
 border: 1px solid var(--navy-light);
 transition: all 0.3s ease;
}

.project-container .project-box:hover {
 transform: translateY(-5px);
 box-shadow: 0 20px 40px -15px rgba(100, 255, 218, 0.3);
 border-color: var(--main-color);
}

.project-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-box:hover img{
    transform: scale(1.05);
}



.project-box .project-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(100, 255, 218, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: .5s ease;
}

.project-box:hover .project-layer {
    transform: translateY(0);
    opacity: 1;
}

.project-layer h4 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-layer p {
    font-size: 1.4rem;
    margin: 0 0 1.5rem;
    line-height: 1.4;
    opacity: 0.9;
}

.project-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--tex-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-layer a:hover {
    background: var(--main-color);
    transform: scale(1.1);
}

.project-layer a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}

.contact h2 {
    margin-bottom: 3rem; 
}





.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;

}


.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 200px;
    background: var(--second-bg-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    overflow: hidden;
    border: 1px solid var(--navy-light);
}
.contact-info h2{
    color: var(--tex-color);
    margin-bottom: 10px;
    font-size: 50px;
}
.contact-info p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-block: 5px;
    font-size: 20px;
    color: var(--tex-color);
}
.contact-info p i{
    font-size: 18px;
    color: var(--tex-color);
}







.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}



.contact form .input-box input,
.contact form  textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--bg-color);
    background: var(--tex-color);
    border-radius: .8rem;
    margin: .7rem 0;
    border: 1px solid var(--navy-light);
    transition: .3s ease;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.contact form .input-box input {
    width: 100%;

}


.contact form  textarea {
    resize: none;
}

#whatsapp {
    background: var(--main-color);
    color: var(--bg-color);
    border: 1px solid var(--main-color);
    padding: 1.5rem;
    font-size: 1.5rem;
    border-radius: .8rem;
    font-weight: 600;
    transition: .3s ease;
}

#whatsapp:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 0 2px var(--main-color);
}



.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
    border-top: 1px solid var(--navy-light);
}

.footer-text p {
    font-size: 1.6rem;
    
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: transparent;
    border: 1px solid var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
   background: var(--main-color);
   box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
   transform: translateY(-2px);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--main-color);
}








/* responsive size  break points */

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

.services {
    padding: 7em;
}

.projects {
    padding-bottom: 7em;
}

.contact {
    min-height: auto;
}



    .footer {
        padding: 2rem 3%;
    }
}


@media (max-width: 768px) {
    #menu-icon {
        display: block;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        transition: all 0.3s ease;
        padding: 0.5rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
    }

    #menu-icon:hover {
        color: var(--main-color);
        transform: scale(1.1);
    }

    #menu-icon:active {
        transform: scale(0.95);
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        padding: 8rem 3% 2rem;
        background: var(--bg-color);
        border-right: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        display: block;
        font-size: 2.2rem;
        margin: 2rem 0;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        max-width: 300px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .navbar a:hover,
    .navbar a.active {
        background: rgba(100, 255, 218, 0.1);
        color: var(--main-color);
        transform: translateX(5px);
    }

    .navbar a:active {
        background: rgba(100, 255, 218, 0.2);
        transform: scale(0.98);
    }

.home {
    flex-direction: column;
}

.home-content h3 {
    font-size: 2.6rem;
}

.home-content h1 {
    font-size: 3.5rem;
}

.home-img img {
    width: 70vw;
    height: 70vw;
   margin-top: 4rem;

}

.about {
    flex-direction: column-reverse;
    padding: 8rem 5% 2rem;
    gap: 2rem;
    min-height: auto;
}

.about-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-img img {
    width: 45vw;
    height: 45vw;
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-content {
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.about-content p {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 1.5rem 0 2rem;
    color: var(--text-secondary);
}

.services h2 {
    margin-bottom: 3rem;
}

.projects h2 {
    margin-bottom: 3rem;
}

.project-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


}



/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Close Button - Removed since we use the hamburger icon itself */

@media (max-width: 617px) {
    .project-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-box img {
        height: 200px;
    }
    
    .project-layer h4 {
        font-size: 2rem;
    }
    
    .project-layer p {
        font-size: 1.2rem;
    }

    .about {
        padding: 7rem 4% 2rem;
    }

    .about-img img {
        width: 40vw;
        height: 40vw;
        max-width: 220px;
        max-height: 220px;
    }

    .about-content h2 {
        font-size: 4rem;
    }

    .about-content h3 {
        font-size: 2.4rem;
    }

    .about-content p {
        font-size: 1.5rem;
    }

    /* Enhanced mobile menu for smaller screens */
    .navbar {
        padding: 6rem 2rem 2rem;
    }

    .navbar a {
        font-size: 2rem;
        margin: 1.5rem 0;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 450px) {
    html {
     font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }

    /* Mobile menu for very small screens */
    .navbar {
        padding: 5rem 1rem 2rem;
    }

    .navbar a {
        font-size: 1.8rem;
        margin: 1rem 0;
        padding: 1.2rem 0.5rem;
    }

    #menu-icon {
        font-size: 3rem;
    }

    /* Mobile menu close button removed */
}



@media (max-width: 365px) {
    .home-img img{
   width: 90vw;
    height: 90vw;
    }

    .about {
        padding: 6rem 3% 2rem;
    }

    .about-img img {
        width: 50vw;
        height: 50vw;
        max-width: 200px;
        max-height: 200px;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-content h2 {
        font-size: 3.5rem;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1.3rem;
    }

.footer{
    flex-direction: column-reverse;
}

.footer p {
    text-align: center;
    margin-top: 2rem;
}




}
