/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
:root {
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --primary: #4ade80;  /* Green accent */
    --primary-dark: #22c55e;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #a3e635; /* Lime for highlights */
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    /* background-color: #191919; */
    background-color: var(--dark-bg);
    color: var(--text);
    min-height: 100vh;
}
/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: none;
}
::-webkit-scrollbar-thumb {
    background: lime;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: whitesmoke;
    cursor: pointer;
    border-radius: 40px;
}

/* all similar content styling codes */
section{
    padding: 100px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .contact, footer{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    color: whitesmoke;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    font-family: Cooper Black;
    color: #000;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: rgb(4, 1, 46);
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 34px;
    font-family: cooper black;
    font-weight: 600;
}
.navbar .logo a:hover{
    color: whitesmoke;
    font-size: 34.5px;
}
.navbar .logo a span{
    color: lime;
    transition: all 0.3s ease;
}
.navbar .logo a span:hover{
    color: #6bf3fa;
}
.navbar.sticky .logo a {
    color: #fff;
}
.navbar.sticky .logo a:hover{
    color: rgb(249, 245, 201);
}
.navbar.sticky .logo a span{
    color: #6bf3fa;
}
.navbar.sticky .logo a span:hover{
    color: lime;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: whitesmoke;
    font-size: 22px;
    font-weight: 900;
    font-family: Cooper Black;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: lime;
    font-size:22.6px ;
}
.navbar.sticky .menu li a:hover{
    color: lime;
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    border: rgb(247, 108, 247) 3px solid;
    background:#000;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    background-color:#191919;
    color: lime;
    border:2px lime solid;
}


/* home section styling */
.home{
    display: flex;
    background: url("images/img5.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}
.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
.home .home-content .text-1{
    font-size: 32px;
    margin-left: -2rem;
    font-weight: 900;
}
.home .home-content .text-2{
    font-size: 65px;
    font-weight: 900;
    font-family: Cooper Black;
    margin-left: -3rem;
}
.home .home-content .text-3{
    font-size: 40px;
    font-family: Cooper Black;
    margin: 5px 0;
    margin-left: -3rem;
}
.home .home-content .text-3 span{
    color: lime;
    font-family: Algerian;
    font-weight: 700;
}
/* about section styling */
.about .title::after{
    content: "Who i am";
    border-radius: 15px 2px 15px 2px;
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 448px;
    width: 410px;
    object-fit: cover;
    border-radius: 60px 0 60px 0px;
    border: solid 1px whitesmoke;
    cursor: pointer;
}
.about .about-content .left img:hover{
   box-shadow: 0px 2px 5px rgba(0, 255, 0, 0.84);
   border-radius: 80px;
   border: solid 4px whitesmoke;
   border-radius: 0px 70px 0 70px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: lime;
}
.about .about-content .right p{
    text-align:justify; /* or justify if you need it, but be aware */
    white-space: 20px;
    color: whitesmoke;
}
.about .about-content .right a{
    display: inline-block;
    background:none;
    color: #fff;
    border: rgb(247, 108, 247) 3px solid;
    font-size: 20px;
    font-weight: 700;
    font-family: cooper black;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: lime;
    border:3px solid lime ;
    background: no-repeat;
}

/* skills section styling */
.skills{
    margin-top: -95px;
}
.skills .title::after{
    content: "what i know";
    border-radius: 30px 5px 30px 5px;
}


.container .box-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;

}

.container .box-container .box{
    height: 20%;
    width: 20%;
    box-shadow: 0px 2px 5px rgba(0, 255, 0, 0.84);
    border-radius: 50px;
    background: #5b55551a;
    text-align: center;
    cursor: pointer;
    margin: 25px;
    padding:30px 10px;
}
.container .box-container .box:hover{
    box-shadow: 0 5px 10px rgba(249, 123, 20, 0.959);
}
.container .box-container .box:hover{
    background:whitesmoke;
    border-radius: 50px 5px 50px 5px;
    border: solid 3px limegreen;
}

.container .box-container .box img{
    height: 50px;
}

.container .box-container .box h3{
    color:#7E22CE;
    font-size: 22px;
    padding:10px 0;
}

.container .box-container .box p{
    color:#7E22CE;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.8;
}

.container .box-container .box:hover{
    box-shadow: 0 10px 15px rgba(0,0,0,.3);
    transform: scale(1.03);
}

/* contact section styling */
.contact{
    margin-top: -130px;
}
.contact .title::after{
    content: "get in touch";
    border-radius: 15px 1px 15px 1px;
}
.contact .contact-content .column{
    width: calc(40% - 40px);
    position: relative;
    top:-20px;
}
.contact .contact-content .text{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left{
    margin-top: -30px;
}
.contact .contact-content .left p{
    color: whitesmoke;
    text-align: justify;
  
}

.contact .contact-content .left .icons{
    margin: 5px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
    margin-left: 30px;
}
.contact .contact-content .row .info{
    color: #fff;
    margin-left: 20px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: lime;
}
.contact .contact-content .row i:hover{
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
.contact .contact-content .info .head{
    font-family: cooper black;
    font-weight: 100;
    font-size: 19px;
}
.contact .contact-content .info .sub-title{
    color: #fff;
    font-weight: 300;
}
.contact .contact-content .info .sub-title:hover{
    color: lime;
    font-size: 24px;
    font-family: Maiandra GD;
    font-weight:900;
    cursor: pointer;
}
.contact .right {
    margin-top:20px;
    margin-right: 0px;
}
.contact .right form input{
    cursor: pointer;
    display: block;
    margin: 20px;
    height: auto;
    padding: 16px 15px;
    border-radius: 10px;
    outline: none;
    border: 2px solid #fe523b;
    align-items: center;
    width: 100%;
    background-color: whitesmoke;
    font-size: 15px;
    font-weight: bold;
    font-family: sans-serif;
}
.contact .right form input:hover{
    border: 2px solid lime;
    border-radius: 0px 20px 0px 20px;

}
.contact .right form textarea{
    cursor: pointer;
    display: block;
    margin: 20px;
    margin-left: 40px;;
    padding: 10px 14px;
    border-radius: 6px;
    outline: none;
    border: none;
    align-items: center;
    background-color: whitesmoke;
    font-size: 15px;
    width:90%;
    font-weight: bold;
    font-family: sans-serif;
    border: 2px solid #fe523b;
}
.contact .right form textarea:hover{
    border: 2px solid lime;
    border-radius: 0px 20px 0px 20px;

}
.contact .right form button{
    cursor: pointer;
    display: block;
    margin: 20px;
    height: auto;
    padding: 10px 1px;
    border-radius: 20px;
    outline: none;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    color: whitesmoke;
    font-size: 18px;
    margin-left: 85px;
    font-weight: bold;
    text-transform: uppercase;
    width: 70%;
    border: 3px solid #fe523b;
    font-family: sans-serif;
    background-color: #fe523b;
}
.contact .right form button:hover{
    background-color: #0a0a0a;
    color: lime;
    border: 3px solid lime;
    border-radius: 20px;
    text-transform: uppercase;

}
/* footer section styling */
footer{
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: left;
}

.footer p{
    font-family: 'Algerian','bold';
    font-style: italic;
    font-size: 1.5rem;
    cursor: pointer;
}

.footer p:hover{
    font-family: Algerian;
    color: lime;
     font-weight: bolder;
}

/* Github and linked */
.photo img{
    position:relative;
    height: 30px;
    width: 30px;
    left: 65rem;
    top: -1.5rem;
    margin-left: 20px;
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0, 255, 0, 0.84);
    border-radius: 39px;
    background-color: #fff;
}
.photo img:hover{
    box-shadow: 0px 2px 10px rgba(64, 0, 255, 0.84);
}

/* responsive media query start */
/* Update the viewport meta tag in your HTML head */
/* Add this if not present: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> */

/* Update your existing media queries and add these new ones */

@media (max-width: 768px) {
    /* General adjustments */
    .max-width {
        padding: 0 20px;
    }
    
    section .title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    /* Home section */
    .home .home-content .text-1 {
        font-size: 20px;
        margin-left: 0;
    }
    
    .home .home-content .text-2 {
        font-size: 30px;
        margin-left: 0;
    }
    
    .home .home-content .text-3 {
        font-size: 20px;
        margin-left: 0;
    }
    
    /* About section */
    .about .about-content {
        flex-direction: column;
    }
    
    .about .about-content .left,
    .about .about-content .right {
        width: 100%;
    }
    .about .about-content .right p{
        color: whitesmoke;
        text-align: initial;
        white-space: 5px;
    }
    
    .about .about-content .left img {
        height: 300px;
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
    .about .about-content .right a{
        font-size: 13px;

    }
    
    /* Skills section */
    .container .box-container .box {
        width: 30%;
        margin: 10px;
        padding: 15px 5px;
    }
    
    .container .box-container .box img {
        height: 40px;
    }
    
    .container .box-container .box h3 {
        font-size: 18px;
    }
    
    .container .box-container .box p {
        font-size: 12px;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact section */
    .contact .contact-content {
        flex-direction: column;
    }
    
    .contact .contact-content .column {
        width: 100%;
    }
    
    .contact .right form input,
    .contact .right form textarea {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact .right form button {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer */
    .photo img {
        left: 10px;
        top: 5px;
        height: 10%;
        width: 10%;
        position: relative;
        display: inline-block;
        margin: 6px;
    }
    
    .footer p {
        margin-top: 1px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    /* Home section */
    .home .home-content .text-1 {
        font-size: 19px;
    }
    
    .home .home-content .text-2 {
        font-size: 23px;
    }
    
    .home .home-content .text-3 {
        font-size: 15px;
    }
    
    /* Skills section */
    .container .box-container .box {
        width: 100%;

    }
    .skills{
        margin-top: -135px;
    }
    .skills .title::after{
        content: "what i know";
        border-radius: 30px 5px 30px 5px;
        margin-top:50px;
        font-size: 18px;
    }
    
    .container .box-container .box{
        width: 40%;
        height: 30%;
        border-radius: 40px; 
    }
    
    .container .box-container .box img{
        height: 23px;
    }
    
    .container .box-container .box h3{
        font-size: 15px;
        padding:5px 0;
    }
    
    .container .box-container .box p{
        font-size: 10px;
        line-height: 1.5;
    }
    
    /* Navigation */
    .navbar .logo a {
        font-size: 24px;
    }
    
    .navbar .menu li a {
        font-size: 18px;
    }
    
    /* Contact form */
    .contact .right form input,
    .contact .right form textarea {
        width: 100%;
        font-size: 12px;
    }
    .contact{
        margin-top: -130px;
    }
    .contact .title::after{
        content: "get in touch";
        font-size: 18px;
    }
    .contact .contact-content .column{
        width: 100%;
    }
    .contact .contact-content .left{
        margin-left: -30px;
        margin-top: 20px;
    }
    
    .contact .contact-content .left .icons{
        margin: 5px 0;
        font-size: 14px;
    }
 
    .contact .contact-content .row .info{
        color: #fff;
        margin-left: 20px;
    }
    .contact .contact-content .row i{
        font-size: 20px;
        color: lime;
    }

    .contact .contact-content .info .head{
        font-size: 17px;
    }

    .contact .right {
        margin-top:10px;
        width: 70%;
        padding: 10px;
        margin-right: 0px;
    }

    .contact .right form textarea{
        width:90%;
    }

    .contact .right form button{
        padding: 5px 8px;
        color: whitesmoke;
        font-size: 16px;
        margin-left: 35px;
        width: 70%;
    }

}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    
}

/* Services */
.services {
  margin-top: -100px;
}
.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.dev-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dev-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.dev-intro p {
    color: #fff;
    font-size:1.1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-header {
    padding: 1.5rem;
    background: rgba(74, 222, 128, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-content {
    padding: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--primary);
    color: #111;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.service-btn i{
margin-left: 10px;
font-size: 20px;
}
.service-btn:hover {
    background-color: rgba(74, 222, 128, 0.1);;
    border: 2px solid lime;
    transform: translateY(-2px);
    color:#fff;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
    }
    .dev-intro h2 {
        font-size:2rem;
      
    }
    
    .dev-intro p {
        color: #fff;
        font-size:14px;
        padding: 2px;
     
    }
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0rem;
    }
    .tech-pill {
        background: rgba(255, 255, 255, 0.1);
        padding: 0.2rem 0.4rem;
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .service-description {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
        font-size: 14px;
        line-height: 1.2;
    }
    .service-btn {
        padding: 0.4rem 1rem;
        font-size: 15px;
    }
}
