/*!
Theme Name: codeartstudio
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: codeartstudio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

codeartstudio is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
.alert_block {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, .5);
        overflow: auto;
        z-index: 99999999;
    }

    .alert_thank {
        max-width: 420px;
        width: 100%;
        min-height: 70px;
        margin: 15px;
        position: relative;
        background-color: rgb(255, 255, 255);
    }

    .alert_thank-content {
        padding: 30px;
        text-align: center;
        color: rgb(0, 0, 0);
    }

    .alert_thank-content p {
        font-size: 24px;
        margin-bottom: 15px;
    }


    .alert_thank-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        cursor: pointer;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 999;
    }

    .alert_thank-close:before,
    .alert_thank-close:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: auto;
        background-color: rgb(0, 0, 0);
    }

    .alert_thank-close:before {
        width: 15px;
        height: 2px;
    }

    .alert_thank-close:after {
        width: 2px;
        height: 15px;
    }

    .error {
        border: 1px solid red !important;
    }
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #7c3aed;
    --accent-color: #db2777;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --header-bg: #ffffff;
    --header-text: #0f172a;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #ef4444 100%);
    --gradient-3: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-4: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
}

[data-theme="dark"] {
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    --border-color: #334155;
    --header-bg: #0f172a;
    --header-text: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --header-bg: #ffffff;
    --header-text: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.section {
    padding: 80px 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 70px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 50px;
    height: 50px;
    position: relative;
    margin-top: 8px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
    transform: translateY(0);
    align-self: flex-start;
}

.logo-icon:hover {
    transform: translateY(0) scale(1.05) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(99, 102, 241, 0.6));
}

.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: logoSvgGlow 2s ease-in-out infinite alternate;
}

@keyframes logoSvgGlow {
    0% {
        filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    }
    100% {
        filter: drop-shadow(0 6px 20px rgba(99, 102, 241, 0.7));
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(4px); }
    50% { transform: translateY(2px); }
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    color: var(--header-text) !important;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.logo-text-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
}

[data-theme="dark"] .logo-text {
    color: #ffffff !important;
}

[data-theme="dark"] .logo-text-accent {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__menu-contact {
    display: none;
}

.nav__link {
    color: var(--header-text) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .nav__link {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link.active-link {
    color: #ffffff !important;
}

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

.nav__link.active-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

[data-theme="light"] .nav__link.active-link::after {
    background: var(--gradient-1);
}

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

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

[data-theme="dark"] .nav__toggle span {
    background: white;
}

/* Theme Toggle - Apple Style Switch */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
    cursor: pointer;
}

.theme-toggle__input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(120, 120, 128, 0.16);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15.5px;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 0 0 0.5px rgba(0, 0, 0, 0.05);
}

.theme-toggle__slider::before {
    position: absolute;
    content: '';
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.theme-toggle__thumb {
    position: absolute;
    content: '';
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(180deg, #d1d1d1 0%, #c5c5c5 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover .theme-toggle__slider {
    background-color: rgba(120, 120, 128, 0.24);
}

.theme-toggle:hover .theme-toggle__thumb {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.15);
}

.theme-toggle__input:checked + .theme-toggle__slider {
    background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

.theme-toggle__input:checked + .theme-toggle__slider::before {
    transform: translateX(20px);
}

.theme-toggle__input:checked + .theme-toggle__slider .theme-toggle__thumb {
    transform: translateX(20px);
    background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 1px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1.5px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-toggle__input:focus + .theme-toggle__slider {
    outline: 2px solid rgba(0, 122, 255, 0.5);
    outline-offset: 2px;
}

.theme-toggle__input:active + .theme-toggle__slider .theme-toggle__thumb {
    transform: translateX(0) scale(0.9);
}

.theme-toggle__input:checked:active + .theme-toggle__slider .theme-toggle__thumb {
    transform: translateX(20px) scale(0.9);
}

[data-theme="dark"] .theme-toggle__slider {
    background-color: rgba(120, 120, 128, 0.32);
}

[data-theme="dark"] .theme-toggle:hover .theme-toggle__slider {
    background-color: rgba(120, 120, 128, 0.4);
}

[data-theme="dark"] .theme-toggle__input:checked + .theme-toggle__slider {
    background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    background: linear-gradient(180deg, #c4b5fd 0%, #a78bfa 15%, #8b5cf6 30%, #7c3aed 45%, #a855f7 60%, #ec4899 75%, #db2777 85%, #be185d 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    opacity: 0.8;
    animation: backgroundPulse 15s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero__content {
    color: white;
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 3rem 0;
    text-align: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.gradient-text {
    color: #ffffff;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.hero__buttons {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.hero__visual {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    filter: blur(60px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
    box-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.25) 0%, rgba(255, 192, 203, 0.08) 50%, transparent 70%);
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
    box-shadow: 0 0 60px rgba(255, 192, 203, 0.4);
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
    top: 40%;
    right: 0%;
    animation-delay: 4s;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollIndicatorFloat 2s ease-in-out infinite;
}

@keyframes scrollIndicatorFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 32px;
    height: 52px;
    border: 3px solid rgba(251, 191, 36, 0.9);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mouse:hover {
    border-color: rgba(251, 191, 36, 1);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.7), 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 10px;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.8);
    animation: scrollBall 2s ease-in-out infinite;
}

@keyframes scrollBall {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        box-shadow: 0 2px 10px rgba(251, 191, 36, 0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(18px);
        box-shadow: 0 2px 15px rgba(251, 191, 36, 1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(22px);
        box-shadow: 0 2px 5px rgba(251, 191, 36, 0.5);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Section Headers */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-card__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-card__link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__link {
    transform: translateX(5px);
}

/* Pricing Section */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.pricing-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card__features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing__additional {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.pricing__additional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
}

[data-theme="light"] .pricing__additional {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.pricing__additional h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="light"] .pricing__additional h3 {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .pricing-row {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-row:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(99, 102, 241, 0.4);
}

[data-theme="light"] .pricing-row:hover {
    background: rgba(255, 255, 255, 0.25);
}

.pricing-service {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

[data-theme="light"] .pricing-service {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-cost {
    font-weight: 700;
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="light"] .pricing-cost {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-light);
}

/* Portfolio Wrapper */
.portfolio-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Portfolio Slider */
.portfolio-slider {
    position: relative;
}

.portfolio-slider__container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.portfolio-slide {
    display: none;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
}

.portfolio-slide.active {
    display: block;
    opacity: 1;
    transform: scale(1);
    animation: slideIn 0.6s ease-out;
}

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

.portfolio-slide:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.portfolio-item__image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    font-weight: 800;
    transition: transform 0.5s ease;
    position: relative;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 30px 30px;
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.portfolio-slide:hover .portfolio-placeholder {
    transform: scale(1.1) rotate(2deg);
}

.portfolio-placeholder--1 {
    background: var(--gradient-1);
}

.portfolio-placeholder--2 {
    background: var(--gradient-2);
}

.portfolio-placeholder--3 {
    background: var(--gradient-3);
}

.portfolio-placeholder--4 {
    background: var(--gradient-4);
}

.portfolio-placeholder--5 {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
}

.portfolio-item__content {
    padding: 2rem;
}

.portfolio-item__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.portfolio-item__category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.portfolio-item__description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Slider Controls */
.portfolio-slider__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex: 1;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--gradient-1);
    width: 32px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}

.slider-dot:hover {
    transform: scale(1.2);
    background: var(--primary-color);
}

/* Portfolio Services Sidebar */
.portfolio-services {
    position: sticky;
    top: 90px;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    border: 1px solid var(--border-color);
}

.portfolio-services__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-services__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-service-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-service-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.portfolio-service-card__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-service-card:hover .portfolio-service-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.portfolio-service-card__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.portfolio-service-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.portfolio-service-card__description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 400;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* About Section */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="light"] .about__description {
    color: #334155;
}

.about__stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 400;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about__visual {
    position: relative;
    height: 400px;
}

.about-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.about-shape--1 {
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    top: 10%;
    left: 10%;
    opacity: 0.8;
}

.about-shape--2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 50%;
    right: 10%;
    opacity: 0.6;
    animation-delay: 2s;
}

.about-shape--3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-3);
    bottom: 10%;
    left: 30%;
    opacity: 0.7;
    animation-delay: 4s;
}

/* Blog Section */
.blog {
    background: var(--bg-white);
}

.blog.section {
    padding: 60px 0;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
/*     max-width: 900px; */
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: blogCardFadeIn 0.6s ease-out forwards;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.blog-card__image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.1);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 800;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: blogImagePulse 3s ease-in-out infinite;
}

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

.blog-card:hover .blog-placeholder {
    transform: scale(1.15) rotate(2deg);
    animation: none;
}

.blog-placeholder--rehab {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

.blog-placeholder--rehab::before {
    content: '🏥';
    font-size: 3rem;
    animation: blogIconFloat 2s ease-in-out infinite;
}

@keyframes blogIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.blog-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: categorySlideIn 0.5s ease-out 0.3s both;
}

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

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    animation: titleFadeIn 0.5s ease-out 0.4s both;
}

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

.blog-card__description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    animation: descriptionFadeIn 0.5s ease-out 0.5s both;
}

@keyframes descriptionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.blog-card__footer {
    margin-top: auto;
    animation: footerSlideIn 0.5s ease-out 0.6s both;
}

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

.blog-card__link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

.blog-card__link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card__link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog-card__link:hover::after {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item__icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.contact-item p {
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.contact-item p a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--primary-color);
}

[data-theme="light"] .contact-item p {
    color: #475569;
}

[data-theme="light"] .contact-item p a {
    color: #475569;
}

[data-theme="light"] .contact-item p a:hover {
    color: var(--primary-color);
}

.contact__form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

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

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

[data-theme="dark"] .footer {
    background: #020617;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

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

.footer__links a:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal__content {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.modal__content--large {
    max-width: 900px;
}

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

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal__close:hover {
    color: var(--text-dark);
}

.modal__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-services {
    display: grid;
    gap: 2rem;
}

.modal-service {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.modal-service h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-service ul {
    list-style: none;
    padding-left: 0;
}

.modal-service li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.modal-service li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Privacy Policy Content */
.privacy-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.privacy-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-top: 2rem;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content ul {
    list-style: none;
    padding-left: 0;
}

.privacy-content ul li {
    position: relative;
    padding-left: 1.5rem;
}

.privacy-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Privacy Page Styles */
.privacy-page {
    background: var(--bg-white);
    min-height: calc(100vh - 70px);
}

.privacy-page__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.privacy-page__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.privacy-page__subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.privacy-page__date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.privacy-page__content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.privacy-section__text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.privacy-section__text:last-child {
    margin-bottom: 0;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.privacy-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.privacy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.privacy-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.privacy-contacts {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.privacy-contacts p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.privacy-contacts p:last-child {
    margin-bottom: 0;
}

.privacy-page__footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--header-bg) !important;
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav__menu li a {
        color: var(--header-text) !important;
    }
    
    [data-theme="dark"] .nav__menu {
        background: #0f172a !important;
    }
    
    [data-theme="dark"] .nav__menu li a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    [data-theme="light"] .nav__menu li a {
        color: #0f172a !important;
    }

    .nav__menu.active {
        left: 0;
    }
    
    .nav__menu-contact {
        display: block;
    }

    .nav__actions {
        gap: 0.5rem;
    }
    
    .theme-toggle {
        width: 51px;
        height: 31px;
    }
    
    .theme-toggle__thumb {
        height: 27px;
        width: 27px;
    }
    
    .theme-toggle__input:checked + .theme-toggle__slider::before {
        transform: translateX(20px);
    }
    
    .theme-toggle__input:checked + .theme-toggle__slider .theme-toggle__thumb {
        transform: translateX(20px);
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__contact {
        display: none;
    }
    
    .nav__menu-contact {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav__contact-menu {
        width: 100%;
        justify-content: center;
    }
    
    [data-theme="light"] .nav__menu-contact {
        border-top-color: rgba(0, 0, 0, 0.1);
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__content {
        max-width: 100%;
        padding: 2rem 0;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
    }

    .pricing-card--featured {
        transform: scale(1);
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero__description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero__content {
        padding: 2rem 1rem;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-large {
        width: 100%;
    }

    .services__grid,
    .pricing__grid,
    .portfolio-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-services {
        position: relative;
        top: 0;
    }
    
    .portfolio-slider {
        max-width: 100%;
    }
    
    .portfolio-item__image {
        height: 250px;
    }
    
    .portfolio-services__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-service-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .portfolio-service-card__icon {
        margin: 0 auto;
    }

    .about__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .blog__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.25rem;
    }
    
    .blog-card__image {
        height: 220px;
    }
    
    .blog-card__content {
        padding: 1.25rem;
    }
    
    .blog-card__title {
        font-size: 1.1rem;
    }
    
    .blog-card__description {
        font-size: 0.85rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* =========================
   Single Service Page
========================= */

.single {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 0;
}

/* Заголовок */
.single h1 {
    margin: 0 0 30px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

/* Основной текст */
.single > p {
    margin: 0 0 45px;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Список */
.single ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Элемент списка */
.single li {
    position: relative;
    padding: 22px 24px 22px 55px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;

    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Галочка */
.single li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

/* Hover */
.single li:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.single span {
    display: inline-block;
    margin: 20px 0;
    font-size: 24px;
    font-weight: 700;
}
/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    .single {
        padding: 70px 20px;
    }

    .single h1 {
        font-size: 38px;
        margin-bottom: 24px;
    }

    .single > p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

    .single ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .single li {
        padding: 18px 20px 18px 52px;
    }
}

.admin-bar .header {
  top: var(--wp-admin--admin-bar--height);
}