* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    width: (100% - 20%);
}

body{
      background-color: rgba(207, 204, 204, 0.423);
}

/* Navbar */
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    background-color: #fff;
}
/* Logo / Left Side */
.leftSide{
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 5%;
    gap: 10px;  
}
/* Profile Image */
.leftSide img{
    width: 40px;
    border-radius: 50%;
    /* display: none; */
}
/* Right Side Menu */
.rightSide{
   padding-left: 10px;
   padding-right: 20px;
}
.rightSide ul{
    display: flex;
    gap: 40px;
    font-size: large;
    list-style: none;
}

.rightSide ul li a{
    text-decoration: none;
    color: black;
}
.rightSide ul li a:hover {
    /* color: #00000098; */
    color: rgb(186, 161, 129);
}

/* Menu Icon */

.menu img{
    height: auto;
    width: 40px;        
}

.menu{
    padding-right: 2rem;
    display: none;
}

/* ===================== */
/* 📱 Responsive Section */
/* ===================== */

@media (max-width: 768px) {

    /* Hide normal menu */
    .rightSide ul{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        position: absolute;
        top: 3.5rem;
        right: 0;
        width: 100%;
        background-color: #fff;
         /* display: none; */
        
    }
    /* Show menu icon */
    .menu {
        display: block;
        cursor: pointer;
    }

    /* Optional: show profile image on mobile */
    .leftSide img {
        display: block;
    }
}

/* first Section styling */

.first{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    height: auto;
    background-color: #fff;  
}

/* Left Section */
.leftSec {
    font-size: 3.5rem;
    margin: 5vw;
    font-weight: 500;
}

/* Highlight */
.light-brown,
#element {
    color: rgb(186, 161, 129);
}

/* Right Background */
.rightSec{
    transform: skew(-15deg);
    background-color: rgba(207, 204, 204, 0.423);
   padding: 0 0.8% 0 0.8%;
   margin: 2% 8% 2% 0;
}

.logo-img{
transform: skew(15deg);
border-radius: 50%;
border: 7px solid #fff;
}

/* Buttons */
.first-btn {
    padding: 10px 25px;
    background-color: rgb(186, 161, 129);
    color: white;
    border-radius: 5px;
    border: 2px solid rgb(186, 161, 129);
    font-weight: 600;
    cursor: pointer;
}

.second-btn {
    padding: 10px 35px;
    font-weight: 600;
    border-radius: 5px;
    background-color: transparent;
    border: 2px solid rgb(186, 161, 129);
    margin-left: 10px;
    cursor: pointer;
}

.second-btn a{
    text-decoration: none;
    color: rgb(186, 161, 129);
}

/* ========================= */
/* 📱 Mobile Responsive View */
/* ========================= */

@media (max-width: 786px) {

    .first {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .leftSec {
        width: 100%;
        font-size: 2.5rem;
        margin: 0;
    }

    /*Hide profile on mobile */
    .logo-img {
        display: none;
    }

    /* Hide background shape */
    .rightSec {
        display: none;
    }

    .first-btn,
    .second-btn {
        margin: 10px 0;
    }
}

/* ================= */
/* Second Section */
/* ================= */

.second {
    display: flex;
    justify-content: space-between;
    background-image: linear-gradient(180deg, rgba(235, 233, 233, 0.947), white);
}

/* Left Section */
.secondLeft img {
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);  
    max-width: 100%;
    height: auto;
   
}

.secondLeft {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
     margin-top: 30px;
    margin-bottom: 30px;
   
}

/* Right Section */
.secondRight {
    width: 70%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.secondRight .main-text {
        line-height: 30px;
}

.secondRight .information {
        line-height: 45px;
        overflow: hidden;
        margin-top: 20px;
}

/* Buttons */

.fourbtn{
    margin-top: 20px;
}

.icon{
    width: 10px;
    height: auto;   
}

.secondRight .btn{
  width: auto;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid black;
  background-color: rgba(168, 164, 164, 0.582);
  object-fit: cover;
  font-weight: 500;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
}

/* ========================= */
/* 📱 Mobile Responsive View */
/* ========================= */

@media (max-width: 786px) {
    .second {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        justify-content: center;
    }
    .secondRight {
        width: 100%;
        text-align: center;
        padding: 20px;
    }
    .secondRight h1 {
        font-size: 2rem;
    }
    .information {
        line-height: 32px;
    }
  
}



/* ================= */
/* Third Section */
/* ================= */
 .third{
    width: 100%;
    text-align: center;
 }

/* Heading */
.heading{
    font-size: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Skills Container */
.skill-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 30px 10px;
    font-weight: 600;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Skill Card */
.small-container{
    width: 120px;
    height: auto;
    padding: 3px 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}
/* Hover Effect */
.small-container:hover {
    transform: translateY(-8px);
}

.skill-img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 24px auto 10px;
    display: block;
}

/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */

@media (max-width: 786px) {

    .heading {
        font-size: 30px;
    }

    /* .skill-section {
        gap: 20px;
      
    } */
}

/* fourth section */

.fourth {
    background-color: #fff;
    text-align: center;
}

.fourth .big-container {
    margin: 20px;
    object-fit: cover;
}

.fourth .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}

.fourth .container .projects {
    height: 160px;
    width: 260px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: filter 0.3s ease;
    object-fit: cover;

}

.project-btn{
    cursor: pointer;
}

.fourth .container .big-container .text-overlay {
    position: absolute;
    height: 160px;
    width: 260px;
    z-index: 1;
    text-align: center;
    object-fit: cover;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fourth .container .big-container:hover .projects {
    filter: blur(4px);
}

.fourth .container .big-container:hover .text-overlay {
    opacity: 1;
}

.fourth .container .big-container .text-overlay .amazon-clone {
    color: rgb(244, 238, 238);
    font-size: 24px;
    font-weight: bold;
    padding-top: 40px;
}

.fourth .container .big-container .text-overlay .text {
    color: rgb(244, 238, 238);
    font-weight: 100;
    padding-top: 20px;
}

.fourth .container .big-container .text-overlay .project-btn {
    padding: 6px 15px;
    font-weight: 600;
    margin-top: 5px;
    border: none;
    font-size: 15px;
    border-radius: 4px;
}


/* @media(max-width: 768px){

.fourth .container .big-container:hover .text-overlay{
    display: none;   
}
} */


/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */

@media (max-width: 786px) {

    .fourth {
        padding: 50px 10px;
    }

    .fourth .container {
        gap: 20px;
    }

    .fourth .big-container {
        width: 100%;
        max-width: 300px;
    }

    .amazon-clone {
        font-size: 20px;
    }
    .fourth .container .big-container .text-overlay{
        margin-left: 20px;
    }
}
/* ================= */
/* Fifth Section */
/* ================= */

.fifth {
    background-color: #fff;
}

/* Heading */
.fifth .fifth-text {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    padding-top: 3rem;
    padding-bottom: 3rem;
    /* margin-bottom: 40px; */
}

/* Form Container */
.fifth .form-sec {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form */
.fifth form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

/* Inputs */
.fifth .input-text {
    padding: 1rem;
    /* margin: 1rem 0; */
    margin-top: 1rem;
    border-radius: 5px;
    border: 1px solid  rgb(186, 161, 129);
    outline: none;
    font-size: 16px;
}

/* Textarea */
.fifth #textarea {
    height: 150px;
    resize: none;
}

/* Submit Button */
.fifth #submit {
    align-self: center;
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    background-color: rgb(186, 161, 129);
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
}

/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */

@media (max-width: 786px) {

    .fifth {
        padding: 60px 15px;
    }

    .fifth #submit {
        width: 100%;
    }
}

/* ================= */
/* Sixth Section */
/* ================= */

.sixth {
    background-color: rgb(186, 161, 129);
    text-align: center;
    color: #fff;
    /* padding: 60px 20px; */
    padding: 2rem;
}

/* Footer Text */
.sixth .footer-text {
    font-size: 1.5rem;
    /* margin-bottom: 20px; */
}

/* Star Image */
.sixth .star-img {
    height: 20px;
    width: 20px;
    object-fit: cover;
    margin: 10px 0;
}

/* Social Media Icons */
.sixth .social-media-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 1rem;
}

.sixth .social-media-img {
    height: 30px;
    width: 30px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Hover Effect */
.sixth .social-media-img:hover {
    transform: scale(1.1);
}

/* Last Text */
.sixth .last-text {
    margin-top: 25px;
    font-size: 18px;
}

/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */

@media (max-width: 786px) {

    .sixth {
        padding: 40px 15px;
    }

    .sixth .footer-text,
    .sixth .last-text {
        font-size: 16px;
    }

    .sixth .social-media-img {
        height: 26px;
        width: 26px;
    }
}
