*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins;
}

/*------------------------------------------------------------HEADER OF BODY-------------------------------------------------------------------*/

#body-header{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.back-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    background-attachment: fixed;
}

/*------------------------------------------------------------Upside section------------------------------------------------------------------*/

.header {
    width: 100%;
    background-color: #333;
    position: fixed; /* Fixed at the top */
    top: 0;
    z-index: 1000; /* Make sure it's above all other content */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Nav Menu Styles */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-item {
    text-align: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f0a500;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Hide the checkbox */
.menu-toggle {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        padding: 20px 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    /* Show menu when checkbox is checked */
    .menu-toggle:checked + .hamburger + .nav-menu {
        display: flex;
    }
}

/*------------------------------------------------------------Name at the front page--------------------------------------------------------*/

#name-social-container{
    margin-top: 30vh;
}

#my-name{
    font-size: 5rem;
    letter-spacing: 0.1rem;
    position: relative;
    background: linear-gradient(to right, #ff4081, #ff9800);
    /* background-image: linear-gradient(#2c3e50, #eef2f7);  */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/*------------------------------------------------------------Social Icons------------------------------------------------------------------*/

.horizontal-list{
    position: relative;
    list-style: none;
    padding-left: 0px;
    color: white;

}

.horizontal-list li{
    display: inline-block;
    margin: 20px 20px 20px 20px;
    color: white;
}

.horizontal-list li a{
    color: white;
    text-decoration: none;
    font-size: 40px;
}

.horizontal-list li a:hover{
    color: yellow;
    border-bottom: 1px solid transparent;
}

.text-center{
    text-align: center;
}

.social-icons{
    font-size: 1rem;
    color: white;
}

#small-about{
    font-size: 22px;
    color:  white;
    position: relative;
    text-align: center;
    padding: 30px;
    font-style: italic;
}

.btn{
    color: rgb(42, 31, 31);
    position: relative;
    display: flex;
    justify-content: center;
    text-decoration: none;
    background-color: #ff9800;
    border-radius: 5px;
    font-size: 19px;
    font-family: cursive;
    font-weight: bold;
}



/*----------------------------------------------------------MAIN SECTION OF BODY----------------------------------------------------------------*/

/*----------------------------------------------------------- About me -------------------------------------------------------------------------*/

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    margin-top: -12rem;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-photo img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    max-width: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.about-text {
    max-width: 900px;
    padding: 20px 10px;
}

.about-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
}

.resume {
    margin-top: 4px;
}

.responsive-button {
    background-color: #e74d06;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.responsive-button a {
    text-decoration: none;
    color: inherit;
}

.responsive-button:hover {
    /* background-color: #e8215d; */
    border: 2px solid black;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-text {
        font-size: 16px;
    }

    .responsive-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-text {
        font-size: 14px;
        padding: 0 10px;
    }

    .responsive-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}


/*---------------------------------------------------------------- Experience  ------------------------------------------------------------------*/

/* Experience Section */
.experience {
    background-color: rgba(236, 218, 218, 0.684);
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;  /* 👈 increased from ~2rem */
    margin-bottom: 30px;
}

.section-title span {
    color: #e74d06;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;  /* 👈 adds space between experiences */
}

.experience-photo img {
    width: 120px;   /* increased from 80px */
    height: auto;
}

.experience-details {
    flex: 1;
}

.experience-details h3 {
    margin: 0;
    font-size: 1.1rem;   /* reduced from 1.4rem */
    font-weight: 600;
}

.experience-details p {
    margin: 5px 0 10px;
    font-size: 0.95rem;
    color: #555;
}

.experience-details ul {
    margin: 0;
    padding-left: 20px;
}


/*------------------------------------------------------------------ Skills ---------------------------------------------------------------------*/
#skills {
    margin-top: 60px;    /* 👈 space above */
    margin-bottom: 60px; /* 👈 space below */
}

.skills_main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill_category {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.skill_category:hover {
    transform: translateY(-5px);
}

.skill_category h3 {
    margin-bottom: 10px;
    color: #e74d06;
}

.skill_category p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

/*----------------------------------------------------------- Projects --------------------------------------------------------------------*/

#projects {
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.project {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: lightgrey;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.project h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.project p {
    margin-bottom: 10px;
    color: black;
}

.project a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project a:hover {
    color: #0056b3;
}

/*----------------------------------------------------------- Certificates --------------------------------------------------------------------*/

/* #certificates {
    padding-top: 40px;
    padding-bottom: 50px;
    padding-bottom: -2rem;
    text-align: center;
} */

/* Slider Container */
/* .slider-container {
    margin-top: 30px;
    width: 50%;
    text-align: center;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

/* Hide Radio Buttons */
/* input[type="radio"] {
    display: none;
} */

/* Slides Container */
/* .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
} */

/* Slide */
/* .slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
} */

/* Slide Image */
/* .slide img {
    width: 100%;
    display: block;
} */

/* Navigation Dots */
/* .navigation {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
} */

/* .nav-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 10px;
    background-color: rgb(255, 123, 0);
    border-radius: 50%;
    cursor: pointer;
} */

/* input#slide1:checked ~ .slides {
    transform: translateX(0%);
}

input#slide2:checked ~ .slides {
    transform: translateX(-100%);
}

input#slide3:checked ~ .slides {
    transform: translateX(-200%);
} */

/* Active Navigation Dot */
/* input#slide1:checked ~ .navigation label:nth-child(1),
input#slide2:checked ~ .navigation label:nth-child(2),
input#slide3:checked ~ .navigation label:nth-child(3) {
    background-color: #333;
} */



/*----------------------------------------------------------- Contact section --------------------------------------------------------------------*/

#contact p{
    font-size: 22px;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}

/*----------------------------------------------------------- Last section icons --------------------------------------------------------------------*/

.last-section-icons{
    display: flex;
    justify-content: center;
    list-style: none;
    color: white;
}

.last-section-icons li{
    display: inline-block;
    margin: 20px 10px 20px 10px;
    color: white;
}

.last-section-icons a{
    color: black;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-size: 40px;
}

.last-section-icons a:hover{
    color: grey;
    border-bottom: 1px solid transparent;
}