/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    color: #333333;
    background: #f9f9f9;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.logo img {
    width: 100px; /* Adjust the size of the logo */
    height: auto; /* Maintain aspect ratio */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #555555;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
    color: #0078d7; /* Highlight color on hover */
    background-color: #f0f0f0; /* Optional: Add a background color */
    border-radius: 5px; /* Optional: Add rounded corners */
}

nav a:active {
    color: #005bb5; /* Highlight color when clicked */
}

/* Home Section */
#home {
    background: linear-gradient(to right, #0078d7, #00b894);
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.home_image img {
    width: 300px;
    height: 300px;
    border-radius: 65%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.home_content h1 {
    font-size: 60px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.home_content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.home_content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.home_content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #0078d7;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home_content .btn:hover {
    background-color: #005bb5;
    color: #ffffff;
}

/* About Section */
#about {
    background-color: #ffffff;
    padding: 60px 20px;
}

#about h2 {
    font-size: 40px;
    color: #0078d7;
    text-align: center;
}

#about p {
    font-size: 18px;
    line-height: 1.8;
    color: #555555;
    text-align: center;
}

/* Skills Section */
#skills {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.item {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
}

.item p {
    font-size: 14px;
    color: #555;
    text-align: justify;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background: #0078d7;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.innerDivFields {
    width: 50%;
    margin: 20px auto;
    border: 3px solid #ffffff;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.innerDivFields label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.innerDivFields input,
.innerDivFields textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.innerDivFields textarea {
    height: 100px;
    resize: vertical;
}

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

.innerDivFields button:hover {
    background-color: #005bb5;
}

.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.social a:hover {
    transform: scale(1.2);
}

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

footer p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        width: 80px; /* Smaller logo for mobile devices */
    }

    .skills .item {
        flex: 1 1 100%; /* Stack items vertically on smaller screens */
    }

    .innerDivFields {
        width: 90%; /* Make the contact form wider on smaller screens */
    }

    .home_image img {
        width: 150px;
        height: 150px;
    }

    .home_content h1 {
        font-size: 40px;
    }

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

    .home_content p {
        font-size: 16px;
    }
}