/* General Styles */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}


/* Header */

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

header ul {
    display: flex;
    list-style: none;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

header ul li a:hover {
    color: #ff6347;
}


/* Introduction Section */

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 60px;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.intro-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.intro-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #666;
}

.intro-text p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.intro-text .btn {
    background-color: #ff6347;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
}

.intro-text .btn:hover {
    background-color: #ff4500;
}

.intro-image img {
    max-width: 300px;
    border-radius: 50%;
}


/* Skills Section */

.skills {
     background-color: #fff;  
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
         
}

.skills2 {
    background-image: url('../assets/images/back2.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents image repetition */
    width: 100%; /* Adjust width as needed */
   /*  height: 600px; Adjust height as needed */
   /* display: flex;  Optional: for better content alignment */
    /* align-items: center;  Centers content vertically */
   /*   justify-content: center;Centers content horizontally */
   /*  color: rgb(255, 230, 3); Ensures text is readable */

}



.skills h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.skills ul {
    list-style: none;
}

.skills ul li {
    font-size: 1.1rem;
    margin: 10px 0;
}


/* Skills Section */

#skills {
    padding: 50px 20px;
    /* background-color: #1a1a1a;  */
    background-color: #f4f4f4;
    
}

#skills h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-bar h3 {
    margin-bottom: 5px;
}

.bar {
    background-color: #333;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    height: 30px;
    width: 100%;
}

.bar span {
    display: block;
    height: 100%;
}

.php {
    width: 90%;
    background-color: #3498db;
}

.jquery {
    width: 80%;
    background-color: #9b59b6;
}

.html-css {
    width: 95%;
    background-color: #e74c3c;
}

.wordpress {
    width: 70%;
    background-color: #f39c12;
}

.AspNet {
    width: 70%;
    background-color: #3cb25f;
}

.VBNet {
    width: 90%;
    background-color: #6708f5;
}


/* Footer */

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin: 20px;
}

footer p {
    margin: 5px 0;
}

footer .social-links a {
    color: #ff6347;
    text-decoration: none;
}

footer .social-links a:hover {
    color: #ff4500;
}

@media (max-width: 768px) {
    .intro {
        flex-direction: column;
        text-align: center;
    }
    .intro-image img {
        margin-top: 20px;
    }
}