/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: white;
}

/* Header */
/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(45deg, #ff4e50, #1f1c18); /* Gradient Background */
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 15px rgba(255, 78, 80, 0.3); /* Soft Glow */
}

/* Logo Styling */
.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease-in-out;
}

/* Logo Hover Effect */
.logo:hover {
    transform: rotate(-5deg) scale(1.1);
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8);
}

/* Navigation */
nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Glowing Hover Effect */
nav a:hover {
    color: #ffcc00;
    text-shadow: 0px 0px 10px rgba(255, 204, 0, 0.8);
    transform: scale(1.1);
}

/* Underline Animation */
nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: #ffcc00;
    border-radius: 5px;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* Expanding Underline on Hover */
nav a:hover::after {
    width: 100%;
    left: 0;
}


/* hey*/
.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

nav a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #ffcc00;
}

/* Home Section */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 50px;
    background: linear-gradient(45deg, #ff4e50, #1f1c18);
    color: white;
}

.home-img img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    margin-right: 30px;

    box-shadow: 0 0 20px black;
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

.home-img img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 1);
}

.home-content h1 {
    font-size: 36px;
}
span{
    color: hsl(45, 100%, 50%);
}
.home-content h3 {
    font-size: 24px;
    color: white;
}

.home-content p {
    max-width: 600px;
    margin: 20px auto;
    font-size: 20px;
    padding: 10px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ffcc00;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #e6b800;
}


/* Social Icons */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffcc00;
}

/* Services Section */
.skills {
    text-align: center;
    padding: 110px;
    height: 100vh;
    background: linear-gradient(45deg, #1f1c18, #ff4e50);
}

.skills h2 {
    font-size: 30px;
    margin-bottom: 40px;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Default style for service boxes */
.skills-box {
    background: linear-gradient rgba(40, 40, 40, 0.6);
    color: white;
    border: 2px solid #ffcc00;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 250px;
    height: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.4s ease-out; /* Smooth effect */
}

/* Hover Effect - Shake */
.skills-box:hover {
    animation: shake 0.4s ease-in-out;
    box-shadow: 0px 10px 30px rgba(255, 204, 0, 0.5); /* Soft glow */
}

/* Keyframes for Shake Animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    50% { transform: translateX(5px) rotate(1deg); }
    75% { transform: translateX(-3px) rotate(-1deg); }
    100% { transform: translateX(0); }
}


/* Icon Styling */
.skills-box i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ffcc00;
}

.skills-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.skills-box p {
    font-size: 14px;
    margin-bottom: 20px;
}

    /* About Me Section */
.about-me {
    padding: 100px 50px;
    background: linear-gradient(45deg, #1f1c18, #ff4e50);
    color: white;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ffcc00;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about-img {
    display: flex; /* Use flexbox for layout */
    align-items: flex-start; /* Align items to the top */
    justify-content: flex-start; /* Align content to the left */
    gap: 20px; /* Add spacing between the image and text */
}

.about-img img {
    width: 250px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 0 20px black;
    object-fit: cover;
}

.about-content {
    flex: 1; /* Make the content take the remaining space */
    text-align: left; /* Ensure the text aligns properly */
    color: white; /* Adjust text color for visibility */
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.info-list {
    margin-bottom: 20px;
    list-style: none;
}

.info-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.skills-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 100px;
}

.left-section, .right-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 48%;
}

.progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3e3e3e;
    border-radius: 12px;
    padding: 20px 25px;
    color: white;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.progress-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.progress-item span {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
    color: #ff66b2;
}

.progress-bar {
    position: relative;
    width: 65%;
    height: 14px;
    background: #555;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, #ff6ec7, #ff3f8e);
    width: 0;
    transition: width 0.8s ease-in-out;
}

.percentage-badge {
    background: #ff66b2;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 25px;
    margin-left: 20px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s;
}

.progress-item:hover .percentage-badge {
    transform: scale(1.15);
}

/* Animated Background Hover Effect */
.progress-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-item:hover::before {
    opacity: 1;
}

.btn {
    margin-top: 25px;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    background: #ff66b2;
    color: #222;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(255, 102, 178, 0.5);
    transition: background 0.4s, transform 0.4s;
}

.btn:hover {
    background: #e63946;
    transform: translateY(-5px);
}

.contact-section {
    padding: 200px 50px;
    background: linear-gradient(45deg, #1f1c18, #ff4e50);
    color: white;
    text-align: center;
}
.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}
.contact-item i {
    font-size: 1.5em;
    color: #007BFF;
}
.contact-item a {
    text-decoration: none;
    color: #1f1c18;
}
.contact-item a:hover {
    color: #007BFF;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .home {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .home-img img {
        width: 200px;
        height: 200px;
        margin: 0 auto 20px;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 16px;
    }

    .skills {
        padding: 60px 20px;
    }

    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .skills-box {
        width: 90%;
        height: auto;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-img {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .about-img img {
        width: 200px;
        height: 250px;
    }

    .about-content {
        text-align: center;
    }

    .skills-progress {
        flex-direction: column;
        gap: 30px;
    }

    .left-section, .right-section {
        width: 100%;
    }

    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .progress-bar {
        width: 100%;
    }

    .percentage-badge {
        margin-left: 0;
        align-self: flex-end;
    }

    .contact-section {
        padding: 100px 20px;
    }

    .contact-item {
        font-size: 1em;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}
