body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #121212, #2a2a2a); /* Dark gradient background */
    color: #e0e0e0;
    margin: 0;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Update the .dark-box selector */
.dark-box {
    background: rgba(32, 32, 32, 0.8);
    border-radius: 20px;
    padding: 2rem; /* Base padding for larger screens */
    width: 100%;
    max-width: 600px; /* Limit its max width for larger screens */
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    display: flex; /* Use flexbox for responsive content sizing */
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically if there's extra space */
}

/* Media query for screens smaller than 600px (typical mobile width) */
@media (max-width: 600px) {
    .dark-box {
        padding: 1rem; /* Reduce padding for mobile devices */
        max-width: 90%; /* Take up most of the screen width on small devices */
    }
}

/* Adjusting content inside .dark-box for responsiveness */
.dark-box .profile-pic {
    max-width: 100%; /* Ensure the image scales down on smaller screens */
    height: auto;
}

.dark-box h1 {
    font-size: calc(2.5rem + 2vw); /* Responsive font sizing */
    margin-bottom: 0;
}

/* Skills grid inside dark-box should be responsive */
.dark-box .skills-grid {
    width: 100%; /* Ensure it takes full width of the container */
}

/* Adjustments for skill tabs */
.skill-tab {
    width: 100%; /* Allow skill tabs to stretch to container width on small screens */
    max-width: 150px;
}

/* For social links or any other content inside .dark-box */
.dark-box .social-box, 
.dark-box form {
    width: 100%; /* Take full width inside dark-box */
}

/* Adjustments for form elements */
.dark-box input, 
.dark-box textarea {
    width: calc(100% - 20px); /* Account for padding to prevent overflow */
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #ff416c; /* Neon pink border for profile pic */
}

#intro h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: #ff416c; /* Neon pink title */
}

/* .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
} */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.skill-tab {
    background: linear-gradient(to right, #ff416c, #ff4b2b); /* Gradient from neon pink to orange */
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(255, 65, 108, 0.3); /* Neon pink shadow on hover */
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-item {
    display: none;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 65, 108, 0.5); /* Neon pink semi-transparent background */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.project-image {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.social-links img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 2px #ff416c); /* Neon pink drop shadow on icons */
}

.social-links img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px #ff416c); /* Increased shadow on hover */
}

form {
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom: 2px solid #ff416c; /* Neon pink underline for input focus */
}

input:focus, textarea:focus {
    outline: none;
    border-bottom-color: #ff4b2b; /* Change color on focus */
}

button {
    background: linear-gradient(to right, #ff416c, #ff4b2b); /* Gradient from neon pink to orange */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #ff4b2b, #ff416c); /* Reverse gradient on hover for dynamic effect */
}
/* Add these to your existing CSS */
/* Add or update these in your CSS */

.skill-icon {
    font-size: 40px; /* Adjust as needed */
    margin-bottom: 10px;
}

.social-box {
    background: rgba(32, 32, 32, 0.8);
    border-radius: 20px;
    padding: 1rem;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.social-box a {
    margin: 0 10px;
    color: #e0e0e0; /* Default color for icons */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-box a:hover {
    color: #ff416c;
    transform: scale(1.1);
    text-shadow: 0 0 4px #ff416c;
}

/* Ensure Font Awesome is loaded */
body {
    /* ... other styles */
    font-family: 'Roboto', sans-serif;
}

/* Add these to make sure icons are visible against dark backgrounds */
.fas, .fab {
    color: #e0e0e0; /* Light color for icons */
}
