/* General Reset and Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #444;
    line-height: 1.6;
    padding: 0 20px;
    font-size: 16px;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #333;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

header nav ul li a:hover {
    color: #f5a623;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://i.pinimg.com/736x/49/37/45/4937450a5b9fa26d7a4510f86bfe1a09.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* About Section */
.about {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #333;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 6px solid #f5a623;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.about-description a {
    color: #f5a623;
    text-decoration: none;
}

.about-description a:hover {
    text-decoration: underline;
}

/* Self Proclamations */
.self-proclamations {
    margin-top: 50px;
    background-color: #f1f1f1;
    padding: 30px;
    border-radius: 10px;
}

.self-proclamations h3 {
    font-size: 1.7rem;
    margin-bottom: 30px;
    text-align: center;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.icon {
    text-align: center;
    font-size: 1.4rem;
}

.icon i {
    font-size: 2.5rem;
    color: #f5a623;
    margin-bottom: 15px;
}

/* What I Do Section */
.what-i-do {
    padding: 60px 20px;
    background: #f4f4f4;
}

.what-i-do-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.what-i-do-item {
    width: calc(33.333% - 20px); /* Ensures three items per row with spacing */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.what-i-do-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.what-i-do i {
    width: 90px; /* Increase the size of the icon */
    height: 90px; /* Ensure the height matches */
    margin: 0 auto 20px;
    background-color: #f5a623;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.what-i-do-icon:hover {
    background-color: #d4881e;
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

.what-i-do-icon img {
    width: 50px; /* Adjust the icon size inside the circle */
    height: 50px;
    transition: transform 0.3s ease;
}

.what-i-do-item h4 {
    font-size: 1.8rem; /* Increase font size for better readability */
    margin: 20px 0;
    font-weight: 600;
    color: #333;
}

.what-i-do-item p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px; /* Adds some space between the description and bottom of card */
}

/* Add hover effect to the image */
.what-i-do-item:hover img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .what-i-do-item {
        width: calc(50% - 20px); /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .what-i-do-item {
        width: 100%; /* One item per row on very small screens */
    }
}



.itemWhat {
    width: 280px;
    height: 400px;
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.itemWhat:hover {
    transform: translateY(-10px);
}

.what-i-do h3 {
    margin-top: 20px;
    font-size: 2rem;
    color: #333;
}

.what-i-do-icon {
    width: 70px;
    height: 70px;
    margin: 20px auto;
}

.what-i-do-icon img {
    width: 100%;
    height: auto;
}

/* Experience Section */
.experience {
    padding: 60px 20px;
    background: #fff;
}

.tech-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.tech-list img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.tech-list img:hover {
    transform: scale(1.1);
}

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

.work-logos img {
    width: 120px;
}

/* Work Section */
.work {
    padding: 60px 20px;
    background: #f4f4f4;
}

.work-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.work-item {
    width: 30%;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.work-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.work-item img:hover {
    transform: scale(1.05);
}

/* Resume Section */
.resume {
    padding: 60px 20px;
    background: #fff;
}

.resume img {
    height: auto; /* Let the image height adjust based on aspect ratio */
    width: 100%; /* Full width in its container */
    max-width: 300px; /* Set a max width for large images, ensuring they don’t overflow */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.resume img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Modal Styles for Image Zoom */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.modal img {
    width: 40%; /* Adjust to 80% of the screen width for zoom effect */
    height: auto; /* Maintain aspect ratio */
    max-width: 1414px; /* Max width to avoid overflowing larger images */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Contact Section */
.contact {
    padding: 60px 20px;
    background: #fff;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    border-color: #f5a623;
}

.contact button {
    padding: 15px;
    background-color: #f5a623;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #d4881e;
}

/* Footer Styles */
footer {
    padding: 30px 20px;
    text-align: center;
    background-color: #333;
    color: white;
    font-size: 1.1rem;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    margin: 0 15px;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f5a623;
}
