/* Base Styles */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFD166;
    --dark-color: #333745;
    --light-color: #F7FFF7;
    --text-color: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #FF9A8B 0%, #FF6B6B 100%);
    --gradient-2: linear-gradient(135deg, #4ECDC4 0%, #556270 100%);
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.2rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    height: 4px;
    background: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    color: var(--primary-color);
    font-size: 2.2rem;
    line-height: 1;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Active state for hamburger */
.hamburger.active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(90deg);
}

.hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(90deg);
    opacity: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .theme-toggle {
        margin-top: 1.5rem;
    }
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.nav-icon {
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

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

.nav-link:hover .nav-icon {
    transform: translateY(-2px);
    opacity: 1;
}

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

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

/* Theme Toggle */
.theme-toggle {
    margin-left: 1rem;
    position: relative;
    display: inline-block;
}

.theme-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50px;
    height: 26px;
    background: var(--dark-color);
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.theme-ball {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-checkbox:checked + .theme-label .theme-ball {
    transform: translateX(24px);
}

.theme-label i {
    font-size: 0.8rem;
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.hamburger-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 4px;
    position: absolute;
    transition: var(--transition);
}

.hamburger-inner::before {
    transform: translateY(-8px);
}

.hamburger-inner::after {
    transform: translateY(8px);
}

.menu-open .hamburger-inner {
    transform: rotate(45deg);
}

.menu-open .hamburger-inner::before {
    opacity: 0;
}

.menu-open .hamburger-inner::after {
    transform: rotate(-90deg) translateX(8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #2D3436, #FF6B6B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    animation: titleFloat 3s ease-in-out infinite;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #2D3436, #FF6B6B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    animation: titleFloat 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%) rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.floating-icon {
    font-size: 8rem;
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-down .scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.scroll-down:hover {
    opacity: 1;
    transform: translate(-50%, 5px);
}

.scroll-down i {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
    color: var(--text-color);
}

.about .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.about-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card:hover::before {
    opacity: 0.05;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    transition: transform 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.about-card p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Background shapes */
.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

/* Dark Theme Adjustments */
.dark-theme .about {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
}

.dark-theme .about-card {
    background: var(--dark-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dark-theme .about-card h3,
.dark-theme .about-card p {
    color: var(--dark-text);
}

.dark-theme .about-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-text h3 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .about-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-cta .btn {
        width: 100%;
        max-width: 250px;
    }
}

.about .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background shapes */
.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    animation: morph 15s linear infinite;
    z-index: 1;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
    66% { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.about-content {
    margin-top: 4rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-detail h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-detail h4 i {
    color: var(--primary-color);
    font-size: 1.2em;
}

.about-detail p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

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

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c8c);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: white;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.highlight-card:hover .highlight-icon {
    transform: rotateY(180deg) scale(1.1);
    border-radius: 50%;
}

.highlight-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.experience-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 4rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    min-width: 150px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Pulse animation for CTA button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Tech stack styles */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about {
        padding: 5rem 0;
    }
    
    .about-header h3 {
        font-size: 1.8rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .experience-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 120px;
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Theme Toggle Styles */
.theme-toggle {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.theme-checkbox {
    display: none;
}

.theme-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: var(--bg-secondary);
    border-radius: 50px;
    padding: 5px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-label i {
    font-size: 16px;
    color: var(--text-color);
    z-index: 1;
    transition: color 0.3s ease;
}

.theme-ball {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 0;
}

.theme-checkbox:checked + .theme-label .theme-ball {
    transform: translateX(30px);
}

.theme-checkbox:checked + .theme-label {
    background: #333;
}

/* Dark Theme Styles */
:root {
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --dark-text: #e6e6e6;
    --dark-text-secondary: #b3b3b3;
    --dark-accent: #4cc9f0;
    --dark-card: #1f1f3d;
    --dark-card-hover: #2a2a4a;
    --dark-nav-bg: rgba(26, 26, 46, 0.9);
}

.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.dark-theme .navbar {
    background-color: var(--dark-nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .nav-link {
    color: var(--dark-text);
}

.dark-theme .nav-link:hover,
.dark-theme .nav-link.active {
    color: var(--primary-color);
}

.dark-theme .card,
.dark-theme .project-card,
.dark-theme .contact-form,
.dark-theme .highlight-card {
    background-color: var(--dark-card);
    border-color: var(--dark-card-hover);
    color: var(--dark-text);
}

.dark-theme .card:hover,
.dark-theme .project-card:hover,
.dark-theme .highlight-card:hover {
    background-color: var(--dark-card-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    color: var(--dark-text);
}

.dark-theme p,
.dark-theme li,
.dark-theme .text-muted,
.dark-theme .about-detail p {
    color: var(--dark-text-secondary);
}

.dark-theme .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.dark-theme .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dark-theme .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.dark-theme .theme-label {
    background: #333;
}

.dark-theme .theme-label i {
    color: var(--dark-text);
}

.dark-theme .theme-ball {
    background: var(--primary-color);
}

.dark-theme .highlight-icon {
    background: linear-gradient(135deg, var(--primary-color), #2a9d8f);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.2);
}

.dark-theme .tech-tag {
    background: rgba(76, 201, 240, 0.1);
    color: var(--primary-color);
    border-color: rgba(76, 201, 240, 0.2);
}

.dark-theme .tech-tag:hover {
    background: var(--primary-color);
    color: white;
}

.dark-theme .highlight-item h4,
.dark-theme .stat-label {
    color: #e0e0e0;
}

.dark-theme .highlight-item p {
    color: #b0b0b0;
}

.dark-theme .highlight::after {
    background: rgba(255, 107, 107, 0.3);
}

.dark-theme .theme-label {
    background: var(--dark-card);
}

.dark-theme .hamburger-inner,
.dark-theme .hamburger-inner::before,
.dark-theme .hamburger-inner::after {
    background: var(--dark-text);
}

.about-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.about-header h3 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

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

.highlight-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 107, 107, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.experience-stats {
    display: flex;
    justify-content: space-around;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex: 1;
    min-width: 120px;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 107, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F7F7F7 0%, #EAEAEA 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="3" fill="%23FF6B6B" fill-opacity="0.1"/><circle cx="75" cy="75" r="3" fill="%234ECDC4" fill-opacity="0.1"/><circle cx="75" cy="25" r="3" fill="%23FFD166" fill-opacity="0.1"/><circle cx="25" cy="75" r="3" fill="%23556270" fill-opacity="0.1"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

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

.skill-category {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.skill-category:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-list {
    display: grid;
    gap: 1rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.skill-list li::before {
    content: '▹';
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 1.5rem;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0.5deg); }
    50% { transform: translateY(-5px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(0.5deg); }
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards, float 6s ease-in-out infinite 0.8s;
    animation-delay: calc(var(--delay) * 0.15s), 1s;
    will-change: transform, box-shadow, filter;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    filter: brightness(0.98);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 15px 30px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(0, 0, 0, 0.1);
    z-index: 2;
    filter: brightness(1.02);
    animation-play-state: paused;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #000, #333);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.8;
    transition: all 0.4s ease;
    pointer-events: none;
    filter: blur(1px);
}

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.project-card:hover::before {
    transform: scaleX(1);
}

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

.project-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 30%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    will-change: transform, filter;
    transform: scale(1.05);
    filter: saturate(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.15) rotate(0.5deg);
    filter: saturate(1.1) contrast(1.05);
}

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

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* Remove dividers for horizontal layout */
.project-divider {
    display: none;
}

.project-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.project-tech span {
    font-size: 0.8rem;
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

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

.project-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
    color: white;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="white" fill-opacity="0.1"/><circle cx="90" cy="90" r="1" fill="white" fill-opacity="0.1"/><circle cx="90" cy="10" r="1" fill="white" fill-opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" fill-opacity="0.1"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-details a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-details i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 0;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2);
    color: white;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    animation: gradientBG 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

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

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

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

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s forwards;
}

/* Animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal animations */
[data-animate] {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.stagger-parent.in-view .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-parent.in-view .stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-parent.in-view .stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-parent.in-view .stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-parent.in-view .stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-parent.in-view .stagger-item:nth-child(5) { transition-delay: 0.5s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 3rem;
    }

    .about-text {
        margin-bottom: 2rem;
    }

    .about-skills {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-link {
        margin: 0.8rem 0;
        font-size: 1.2rem;
        width: 100%;
    }
    
    .nav-link span:not(.nav-icon) {
        display: inline-block;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}
