/* Base Styles */
:root {
    --primary-color: #3d405b; /* Delft Blue */
    --primary-dark: #2d2f45; /* Darker Delft Blue */
    --primary-light: #4d5070; /* Lighter Delft Blue */
    --secondary-color: #81b29a; /* Cambridge Blue */
    --accent-color: #e07a5f; /* Burnt Sienna */
    --highlight-color: #f2cc8f; /* Sunset */
    --background-color: #f4f1de; /* Eggshell */
    --dark-color: #2d2f45;
    --dark-color-alt: #3d405b;
    --light-color: #f4f1de;
    --light-color-alt: #f2efdc;
    --gray-color: #8e8e93;
    --success-color: #81b29a;
    --warning-color: #f2cc8f;
    --danger-color: #e07a5f;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --box-shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(129, 178, 154, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(224, 122, 95, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Section background colors */
#home {
    background: linear-gradient(135deg, var(--background-color) 0%, #f9f7e8 100%);
}

#about {
    background: linear-gradient(135deg, #f9f7e8 0%, var(--background-color) 100%);
}

#skills {
    background: linear-gradient(135deg, var(--background-color) 0%, #f9f7e8 100%);
}

#portfolio {
    background: linear-gradient(135deg, #f9f7e8 0%, var(--background-color) 100%);
}

#contact {
    background: linear-gradient(135deg, var(--background-color) 0%, #f9f7e8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}



.underline {
    height: 5px;
    width: 80px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(61, 64, 91, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 64, 91, 0.5);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(61, 64, 91, 0.2);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 64, 91, 0.5);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0;
}

nav {
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled nav {
    height: 70px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 0;
}

.logo a::before {
    content: '</';
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.8;
    margin-right: 5px;
}

.logo a::after {
    content: '>';
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.8;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: -1;
    right: -250px;
    top: -250px;
    filter: blur(100px);
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
}

.hero-content h1::before {
    content: '<';
    position: absolute;
    left: -30px;
    top: 0;
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2.5rem;
}

.hero-content h1::after {
    content: '/>';
    position: absolute;
    right: -50px;
    bottom: 0;
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2.5rem;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--gray-color);
    position: relative;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary-light);
}

.hero-content .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-strong);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    max-width: 55%;
    height: auto;
    background-color: #f0efe3;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px dashed var(--primary-light);
    border-radius: var(--border-radius-lg);
    top: -20px;
    right: -20px;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    bottom: -20px;
    left: 0;
    z-index: 1;
    opacity: 0.1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 80%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.about-text {
    flex: 1.5;
}

.about-text p {
    margin-bottom: 20px;
}

.about-details {
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.detail-item i {
    width: 30px;
    color: var(--primary-color);
}

/* Skills Section */
.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.skill-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.skill-item h4 {
    margin-bottom: 15px;
}

.skill-level {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--gray-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 64, 91, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    color: white;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    line-height: 50px;
    margin-top: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 50px 0;
}

/* Modal animation classes */
.modal-slide-in {
    animation: slideIn 0.4s ease-out forwards;
}

.modal-slide-out {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
    will-change: transform, opacity;
    transform-origin: bottom center;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    color: var(--danger-color);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.modal-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-height: 80vh;
    order: 2;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    max-height: 75vh;
}

.carousel-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.modal-description {
    flex: 1;
    min-width: 300px;
    order: 1;
    padding-right: 20px;
    padding-top: 40px; /* Add more top padding to avoid overlap with close button */
}

.modal-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal-description ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-description li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.modal-description li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.modal-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Contact Section */
.contact-content-redesigned {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.contact-card {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-strong);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.03) 0%, rgba(94, 92, 230, 0.03) 100%);
    z-index: -1;
}

.contact-card-inner {
    padding: 40px;
    position: relative;
}

.contact-card-inner::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -75px;
    right: -75px;
    opacity: 0.1;
    z-index: -1;
}

.contact-card-inner::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    opacity: 0.1;
    z-index: -1;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.contact-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: var(--box-shadow);
    position: relative;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 80%;
    margin: 0 auto;
}

.contact-details {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color-alt);
}

.contact-item p a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-links-redesigned {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(61, 64, 91, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 20px rgba(61, 64, 91, 0.3);
    color: var(--accent-color); /* Match the accent color (Burnt Sienna) */
    background: var(--gradient-primary);
}

.contact-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
}

footer .social-links {
    margin: 0;
}

footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

footer .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

.hero-content.animate {
    transform: translateY(50px);
}

.hero-image.animate {
    transform: translateY(30px) translateX(30px);
}

.portfolio-item.animate {
    transform: translateY(40px);
    transition-delay: calc(var(--animation-order) * 0.1s);
}

.portfolio-item:nth-child(1) {
    --animation-order: 1;
}

.portfolio-item:nth-child(2) {
    --animation-order: 2;
}

.portfolio-item:nth-child(3) {
    --animation-order: 3;
}

.portfolio-item:nth-child(4) {
    --animation-order: 4;
}

.portfolio-item:nth-child(5) {
    --animation-order: 5;
}

.portfolio-item:nth-child(6) {
    --animation-order: 6;
}

.contact-card.animate {
    transform: translateY(50px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section {
        padding: 120px 0;
    }
    
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .modal-content {
        flex-direction: column;
    }
    
    .modal-description,
    .modal-gallery {
        order: 0;
    }
    
    .close-modal {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px 10px;
    }
    
    .skill-item i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .skill-item h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-links {
        flex-direction: column;
    }
}
