
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap'); 

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* Starts above the original position */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Ends at the original position */
    }
}

        /* Pulse animation */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1); /* Increase size by 10% */
            }
            100% {
                transform: scale(1);
            }
        }


    /* Define the sliding animation */
    @keyframes slideLeft {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes fadeInLeft {
        from {
            transform: translateX(-50px); /* Start slightly to the left */
            opacity: 0; /* Fully transparent */
        }
        to {
            transform: translateX(0); /* End in its original position */
            opacity: 1; /* Fully opaque */
        }
    }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
  
    font-style: normal;
    text-decoration: none;
    scroll-behavior: smooth;
}

:root{
    --bg-color:black;
    --second-bg-color:rgba(63, 63, 63, 0.404);
    --text-color:white;
    --main-color:rgb(73, 197, 255);
}

html{
    font-size: 80%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    
    color: var(--text-color);
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    pointer-events: none; /* Ensure it doesn't interfere with content */
    backdrop-filter: blur(5px); /* Adds a subtle blur */
}


/* Navbar styling */
nav {
    padding: 0.5rem 9rem;
    background-color:rgba(0, 1, 5, 10);;
    display: flex;
    justify-content: space-between;
    align-items: cente;
}

.nav-links {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links li a:hover {
    color: #00e6e6;
}

/* Menu icon */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Close button styling */
.close-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}
/* Mobile Styles */
@media (max-width: 600px) {




    .menu-icon {
        display: block;
        animation: fadeInLeft  1s ease-in-out;
        font-size: 24px;
        color: var(--main-color); 
        margin-left: 15px;
        margin-top: 5px;
        margin-bottom: 1cm;
    }
    
    .menu-text {
        margin-left: 7.2cm;
        font-family: 'Avenir Next', sans-serif; font-weight: 550;
        font-size:   22px;
        animation: fadeInLeft  1s ease-in-out;
        color: white; 

    }

    .menu-text2 {
        margin-left: 8px;
        font-family: 'Avenir Next', sans-serif; font-weight: 550;
        font-size:   22px;
        margin-bottom: 250px;
    }


    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px;
        z-index: 1;
        height: 100%;
        width: 250px;
        background-color: rgba(0, 1, 5, 0.9);;
        border-radius: 10px 30px 30px 10px;
        padding-top: 1rem;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    
    /* Navbar styling */
    nav {
    padding: 0.1rem 0.5rem;
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

    .close-btn {
        display: block;
    }

    .nav-links.show {
        transform: translateX(250px);
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }
    .nav-links li a {
        font-weight: bold;
    }

    .hero {
        
        padding: 35px;
        font-size: 17px;
        font-family: 'Avenir Next', sans-serif; font-weight: 550;

    }
    .t1 {
        
        margin-bottom: 7px;
        font-size: 17px;
        font-family: "Ubuntu", sans-serif;
        animation: fadeInLeft  1s ease-in-out;

    }
    .name {
        
        margin-top: 7px;
        font-size: 26px;
        font-family: "Ubuntu", sans-serif;
        animation: fadeInLeft  1s ease-in-out;

    }
    
    .abtme {
        margin-top: 7px;
        font-size: 17px;
        font-family: "Ubuntu", sans-serif;
        animation: fadeInLeft  1s ease-in-out;
        margin-bottom: 10px;

    
    }

    #role {
        color: var(--main-color);
        font-weight: bold; 
        font-size: 17px;
    }

    .cursor {
        display: inline-block;
        animation: blink 1s step-end infinite; 
        font-size: 14px;
    
        align-items: center;
        position: relative; /* Adjust this to 'absolute' if needed */
        z-index: -1; /* Adjust this value as needed */
    }
    
    @keyframes blink {
        50% {
            opacity: 0;
        }
    }

    .t2 {
        margin-top: 0.5cm;
        margin-bottom: 7px;
        font-size: 14.5px;
        font-family: "Ubuntu", sans-serif;
        font-weight: 200;
        color:  rgba(199, 192, 192, 0.9);
        text-align:left;
        animation: slideLeft 1s ease-in-out;

    }

   
    .social-media a{
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 1.5rem;
        height: 1.5rem;
        background: transparent;
        border: .2rem solid var(--main-color);
        border-radius: 50%;
        font-size: 10px;
        color: var(--main-color);
        margin: 10px 10px 10px 0;
    }

    .social-media a:hover{
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 20px var(--main-color);
    }

    .btn{
        display: inline-block;
        padding: 1rem 2.8rem;
        background-color: var(--main-color);
        border-radius: 4rem;
        box-shadow: 0 0 1rem var(--main-color);
        font-size: 1.6rem;
        color: var(--second-bg-color);
        letter-spacing: 4px;
        font-weight: 600;
        transition: 0.5s ease-in-out;
    }
    
    

    @keyframes float {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px); /* Move up by 10px */
        }
        100% {
            transform: translateY(0);
        }
    }
    
    .abtpng {
        width: 295px;
        height: 280px;
        margin-top: 7px;
        margin-left: -px;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative; /* Adjust this to 'absolute' if needed */
       /* Adjust this value as needed */
        animation: fadeInLeft 1s ease-in-out, float 3s ease-in-out infinite;
    }
    
    
    .emailpic1 {

        width: 190px; /* Set width to 90px */
        height: 25px; /* Set height to match width, making it square */
        margin-top: 7px;
        margin-left: 34px;
        margin-bottom: 40px;
        animation: fadeInLeft 1s ease-in-out, float 3s ease-in-out infinite;
        
    }
    

    .back-link {
        background-color: #0830e6c5;
        width: 30px;
        height: 30px;
        margin-left: 8.7cm;
        justify-content: center;
        align-items: center;
        color: rgb(255, 255, 255);
        display: flex;
       
       
       
     
      }
     

    
        
        .rectangle {
            background-color: var(--main-color);
            color: white;
           
            width: 100%;
            margin-top: 1cm;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: -2;
            animation: slideLeft 1s ease-in-out;
          }
          .rectangle2 {
      
            background-color: #000000;
            color: rgb(0, 0, 0);
            height: 120%;
            width: 97%;
            text-align: center;
            
            display: flex;
            justify-content: center;
            align-items: center;
            animation: slideLeft 1s ease-in-out;
          }
          .rectangle3 {
            background-color: #1c1b1b;
            margin-top: 0.5cm;
            height: 15cm;
            width: 100%;
            display: block; 
            align-items: center;
            justify-content: center;
        }
        
        .about2 {
            padding-top: 2.6cm; 
            margin-bottom: -15px;
           margin-left: 0.5cm;
            font-size: 24px;
            text-align: left;
            font-family: "Ubuntu", sans-serif;
            animation: fadeInLeft 1s ease-in-out;
        }
        
        .highlight {
            color: var(--main-color); 
        }
        
        .about3 {
            padding-top: 20px; 
            padding: 30px 20px;
            font-size: 14px;
            text-align: left;
            color:rgba(255, 255, 255, 0.705);
            font-family: "Ubuntu", sans-serif;
            animation: fadeInLeft 1s ease-in-out;
            font-weight: 100;
        }
        
    
    
        .know-more-button {
            padding: 6px 6px;
            font-size: 10px;
            font-family: Arial, sans-serif;
            background-color: #da7d12;
            color: white;
           align-items: center;
           margin-left: 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
           animation: fadeInUp 0.5s ease-out forwards; 
            transition: transform 0.1s ease, box-shadow 0.1s ease;
            animation: pulse 1.5s ease-in-out infinite;
            font-family: "Ubuntu", sans-serif;
        }

        /* Button click animation */
        .know-more-button:active {
            transform: scale(0.95); /* Shrinks button slightly */
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
            
        }

        /* Modal background */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none; /* Hidden by default */
            justify-content: center;
            align-items: center;
            z-index: 10;
        }

        /* Modal content */
        .modal-content {
            background-color: #131212;
            padding: 20px;
            width: 300px;
            border-radius: 8px;
            

            font-family: "Ubuntu", sans-serif;
            text-align: center;
            position: relative;
        }

        /* Close button styling */
        .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #1344d7;
            color: white;
            border: none;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            cursor: pointer;
            font-weight: bold;
        }

        .poppng1 {
            
            margin-left: -1cm;
            margin-bottom: 20px;
            animation: fadeInUp 0.3s ease-out forwards; 
        }

        
        .poppng2 {
            
            animation: fadeInUp 0.8s ease-out forwards;
            
        }


        .poppng3 {
            
            margin-top: 10px;
            height: 4cm;
            width: 7.5cm;
            margin-bottom: 20px;
            animation: fadeInUp 1.4s ease-out forwards; 
        }
        .pophed {
            
     
           
            font-size: 15px;
            text-align: center;
            font-family: "Ubuntu", sans-serif;
            animation: fadeInLeft 1s ease-in-out;


        }

        
        .abtall {
            
            margin-top: 1cm;
            margin-left: 15px;
            height: auto;
            width: 93%;
            align-items: center;
            margin-bottom: 20px;
            animation: fadeInUp 1.4s ease-out forwards; 
           
        }

        .rectangle4 {
            background-color: #000000;
            margin-top: 1cm;
            height: 13cm;
            width: 100%;
            display: block; 
            align-items: center;
            justify-content: center;
        }

        .myintrest {
           
            font-size: 24px;
            text-align: center;
          
            font-family: "Ubuntu", sans-serif;
            animation: fadeInLeft 1s ease-in-out;
            font-weight: 900;
            margin-top: 1.5cm;
        }

        .services-container{
            display: flex;
            justify-content: center;
            font-weight: 90;
            align-items: center;
            font-family: "Ubuntu", sans-serif;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .services-container .services-box{
       
            background: var(--second-bg-color);
            margin-right:3rem ;
            margin-left: 3rem;
            border-radius: 1.5rem;
            text-align: center;
            font-weight: 90;
            font-family: "Ubuntu", sans-serif;
            border: 0.2rem solid var(--bg-color);
            transform: 0.5s ease;
        }
        .services-container .services-box:hover{
            border-color: var(--main-color);
            transform: scale(1.2);
        }
        .services-box i{
            margin-top: 10px;
            font-size: 40px;
            margin-bottom: 10px;
            font-weight: 90;

            font-family: "Ubuntu", sans-serif;
            color: var(--main-color);
        }
        .services-box h3{
            font-size: 20px;
            font-weight: 90;
        }
        
        .services-box p{
            font-weight: 90;
            font-size: 10px;
            margin: 1rem 3rem 3rem;
            
        }

        .rectangle5 {
            background-color: var(--second-bg-color);
            margin-top: 8.5cm;
          
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .latprj {
           
            font-size: 24px;
            text-align: center;
          color: #ffffff;
            font-family: "Ubuntu", sans-serif;
            animation: fadeInLeft 1s ease-in-out;
            font-weight: 900;
            margin-top: 1cm;
        }

        .portfolio {
            width: 100%;
            text-align: center;
            margin-top: -60px;
        
        }

    

        .portfolio-container {
            display: grid;
            align-items: center;
            gap: 2.5rem;
            margin-left: 14px;
            
        }
        
        .portfolio-box {
            flex: 0 0 auto; /* Ensures each box maintains its width */
            width: 300px; /* Adjust width as needed */
            position: relative;
            border-radius: 2rem;
            box-shadow: 0 0 1rem #1e1111;
            overflow: hidden;
            display: flex;
        }
        
        .portfolio-box img {
            width: 90%;
            height: 90%;
            border-radius: 20px;
            transition: 0.5s ease;
            
        }

        .portfolio-box:hover img {
            transform: scale(1.1);
        }

        .portfolio-box .portfolio-layer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(149, 14, 14, 0.1), #921313);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            padding: 0.4rem;
            transform: translateY(200%);
            transition: 0.5s ease;
        }

        .portfolio-box:hover .portfolio-layer {
            transform: translateY(0);
        }

        .portfolio-layer h4 {
            font-size: 1.8rem;
            font-weight: 600;
            color: #fff;
        }

        .portfolio-layer p {
            font-size: 1rem;
            margin: 0.3rem 0 1rem;
            font-weight: 400;
            color: #fff;
        }

        .portfolio-layer a {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 5rem;
            height: 5rem;
            background: #fff;
            border-radius: 50%;
            color: #2819d5;
            text-decoration: none;
        }

        .portfolio-layer a i {
            font-size: 2rem;
        }

    }
