/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --color-dark: #171d2b;
    --color-accent: #e7284f;
    --color-white: #ffffff;
    
    /* Background Colors */
    --bg-dark: #171d2b;
    --bg-card: #1f2535;
    --bg-card-hover: #252b3d;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #171d2b;
    
    /* Border & UI Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #171d2b;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    width: 48px;
    height: 48px;
    background: #e7284f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    text-shadow: none;
    flex-shrink: 0;
}

.nav-labels {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-label {
    font-size: 1rem;
    font-weight: 600;
    color: #171d2b;
    letter-spacing: -0.01em;
}

.nav-label.active {
    font-weight: 700;
    color: #171d2b;
}

.nav-separator {
    color: #ccc;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e7284f;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #171d2b;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #171d2b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===================================
    HERO SECTION
    =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 40, 79, 0.4) 0%, rgba(23, 29, 43, 0.2) 50%, transparent 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 40, 79, 0.35) 0%, rgba(23, 29, 43, 0.2) 50%, transparent 100%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(231, 40, 79, 0.3) 0%, rgba(23, 29, 43, 0.15) 50%, transparent 100%);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(231, 40, 79, 0.15);
    border: 1px solid rgba(231, 40, 79, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e7284f;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-welcome {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    letter-spacing: -0.01em;
}

.hero-image-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(231, 40, 79, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(231, 40, 79, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 40, 79, 0);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.hero-image-wrapper:hover {
    transform: scale(1.05);
    border-color: rgba(231, 40, 79, 0.6);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 100px rgba(231, 40, 79, 0.3);
}

.hero-image-wrapper:hover::before {
    background: rgba(231, 40, 79, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 40, 79, 0.25) 0%, rgba(231, 40, 79, 0.15) 50%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-description p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-weight: 400;
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.typing-container {
    margin-top: 3rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.typing-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.typing-cursor {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #e7284f;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: #e7284f;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

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

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 2rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e7284f;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(231, 40, 79, 0.1);
    border-radius: 50px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* All headings use white */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===================================
   INTRODUCTION SECTION
   =================================== */
.introduction {
    background: #171d2b;
    position: relative;
}

.introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(231, 40, 79, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(231, 40, 79, 0.2);
}

.intro-content {
    max-width: 800px;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-text strong {
    color: #e7284f;
    font-weight: 600;
}

/* All bold text in paragraphs use accent color */
p strong, .intro-text strong, .projects-description strong, .services-text strong {
    color: #e7284f;
    font-weight: 600;
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects {
    background: #171d2b;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(231, 40, 79, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(231, 40, 79, 0.2);
}

.projects-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
}

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

.skill-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(31, 37, 53, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e7284f;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(231, 40, 79, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(231, 40, 79, 0.15);
    background: linear-gradient(135deg, rgba(37, 43, 61, 0.95) 0%, rgba(31, 37, 53, 0.98) 100%);
}

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

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(231, 40, 79, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #e7284f;
    border: 1px solid rgba(231, 40, 79, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 40, 79, 0.1);
}

.skill-card:hover .skill-icon {
    background: rgba(231, 40, 79, 0.3);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(231, 40, 79, 0.3);
    border-color: rgba(231, 40, 79, 0.5);
}

.skill-icon svg {
    width: 30px;
    height: 30px;
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', sans-serif;
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   VISIT WEBSITE SECTION
   =================================== */
.visit-website {
    background: #171d2b;
    padding: 3rem 0;
}

.visit-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(31, 37, 53, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.visit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 40, 79, 0.15) 0%, rgba(23, 29, 43, 0.1) 50%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.visit-card:hover {
    border-color: rgba(231, 40, 79, 0.5);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(231, 40, 79, 0.2);
    transform: translateY(-8px) scale(1.01);
    background: linear-gradient(135deg, rgba(37, 43, 61, 0.9) 0%, rgba(31, 37, 53, 0.95) 100%);
}

.visit-icon {
    width: 80px;
    height: 80px;
    background: #e7284f;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 30px rgba(231, 40, 79, 0.4);
    transition: all 0.4s ease;
}

.visit-card:hover .visit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(231, 40, 79, 0.5);
}

.visit-icon svg {
    width: 40px;
    height: 40px;
}

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

.visit-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', sans-serif;
}

.visit-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.visit-content strong {
    color: #e7284f;
    font-weight: 600;
}

.btn-visit {
    background: #e7284f;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 25px rgba(231, 40, 79, 0.4);
    overflow: hidden;
}

.btn-visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-visit:hover::before {
    left: 100%;
}

.btn-visit:hover {
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 8px 35px rgba(231, 40, 79, 0.5);
    background: #d62047;
}

.btn-visit svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    background: #f5f5f5;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(231, 40, 79, 0.3) 50%, transparent 100%);
}

.gallery .section-label {
    color: #e7284f;
    font-weight: 700;
}

.gallery .section-title {
    color: #171d2b;
}

.gallery-note {
    font-size: 1.125rem;
    color: rgba(23, 29, 43, 0.7);
    margin-bottom: 2rem;
    max-width: 700px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid transparent;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e7284f;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(231, 40, 79, 0.2);
    border-color: rgba(231, 40, 79, 0.4);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, rgba(37, 43, 61, 0.9) 0%, rgba(31, 37, 53, 0.95) 100%);
    border-color: rgba(231, 40, 79, 0.5);
    color: #e7284f;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(231, 40, 79, 0.2);
    transform: scale(1.02);
}

.gallery-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: currentColor;
}

.gallery-placeholder span {
    font-weight: 500;
    font-size: 1.125rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.02);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: #171d2b;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(231, 40, 79, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(231, 40, 79, 0.2);
}

.services-content {
    max-width: 800px;
}

.services-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.services-text strong {
    color: #e7284f;
    font-weight: 600;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: #171d2b;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(231, 40, 79, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(231, 40, 79, 0.2);
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(31, 37, 53, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.contact-form:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(231, 40, 79, 0.15);
    border-color: rgba(231, 40, 79, 0.4);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(231, 40, 79, 0.6);
    box-shadow: 0 0 0 3px rgba(231, 40, 79, 0.2);
    background: rgba(31, 37, 53, 0.6);
}

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

.btn-submit {
    background: #e7284f;
    color: #ffffff;
    border: none;
    padding: 1.125rem 2.5rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(231, 40, 79, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(231, 40, 79, 0.5);
    background: #d62047;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #171d2b;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e7284f;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #e7284f;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 6px 25px rgba(231, 40, 79, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 35px rgba(231, 40, 79, 0.5);
    background: #d62047;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .main-content-wrapper {
        margin-left: 0;
    }

    .navbar {
        left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-labels {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: 90vh;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .visit-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .visit-content h3 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-welcome {
        font-size: 2rem;
    }

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

    .skill-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


