/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --bg-dark: #0f0f23;
    --bg-darker: #080812;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-hover: rgba(30, 41, 59, 0.6);
}

/* Light Theme */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-hover: rgba(255, 255, 255, 0.95);
}

body.light-theme {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
}

body.light-theme::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scroll offset for sticky header */
section {
    scroll-margin-top: 15rem;
}

h2 {
    scroll-margin-top: 15rem;
}

@media (min-width: 768px) {
    section {
        scroll-margin-top: 10rem;
    }
    
    h2 {
        scroll-margin-top: 10rem;
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

body.light-theme h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

body.light-theme h2 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.7;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
    position: relative;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

/* Header */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme #header {
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: filter 0.3s;
}

body:not(.light-theme) .logo-image {
    filter: invert(1);
}

.logo-underline {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s;
}

.logo:hover {
    transform: translateY(-1px) scale(1.05);
}

.logo:hover .logo-underline {
    width: 100%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
}

.desktop-nav {
    display: none;
    gap: 0.5rem;
    align-items: center;
}

.desktop-nav button {
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    color: var(--text-primary);
    position: relative;
}

.desktop-nav button::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.desktop-nav button:hover {
    color: var(--primary-light);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
}

.desktop-nav button:hover::after {
    width: 70%;
}

.btn-login {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    padding: 0.7rem 1.75rem !important;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}

body.light-theme .btn-login {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.btn-login::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;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px) scale(1.05);
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login::after {
    display: none;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    color: var(--primary-light);
}

.mobile-menu-btn svg {
    display: block;
    stroke: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu-btn:hover svg {
    stroke: var(--primary-light);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

body.light-theme .mobile-menu {
    background: rgba(248, 250, 252, 0.95);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    color: var(--text-primary);
    border-left: 3px solid transparent;
}

.mobile-menu button:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
    color: var(--primary-light);
    border-left-color: var(--primary);
}

.btn-login-mobile {
    margin: 1rem 1.5rem 0.5rem;
    padding: 0.9rem 1.5rem !important;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    border-radius: 0.75rem;
    text-align: center !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

body.light-theme .btn-login-mobile {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.btn-login-mobile:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 12rem;
    padding-top: calc(8rem + 7rem);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 8rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    filter: hue-rotate(240deg);
}

.hero-content {
    position: relative;
    max-width: 48rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero {
        padding: 4rem 0 6rem;
    }
}

/* Value Props */
.value-props {
    padding: 5rem 0 7rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1rem;
    font-size: 1.75rem;
    transition: all 0.3s;
}

.value-card:hover .value-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services */
.services {
    padding: 5rem 0 7rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Services */
.services {
    padding: 5rem 0 7rem;
    padding-top: calc(5rem + 5rem);
}

@media (min-width: 768px) {
    .services {
        padding-top: 5rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 3rem 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

body.light-theme .service-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .service-card:hover {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s;
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    background: var(--card-hover);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    width: 400px;
    height: 400px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.25rem;
    font-size: 2.5rem;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    border-color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

body.light-theme .service-card h3 {
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Section Border */
.section-border {
    border-top: 1px solid var(--border);
    position: relative;
}

.section-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Work */
.work {
    padding: 5rem 0 7rem;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

body.light-theme .project-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .project-card:hover {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: var(--card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    gap: 1.5rem;
}

.project-icon {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    position: relative;
    overflow: hidden;
}

.project-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
}

.project-content {
    flex: 1;
}

.project-content h3 {
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .project-content h3 {
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 2rem;
    color: var(--primary-light);
    font-weight: 500;
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.center {
    text-align: center;
}

/* Tech Stack */
.tech-stack {
    padding: 5rem 0 7rem;
}

.tech-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.badge {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.badge:hover::before {
    left: 100%;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0 7rem;
}

.testimonial-card {
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
}

body.light-theme .testimonial-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.quote {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.author .name {
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .author .name {
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author .role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About */
.about {
    padding: 5rem 0 7rem;
    padding-top: calc(5rem + 5rem);
}

@media (min-width: 768px) {
    .about {
        padding-top: 5rem;
    }
}

.about-content {
    max-width: 48rem;
}

.about-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 5rem 0 7rem;
    padding-top: calc(5rem + 5rem);
}

@media (min-width: 768px) {
    .contact {
        padding-top: 5rem;
    }
}

.contact-content {
    max-width: 42rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-map-card {
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .contact-map-card {
        height: 400px;
    }
}

.info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    width: 100%;
    max-width: 100%;
}

.info-card-map {
    padding: 0;
    overflow: hidden;
    min-height: 250px;
}

.info-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon svg {
    stroke: var(--primary);
    transition: all 0.3s;
}

.info-card:hover .info-icon svg {
    stroke: var(--primary-light);
    transform: scale(1.1);
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--primary-light);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.success-message {
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
    margin-bottom: 2rem;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.success-text {
    color: var(--text-secondary);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
}

input,
textarea {
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 8px 20px rgba(99, 102, 241, 0.2);
    background: var(--card-hover);
}

textarea {
    resize: vertical;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.contact-info a:hover {
    color: var(--primary);
}

.contact-info a:hover::after {
    transform: scaleX(1);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 35, 0.3) 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

body.light-theme .footer {
    background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.3) 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

body.light-theme .footer-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.light-theme .footer-social a {
    color: #000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-theme .footer-social a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-social {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-container.visible {
    opacity: 1;
    visibility: visible;
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fab-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    color: var(--text-primary);
}

body.light-theme .fab-item {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.fab-item:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-color: var(--primary);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.3);
}

.fab-item svg {
    transition: all 0.3s;
}

.fab-item .sun-icon {
    display: none;
}

.fab-item .moon-icon {
    display: block;
}

body.light-theme .fab-item .sun-icon {
    display: block;
}

body.light-theme .fab-item .moon-icon {
    display: none;
}

.fab-item:hover svg {
    transform: scale(1.1);
    stroke: var(--primary-light);
}

.fab-item[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .fab-item[data-tooltip]::before {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.fab-item:hover::before {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Responsive FAB */
@media (max-width: 768px) {
    .fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
    }
    
    .fab-item {
        width: 44px;
        height: 44px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}
