/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors – tiefe, gedämpfte, elegante Palette */
    --primary-color: #4a6fa5;          /* gedämpftes Stahlblau */
    --primary-color-alt: #3a5a8a;      /* dunkleres Stahlblau */
    --primary-light: #e8edf5;          /* sehr dezentes Blau-Grau */
    --secondary-color: #5c6b7a;        /* kaltes Blaugrau */
    --accent-color: #3d5166;           /* tiefes Dunkelblau-Grau */
    --text-color: #3a4557;             /* tiefes Blau-Grau */
    --text-color-light: #6b7a8d;       /* gedämpftes Mittelgrau */
    --title-color: #1a2332;            /* fast schwarz, tief */
    --body-color: #f0f2f6;             /* kühles, leicht bläuliches Hellgrau */
    --container-color: #e8eaef;        /* etwas dunkleres Container-Grau */
    --border-color: #ced4de;           /* ruhige, dezente Grenze */
    --shadow-color: rgba(20, 30, 48, 0.10);
    --gradient-primary: linear-gradient(135deg, #4a6fa5 0%, #3a5a8a 100%);
    --gradient-secondary: linear-gradient(135deg, #5c6b7a 0%, #3d5166 100%);
    --gradient-subtle: linear-gradient(135deg, #f0f2f6 0%, #e8edf5 100%);
    
    /* Typography */
    --biggest-font-size: 3rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    --container-margin: 0 1rem;
    --border-radius: 0.75rem;
    --border-radius-small: 0.5rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --section-padding: 3rem 0;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --biggest-font-size: 2rem;
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.125rem;
        --section-padding: 2.5rem 0;
    }
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin: var(--container-margin);
    margin-left: auto;
    margin-right: auto;
}

/* Nav überschreibt Container-Zentrierung */
nav.container,
.nav.container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative;
}

.section__subtitle::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.section__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.16);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.20);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn i {
    font-size: 1rem;
}

/* ===== HEADER & NAVIGATION ===== */
@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

@keyframes navSlideUp {
    from { transform: translateY(0);     opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; }
}

@keyframes logoFadeIn {
    from { transform: translateX(-20px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

@keyframes linksFadeIn {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(240, 242, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 111, 165, 0.05);
    z-index: var(--z-fixed);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.45s ease,
                background 0.4s ease,
                box-shadow 0.4s ease;
    animation: navSlideDown 0.5s ease both;
}

.header.scroll-header {
    background: rgba(232, 234, 239, 0.96);
    box-shadow: 0 4px 30px rgba(74, 111, 165, 0.06);
    border-bottom: 1px solid rgba(74, 111, 165, 0.09);
}

.header--hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem 0 1rem;
    max-width: 100%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 0.5rem;
    animation: logoFadeIn 0.6s ease 0.2s both;
}

.nav__logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.nav__logo-text {
    font-size: 1.4rem;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--title-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.2s ease;
}

/* Nav Links */
.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: auto;
    padding-right: 1rem;
    animation: linksFadeIn 0.6s ease 0.3s both;
}

.nav__item {
    position: relative;
}

.nav__link {
    font-weight: var(--font-medium);
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}

/* Hover: Text-Farbe */
.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

/* Unterstrich-Animation */
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.4rem;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
    left: 0;
}

/* Aktiver Link: kleiner blauer Punkt oben */
.nav__link.active-link::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.7;
}

/* Hover-Glow hinter dem Link */
.nav__item::before {
    content: '';
    position: absolute;
    inset: -0.4rem -0.8rem;
    border-radius: 8px;
    background: rgba(74, 111, 165, 0);
    transition: background 0.25s ease;
    pointer-events: none;
}

.nav__item:hover::before {
    background: rgba(74, 111, 165, 0.05);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-left: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #e8eaef 0%, #dde2eb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -12%;
    width: 65%;
    height: 100%;
    background: url('../images/background-hero.png') no-repeat center center;
    background-size: auto 110%;
    opacity: 0.08;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23c8cdd8" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: -2;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    margin-left: 0;
    margin-right: auto;
    max-width: 1200px;
    padding-left: 0;
}

.hero__content {
    z-index: 2;
    position: relative;
}

.hero__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    z-index: 2;
}

.hero__img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero__img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin-left: 0;
    margin-right: auto;
    padding: 0;
}

.feature {
    background: white;
    padding: 1.2rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature__icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem;
    color: white;
    font-size: 1.1rem;
}

.feature__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.feature__description {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about__experience {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.16);
}

.about__experience-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-bold);
    line-height: 1;
}

.about__experience-text {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

.about__info {
    padding-left: 2rem;
}

.about__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about__description {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--container-color);
    border-radius: var(--border-radius-small);
}

.stat__number {
    display: block;
    font-size: 1.75rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    line-height: 1;
}

.stat__text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    font-weight: var(--font-medium);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--container-color);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.5rem;
}

.service__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service__features {
    list-style: none;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.service__features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.services__cta {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.services__cta-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
}

.services__cta-description {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOUNDER SECTION ===== */
.founder {
    background: white;
}

.founder__content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.founder__image-wrap {
    position: relative;
}

.founder__image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #d8dde8, #c8d0de);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #94a3b8;
}

.founder__badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.12);
}

.founder__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 1.2rem;
}

.founder__bio {
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.founder__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.founder__stat {
    text-align: center;
}

.founder__stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.founder__stat-label {
    font-size: 0.8rem;
    color: var(--text-color-light);
}

/* ===== HOW I WORK SECTION ===== */
.how-i-work {
    background: var(--container-color);
}

.how-i-work__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.work-step {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.work-step:hover {
    border-left-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.06);
}

.work-step__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #aab5c6;
    line-height: 1;
    flex-shrink: 0;
    min-width: 3rem;
}

.work-step__icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 0.8rem;
}

.work-step__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.work-step__text {
    color: var(--text-color-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== DIFFERENCE SECTION ===== */
.difference {
    background: white;
}

.difference__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.difference__card {
    background: var(--container-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.difference__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 111, 165, 0.06);
    border-color: rgba(74, 111, 165, 0.09);
}

.difference__card--highlight {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.difference__card--highlight .difference__text,
.difference__card--highlight .difference__title {
    color: white;
}

.difference__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(74, 111, 165, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.difference__card--highlight .difference__icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.difference__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.difference__text {
    font-size: 0.9rem;
    color: var(--text-color-light);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--container-color);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial__card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 111, 165, 0.06);
}

.testimonial__card--featured {
    background: var(--gradient-primary);
    color: white;
}

.testimonial__stars {
    color: #8fa3b8;
    font-size: 0.9rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial__card--featured .testimonial__stars {
    color: rgba(255,255,255,0.75);
}

.testimonial__text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial__card--featured .testimonial__text {
    color: rgba(255,255,255,0.9);
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial__card--featured .testimonial__author {
    border-top-color: rgba(255,255,255,0.2);
}

.testimonial__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial__card--featured .testimonial__avatar {
    background: rgba(255,255,255,0.25);
}

.testimonial__name {
    display: block;
    font-weight: 600;
    color: var(--title-color);
    font-size: 0.9rem;
}

.testimonial__card--featured .testimonial__name {
    color: white;
}

.testimonial__role {
    display: block;
    font-size: 0.78rem;
    color: var(--text-color-light);
}

.testimonial__card--featured .testimonial__role {
    color: rgba(255,255,255,0.7);
}

/* ===== FAQ SECTION ===== */
.faq {
    background: white;
}

.faq__list {
    max-width: 780px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item.active {
    border-color: rgba(74, 111, 165, 0.12);
    box-shadow: 0 4px 20px rgba(74, 111, 165, 0.05);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--title-color);
    text-align: left;
    transition: var(--transition);
}

.faq__question:hover {
    color: var(--primary-color);
}

.faq__icon {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: white;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--container-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact__card:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__card-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.contact__card-text {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    line-height: 1.6;
}

.contact__card-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact__card-text a:hover {
    text-decoration: underline;
}

.contact__form-container {
    background: var(--container-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-weight: var(--font-medium);
    color: var(--title-color);
    margin-bottom: 0.5rem;
    font-size: var(--small-font-size);
}

.form__input,
.form__textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-family: inherit;
    font-size: var(--normal-font-size);
    transition: var(--transition);
    background: white;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.06);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.form__checkbox {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form__checkbox-label {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    line-height: 1.5;
}

.form__checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form__checkbox-label a:hover {
    text-decoration: underline;
}

.contact__map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact__map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--title-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer__logo-text {
    font-size: 1.25rem;
    font-weight: var(--font-bold);
}

.footer__description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
    font-size: var(--small-font-size);
}

.footer__link:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: var(--small-font-size);
}

.footer__contact-item i {
    color: var(--primary-color);
    width: 16px;
}

.footer__contact-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer__contact-item a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright,
.footer__powered {
    color: #9ca3af;
    font-size: var(--smaller-font-size);
}

.footer__powered-link {
    color: var(--primary-color);
    text-decoration: none;
}

.footer__powered-link:hover {
    text-decoration: underline;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.16);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-tooltip);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.20);
}

/* ===== WEBDESIGN SECTION ===== */
.webdesign {
    background: var(--container-color);
}

.webdesign__content {
    text-align: center;
}

.webdesign__info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.webdesign__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.webdesign__description {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
}

.webdesign__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.webdesign__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.webdesign__feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.webdesign__feature-content {
    text-align: center;
}

.webdesign__feature-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.25rem;
}

.webdesign__feature-text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.webdesign__gallery {
    position: relative;
    margin-top: 3rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.webdesign__gallery-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    height: 320px;
}

.webdesign__gallery-track {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
    gap: 2rem;
    will-change: transform;
}

.webdesign__gallery-marquee:hover .webdesign__gallery-track {
    animation-play-state: paused;
}

.webdesign__gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    flex-shrink: 0;
    width: 400px;
    height: 280px;
}

.webdesign__gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.webdesign__gallery-image {
    position: relative;
    overflow: hidden;
}

.webdesign__gallery-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.webdesign__gallery-item:hover .webdesign__gallery-image img {
    transform: scale(1.05);
}

.webdesign__gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 90, 138, 0.88) 0%, rgba(40, 65, 105, 0.88) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.webdesign__gallery-item:hover .webdesign__gallery-overlay {
    opacity: 1;
}

.webdesign__gallery-content {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.webdesign__gallery-content h4 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.5rem;
}

.webdesign__gallery-content p {
    font-size: var(--small-font-size);
    opacity: 0.9;
}

/* Webdesign Marquee Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===== WEBDESIGN MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal__content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    max-height: 90vh;
    margin: 2rem auto;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal__content {
    transform: translateY(0);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.modal__close:hover {
    background: var(--container-color);
    color: var(--title-color);
}

.modal__body {
    padding: 2rem;
}

.modal__section {
    margin-bottom: 3rem;
}

.modal__section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
}

.modal__section-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.modal__text {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.modal__feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--container-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.modal__feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modal__feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modal__feature-content {
    flex: 1;
}

.modal__feature-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.modal__feature-text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    line-height: 1.6;
}

.modal__process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.modal__process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.modal__process-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    flex-shrink: 0;
}

.modal__process-content h4 {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.modal__process-content p {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    line-height: 1.6;
}

.modal__footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.webdesign__details-btn {
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large devices */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero__features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .webdesign__features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Medium devices */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero__container,
    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__container {
        margin-left: 1.5rem;
        text-align: center;
    }
    
    .hero__features {
        margin-left: 1.5rem;
    }
    
    .hero__image {
        order: -1;
    }
    
    .about__info {
        padding-left: 0;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .webdesign__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .webdesign__gallery-marquee {
        height: 280px;
    }
    
    .webdesign__gallery-item {
        width: 350px;
        height: 250px;
    }
    
    .webdesign__gallery-image img {
        height: 250px;
    }
}

/* Small devices */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
        margin: 0 1.5rem;
    }
    
    /* Enhanced Mobile Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(248, 249, 252, 0.97);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        z-index: var(--z-fixed);
        overflow-y: auto;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .nav__link {
        font-size: 1.25rem;
        padding: 1rem;
        border-radius: var(--border-radius-small);
        transition: var(--transition);
        display: block;
    }
    
    .nav__link:hover {
        background: rgba(74, 111, 165, 0.06);
        transform: translateY(-2px);
    }
    
    .nav__close,
    .nav__toggle {
        display: block;
        padding: 0.5rem;
        border-radius: var(--border-radius-small);
        transition: var(--transition);
    }
    
    .nav__toggle:hover,
    .nav__close:hover {
        background: rgba(74, 111, 165, 0.06);
        transform: scale(1.1);
    }
    
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 2rem;
    }
    
    /* Mobile-optimized sections */
    .hero {
        text-align: center;
    }
    
    .hero__container {
        margin-left: 1rem;
    }
    
    .hero__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-left: 1rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .webdesign__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .webdesign__gallery-marquee {
        height: 260px;
    }
    
    .webdesign__gallery-item {
        width: 320px;
        height: 220px;
    }
    
    .webdesign__gallery-track {
        gap: 1.5rem;
    }
    
    .webdesign__gallery-image img {
        height: 220px;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero::before {
        top: 4%;
        right: -10%;
        width: 55%;
        opacity: 0.06;
        background-size: auto 100%;
        background-position: center center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-height: 56px; /* Touch-friendly minimum height */
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Improved touch targets */
    .feature,
    .service {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature__icon,
    .service__icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    /* Modal responsive styles */
    .modal__content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal__header,
    .modal__body,
    .modal__footer {
        padding: 1.5rem;
    }
    
    .modal__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal__process {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices - Mobile Optimization */
@media screen and (max-width: 576px) {
    .container {
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    /* Hero Section Mobile */
    .hero {
        padding-top: calc(var(--header-height) + 1rem);
        min-height: auto;
        padding-bottom: 2rem;
        text-align: center;
    }
    
    .hero::before {
        top: 2%;
        right: -7%;
        width: 50%;
        opacity: 0.05;
        background-position: center center;
        background-size: auto 95%;
    }
    
    .hero__title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Section Spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section__title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .section__subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        text-align: center;
        line-height: 1.6;
    }
    
    /* Services Mobile */
    .feature,
    .service,
    .services__cta {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .feature__icon,
    .service__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }
    
    .feature__title,
    .service__title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature__description,
    .service__description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Webdesign Section Mobile */
    .webdesign {
        padding: 3rem 0;
    }
    
    .webdesign__details-btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 2rem;
        display: block;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .webdesign__gallery-marquee {
        height: 220px;
    }
    
    .webdesign__gallery-item {
        width: 280px;
        height: 200px;
    }
    
    .webdesign__gallery-image img {
        height: 200px;
    }
    
    .webdesign__gallery-track {
        gap: 1rem;
    }
    
    /* Contact Form Mobile */
    .contact__form-container {
        padding: 1.5rem 1rem;
    }
    
    .contact__form-group {
        margin-bottom: 1.5rem;
    }
    
    .contact__form-input,
    .contact__form-textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .contact__form-textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* About Section Mobile */
    .about__experience {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
        min-width: 80px;
        min-height: 80px;
    }
    
    .about__experience-number {
        font-size: 1.25rem;
    }
    
    .about__experience-text {
        font-size: 0.75rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer__contact-item {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer__link {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .footer__copyright,
    .footer__powered {
        font-size: 0.8rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Modal Mobile Optimization */
    .modal__content {
        margin: 0.5rem;
        max-height: 98vh;
        border-radius: 12px;
    }
    
    .modal__header {
        padding: 1.5rem 1rem 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal__title {
        font-size: 1.25rem;
        order: 1;
    }
    
    .modal__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        order: 2;
    }
    
    .modal__body {
        padding: 1rem;
    }
    
    .modal__section-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .modal__text {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .modal__features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal__feature {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .modal__feature-icon {
        margin: 0 auto;
    }
    
    .modal__feature-title {
        font-size: 1rem;
    }
    
    .modal__feature-text {
        font-size: 0.85rem;
    }
    
    .modal__process {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal__process-step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .modal__process-number {
        margin: 0 auto;
    }
    
    .modal__process-content h4 {
        font-size: 1rem;
    }
    
    .modal__process-content p {
        font-size: 0.85rem;
    }
    
    .modal__footer {
        padding: 1rem;
    }
    
    /* Navigation Mobile Touch Improvements */
    .nav__toggle {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .nav__close {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved form elements for mobile */
    .contact__form-group input,
    .contact__form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        min-height: 56px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .contact__form-group textarea {
        min-height: 120px;
    }
    
    /* Touch-friendly improvements */
    .btn:active {
        transform: scale(0.98);
    }
    
    .nav__link:active,
    .modal__close:active {
        transform: scale(0.95);
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better spacing for small screens */
    .hero__features {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .services__grid {
        gap: 1rem;
    }
    
    /* Improved readability */
    p, .section__subtitle {
        line-height: 1.7;
    }
    
    /* Better button spacing */
    .hero__buttons .btn + .btn {
        margin-top: 0;
    }
}

/* Ultra small devices (iPhone SE, etc.) */
@media screen and (max-width: 375px) {
    .container {
        margin: 0 0.75rem;
    }
    
    .hero__title {
        font-size: 1.5rem;
    }
    
    .section__title {
        font-size: 1.25rem;
    }
    
    .webdesign__gallery-marquee {
        height: 200px;
    }
    
    .webdesign__gallery-item {
        width: 260px;
        height: 180px;
    }
    
    .webdesign__gallery-image img {
        height: 180px;
    }
    
    .modal__content {
        margin: 0.25rem;
    }
    
    .modal__header,
    .modal__body,
    .modal__footer {
        padding: 1rem 0.75rem;
    }
    
    .btn {
        max-width: 260px;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}
    
    .section__header {
        margin-bottom: 2rem;
    }
    
    .hero__features {
        margin-top: 1.5rem;
    }
}

/* Ultra small devices (landscape phones) */
@media screen and (max-width: 480px) {
    .nav__logo-text {
        font-size: 1.2rem;
    }
    
    .nav__logo-img {
        width: 65px;
        height: 65px;
    }
    
    .hero__title {
        font-size: 1.5rem;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .feature__title,
    .service__title {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Landscape orientation optimizations */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 1rem) 0 2rem;
    }
    
    .nav__menu {
        padding: 4rem 2rem 2rem;
    }
    
    .nav__list {
        gap: 1.5rem;
    }
    
    .hero__container {
        gap: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .nav__toggle,
    .nav__close,
    .back-to-top,
    .contact__form-container {
        display: none;
    }
    
    .hero {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        padding: 1rem 0;
    }
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--body-color);
    padding: 5rem 0;
}

.map-section__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-section__header {
    text-align: center;
}

.map-section__address {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.map-section__address i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.map-section__wrapper {
    border-radius: calc(var(--border-radius) * 1.5);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    line-height: 0;
    transition: box-shadow 0.3s ease;
}

.map-section__wrapper:hover {
    box-shadow: 0 12px 40px rgba(20, 30, 48, 0.16);
}

.map-section__wrapper iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(10%) contrast(1.02);
    transition: filter 0.3s ease;
}

.map-section__wrapper:hover iframe {
    filter: grayscale(0%) contrast(1);
}

@media screen and (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }

    .map-section__wrapper iframe {
        height: 300px;
    }
}