* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
body{
    background-color: #faf8f1;
    color: #1a1a1a;
}
html{
    scroll-behavior: smooth;
}
img,span,h1,h2,h3,h4,h5,h6,ul, a{
    margin: 0;
    padding: 0;
    font-family: "Oswald", sans-serif;
}
p{
      font-family: "Inter", sans-serif;
}

/*navbar*/
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:#2f3fae;
}

.logo{
    width:45px;
    height:45px;
    background:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    color:#2f3fae;
    font-size:20px;
    font-family: "Oswald", sans-serif;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:40px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-weight:600;
    font-size:14px;
    letter-spacing:2px;
    border-bottom:2px solid transparent;
    padding-bottom:5px;
    transition:0.3s;
}

.nav-links a:hover{
    border-bottom:2px solid #fff;
}

.toggle{
    display:none;
    font-size:28px;
    color:white;
    cursor:pointer;
}

@media (max-width:768px){

.projects-wrapper{
    flex-direction: column !important;
    gap: unset !important;
    justify-content: center !important;
    align-items: center !important;
}
.projects-left {
    max-width: 100%;
}
.our-projects h2 {
    margin-top: 0 !important;
}

.projects-right {
    max-width: 100%;
}

.projects-right iframe {
    height: 47.1vw !important;
    width: 100% !important;
}

.toggle{
    display:block;
    z-index: 200;
}

.nav-links{
position:fixed;
    top:0;
    right:-100%;
    width:200px;     
    z-index: 100; 
    height:100vh;
    background:#ffd373;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:20px;      
    transition:0.4s;
}

.nav-links li{
    padding:8px 0;   
}

.nav-links a{
    color:#2f3fae;
    font-size:18px;
}

.nav-links.active{
    right:0;
}
}

.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:90vh;
    background:#2f3fae;
    color:white;
    gap:5rem;
    padding:80px 8%;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
}

.hero-right svg{
    width:100%;
    height:auto;
    display:block;
}

.hero-left h1{
    font-size:60px;
    color:#ffd373;
    letter-spacing:3px;
    margin-bottom:20px;
}

.hero-left p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:40px;
    opacity:0.9;
}

.btn{
    display:inline-block;
    padding:14px 35px;
    border:2px solid white;
    color:white;
    text-decoration:none;
    letter-spacing:2px;
    font-size:14px;
    transition:0.3s ease;
    font-weight: 600;
}

.btn:hover{
    background:#ffd373;
    border-color:#ffd373;
    color:#2f3fae;
    transform:translateY(-2px);
    box-shadow:0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width:900px){
.hero{
    flex-direction:column;
    text-align:center;
    gap:0;
}

.hero-left{
    margin-bottom:40px;
}

.hero-left h1{
    font-size:32px;
}

.hero-right img{
    max-width:400px;
}

.hero-right svg{
    max-width:400px;
    height:auto;
    width:100%;
}

@media(max-width:768px){

.hero-right img{
    width:250px;
}

.hero-right svg{
    width:250px;
    height:auto;
}

.hero-right::before{
    width:230px;
    height:230px;
    top:30px;
    left:30px;
}
}
}

.projects{
    background:#ffd373;
    padding:23px 20px;
    border-top:15px solid #2f3fae;
    border-bottom:15px solid #2f3fae;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.projects-content{
    max-width:800px;
}

.projects h2{
    font-size:48px;
    color:#2f3fae;
    letter-spacing:4px;
    margin-bottom:15px;
}
.project-card{
    display:block;
    text-decoration:none;
    color:inherit;
}
.project-card img{
    transition:0.3s;
}
.project-card:hover > img{
    transform:scale(0.95);
}
.projects p{
    font-size:15px;
    color:#2f3fae;
    line-height:1.6;
}

@media (max-width:768px){
.projects h2{
    font-size:32px;
}
.projects p{
    font-size:16px;
}
}
.projects-grid{
    background:#2f3fae;
    padding:44px 10%;
    position: relative;
}

.projects-container{
    display:flex;
    flex-wrap:wrap;
    position: relative;
    z-index: 2;
}

.project-card{
    flex:0 0 33.33%;
    padding:17px;
    text-align:center;
}

.project-card img{
    width:100%;
    border-radius:7px;
    display:block;
}

.project-card h3{
    margin-top:11px;
    color:#ffd373;
    font-size:18px;
    letter-spacing:3px;
    font-weight:700;
    line-height:22px;
    text-align: left;
}

@media(max-width:1000px){
.project-card{
    width:45%;
}
}

@media(max-width:600px){
.project-card{
    width:100%;
}
}

@media(max-width:900px){
.project-card{
    flex:0 0 50%;
}
}
@media(max-width:600px){
.project-card{
    flex:0 0 100%;
}
}

.about-skills{
    background:#2f3fae;
    padding:100px 7%;
    color:white;
}

.about-container{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:80px;
}

.about-text{
    flex:1;
}

.about-text h2{
    color:#ffd373;
    font-size:40px;
    letter-spacing:4px;
    margin-bottom:25px;
}

.about-text p{
    max-width:450px;
    line-height:1.8;
    color:#dfe5ff;
}

.skills{
    flex:1;
}

.skills-title{
    color:#ffd373;
    font-size:40px;
    letter-spacing:4px;
    margin-bottom:30px;
}

.skills-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
}

.skill-card{
    flex:1;
    max-width:151px;
    height:108px;
    background:#ffd373;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.skill-card img{
    width:35px;
    margin-bottom:8px;
}

.skill-card p{
    font-size:14px;
    color:#2338a5;
    font-weight:600;
}

@media(max-width:900px){
.about-container{
    flex-direction:column;
}

.skills-grid{
    justify-content:center;
}
}

.contact-section{
    width:100%;
}

.contact-container{
    display:flex;
    min-height:600px;
}

.contact-left{
    flex:1;
    background:#2f3fae;
    padding:87px;
    color:white;
}

.contact-left h2{
    color:#ffd373;
    font-size:42px;
    letter-spacing:4px;
    margin-bottom:20px;
}

.contact-left p{
    max-width:450px;
    line-height:1.8;
    margin-bottom:40px;
    color:#dfe5ff;
}

form{
    display:flex;
    flex-direction:column;
    gap:20px;
    max-width:500px;
}

input, textarea{
    padding:16px;
    border:2px solid white;
    background:transparent;
    color:white;
    font-size:14px;
    outline:none;
}

textarea{
    height:120px;
    resize:none;
}

button{
    width:120px;
    padding:14px;
    background:#ffd373;
    border:2px solid #ffd373;
    color:#2f3fae;
    font-weight:600;
    letter-spacing:2px;
    cursor:pointer;
    transition:0.3s ease;
}

button:hover{
    background:#ffd373;
    border-color:#ffd373;
    color:#2f3fae;
    transform:translateY(-2px);
    box-shadow:0 8px 15px rgba(0,0,0,0.2);
}

.contact-right{
    flex:1;
    background:#ffd373;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:80px;
    color:#2f3fae;
}

.email{
    margin-bottom:40px;
    font-weight:bold;
}

.social{
    display:flex;
    gap:30px;
    font-size:28px;
    font-weight:bold;
    margin-top: 10px;
}

input::placeholder,
textarea::placeholder{
    color:white;
    opacity:1;
}

.social a{
    text-decoration:none;
    color:#2f3fae;
}

@media(max-width:900px){
.contact-container{
    flex-direction:column;
}

.contact-left,
.contact-right{
    padding:50px;
}

}

/*project page css*/
.our-projects{
    background:#2f3fae;
    color:white;
    overflow:hidden;
}

.projects-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    align-items: center;
    gap:80px;
    height: 80vh;
    padding: 0 8%;
}

.projects-left{
    max-width:600px;
}

.projects-left h2{
    font-size:60px;
    margin:20px 0;
}

.projects-left p{
    line-height:1.6;
    color:#ddd;
    margin-bottom:20px;
}

.credit{
    font-size:14px;
    opacity:0.8;
}

.dot{
    width:60px;
    height:60px;
    background:#ffd373;
    border-radius:50%;
}

.learn-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 30px;
    background:#ffd373;
    color:#2f3fae;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.learn-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.3);
}

.projects-right{
    position:relative;
    width:500px;
}

img{
    max-width: 100%;
    height: auto;
    border-radius:10px;
    box-shadow:0 20px 40px rgba(0,0,0,0.5);
}

.experience{
    background:#ffd373; 
    color:#2f3fae;        
    padding:80px 10%;
}

.experience h2{
    font-size:42px;
    margin-bottom:20px;
}

.exp-container{
    display:flex;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.exp-box{
    flex:1;
    min-width:250px;
}

.exp-box h3{
    color:#2f3fae;
    margin-bottom:20px;
    font-size:24px;
}

.exp-box ul{
    list-style:none;
}

.exp-box ul li{
    margin-bottom:12px;
    font-size:16px;
    position:relative;
    padding-left:20px;
    font-family: "Inter", sans-serif;
}

.exp-box ul li::before{
    content:"+";
    position:absolute;
    left:0;
    color:#2f3fae;
    font-weight:bold;
}

.works{
    padding:80px 2%;
    background:#2f3fae;
    text-align:center;
    color:white;
}

.works h2{
    font-size:43px;
    margin-bottom:10px;
}

.works-text{
    max-width:600px;
    margin:auto;
    margin-bottom:50px;
    color:#d9d9d9;
}

.works-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.work-card{
    position:relative;
    width: calc(40% - 10px);
    overflow:hidden;
}

.work-card img{
    width:100%;
    display:block;
}

@media(max-width:900px){
.work-card{
    width:45%;
}
}

@media(max-width:600px){
.work-card{
    width:100%;
}
}

.tech{
    background:#2f3fae;
    padding:80px 10%;
    text-align:center;
    color:white;
}

.tech h2{
    font-size:43px;
    margin-bottom:10px;
}

.tech-text{
    margin-bottom:50px;
    color:#dcdcdc;
}

.tech-container{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
}

.tech-card{
    background:#ffd373;    
    padding: 20px;
    border-radius:10px;
    text-align:center;
    transition:0.4s;
}

.tech-card img{
    width:60px;
    margin-bottom:15px;
    box-shadow: none;
}

.tech-card h3{
    color:#2f3fae;
}

@media(max-width:768px){
.tech-container{
    gap:20px;
}

.tech-card{
    width:140px;
    padding:20px;
}
}

.intro{
    background:#f5f5f5;
    padding:100px 20px;
    display:flex;
    justify-content:center;
}

.intro-container{
    max-width:800px;
    text-align:center;
}

.intro-dot{
    width:70px;
    height:70px;
    background:#ffd373;
    border-radius:50%;
    margin:0 auto 30px;
}

.intro h1{
    font-size:60px;
    margin-bottom:30px;
    color:#2f3fae;
}

.intro p{
    font-size:18px;
    line-height:1.8;
    color:#333;
    margin-bottom:15px;
}

.intro-btn{
    display:inline-block;
    margin-top:40px;
    padding:15px 40px;
    border:2px solid #ffd373;
    text-decoration:none;
    color:#2f3fae;
    font-weight:600;
    letter-spacing:2px;
    transition:0.4s;
}

.intro-btn:hover{
    background:#ffd373;
    color:#2f3fae;
}

@media(max-width:768px){
.intro h1{
    font-size:40px;
}
.intro p{
    font-size:16px;
}

}

.hero-name {
  display: inline-block !important;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
  border-right: 3px solid currentColor; /* cursor */
  height:100%;
}

@keyframes blink {
  0%, 100% { border-color: currentColor; }
  50% { border-color: transparent; }
}

.hero-name {
  animation: blink 0.8s infinite;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 5%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 15%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    right: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    right: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    right: 5%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

.project-overview{
    padding:80px 10%;
    background:#fff;
}

.overview-container{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}

.overview-card{
    flex:1;
    min-width:250px;
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s;
}

.overview-card:hover{
    transform:translateY(-8px);
}

.overview-card h3{
    color:#2f3fae;
    margin-bottom:15px;
}

/* PROCESS */
.process-section{
    padding:80px 10%;
    background:#2f3fae;
    color:white;
    text-align:center;
}

.process-container{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:40px;
}

.process-step{
    background:#ffd373;
    color:#2f3fae;
    padding:25px;
    border-radius:12px;
    width:220px;
}

.process-step span{
    font-size:28px;
    font-weight:bold;
}

.process-step h4{
    margin:10px 0;
}

/* IMPROVE HERO */
.projects-left h2{
    font-size:64px;
    line-height:1.1;
}

.projects-left p{
    font-size:18px;
}

/* IMPROVE CARDS */
.tech-card{
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

.work-card{
    border-radius:12px;
    overflow:hidden;
    transition:0.3s;
}

.work-card:hover{
    transform:scale(1.03);
}

.projectpage h2{
    font-size:1.7rem;
    text-transform: uppercase !important;
}

.our-projects h2{
    font-size:2.2rem;
}

.projects-right iframe{
    height: 18.1vw;
    width: 32.3vw;
}

@media only screen 
  and (min-device-width: 1180px) 
  and (max-device-width: 1355px)
  and (orientation: landscape) {
    .projects-wrapper{
        height: 55vh;
    }
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px)
  and (orientation: portrait) {
    .projects-wrapper{
        height: 40vh;
    }
}
