* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: rgba(0, 0, 0, 0.4);
    --text-primary: #f8f8f8;
    --text-secondary: rgba(248, 248, 248, 0.8);
    --text-muted: rgba(248, 248, 248, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-primary: 0 15px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(20, 20, 20, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 15, 15, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(25, 25, 25, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 25%, #2a2a2a 50%, var(--secondary-bg) 75%, var(--primary-bg) 100%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-primary);
    border-bottom: 1px solid var(--border-hover);
}

/* Navigation Wrapper */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s ease;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
    position: relative;
    z-index: 1001;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: width 0.4s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
}

.desktop-nav li {
    position: relative;
}

.desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 400;
    font-size: 0.9rem;
    display: block;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover, 
.desktop-nav a.active {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hamburger Animation */
.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    max-height: 300px;
}

.mobile-nav-list {
    list-style: none;
    padding: 1.5rem 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 6rem 0 4rem;
    background: 
        radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at center bottom, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.cta-button:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 4rem);
    position: relative;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    font-family: 'Georgia', serif;
    line-height: 1.8;
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.8rem;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 400;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 3rem;
}

.stat-item {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(145deg, var(--card-bg), rgba(0, 0, 0, 0.2));
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-family: 'Georgia', serif;
}

.stat-item div:last-child {
    color: var(--text-muted);
    font-family: 'Georgia', serif;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
}

.project-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
}

.project-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.project-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.project-features {
    list-style: none;
}

.project-features li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 20px;
    font-family: 'Georgia', serif;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    line-height: 1.6;
}

.project-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 2.5rem);
}

.skill-category {
    background: linear-gradient(145deg, var(--card-bg), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
}

.skill-category:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.skill-category h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.skill-tag:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: 3rem;
}

.contact-form {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.7));
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 25px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1rem, 2vw, 1.5rem);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-family: 'Georgia', serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: clamp(1rem, 2.5vw, 1.3rem) 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    box-shadow: var(--shadow-primary);
}

.submit-btn:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
}

.contact-detail-item {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.8), rgba(30, 30, 30, 0.6));
    padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-primary);
}

.contact-detail-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(40, 40, 40, 0.7));
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.contact-detail-item h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
}

.contact-detail-item p,
.contact-detail-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    line-height: 1.6;
    font-family: 'Georgia', serif;
}

.contact-detail-item a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(45px, 8vw, 55px);
    height: clamp(45px, 8vw, 55px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-primary);
}

.social-link:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link svg {
    width: clamp(16px, 3vw, 20px);
    height: clamp(16px, 3vw, 20px);
}

/* Footer */
footer {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: clamp(2rem, 4vw, 3rem) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

footer p {
    color: var(--text-muted);
    font-family: 'Georgia', serif;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite linear;
}

.shape:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 65%;
    right: 8%;
    animation-delay: -8s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 25%;
    animation-delay: -16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(0) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(30px) rotate(270deg) scale(1.05);
        opacity: 0.5;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    .nav-wrapper {
        padding: 0;
    }

    header {
        padding: 0.8rem 0;
    }

    .hero {
        padding: 5rem 0 3rem;
        min-height: 90vh;
    }

    .section {
        padding: clamp(3rem, 6vw, 5rem) 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .skill-tags {
        gap: 0.6rem;
    }

    .social-links {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .project-card,
    .skill-category,
    .stat-item,
    .contact-detail-item,
    .contact-form {
        padding: 1.5rem;
    }

    .mobile-nav-list a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .mobile-nav-list a:hover {
        padding-left: 2rem;
    }

    .stats {
        gap: 1rem;
    }

    .projects-grid,
    .skills-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-content .subtitle {
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}