/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* LinguaBridge — Language School Palette */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-color: #0d9488;
    --accent-hover: #0f766e;
    --accent-warm: #d97706;
    --accent-warm-hover: #b45309;
    --border-color: #cbd5e1;
    --shadow-light: 8px 8px 16px rgba(0, 0, 0, 0.06), -8px -8px 16px rgba(255, 255, 255, 0.9);
    --shadow-dark: inset 2px 2px 4px rgba(0, 0, 0, 0.08), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
    --shadow-hover: 12px 12px 24px rgba(13, 148, 136, 0.15), -8px -8px 20px rgba(255, 255, 255, 0.9);
    --container-width: 1320px;
    --spacing-xs: 20px;
    --spacing-sm: 40px;
    --spacing-md: 60px;
    --spacing-lg: 80px;
    --spacing-xl: 120px;
    
    /* Abstract Design — warm language/education feel */
    --abstract-teal: #0d9488;
    --abstract-amber: #d97706;
    --abstract-emerald: #059669;
    --abstract-gradient-1: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --abstract-gradient-2: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --abstract-gradient-3: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Abstract Background Elements */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    mix-blend-mode: multiply;
}

.abstract-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--abstract-gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.abstract-shape-2 {
    width: 500px;
    height: 500px;
    background: var(--abstract-gradient-2);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
    animation-duration: 30s;
    transform: rotate(45deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.abstract-shape-3 {
    width: 400px;
    height: 400px;
    background: var(--abstract-gradient-3);
    bottom: -100px;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 35s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.abstract-shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    top: 30%;
    left: 60%;
    animation-delay: -15s;
    animation-duration: 28s;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

.abstract-shape-5 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    bottom: 20%;
    right: 10%;
    animation-delay: -20s;
    animation-duration: 32s;
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
}

.abstract-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    animation: gradient-shift-bg 15s ease infinite;
}

.abstract-gradient-1 {
    background: radial-gradient(circle at 20% 50%, var(--abstract-purple) 0%, transparent 50%);
    animation-delay: 0s;
}

.abstract-gradient-2 {
    background: radial-gradient(circle at 80% 80%, var(--abstract-pink) 0%, transparent 50%);
    animation-delay: -7s;
}

.abstract-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(13, 148, 136, 0.12), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(217, 119, 6, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(5, 150, 105, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(6, 182, 212, 0.1), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(13, 148, 136, 0.1), transparent),
        radial-gradient(1px 1px at 33% 60%, rgba(217, 119, 6, 0.08), transparent),
        radial-gradient(1px 1px at 70% 90%, rgba(13, 148, 136, 0.1), transparent);
    background-size: 200% 200%;
    animation: particle-move 20s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) rotate(270deg) scale(1.05);
    }
}

@keyframes gradient-shift-bg {
    0%, 100% {
        opacity: 0.05;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1);
    }
}

@keyframes particle-move {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Container - Medium Width (1200-1400px) */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Section Spacing - Minimum 60px between sections */
.section-spacing {
    padding: var(--spacing-xl) 0;
}

.colored-section {
    background: var(--bg-secondary);
}

/* Neomorphism Card Effect */
.neomorphic-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.neomorphic-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.neomorphic-btn {
    background: var(--bg-secondary);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    box-shadow: var(--shadow-light);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.neomorphic-btn:hover {
    box-shadow: var(--shadow-dark);
    transform: translateY(2px);
}

/* Accent Button */
.accent-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.accent-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.accent-btn:hover::before {
    width: 300px;
    height: 300px;
}

.accent-btn {
    display: inline-block;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.accent-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
}

.accent-color {
    color: var(--accent-color);
}

/* Typography - Large Headings with Shadow */
.large-heading {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    margin-bottom: var(--spacing-xs);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--abstract-gradient-1);
    opacity: 0.3;
    animation: gradient-shift 3s ease infinite;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
}

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

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

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

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.1;
    filter: blur(100px);
    animation: rotate-shape 30s linear infinite;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: var(--abstract-gradient-2);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.1;
    filter: blur(100px);
    animation: rotate-shape-reverse 25s linear infinite;
    z-index: 0;
}

@keyframes rotate-shape {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    }
    100% {
        transform: rotate(360deg) scale(1);
        border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    }
}

@keyframes rotate-shape-reverse {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    }
    50% {
        transform: rotate(-180deg) scale(1.1);
        border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    }
    100% {
        transform: rotate(-360deg) scale(1);
        border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
    min-height: 600px;
    position: relative;
    z-index: 1;
}

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

.hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--abstract-teal);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.2;
    transform: rotate(-15deg);
    z-index: -1;
    animation: rotate-border 20s linear infinite;
}

@keyframes rotate-border {
    0% {
        transform: rotate(-15deg) scale(1);
    }
    100% {
        transform: rotate(345deg) scale(1.1);
    }
}

.hero-content {
    padding: var(--spacing-sm) 0;
}

.hero-title {
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -25px;
    width: 80px;
    height: 80px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.2;
    z-index: -1;
    animation: pulse-shape 4s ease-in-out infinite;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--abstract-gradient-2);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.2;
    z-index: -1;
    animation: pulse-shape 4s ease-in-out infinite reverse;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.hero-btn,
.hero-btn-secondary {
    padding: 16px 36px;
    font-size: 16px;
}

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

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--abstract-gradient-3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.3;
    z-index: -1;
    animation: float-shape 15s ease-in-out infinite;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--abstract-gradient-2);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.3;
    z-index: -1;
    animation: float-shape-reverse 12s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -20px) rotate(180deg);
    }
}

@keyframes float-shape-reverse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-15px, 15px) rotate(-180deg);
    }
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, transparent 100%);
    pointer-events: none;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.15;
    z-index: -1;
    animation: pulse-shape 3s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--abstract-gradient-2);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.15;
    z-index: -1;
    animation: pulse-shape 3s ease-in-out infinite reverse;
}

/* Modular Grid - Services */
.modular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    position: relative;
}

.services-section {
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.08;
    filter: blur(80px);
    animation: float 25s ease-in-out infinite;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -80px;
    width: 350px;
    height: 350px;
    background: var(--abstract-gradient-2);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.08;
    filter: blur(80px);
    animation: float-reverse 30s ease-in-out infinite;
    z-index: 0;
}

@keyframes float-reverse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-50px, 50px) rotate(180deg);
    }
}

.services-grid {
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.service-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.service-card:nth-child(even) {
    transform: rotate(1deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
    z-index: 10;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.2;
    animation: pulse-shape 2s ease-in-out infinite;
}

@keyframes pulse-shape {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.service-icon-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: var(--spacing-xs);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.service-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.service-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
    font-size: 16px;
}

.service-progress {
    margin-top: auto;
    padding-top: var(--spacing-xs);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 4px;
    transition: width 1s ease;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Process Tabs */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--abstract-gradient-3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.08;
    filter: blur(90px);
    animation: float 28s ease-in-out infinite;
    z-index: 0;
}

.process-tabs {
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.tab-buttons {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.tab-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

.tab-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.tab-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.tab-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 20px;
}

/* Portfolio Grid */
.portfolio-grid {
    margin-top: var(--spacing-md);
    position: relative;
}

.portfolio-section {
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--abstract-gradient-3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.08;
    filter: blur(100px);
    animation: float 30s ease-in-out infinite;
    z-index: 0;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.portfolio-item:nth-child(1) {
    transform: rotate(-1.5deg);
}

.portfolio-item:nth-child(2) {
    transform: rotate(1.5deg);
}

.portfolio-item:nth-child(3) {
    transform: rotate(-1deg);
}

.portfolio-item:nth-child(4) {
    transform: rotate(1deg);
}

.portfolio-item:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 10;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: var(--spacing-xs);
}

.portfolio-image-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    animation: rotate-shape 15s linear infinite;
}

.portfolio-item:hover .portfolio-image-wrapper::after {
    opacity: 0.4;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
    filter: blur(2px);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 148, 136, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: var(--spacing-xs) 0;
}

.portfolio-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

/* Technologies Grid */
.technologies-section {
    position: relative;
    overflow: hidden;
}

.technologies-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -80px;
    width: 350px;
    height: 350px;
    background: var(--abstract-gradient-2);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.08;
    filter: blur(80px);
    animation: float-reverse 32s ease-in-out infinite;
    z-index: 0;
}

.tech-grid {
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.tech-item {
    text-align: center;
    padding: var(--spacing-md);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
}

.tech-item:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.tech-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.tech-item:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.tech-item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* About Section - Alternating Layout */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--abstract-gradient-2);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.08;
    filter: blur(100px);
    animation: float 35s ease-in-out infinite;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    margin-bottom: var(--spacing-sm);
}

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

.about-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 4px solid var(--abstract-teal);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.2;
    z-index: -1;
    animation: rotate-shape 20s linear infinite;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--abstract-gradient-3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.3;
    z-index: -1;
    animation: float-shape 18s ease-in-out infinite;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.decorative-line {
    position: absolute;
    bottom: -20px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
}

/* Contact Section - Original Layout */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -200px;
    width: 700px;
    height: 700px;
    background: var(--abstract-gradient-1);
    border-radius: 50% 40% 60% 30% / 50% 60% 40% 50%;
    opacity: 0.06;
    filter: blur(120px);
    animation: float 40s ease-in-out infinite;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -150px;
    width: 600px;
    height: 600px;
    background: var(--abstract-gradient-3);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.06;
    filter: blur(120px);
    animation: float-reverse 35s ease-in-out infinite;
    z-index: 0;
}

.contact-cards-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contact-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.contact-card:nth-child(1) {
    transform: rotate(-1deg);
}

.contact-card:nth-child(2) {
    transform: rotate(1deg);
}

.contact-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.contact-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
    z-index: 10;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.12), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    transform: scale(1.1) rotate(5deg);
}

.contact-icon {
    width: 40px;
    height: 40px;
    stroke-width: 2;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    color: white;
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Contact Form Wrapper - Centered */
.contact-form-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 var(--spacing-md);
    z-index: 1;
    transform: rotate(-0.5deg);
    transition: transform 0.5s ease;
}

.contact-form-wrapper:hover {
    transform: rotate(0deg);
}

.form-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.form-decoration-left {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.form-decoration-right {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.15; }
}

.contact-form {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.form-fields {
    margin-top: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.form-group-half {
    margin-bottom: var(--spacing-xs);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    font-size: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    font-family: inherit;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.form-line-textarea {
    bottom: 0;
}

.form-footer {
    margin-top: var(--spacing-md);
    text-align: center;
}

.submit-btn {
    position: relative;
    padding: 18px 48px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-note {
    margin-top: var(--spacing-xs);
    font-size: 12px;
    color: var(--text-muted);
}

.form-note a {
    color: var(--accent-color);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Form Interactive States */
.form-group.focused .form-label {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.form-group.error .form-label {
    color: #ff3b30;
}

.form-group.error input,
.form-group.error textarea {
    border-bottom-color: #ff3b30;
}

.form-group.error .form-line {
    background: #ff3b30;
    width: 100%;
}

.form-error-message {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Contact Card Bottom */
.contact-card-bottom {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.contact-card-bottom .contact-card {
    max-width: 400px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    padding: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 16px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    padding: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 16px;
    white-space: nowrap;
}

/* Interactive Cards */
.interactive-card {
    cursor: pointer;
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: var(--spacing-sm);
}

.thanks-content {
    text-align: center;
    padding: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto var(--spacing-md);
    color: white;
    font-weight: 700;
}

.thanks-content h1 {
    margin-bottom: var(--spacing-sm);
}

.thanks-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 18px;
}

.thanks-btn {
    display: inline-block;
    text-decoration: none;
    padding: 16px 36px;
    font-size: 18px;
}

/* Policy Pages */
.policy-page {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.policy-content h1 {
    margin-bottom: var(--spacing-xs);
}

.policy-date {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    font-style: italic;
    font-size: 16px;
}

.policy-content section {
    margin-bottom: var(--spacing-md);
    padding: 0;
}

.policy-content h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-xs);
    font-weight: 700;
}

.policy-content h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 700;
}

.policy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
    font-size: 18px;
}

.policy-content ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.policy-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
    font-size: 18px;
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Extra design — LinguaBridge */
.section-ribbon {
    display: inline-block;
    background: var(--abstract-gradient-1);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-xs);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.badge-pill {
    display: inline-block;
    background: rgba(13, 148, 136, 0.12);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin: 4px 6px 4px 0;
}
.quote-block {
    position: relative;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.06) 0%, rgba(217, 119, 6, 0.04) 100%);
    border-radius: 20px;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    color: var(--text-secondary);
}
.quote-block::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 48px;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}
.decorative-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-color);
    border-radius: 0 16px 0 0;
    opacity: 0.2;
    top: 0;
    right: 0;
}
.card-glow:hover {
    box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.2), 12px 12px 24px rgba(0, 0, 0, 0.08);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .modular-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .hero-grid,
    .tab-panel-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-cards-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 0;
    }
    
    .form-decoration {
        display: none;
    }
    
    .about-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xs: 16px;
        --spacing-sm: 24px;
        --spacing-md: 40px;
        --spacing-lg: 60px;
        --spacing-xl: 80px;
    }
    
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav.active {
        transform: translateX(0);
    }

    .burger-menu {
        display: flex;
    }

    .modular-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-btn,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .large-heading {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .service-card,
    .portfolio-item {
        min-height: auto;
    }
    
    .tab-panel-grid {
        gap: var(--spacing-sm);
    }
    
    .policy-content {
        padding: var(--spacing-sm);
    }
    
    .thanks-content {
        padding: var(--spacing-md);
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
}
