/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #f5f5f5;
    background-color: #24292f;
    line-height: 1.6;
}

/* Basic Layout */
header,
section,
footer {
    padding: 15px; /* Reduced padding for mobile */
}

/* Profile Photo and QR Code Scaling */
.profile-photo {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
}

.qr-code {
    max-width: 80px; /* Adjusted size */
    height: auto;
}

/* GitHub Icon Scaling */
.social-links a[href*="github.com"] img {
    max-width: 24px; /* Adjusted size */
    height: auto;
}
.main-header {
    background-color: #2c3238;
    padding: 10px 15px; /* Reduced padding */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease;
}

.main-header.hidden {
    top: -70px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-menu li {
    margin: 2px 5px;
}

.nav-menu a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 600;
    font-size: 0.9em; /* Slightly smaller font size for mobile */
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #00bfff;
}
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Space for the fixed header */
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em; /* Adjusted for mobile */
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-photo-wrapper {
    position: relative; /* To position the QR code */
    width: 100px; /* Set a fixed width for the wrapper */
    height: 100px; /* Set a fixed height for the wrapper */
    margin-bottom: 20px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.qr-code {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px; /* Adjust size as needed */
    height: auto;
}

.contact-info,
.social-links {
    margin-bottom: 15px; /* Reduced margin */
}

.contact-info a,
.social-links a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9em; /* Slightly smaller font size */
}

.contact-info a:hover,
.social-links a:hover {
    color: #00bfff;
}

#about p {
    font-size: 1.1em; /* Increased font size */
}
.accordion-section,
.job-entry {
    margin-bottom: 15px; /* Reduced margin for mobile */
    background-color: #2c3238;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-toggle {
    background-color: #373e47;
    color: #f5f5f5;
    padding: 12px 15px; /* Reduced padding */
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em; /* Increased font size */
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: background-color 0.2s ease;
    background: linear-gradient(to bottom, #373e47, #444c56); /* Subtle gradient */
}

.accordion-toggle:hover {
    background: linear-gradient(to bottom, #444c56, #515a65); /* Hover gradient */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Subtle glow */
}

.accordion-toggle::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    color: red; /* Changed arrow color */
}

.accordion-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
    padding: 15px;
    max-height: 120px; /* Increased initial visible content */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.expanded {
    max-height: 1000px; /* Adjusted for more content */
}
#skills-proficiencies {
    background-color: #2c3238;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px; /* Reduced gap */
    padding: 15px; /* Reduced padding */
}

.skill-item {
    background-color: #373e47;
    border-radius: 5px;
    padding: 12px; /* Reduced padding */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.skill-item h3 {
    color: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em; /* Adjusted for mobile */
    margin-bottom: 8px; /* Reduced margin */
    text-align: center;
}

.skill-item ul {
    list-style: disc;
    color: #ccd;
    padding-left: 20px;
}
#download-resume {
    background-color: #2c3238;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 15px; /* Added margin */
}

.download-description {
    margin-bottom: 15px; /* Reduced margin */
    font-size: 0.9em; /* Reduced font size */
}

.download-button {
    display: inline-block;
    background-color: #00bfff;
    color: #fff;
    padding: 10px 15px; /* Reduced padding */
    text-decoration: none;
    margin: 5px; /* Reduced margin */
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em; /* Reduced font size */
    transition: background-color 0.2s ease;
}

.download-button:hover {
    background-color: #009bcf;
}

.footer {
    background-color: #222;
    color: #f5f5f5;
    text-align: center;
    padding: 10px 15px; /* Reduced padding */
    font-size: 0.8em; /* Reduced font size */
}

.footer a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #00bfff;
}

@media (min-width: 768px) { /* Adjust breakpoint as needed */
    .download-buttons {
        display: flex;
        justify-content: space-around; /* Distribute buttons evenly */
    }

    .download-button {
        margin: 10px; /* Increased margin */
    }
}
.social-links {
    display: flex; /* Use flexbox for easy alignment */
    align-items: center; /* Align items vertically */
    gap: 20px; /* Adjust spacing as needed */
}

.social-links a img {
    max-width: 32px; /* Increased icon size */
    height: auto;
    transition: transform 0.2s ease; /* Add hover transition */
}

.social-links a:hover img {
    transform: scale(1.1); /* Scale up on hover */
}

.qr-code {
    /* ... existing styles ... */
    position: static; /* Remove absolute positioning */
    width: 40px; /* Adjust size as needed */
}
