/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body{

    background:#fffaf5;
    color:#222;
}

/* Navbar */

header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 8%;

    background:white;

    position:sticky;
    top:0;

    z-index:100;
}

.logo{

    font-size:28px;
    font-weight:700;
}

.logo span{

    color:#ff7b00;
}

nav a{

    text-decoration:none;

    color:#333;

    margin:0 18px;

    font-size:16px;

    transition:.3s;
}

nav a:hover{

    color:#ff7b00;
}

.btn{

    background:#ff7b00;

    color:white;

    border:none;

    padding:14px 30px;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;
}

.btn:hover{

    background:#ff8f22;
}

.btn-outline{

    background:none;

    border:2px solid #ff7b00;

    color:#ff7b00;

    padding:12px 28px;

    border-radius:8px;

    cursor:pointer;

    margin-left:15px;
}

.btn-outline:hover{

    background:#ff7b00;

    color:white;
}

/* Hero */

.hero{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:80px 8%;

    gap:60px;
}

.hero-text{

    flex:1;
}

.hero-text h4{

    color:#ff7b00;

    margin-bottom:15px;
}

.hero-text h1{

    font-size:55px;

    line-height:1.2;

    margin-bottom:20px;
}

.hero-text span{

    color:#ff7b00;
}

.hero-text p{

    color:#666;

    line-height:1.8;

    margin-bottom:35px;
}

.hero-buttons{

    margin-bottom:35px;
}

.social-icons a{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:45px;

    height:45px;

    background:#ff7b00;

    color:white;

    border-radius:50%;

    margin-right:12px;

    text-decoration:none;

    transition:.3s;
}

.social-icons a:hover{

    transform:translateY(-5px);
}

.hero-image{

    flex:1;

    text-align:center;
}

.hero-image img{

    width:420px;

    max-width:100%;
}

/* About */

.about{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:100px 8%;

    gap:70px;

    background:white;
}

.about-image{

    flex:1;
}

.about-image img{

    width:420px;

    max-width:100%;
}

.about-text{

    flex:1;
}

.about-text h5{

    color:#ff7b00;

    margin-bottom:10px;
}

.about-text h2{

    font-size:40px;

    margin-bottom:20px;
}

.about-text p{

    color:#666;

    line-height:1.8;

    margin-bottom:35px;
}

.about-box{

    display:flex;

    gap:40px;

    margin-bottom:35px;
}

.about-box h3{

    color:#ff7b00;

    font-size:30px;
}

.about-box p{

    margin-top:5px;

    color:#555;
}

/* ================= SERVICES ================= */

.services{

    padding:100px 8%;
    background:#fffaf5;
    text-align:center;

}

.services h4{

    color:#ff7a00;
}

.services h2{

    font-size:40px;
    margin:10px 0 50px;

}

.service-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;

}

.service-card{

    background:white;
    padding:35px;
    border-radius:15px;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-card i{

    font-size:45px;
    color:#ff7a00;
    margin-bottom:20px;

}

.service-card h3{

    margin-bottom:15px;

}

.service-card p{

    color:#666;
    line-height:1.7;

}

/* ================= EDUCATION ================= */

.education{

    padding:100px 8%;
    display:flex;
    justify-content:space-between;
    gap:60px;
    background:white;

}

.education-left,
.education-right{

    flex:1;

}

.education h4{

    color:#ff7a00;

}

.education h2{

    margin:10px 0 40px;
    font-size:38px;

}

.edu-box{

    background:#fff6ef;
    padding:25px;
    border-left:5px solid #ff7a00;
    margin-bottom:25px;
    border-radius:10px;

}

.edu-box h3{

    margin-bottom:10px;

}

.edu-box span{

    color:#999;

}

.edu-box p{

    margin:10px 0;

}

.achievement{

    background:#fff6ef;
    padding:20px;
    margin-bottom:20px;
    border-radius:10px;
    font-size:17px;

}

/* ================= PROJECTS ================= */

.projects{

    padding:100px 8%;
    background:#fffaf5;
    text-align:center;

}

.projects h4{

    color:#ff7a00;

}

.projects h2{

    font-size:40px;
    margin:10px 0 50px;

}

.project-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;

}

.project-card{

    background:white;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.1);

}

.project-card:hover{

    transform:translateY(-10px);

}

.project-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.project-info{

    padding:25px;
    text-align:left;

}

.project-info h3{

    margin-bottom:15px;

}

.project-info p{

    color:#666;
    line-height:1.7;

}

/* ================= SKILLS ================= */

.skills{

    padding:100px 8%;
    background:white;

}

.skills h4{

    color:#ff7a00;
    text-align:center;

}

.skills h2{

    text-align:center;
    margin:10px 0 50px;
    font-size:40px;

}

.skill{

    margin-bottom:30px;

}

.skill-title{

    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-weight:600;

}

.progress{

    width:100%;
    background:#eee;
    height:12px;
    border-radius:50px;

}

.progress-bar{

    height:12px;
    background:#ff7a00;
    border-radius:50px;

}


/* ================= CONTACT ================= */

.contact{

    display:flex;
    justify-content:space-between;
    gap:60px;
    padding:100px 8%;
    background:#fffaf5;

}

.contact-left,
.contact-right{

    flex:1;

}

.contact h4{

    color:#ff7a00;

}

.contact h2{

    font-size:40px;
    margin:15px 0;

}

.contact p{

    color:#666;
    line-height:1.8;

}

.contact-info{

    margin-top:30px;

}

.contact-info p{

    margin-bottom:15px;

}

.contact-info i{

    color:#ff7a00;
    margin-right:10px;

}

form{

    display:flex;
    flex-direction:column;

}

form input,
form textarea{

    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    outline:none;

}

textarea{

    resize:none;

}


/* ================= FOOTER ================= */

footer{

    background:#222;
    color:white;
    text-align:center;
    padding:60px 20px;

}

footer h2{

    margin-bottom:15px;

}

.footer-icons{

    margin:25px 0;

}

.footer-icons a{

    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:45px;
    height:45px;

    border-radius:50%;

    background:#ff7a00;

    color:white;

    text-decoration:none;

    margin:0 10px;

    transition:.3s;

}

.footer-icons a:hover{

    transform:translateY(-5px);

}

.copyright{

    color:#bbb;
    margin-top:30px;

}


/* ================= RESPONSIVE ================= */

@media(max-width:992px){

header{

    flex-direction:column;
    gap:20px;

}

nav{

    display:flex;
    flex-wrap:wrap;
    justify-content:center;

}

.hero,
.about,
.education,
.contact{

    flex-direction:column;
    text-align:center;

}

.hero-image img,
.about-image img{

    width:300px;

}

.about-box{

    justify-content:center;
    flex-wrap:wrap;

}

}

@media(max-width:768px){

.hero-text h1{

    font-size:40px;

}

.services h2,
.projects h2,
.skills h2,
.contact h2,
.education h2{

    font-size:32px;

}

.project-container,
.service-container{

    grid-template-columns:1fr;

}

.btn,
.btn-outline{

    width:100%;
    margin-top:10px;

}

.hero-buttons{

    display:flex;
    flex-direction:column;

}

}