*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
html,body{
    height: 100%;
    scroll-behavior: smooth;
}
.main-container{
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar{
    height: 80px;
    display: flex;
    padding: 0 50px;
    background-color: rgb(229, 221, 221);
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;

}

.navbar a{
    text-decoration: none;
    color: black;
}

li:hover{
    color: chocolate;
}

.navbar .logo{
    font-size: 30px;
    font-weight: bold;
}

.nav-elements ul{
    display: flex;
    list-style: none;
    gap: 40px;
    font-size: 20px;
    font-weight: 600;
}

.cta-section{
    display: flex;
    align-items: center;
    gap: 25px;
    
}

button{
    background-color:black;
    color: aliceblue;
    border: none;
    padding:10px 15px;
    border-radius: 20px;
}

button:hover{
    background-color: rgb(31, 52, 153);
    cursor: pointer;
}

.fa-linkedin{
    font-size: 30px;
    color: black;
    
}

.fa-linkedin:hover{    
    color: rgb(99, 134, 37);
    cursor: pointer;
}

/* ================
Hero Section
===================*/

.hero-section{
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: #fdfaf7;
}

.hero-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, #d97a4a 0%, brown 55%, #3e190f 100%);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    z-index: 1;
}

.img-section {
    position: relative;
    width: 34%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.img-section .photo-ring{
    width: 380px;
    height: 380px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, #ffd9b3, #fff 40%, #ffd9b3);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

.img-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 4px solid brown;
}

.text-section {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6% 0 9%;
    color: #2b1810;
    z-index: 2;
}

.text-section .eyebrow{
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: brown;
    margin-bottom: 18px;
}

.text-section .greeting{
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #6b5a52;
}

.text-section h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2b1810;
}

.text-section h2{
    font-size: 28px;
    margin: 16px 0 20px;
    font-weight: 600;
    color: #4a3a33;
}

.text-section h2 span{
    color: brown;
}

.text-section p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 30px;
    color: #6b5a52;
}

.hero-socials{
    display: flex;
    gap: 18px;
}

.hero-socials a{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: brown;
    font-size: 20px;
    transition: .3s;
}

.hero-socials a:hover{
    background: brown;
    color: white;
    transform: translateY(-3px);
}

/* About Section*/

.about-section{
    height: 100vh;
    display: flex;
    overflow: hidden;
    background:linear-gradient(135deg, #d97a4a 0%, brown 55%, #3e190f 100%);
    color:black;
}

.about-me-section{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    text-align: justify;
}

.about-me-section h1{
    font-size: 60px;
    margin-bottom: 60px;
}

.about-me-section p{
    line-height: 1.8;
    font-size: 20px;
    overflow: hidden;

}

.skills-section{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.skills-section h1{
      font-size: 48px;
    margin-bottom: 18px;
}

.my-skills{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    width:50%;
    list-style: none;
}

.my-skills li{
    background-color:rgba(227, 126, 11, 0.512);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.my-skills li:hover{
    background-color: bisque;
    transform: translate(-5px);
}

.portfolio-section {
    height: 100vh;
    background:linear-gradient(135deg, #d97a4a 0%, brown 55%, #3e190f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.portfolio-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.portfolio-header p {
    font-size: 18px;
    color: #666;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .3s;
}

.portfolio-card:hover{
    transform: translateY(-8px);
}

.portfolio-image{
    flex: 1;
}

.portfolio-image img{
    width: 100%;
    height: 100%;
}

.portfolio-details{
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-details h2{
    margin-bottom: 15 px;
}

.tech-stack{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-stack span {
    background: brown;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.portfolio-details p {
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-btn {
    background: brown;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: .3s;
}

/* contact section */

.contact-section{
    height:100vh;
    display:flex;
}

.information-section{
    flex:1;
    background:linear-gradient(135deg, #d97a4a 0%, brown 55%, #3e190f 100%);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:80px;
}

.information-section h1{
    font-size:48px;
    margin-bottom:20px;
}

.information-section p{
    line-height:1.8;
    margin-bottom:40px;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-bottom:50px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:15px;
    font-size:18px;
}

.contact-item i{
    font-size:22px;
}

.social-section h3{
    margin-bottom:20px;
}

.social-section .fa-instagram{
    color: white;
}

.social-section .fa-linkedin{
    color: white;
}

.social-icons{
    display:flex;
    gap:20px;
}

.social-icons a{
    color:rgb(244, 241, 241);
    font-size:28px;
    transition:.3s;
}

.social-icons a:hover{
    color:rgb(239, 237, 233);
    transform:translateY(-3px);
}

/* Form Section */

.form-section{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#f5f5f5;
    padding:80px;
}

.form-section h2{
    font-size:40px;
    margin-bottom:30px;
}

.form-section form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-section input,
.form-section textarea{
    width:100%;
    padding:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.form-section input:focus,
.form-section textarea:focus{
    border-color:brown;
}

.form-section textarea{
    resize:none;
}

.form-section button{
    background:brown;
    color:white;
    border:none;
    padding:18px;
    border-radius:30px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.form-section button:hover{
    background:brown;
}

/* footer*/

.footer{
    background: #1e1e1e;
    color:white;
    padding: 40px 80px 20px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:30px;
}

.footer-logo h2{
    margin-bottom:8px;
    font-size:28px;
}

.footer-logo p{
    color:#bdbdbd;
    font-size:15px;
}

.footer-links{
    display:flex;
    gap:30px;
}

.footer-links a{
    color:rgb(247, 243, 243);
    text-decoration:none;
    font-size:17px;
    transition:.3s;
}

.footer-links a:hover{
    color:rgb(241, 238, 234);
}

.footer-social{
    display:flex;
    gap:20px;
}

.footer-social .fa-instagram{
    color: white;
}

.footer-social .fa-linkedin{
    color: white;
}

.footer-social a{
    color:rgb(249, 241, 241);
    font-size:24px;
    transition:.3s;
}

.footer-social a:hover{
    color:rgb(224, 158, 26);
    transform:translateY(-3px);
}

.footer-social .fa-instagram:hover{
    color: rgb(224, 158, 26);
}

.footer-social .fa-linkedin:hover{
    color: rgb(224, 158, 26);
}


.footer hr{
    border:none;
    border-top:1px solid rgba(248, 241, 241, 0.2);
    margin:30px 0 20px;
}

.footer-bottom{
    text-align:center;
    color:#f3efef;
    font-size:15px;
}

/* Responsive tweaks for new hero */
@media (max-width: 900px){
    .hero-section{
        flex-direction: column;
        padding: 120px 24px 60px;
        text-align: center;
        height: auto;
    }
    .hero-section::before{
        width: 100%;
        clip-path: none;
        background: linear-gradient(160deg, #d97a4a 0%, brown 55%, #3e190f 100%);
    }
    .text-section{
        color: white;
    }
    .text-section h1, .text-section h2, .text-section .greeting, .text-section p{
        color: white;
    }
    .text-section h2 span, .text-section .eyebrow{
        color: #ffd9b3;
    }
    .hero-socials a{
        background: rgba(255,255,255,0.15);
        color: white;
    }
    .hero-socials a:hover{
        background: #ffd9b3;
        color: brown;
    }
    .img-section{
        width: 100%;
        margin-bottom: 30px;
    }
    .img-section .photo-ring{
        width: 240px;
        height: 240px;
    }
    .text-section{
        padding: 0;
        align-items: center;
    }
    .text-section p{
        max-width: 100%;
    }
    .hero-socials{
        justify-content: center;
    }
    .text-section h1{
        font-size: 40px;
    }
}