/*
Theme Name: T&R
Description: T&R企業サイトテーマ
Version: 1.0
Author: T&R
*/

/* ===== CSS Variables ===== */
:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #06b6d4;
    --accent-secondary: #0891b2;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

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

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

.btn--primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 50%, #0891b2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.btn--primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-color) 50%, #06b6d4 100%);
}

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

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

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

.btn--secondary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.btn--secondary:hover::after {
    width: 100%;
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 60px;
}

/* ===== Header Styles (Simple & Natural) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 70px;
    gap: 20px;
}

.header__logo {
    justify-self: start;
}

.header__logo .logo {
    height: 35px;
    width: auto;
    transition: var(--transition);
}

.header__logo:hover .logo {
    transform: scale(1.05);
}

.header__nav {
    display: flex;
    justify-self: center;
    width: 100%;
    justify-content: center;
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.nav__link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    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::after {
    width: 100%;
}

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

.header__contact {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

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

.contact__btn {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.contact__btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    justify-self: end;
}

.hamburger__line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header__hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
}

.header__hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0 !important;
}

.header__hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 120px;
    background: var(--bg-gradient);
    background-image: url('./assets/img/ChatGPT Image 2025年9月4日 15_43_56.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="wireframe-pattern" x="0" y="0" width="200" height="150" patternUnits="userSpaceOnUse"><rect width="200" height="150" fill="transparent"/><rect x="20" y="20" width="160" height="110" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1" stroke-dasharray="5,5"/><rect x="30" y="30" width="140" height="20" fill="rgba(255,255,255,0.05)"/><rect x="30" y="60" width="100" height="15" fill="rgba(255,255,255,0.05)"/><rect x="30" y="85" width="120" height="15" fill="rgba(255,255,255,0.05)"/><circle cx="170" cy="40" r="8" fill="rgba(255,255,255,0.1)"/><circle cx="175" cy="35" r="3" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23wireframe-pattern)"/></svg>');
    background-size: cover, cover, cover, 300px 200px;
    background-position: center, center, center, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Animation - 初期状態で文字とロゴを非表示 */
.hero__content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero__image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* アニメーション実行時のクラス */
.hero__content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero__image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero__title {
    margin-bottom: 2.5rem;
}

.hero__subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero__main-title {
    display: block;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: -2px;
}

.hero__description {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
    max-width: 500px;
    color: white;
}

.hero__description strong {
    color: var(--accent-color);
    font-weight: 600;
}

.hero__cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__logo {
    width: 300px;
    height: auto;
    max-width: 100%;
    margin: 0;
    animation: float 6s ease-in-out infinite;
    display: block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1200px) rotateY(-8deg) rotateX(8deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
    padding: 20px;
}

.hero__logo:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) scale(1.08);
    box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.5);
    filter: brightness(1.2) contrast(1.2);
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
}

/* ===== Services Section ===== */
/* Updated: 2024 - Four Grid Layout with Unified Design */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.services__header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services__icon {
    font-size: 3rem;
    color: white;
    margin-top: 0.3rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.services__text {
    color: white;
    flex: 1;
}

.services__subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.4;
}

.services__title {
    font-size: 3.2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    line-height: 1.1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    min-height: 600px;
}

.service__card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid rgba(6, 182, 212, 0.1);
    min-height: 280px;
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.service__image {
    height: 45%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service__img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service__card:hover .service__img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service__content {
    padding: 1.8rem;
    position: relative;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.service__title {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.service__separator {
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    margin: 0 auto 1.2rem auto;
    border-radius: 1px;
}

.service__description {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    flex: 1;
}

/* ===== Service Flow Section ===== */
.service-flow {
    padding: 80px 0;
    background-color: white;
    position: relative;
    z-index: 1;
}

.service-flow__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.flow__wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.flow__track {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.flow__step {
    display: none;
    text-align: left;
    padding: 3rem 4rem;
    min-height: 500px;
    height: auto;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3a2a 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 200, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 160, 80, 0.1) 0%, transparent 50%);
    border: none;
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.flow__step.active {
    display: block;
    animation: flowSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3a2a 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 200, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 160, 80, 0.1) 0%, transparent 50%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: none;
    transform: none;
    position: relative;
    z-index: 1;
}


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



.step__content {
    max-width: 60%;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

.step__number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.flow__step.active .step__number {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5);
}

.step__title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(0, 0, 0, 0.3);
}

.flow__step.active .step__title {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(0, 0, 0, 0.3);
}

.step__description {
    color: #ffffff;
    line-height: 1.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 4px rgba(0, 0, 0, 0.3);
}

.flow__step.active .step__description {
    color: #ffffff;
    font-weight: 500;
    transform: translateY(-1px);
}

/* Flow Step Background Images */
.flow__step--1 {
    background-image: url('./assets/img/cloud.png');
}

.flow__step--2 {
    background-image: url('./assets/img/kikaku.png');
}

.flow__step--3 {
    background-image: url('./assets/img/sakana.png');
}

.flow__step--4 {
    background-image: url('./assets/img/kawaii.png');
}

/* Flow Step Animation */
.flow__step.animate-in {
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Flow Controls */
.flow__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.flow__btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow__btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.flow__btn:active {
    transform: scale(1.02);
}

.flow__dots {
    display: flex;
    gap: 1rem;
}

.flow__dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flow__dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.flow__dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}


/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
}

.contact__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact__hero {
    text-align: center;
    color: white;
}

.contact__title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.3),
        2px 2px 0px rgba(0, 0, 0, 0.2);
    font-family: 'Patrick Hand', cursive;
    font-style: normal;
    text-transform: uppercase;
    transform: none;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
    line-height: 1.1;
    position: relative;
}


.contact__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact__form-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

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

.contact__form-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.6);
}

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

.contact__agreement {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.contact__agreement .privacy__link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact__agreement .privacy__link:hover {
    color: white;
    text-decoration: underline;
}

/* Form Modal */
.form__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form__modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.form__modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 100000;
}

.form__modal.active .form__modal-content {
    transform: scale(1);
}

.form__modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.form__modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.form__modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form__modal-close:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

.contact__form {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form__group {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form__input::placeholder,
.form__select::placeholder,
.form__textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form__checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent-color);
}

.form__checkbox-label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
}

.privacy__link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.privacy__link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.form__submit {
    text-align: center;
    margin-top: 2rem;
}

.form__submit .btn {
    min-width: 200px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* ===== Recruit Section ===== */
.recruit {
    padding: 80px 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

.recruit__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.recruit .section__title {
    color: white;
}

.recruit__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 0 20px;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

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

.footer__section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: #9ca3af;
    transition: var(--transition);
}

.footer__link:hover {
    color: white;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__copyright {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ===== Mobile Menu ===== */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .header__nav.nav--active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav__link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .header__hamburger {
        display: flex;
    }
    
    .hamburger--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger--active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger--active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Contact Form Responsive */
    .form__row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact__form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form__group--checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form__submit .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Contact Hero Responsive */
    .contact__title {
        font-size: 2.5rem;
    }
    
    .contact__form-btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-width: 200px;
    }
    
    /* Modal Responsive */
    .form__modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .form__modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .form__modal-title {
        font-size: 1.3rem;
    }
}

/* ===== Mobile Menu Styles ===== */
.header__nav.mobile-open {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

.header__nav.mobile-open .nav__list {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.header__nav.mobile-open .nav__item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    justify-content: center;
}

.header__nav.mobile-open .nav__link {
    display: block !important;
    padding: 15px 0 !important;
    font-size: 1rem !important;
    border-bottom: none !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.header__nav.mobile-open .nav__link::after {
    display: none;
}

/* ===== Mobile Responsive Styles ===== */
@media (max-width: 768px) {
    .header__container {
        height: 70px;
        padding: 0 20px;
        grid-template-columns: auto 1fr auto;
        justify-content: space-between;
        align-items: center;
    }
    
    .header__logo {
        justify-self: start;
        z-index: 1001;
    }
    
    .header__logo .logo {
        height: 40px;
        transition: all 0.3s ease;
    }
    
    .header__nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-30px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        justify-self: stretch;
        border-radius: 0 0 20px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .header__nav.nav--active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        align-items: stretch;
    }
    
    .nav__item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav__item:last-child {
        border-bottom: none;
    }
    
    .nav__link {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-color);
        transition: all 0.3s ease;
        text-align: center;
        border-radius: 8px;
        margin: 0.2rem 0;
    }
    
    .nav__link:hover {
        background: rgba(6, 182, 212, 0.1);
        color: var(--accent-color);
        transform: translateX(5px);
    }
    
    .nav__link::after {
        display: none;
    }
    
    .header__contact {
        display: none;
    }
    
    .header__hamburger {
        display: flex;
        justify-self: end;
        z-index: 1001;
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .header__hamburger:hover {
        background: rgba(6, 182, 212, 0.1);
    }
    
    .hamburger__line {
        width: 28px;
        height: 3px;
        background-color: var(--text-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }
    
    .header__hamburger.active .hamburger__line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .header__hamburger.active .hamburger__line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .header__hamburger.active .hamburger__line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: 90vh;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 20px;
        align-items: center;
        justify-items: center;
    }
    
    .hero__content {
        order: 2;
        max-width: 100%;
    }
    
    .hero__image {
        order: 1;
        max-width: 100%;
    }
    
    .hero__logo {
        width: 250px;
        height: auto;
        margin: 0 auto;
        padding: 20px;
        transform: none;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }
    
    .hero__main-title {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        letter-spacing: -1px;
    }
    
    .hero__description {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ===== Responsive Design ===== */
/* Updated: 2024 - Background Image Vertical Stretch */
@media (max-width: 768px) {
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 70vh;
        align-items: center;
    }
    
    .hero {
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .hero__logo {
        font-size: 3rem;
        transform: none;
        margin: 1rem auto;
        text-align: center;
        width: 100%;
        max-width: 250px;
        height: auto;
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero__main-title {
        font-size: 2.5rem;
    }
    
    .hero__cta {
        justify-content: center;
    }
    
    
    .flow__steps {
        grid-template-columns: 1fr;
    }
    
    .flow__step {
        min-height: 300px;
        height: auto;
        aspect-ratio: 4/3;
        padding: 2rem 2rem;
        background-size: 100% auto;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .step__content {
        max-width: 80%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .step__number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem auto;
    }
    
    .step__title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .step__description {
        font-size: 1.1rem;
        line-height: 1.6;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services__container {
        padding: 0 20px;
    }
    
    .services__header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    
    .services__icon {
        font-size: 2.5rem;
        margin-top: 0;
        order: 1;
    }
    
    .services__text {
        order: 2;
    }
    
    .services__subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .services__title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 700px;
        margin: 0 auto;
        min-height: 500px;
    }
    
    .service__card {
        min-height: 240px;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid rgba(6, 182, 212, 0.1);
    }
    
    .service__card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(6, 182, 212, 0.3);
    }
    
    .service__image {
        height: 110px;
        padding: 20px;
        border-radius: 16px 16px 0 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .service__img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .service__content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service__title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .service__separator {
        margin: 0 auto 1rem;
        width: 40px;
        height: 2px;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
        border-radius: 1px;
    }
    
    .service__description {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .hero__logo {
        width: 200px;
        height: auto;
        transform: none;
        margin: 1rem auto;
        display: block;
        padding: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    h3 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .header__contact {
        display: none;
    }
}

@media (max-width: 480px) {
    .header__container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 90px 0 60px;
        min-height: 85vh;
    }
    
    .hero__container {
        padding: 0 15px;
        gap: 2.5rem;
    }
    
    .hero__logo {
        width: 200px;
        height: auto;
        margin: 0 auto;
        padding: 15px;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .hero__main-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services__container {
        padding: 0 15px;
    }
    
    .services__header {
        padding: 0 0.5rem;
        margin-bottom: 2.5rem;
    }
    
    .services__title {
        font-size: 2.2rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 0.5rem;
        max-width: 500px;
        margin: 0 auto;
        min-height: 450px;
    }
    
    .service__card {
        min-height: 200px;
        border-radius: 12px;
        border: 2px solid rgba(6, 182, 212, 0.1);
    }
    
    .service__image {
        height: 90px;
        padding: 15px;
        border-radius: 12px 12px 0 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .service__img {
        width: 50px;
        height: 50px;
        border: 2px solid white;
    }
    
    .service__content {
        padding: 1.2rem;
        text-align: center;
    }
    
    .service__title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .service__separator {
        width: 35px;
        height: 2px;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
        margin: 0 auto 0.8rem auto;
    }
    
    .service__description {
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .flow__step {
        min-height: 250px;
        height: auto;
        aspect-ratio: 3/2;
        padding: 1.5rem 1.5rem;
        background-size: 100% auto;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .step__content {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .step__number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto 0.8rem auto;
    }
    
    .step__title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .step__description {
        font-size: 1rem;
        line-height: 1.5;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .contact__form {
        padding: 1.5rem;
    }
    
    .form__modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .form__modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .form__modal-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .header__container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 80px 0 50px;
        min-height: 80vh;
    }
    
    .hero__container {
        padding: 0 12px;
        gap: 2rem;
    }
    
    .hero__logo {
        width: 180px;
        height: auto;
        padding: 12px;
    }
    
    .hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .hero__main-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        padding: 0 0.3rem;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .services {
        padding: 50px 0;
    }
    
    .services__container {
        padding: 0 12px;
    }
    
    .services__header {
        padding: 0 0.3rem;
        margin-bottom: 2rem;
    }
    
    .services__title {
        font-size: 2rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.3rem;
        max-width: 400px;
        margin: 0 auto;
        min-height: 400px;
    }
    
    .service__card {
        min-height: 180px;
        border-radius: 10px;
        border: 2px solid rgba(6, 182, 212, 0.1);
    }
    
    .service__image {
        height: 80px;
        padding: 12px;
        border-radius: 10px 10px 0 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .service__img {
        width: 45px;
        height: 45px;
        border: 2px solid white;
    }
    
    .service__content {
        padding: 1rem;
        text-align: center;
    }
    
    .service__title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .service__separator {
        width: 30px;
        height: 2px;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
        margin: 0 auto 0.6rem auto;
    }
    
    .service__description {
        font-size: 0.8rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .flow__step {
        min-height: 200px;
        height: auto;
        aspect-ratio: 5/3;
        padding: 1.2rem 1rem;
        background-size: 100% auto;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .step__content {
        max-width: 95%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .step__number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin: 0 auto 0.6rem auto;
    }
    
    .step__title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .step__description {
        font-size: 0.95rem;
        line-height: 1.4;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .contact__form {
        padding: 1.2rem;
    }
    
    .form__modal-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .form__modal-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }
    
    .form__modal-title {
        font-size: 1.1rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
