/* ===== TABLE OF CONTENTS =====
 * 1. Variables & Base Styles
 * 2. Themes, Typography & Utility Classes
 * 3. Layout & Container Styles
 * 4. Header & Navigation
 * 5. Hero Section
 * 6. About Section
 * 7. Projects Section
 * 8. Services Section
 * 9. Contact Section
 * 10. Footer
 * 11. Animations
 * 12. webkit-scrollbars
 * 13. Media Queries
*/

/* ===== 1. VARIABLES & BASE STYLES ===== */
/* Add this to your :root variables section */
:root {
    /* Colors Default */
    --accent-color: #64ffda;
    --accent-transparent: rgba(100, 255, 218, 0.1);
    --dark-bg: #0f0f0f;
    --darker-bg: #070707;
    --card-bg: #111111;
    --border-subtle: #1a1a1a;
    --text-main: #fff;
    --text-secondary: #aaa;
    
    /* Spacing */
    --section-padding: 100px 0;
    --card-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-bounce: 200ms cubic-bezier(.42,0,.44,1.68);
    --theme-transition: 0.15s ease; /* Faster transition specifically for theme changes */
    
    /* Shadows */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

/* Light theme variant */
[data-theme="light"] {
    --accent-color: #0496ff;
    --accent-transparent: rgba(4, 150, 255, 0.1);
    --dark-bg: #f7f7f7;
    --darker-bg: #e6e6e6;
    --card-bg: #ffffff;
    --border-subtle: #dddddd;
    --text-main: #111111;
    --text-secondary: #555555;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 30px rgba(4, 150, 255, 0.1);
}

/* Light mode adjustments for hire-me section */
[data-theme="light"] #hire-me {
    background-color: #f0f5ff; /* Lighter blue background */
}

[data-theme="light"] .service-card {
    background-color: #ffffff;
    border-color: #e1e5f0;
}

[data-theme="light"] .hire-cta {
    background-color: rgba(4, 150, 255, 0.1);
    border: 1px solid rgba(4, 150, 255, 0.3);
}

[data-theme="light"] .hire-cta p {
    color: #333;
}
/* Hire Me section light mode adjustments removed */
[data-theme="light"] nav {
    background: transparent;
}

/* Smooth transitions between themes - now faster */
html {
    transition: background-color var(--theme-transition);
}

*, *::before, *::after {
    transition: color var(--theme-transition), 
                background-color var(--theme-transition), 
                border-color var(--theme-transition), 
                box-shadow var(--theme-transition);
}

/* Keep the regular transition for transform to not break other animations */
a, button, .project-card, .service-card, .tech-item, .about-image-container, .cta-button {
    transition: transform var(--transition-fast);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: visible;
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 30px;
    position: relative;
    z-index: 100;
}

.theme-switch {
    opacity: 0;
    position: absolute;
}

.switch-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 34px;
    width: 34px;
    background-color: var(--accent-transparent);
    border-radius: 50%;
    position: relative;
    padding: 5px;
    transition: all var(--transition-fast);
}

.switch-label:hover {
    background-color: var(--accent-transparent);
    transform: scale(1.1);
}

.switch-label .moon,
.switch-label .sun {
    width: 20px;
    height: 20px;
    fill: var(--text-main);
    position: absolute;
    transition: all var(--transition-fast);
}

.switch-label .moon {
    opacity: 0;
    transform: translateY(20px);
}

.switch-label .sun {
    opacity: 1;
    transform: translateY(0);
}

/* When theme is light, show moon and hide sun */
[data-theme="light"] .switch-label .sun {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="light"] .switch-label .moon {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 2. THEMES, TYPOGRAPHY & UTILITY CLASSES ===== */

/* Adjust styles for light mode */
[data-theme="light"] header {
    background-color: rgba(247, 247, 247, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hamburger-menu .bar {
    background-color: var(--text-main);
}

[data-theme="light"] .logo::after {
    background: linear-gradient(120deg, #0496ff, #9e64ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] #hero h1 {
    background: linear-gradient(120deg, #0496ff, #0496ff, #9e64ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}


.text-center {
    text-align: center;
}

.section-text {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(120deg, #64ffda, #64dbff, #9e64ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    width: 100%;
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* ===== 3. LAYOUT & CONTAINER STYLES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ===== 4. HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    z-index: 100;
    background-color: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
}

.logo::after {
    content: '.';
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #64dbff, #9e64ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.logo-link:hover .logo {
    color: var(--accent-color);
}

.logo-link:hover .logo::after {
    background: var(--accent-color);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color var(--transition-fast);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* ===== 5. HERO SECTION ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(120deg, #64ffda, #64dbff, #9e64ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    animation: gradient 8s ease infinite;
}

#hero h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--accent-color);
}

/* Tech stack */
.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2.5rem 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.4s; }
.tech-item:nth-child(4) { animation-delay: 0.6s; }
.tech-item:nth-child(5) { animation-delay: 0.8s; }
.tech-item:nth-child(6) { animation-delay: 1.0s; }

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tech-item:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.05);
}

/* CTA Buttons */
.cta-container {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--accent-color);
}

.cta-button.secondary:hover {
    background-color: var(--accent-transparent);
}

/* ===== 6. ABOUT SECTION ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;   
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Image container with hover effect */
.about-image-container {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: visible;
    transition: all var(--transition-fast);
}

.about-image-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    z-index: -1;
    transition: all var(--transition-fast);
}

.about-image-container:hover {
    transform: translateY(-5px);
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(20%);
    transition: all var(--transition-fast);
}

.about-image-container:hover img {
    filter: grayscale(0%);
}

/* ===== 7. PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-fast);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

/* Improved project card image display */
.project-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%; /* 16:10 aspect ratio - works well for most browser screenshots */
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Key property for handling screenshots */
    object-position: top; /* Focus on the top part of the UI where most important elements usually are */
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: var(--card-padding);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background-color: var(--accent-transparent);
    color: var(--accent-color);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.project-links a:hover {
    color: var(--accent-color);
}

.project-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.project-featured {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.project-featured .project-image {
    flex: 1;
    height: 300px;
}

.project-featured .project-content {
    flex: 1;
}

/* ===== 9. CONTACT SECTION ===== */
#contact {
    display: block;
    padding: 4rem 0;
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-subtle);
}
#contact .container {
    /* Use default .container styles for centering and max-width */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Social media icons */
.socials-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 4rem 0 2rem;
    position: relative;
    padding-top: 30px;
}

.socials-container a {
    background-color: var(--border-subtle);   
    border-radius: 50%;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all var(--transition-fast);
}

.socials-container a svg {
    height: 32px;
    width: 32px;
    fill: var(--text-main);
    transition: all var(--transition-fast);
}

.socials-container a::before {
    content: attr(data-social);
    position: absolute;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 0.5em 1em;
    border-radius: 100px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-30px) rotate(25deg);
    opacity: 0;
    transition: var(--transition-bounce);
    font-weight: 500;
    font-size: 0.9rem;
    pointer-events: none;
    white-space: nowrap;
}

.socials-container a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.socials-container a:hover svg {
    fill: var(--dark-bg);
}

.socials-container a::after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--accent-color);
    transform: translateY(0) rotate(25deg);
    opacity: 0;
    transition: var(--transition-bounce);
    pointer-events: none;
}

.socials-container a:hover::before {
    transform: translateY(-85px) rotate(0deg);
    opacity: 1;
}

.socials-container a:hover::after {
    transform: translateY(-62px) rotate(0);
    opacity: 1;
}

/* ===== 10. FOOTER ===== */
footer {
    display: block;
    clear: both;
    padding: 4rem 0;
    background-color: var(--darker-bg);
    color: var(--text-main);
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-top: 1px solid var(--border-subtle);

}

/* ===== 11. ANIMATIONS ===== */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* For staggered animations */
.fade-in-stagger:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger:nth-child(4) { transition-delay: 0.3s; }
.fade-in-stagger:nth-child(5) { transition-delay: 0.4s; }
.fade-in-stagger:nth-child(6) { transition-delay: 0.5s; }

/* ===== 12. WEBKIT SCROLLBARS ==== */
/* Scrollbar styles - works for both themes */
/* Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-transparent);
    border-radius: 10px;
    border: 2px solid var(--dark-bg);
    transition: background-color var(--theme-transition);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

/* Ensure smooth scrolling behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for fixed header */
}


/* ===== 12. MEDIA QUERIES ===== */
/* Large tablets and small desktops */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .project-featured {
        grid-column: span 2;
    }
}

/* Tablets and large phones */
@media screen and (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .container {
        padding: 0 25px;
    }
    
    header {
        padding: 1rem;
    }
    
    /* Mobile menu */
    .hamburger-menu {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 150;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 1.5rem 0;
        margin-left: 0;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    /* Hero mobile */
    #hero {
        padding: 60px 0 40px;
        min-height: calc(100vh - 20px);
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-stack {
        margin: 2rem 0;
        gap: 1.5rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }
    
    .cta-button {
        width: 80%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    
    /* About section */
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .about-image-container {
        width: 250px;
        height: 350px;
    }
    
    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .project-featured .project-image {
        width: 100%;
        height: 220px;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .hire-cta {
        padding: 1.5rem;
    }
    
    .hire-cta p {
        font-size: 1.1rem;
    }
    
    /* Contact section */
    .socials-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .socials-container a {
        height: 50px;
        width: 50px;
    }
    
    .socials-container a svg {
        height: 24px;
        width: 24px;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
            width: 100vw;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            padding: 2rem 0 2rem 0;
    }
    
    #hero h2 {
        font-size: 1.1rem;
    }
    
    .tech-stack {
        gap: 1rem;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .cta-button {
        width: 90%;
        font-size: 0.9rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .about-image-container {
        width: 220px;
        height: 300px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .socials-container {
        gap: 12px;
    }
    
    .socials-container a {
        height: 45px;
        width: 45px;
    }
    
    .socials-container a svg {
        height: 22px;
        width: 22px;
    }
    
    .socials-container a::before {
        font-size: 0.8rem;
        transform: translateY(-25px) rotate(25deg);
    }
    
    .socials-container a:hover::before {
        transform: translateY(-55px) rotate(0deg);
    }
}

/* ===== Light/Dark mode media queries ===== */
/* For desktop, place it properly next to navigation */
@media screen and (min-width: 769px) {
    header {
        display: flex;
        align-items: center;
    }
    
    nav {
        display: flex;
        align-items: center;
    }
    
    .theme-toggle {
        margin-left: 30px;
    }
}

/* For mobile, position it better with hamburger menu */
@media screen and (max-width: 768px) {
    header {
        justify-content: space-between;
    }
    
    .theme-toggle {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
}

/* Ensure about section content doesn't overflow */
@media (max-width: 768px) {
    .about-text {
        width: 100%;
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* About section headings and skills grid */
.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.about-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-category h4 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.skill-category p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}