/* Base Styles - Darker Color Scheme */
:root {
    --primary-color: #00c7d1; /* Darker teal */
    --secondary-color: #cc00b3; /* Darker magenta */
    --accent-color: #00cc77; /* Darker green */
    --dark-bg: #08080c; /* Darker background */
    --darker-bg: #030305; /* Almost black */
    --light-bg: #141425; /* Darker card background */
    --text-color: #d8d8d8; /* Slightly darker text */
    --text-muted: #909090; /* Darker muted text */
    --glass-bg: rgba(20, 20, 35, 0.7); /* Darker glass effect */
    --glass-border: rgba(100, 100, 100, 0.15); /* More subtle border */
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 8px rgba(0, 199, 209, 0.6), 
                  0 0 15px rgba(0, 199, 209, 0.4),
                  0 0 20px rgba(0, 199, 209, 0.2); /* More subtle glow */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #008a93, #006a50);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 138, 147, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 138, 147, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #006a50, #008a93);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid #008a93;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: var(--neon-shadow);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(8, 8, 12, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(3, 3, 5, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 1002;
}

.logo span {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    transform-origin: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0 30px;
        gap: 25px;
        transform: translateY(-150%);
        transition: transform 0.4s ease-out;
        border-bottom: 1px solid var(--glass-border);
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
    }
    
    /* Hamburger to X animation */
    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Add backdrop when menu is open */
    .menu-toggle:checked ~ .nav-backdrop {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 999;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker-bg), #0a0a12);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-word {
    display: inline-block;
    margin-right: 15px;
    animation: fadeInUp 0.5s forwards;
}

.title-word-1 {
    animation-delay: 0.1s;
    color: var(--primary-color);
}

.title-word-2 {
    animation-delay: 0.3s;
    color: var(--accent-color);
}

.title-word-3 {
    animation-delay: 0.5s;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    animation: fadeIn 0.5s 0.7s forwards;
    opacity: 0;
}

.name-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    animation: fadeIn 0.5s 0.9s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 0.5s 1.1s forwards;
    opacity: 0;
}

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

.glowing-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 199, 209, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse 4s infinite alternate;
}

.avatar-container {
    position: relative;
    width: 350px;
    height: 400px;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 5px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(0, 199, 209, 0.2);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 199, 209, 0.2), transparent 70%);
    z-index: 1;
    animation: glowPulse 3s infinite alternate;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 0.5s 1.3s forwards;
    opacity: 0;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin: 0 auto 5px;
}

.wheel {
    width: 5px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 3px;
    margin-top: 5px;
    animation: scrollWheel 2s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -3px;
    animation: scrollArrow 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: -0.4s;
}

/* Skills Section */
.skills {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 0, 179, 0.03), transparent 70%);
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 1;
}

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

.skill-card {
    background: rgba(20, 20, 35, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 199, 209, 0.08), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 199, 209, 0.4);
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: var(--light-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #008a93, #006a50);
    border-radius: 4px;
    transition: width 1.5s ease;
}

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

.soft-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.bubbles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.bubble {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.bubble:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 199, 209, 0.3);
}

/* Projects Section */
.projects {
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0, 199, 209, 0.02)" d="M0,0 L100,0 L100,100 L0,100 Z"><animate attributeName="d" dur="30s" repeatCount="indefinite" values="M0,0 L100,0 L100,100 L0,100 Z; M-5,-5 L105,-5 L105,105 L-5,105 Z; M0,0 L100,0 L100,100 L0,100 Z"/></path></svg>');
    background-size: cover;
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

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

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 250px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.project-overlay h3 {
    color: #00a6b3;
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(0, 166, 179, 0.3);
}

.project-overlay p {
    margin-bottom: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Project Modals */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-modal:target {
    display: flex;
}

.modal-content {
    background: #0c0c18;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(80, 80, 80, 0.3);
    box-shadow: 0 0 50px rgba(0, 199, 209, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-color);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.modal-image {
    margin-bottom: 30px;
}

.modal-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.modal-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.modal-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.modal-technologies span {
    background: rgba(0, 199, 209, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    gap: 20px;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
    
    .modal-image {
        flex: 1;
        margin-bottom: 0;
        margin-right: 30px;
    }
    
    .modal-text {
        flex: 1;
    }
}

/* Contact Section */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 204, 119, 0.03), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(204, 0, 179, 0.03), transparent 50%);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 35, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 199, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 199, 209, 0.3);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--dark-bg);
    padding: 0 5px;
    color: var(--primary-color);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

/* Footer */
.footer {
    background: #070710;
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 199, 209, 0.5), transparent);
}

.footer-content {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo {
    font-size: 2rem;
}

.footer-logo p {
    margin-top: 15px;
    color: var(--text-muted);
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: var(--text-color);
    outline: none;
}

.newsletter-form button {
    width: 50px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 199, 209, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 15px rgba(0, 199, 209, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 199, 209, 0.5);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-social {
        margin-top: 15px;
    }
}