/* styles.css */
body {
    margin: 0;
    padding: 0;
    /* font-family: Arial, sans-serif; */
     font-family: "Source Sans Pro", "Arial", sans-serif;
     /* font-family: "Times New Roman", serif;  */
    /* font-family: Helvetica, Arial, sans-serif;  */
    background-color: white;
    /* font-family: Courier, monospace; */
    color:black;
    /* Add this to your CSS */
    user-select: none;

}


header {
    background-color: black;
    padding: 10px 0;
}

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

.logo a {
    font-size: 24px;
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
}

.nav-links a:hover {
    color: #ff4500;
    text-decoration:solid;
    border-bottom: 2px solid #ff4500;
}

.contact-btn a {
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}

.contact-btn a:hover {
    background-color: white;
    color: #ff4500;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: #fff;
}

.hero-text {
    max-width: 500px;
    margin-right: 50px;
}

.hero-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 48px;
    margin: 10px 0;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #ff4500;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    text-decoration: none;
    gap: 20px;
}

.hero-buttons button  {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.hero-buttons .hire-me {
    background-color: #333;
    color: #fff;
}

.hero-buttons .hire-me:hover {
    background-color: #555;
}

.hero-buttons .experience {
    background-color: #ff4500;
    color: #fff;
    text-decoration: none;
}

.hero-buttons .experience:hover {
    background-color: #e03e00;
    text-decoration: none;
}

.hero-image img {
    width: 300px;
    height: auto;
    border-radius: 50%;
    border: 5px solid #ff4500;
    box-shadow: 0px 0px 15px rgba(255, 69, 0, 0.7);
}



/* about section ................. */

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    background-color: #000;
}

.profile-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #ff4500;
    box-shadow: 0px 0px 15px rgba(255, 69, 0, 0.7);

}

.profile-details {
    margin-left: 200px;
    color:#e2e2e2
}

.profile-details h2 {
    font-size: 35px;
    color:white;
    text-decoration: underline;
}

.profile-details h1 {
    font-size: 40px;
    margin: 10px 0;
}

.profile-details .highlight {
    color: #ff4500;
}

.profile-details p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
}

.experience-button {
    background-color: #ff4500;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.experience-section {
    padding: 100px 20px;
    background-color: #000;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: black;
}

.experience-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.experience-section h2 span {
    color: #ff4500;
}

.experience-item {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
}

.experience-item h3 {
    font-size: 1.8rem;
    color: #ff4500;
    margin-bottom: 10px;
}

.institution, .duration {
    font-style: italic;
    margin: 5px 0;
    color: white;
}

.experience-item p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

ul {
    margin: 10px 0 20px 20px;
    color:white;
}

ul li {
    margin-bottom: 10px;
}

ul li strong {
    color:#ff4500;
}


/* education ............................................... */

.timeline  h1  {
    color: black;
    text-align: center;
    font-size: 35px;
    text-decoration: underline;
}
h1 span
{
    color: #ff4500;
    font-size: 35px;
}

.timeline 
{
    width: 90%;
    margin: 50px auto;
    position: relative;
    background-color: aliceblue;
    box-shadow: 20px 15px 20px 10px black;

}

.timeline-container 
{
    display: flex;
    justify-content: space-between;
    /* box-shadow: 5px 5px 10px black; */
    /* box-shadow: 20px 0 20px 0 black; */

}

.timeline-item
 {
    background-color:#ff4500 ;
    padding: 20px;
    border-radius: 5px;
    width: 29%;
    position: relative;
    text-align: center;
    box-shadow: 20px 15px 20px 10px black;
}

.timeline-date 
{
    background-color: white;
    padding: 7px 19px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    color:  #ff4500;
    font-weight: bold;
}

.timeline-content h6 
{
    font-size: 18px;
    margin-bottom:4px;
    color: black;
}

.timeline-content p 
{
    font-size: 13px;
    line-height: 1.5;
    color: white;
    font-weight: bold;
}




/* skill section................................. */

.skill-container  h2{
    color: white;
    text-align: center;

}
.skill-container 
{
            width: 100%;
            /* max-width: 1200px; */
            margin: 0 auto;
            padding: 40px 0;
            background-color: black;
}


   .skill-container   h1 {
            text-align: center;
            margin-bottom: 30px;
            color: white;
            /* text-transform: uppercase; */
            letter-spacing: 2px;
            font-size: 35px;
          text-decoration: underline;
        }

        /* Skills Section */
        .skills-section 
        {
            margin-bottom: 60px;
            max-width: 1110px;
            margin-left: 130px;
            /* display: flex; */
            /* align-items: center; */
            /* justify-content: center; */
        }

        .skills-section h2 {
            font-size: 2em;
            color: white;
            border-bottom: 2px solid #ff4500;
            padding-bottom: 10px;
            margin-bottom: 30px;
            /* text-transform: uppercase; */
            letter-spacing: 1.5px;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .skills-list li {
            background-color: black;
            flex: 1 1 calc(33.333% - 20px);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px white;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .skills-list li:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 16px #ff4500;
        }

        .skills-list li::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background-color:#ff4500;
            /* background-color: white; */
            transition: width 0.3s;
        }

        .skills-list li:hover::before 
        {
            width: 100%;
            opacity: 0.1;
        }

        .skills-list strong {
            display: block;
            font-size: 1.2em;
            color: #ff4500;
            margin-bottom: 10px;
        }

        /* .skill-description {
            font-size: 0.95em;
            color: white;
            background-color: black;
            font-weight: bold;
            line-height: 1.6;
            display: none;
        } */

        /* Responsive Design */
        @media (max-width: 992px) {
            .skills-list li {
                flex: 1 1 calc(50% - 20px);
            }
        }

        @media (max-width: 600px) {
            .skills-list li {
                flex: 1 1 100%;
            }
        }


        /*  training sesction*/

        
/* Section styling */
.training-section {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px #ff4500; */
    position: relative;
    font-weight: bold;
   font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Container styling */
.training-container
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

/* Vertical line styling */
.vertical-line
 {
    width: 5px;
    background-color:#ff4500;
    box-shadow: 0 4px 8px black;
    height:100%;
    position: absolute;
    left: 30px;
    top: 10px;
}

/* Content styling */
.training-content {
    margin-left: 40px;
    flex: 1;
}

/* Title styling */
.training-content h2 {
    /* font-size: 2rem; */
    color: black;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    font-size: 35px;
          text-decoration: underline;
}
.training-content span {
    font-size: 2rem;
    color: #ff4500;
}

/* Experience item styling */
.training-item {
    margin-bottom: 20px;
}

.training-item h3 {
    font-size: 1.5rem;
    color: #ff4500;
    font-weight: bold;
    margin-bottom: 15px;
}

.institution, .duration {
    font-size: 1rem;
    color: black;
    font-weight: bold;
    margin-bottom: 5px;
}

.training-item ul li 
{
    font-size:15px;
    color: black;
}

ul li strong 
{
    color:#ff4500;
    font-weight: bolder;
    font-size:20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .vertical-line {
        display: none;
    }

    .content {
        margin-left: 0;
    }
}



/* contact section */
.contact
{
    background-color: black;
    height: 550px;
   
    

}

.contact form
 {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: 350px;
    
}

.contact form input, .contact form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1rem;
        /* box-shadow: 0 8px 16px #ff4500; */
        border: 2px solid #ff4500;
    border-radius: 5px;
}

.contact form button {
    background-color: white;
        color: black;
        font-weight: bold;
        box-shadow: 0 8px 16px orangered;
    padding: 0.5rem 0;
    border: 3px solid black;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 150px;
    /* margin-left: 230px; */
    /* width: 200px; */
}



.contact  h2
{
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 35px;
   text-decoration: underline;
       padding:30px;
}
.contact h2 span
{
    color: #ff4500;
    font-weight: bold;
}

footer 
{
    background-color:white;
    color:black;
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
    height: 40px;
}



/* General Reset for Mobile Devices */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans Pro", "Arial", sans-serif;
    background-color: white;
    color: black;
    user-select: none;
}

header {
    background-color: black;
    padding: 10px 0;
}

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

.logo a {
    font-size: 24px;
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
   

    .hero 
    {
        flex-direction: column;
        text-align: center;
    }


    .hero-image img {
        width: 250px;
        margin: 0 auto;
    }

    .hero-image {
        order: -1; /* Moves the image before the text */
    }

    .hero-text {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .hero-image img {
        width: 250px;
        margin: 0 auto;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-image img {
        margin-bottom: 20px;
    }

    .profile-details {
        margin-left: 0;
    }

    .experience-section .container {
        padding: 0 20px;
    }

    .skills-section {
        margin-left: 0;
    }

    .skills-list li {
        flex: 1 1 calc(50% - 10px);
    }

    .training-container {
        flex-direction: column;
    }

}

@media (max-width: 480px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-links li {
        margin: 0 5px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-buttons button {
        font-size: 14px;
    }

    .profile-details h1 {
        font-size: 30px;
    }

    .profile-details h2 {
        font-size: 24px;
    }

    .experience-section h2 {
        font-size: 24px;
    }

    .experience-item h3 {
        font-size: 1.2rem;
    }

    .skills-section h2 {
        font-size: 1.5em;
    }

    .skills-list li {
        flex: 1 1 100%;
    }

    .project-card {
        width: 100%;
        margin: 10px 0;
    }

    .projects h2 {
        font-size: 24px;
    }

    .project-image img {
        width: 60px;
        height: 60px;
    }
}

/* Specific Device Widths */
@media (max-width: 414px) {
    /* iPhone XR, iPhone 11, Galaxy Note 10 */
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-buttons button {
        font-size: 12px;
    }

    .profile-details h1, .profile-details h2 {
        font-size: 20px;
    }

    .experience-section h2 {
        font-size: 20px;
    }

    .skills-section h2 {
        font-size: 1.3em;
    }
}
/* Responsive Design */

/* General adjustments for small screens */
@media (max-width: 1200px) {
    .navbar {
        padding: 0 10px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 10px;
    }

    .hero-text {
        margin-right: 0;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-image img {
        width: 250px;
        margin-top: 20px;
    }

    .profile-container {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .profile-details {
        margin-left: 0;
        text-align: center;
        margin-top: 20px;
    }

    .experience-section {
        padding: 50px 20px;
    }

    .experience-section h2 {
        font-size: 2rem;
    }

    .experience-item {
        padding: 15px;
    }

    .skill-container h1 {
        font-size: 28px;
    }

    .skill-container h2 {
        font-size: 1.8em;
    }

    .projects {
        padding: 20px 0;
    }

    .project-card {
        width: 80%;
        margin: 20px auto;
    }

    .contact form {
        width: 90%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons button {
        width: 100%;
        max-width: 200px;
    }

    .profile-image img {
        width: 250px;
        height: 250px;
    }

    .profile-details h1 {
        font-size: 30px;
    }

    .profile-details p {
        max-width: 100%;
    }

    .skills-section {
        margin: 0 auto;
    }

    .skills-section h2 {
        font-size: 1.6em;
    }

    .skills-list li {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .contact form
     {
        width: 100%;
        align-items:center
        
    }

    .training-container {
        flex-direction: column;
    }

    .training-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 20px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-image img {
        width: 200px;
    }

    .profile-details h1 {
        font-size: 28px;
    }

    .profile-details p {
        font-size: 14px;
    }

    .experience-section h2 {
        font-size: 1.5rem;
    }

    .experience-item h3 {
        font-size: 1.2rem;
    }

    .skills-section h2 {
        font-size: 1.4em;
    }

    .skills-list li {
        flex: 1 1 100%;
    }

    .project-card {
        width: 90%;
    }

    .project-content h3 {
        font-size: 20px;
    }

    .contact form input, .contact form textarea {
        font-size: 0.9rem;
    }

    .contact form button {
        font-size: 0.9rem;
    }

   

    .contact h2 {
        font-size: 30px;
    }

    .timeline h1 {
        font-size: 30px;
    }

    .training-content h2 {
        font-size: 30px;
    }
}

/* Additional smaller screen adjustments */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .hero-buttons button {
        width: 100%;
        padding: 10px;
    }

    .contact h2 {
        font-size: 28px;
    }

    .profile-details h1 {
        font-size: 26px;
    }

    .projects h2 {
        font-size: 22px;
    }

    .project-card {
        width: 95%;
        padding: 15px;
    }
}

@media (max-width: 768px)
{
    .hero-buttons
    {align-items:center}

   
}

/* Responsive styles for screens 768px wide or smaller
@media (max-width: 768px) {
    .contact {
        height: auto; /* Adjust height to fit content */
        padding: 20px; /* Add some padding for smaller screens */
    }

    .contact form {
        width: 100%; /* Reduce width for smaller screens */
        margin-left: auto; /* Center the form */
        margin-right: auto; /* Center the form */
    }

    .contact form button {
        margin-bottom: 5px; /* Reduce bottom margin for smaller screens */
    }

    .contact h2 {
        font-size: 28px; /* Reduce font size for smaller screens */
    }
} */