:root {
    --primary: #44CF6C;
    --primary-dark: #0A5F38;
    --accent: #A9FDAC;
    --light: #F1FFE7;
    --dark: #01122C;
    --dark-blue: #001F3F;
    --dark-green: #004225;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #01122C, #1a1a1a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

/* Скриване на loading screen на мобилни устройства */
@media (max-width: 768px) {
    .loading-screen {
        display: none !important;
    }
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.welcome-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: welcomeAnimation 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
    letter-spacing: 2px;
}

@keyframes welcomeAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 12em;
    height: 12em;
}

.loader path {
    stroke: var(--primary);
    stroke-width: 0.6px;
    animation: dashArray 4s ease-in-out infinite,
        dashOffset 4s linear infinite;
}

@keyframes dashArray {
    0% {
        stroke-dasharray: 0 1 359 0;
    }

    50% {
        stroke-dasharray: 0 359 1 0;
    }

    100% {
        stroke-dasharray: 359 1 0 0;
    }
}

@keyframes dashOffset {
    0% {
        stroke-dashoffset: 365;
    }

    100% {
        stroke-dashoffset: 5;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Font Awesome иконки - гарантиране на правилно зареждане */
.fa, .fas, .far, .fal, .fab, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: 0.55rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar .logo {
    flex: 0 0 auto;
}

.navbar .nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
}

.navbar .hamburger {
    flex: 0 0 auto;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.navbar .logo img {
    height: 34px;
    width: auto;
}


.nav-links a {
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

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

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

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Хамбургер меню */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--primary);
}

.hamburger:hover span {
    background: white;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-dark);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Начална секция */
.hero {
    position: relative;
    height: 120vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem 10%;
}

.hero-text {
    flex: 1;
    text-align: left;
    color: #fff;
    padding-right: 4rem;
}

.hero-logo {
    width: 420px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: filter 0.3s, width 0.3s;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    }
}

.hero-content .subtitle {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Clash Display', sans-serif;
}

.hero-content .slogan {
    font-size: 1.7rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    font-family: 'Clash Display', sans-serif;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--dark);
    background: var(--primary);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0A0A0B;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Анимации в дясната част */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    width: 45%;
    height: 80%;
    background: url('../images/laptop-mockup.png') no-repeat center center;
    background-size: contain;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-animation {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 3;
}

.hero-animation::before,
.hero-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-animation::after {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-direction: reverse;
    animation-duration: 15s;
}

.hero-particles {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 60%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 40%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 80%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 30%; left: 70%; animation-delay: 2.5s; }

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@media (max-width: 1200px) {
    .hero-content {
        padding: 2rem 5%;
    }
    
    .hero-text {
        padding-right: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 3.5rem;
    }
    
    .hero-content .slogan {
        font-size: 2rem;
    }
    
    .hero-logo {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 2.5rem;
    }
    
    .hero-content .slogan {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        width: 220px;
        margin-top: 2rem;
    }
    
    .hero::after {
        display: none;
    }
}

/* Услуги секция */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(1, 18, 44, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
    display: block;
    letter-spacing: 1px;
}

.section-subtitle::before {
    content: '/// ';
    color: inherit;
    font-weight: 600;
    letter-spacing: -1px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 0.9;
    font-weight: 600;
}

/* За секции със светъл фон */
.services .section-subtitle,
.case-studies .section-subtitle,
.contact .section-subtitle {
    color: var(--dark-green);
}

.services .section-header h2,
.case-studies .section-header h2,
.contact .section-header h2 {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* За секции с тъмен фон */
.about .section-subtitle,
.why-us .section-subtitle {
    color: var(--accent);
}

.about .section-header h2,
.why-us .section-header h2 {
    background: linear-gradient(135deg, var(--dark-green), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(1, 18, 44, 0.05);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 18, 44, 0.05), rgba(68, 207, 108, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--dark);
    border-radius: 25px;
    opacity: 0.2;
    filter: blur(10px);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon::before {
    transform: scale(1.2);
    opacity: 0.3;
    background: var(--primary);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.service-content p {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.service-details-btn {
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-details-btn:hover {
    background: var(--dark);
    color: white;
}

/* Софтуерни инструменти */
.software-tools {
    margin-top: 4rem;
    text-align: center;
}

.software-tools h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.tool-item {
    background: #fff;
    border-radius: 12px;
    padding: 0.8rem;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tool-item img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tool-item:hover img {
    filter: grayscale(0%);
}

/* Медия заявки за responsive дизайн */
@media (max-width: 768px) {
    .tools-row {
        gap: 1rem;
    }
    
    .tool-item {
        width: 70px;
        height: 70px;
        padding: 0.6rem;
    }
    
    .software-tools h3 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
}

/* Модални прозорци */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 18, 44, 0.95);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    padding: 2.5rem;
    margin: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background: rgba(1, 18, 44, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.modal-icon i {
    font-size: 2rem;
    color: white;
    transform: rotate(-45deg);
}

.modal-content:hover .modal-icon {
    transform: rotate(0deg);
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #666;
    font-size: 1.1rem;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    margin: 0;
}

.feature-item h3 {
    font-size: 1.6rem;
    color: white;
    font-weight: 500;
    margin: 0;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.modal-contact {
    text-align: center;
}

.modal-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(68, 207, 108, 0.3);
}

.modal-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(68, 207, 108, 0.4);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .modal-icon i {
        font-size: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 2rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-item h3 {
        font-size: 1.4rem;
    }
    
    .feature-item p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1rem;
    }
}

/* Защо да изберете нас секция */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark), #1a1a1a);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(68, 207, 108, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(68, 207, 108, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon-circle {
    transform: scale(1.1);
    background: var(--accent);
}

.feature-card:hover .icon-circle i {
    color: var(--primary-dark);
}

.icon-circle i {
    font-size: 1.4rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.feature-content {
    flex-grow: 1;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
    transition: color 0.3s ease;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.feature-line {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    width: 40px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-line {
    width: 80px;
}

.stats-section {
    margin-top: 4rem;
    padding: 4rem 0;
    perspective: 2000px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    transform-style: preserve-3d;
}

.stat-card {
    position: relative;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.stat-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

.glass-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    border-radius: 30px;
    pointer-events: none;
}

.stat-content {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(30px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transform: translateZ(20px);
    filter: drop-shadow(0 0 20px rgba(68, 207, 108, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

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

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateZ(40px);
}

.stat-number, .stat-plus {
    display: inline-block;
    vertical-align: middle;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 0 0 20px rgba(68, 207, 108, 0.3);
    margin-bottom: 0.5rem;
    margin-right: 0.2rem;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 1;
    transform: none;
    transition: all 0.4s ease;
    text-shadow: 0 0 10px rgba(68, 207, 108, 0.3);
    margin-left: 0rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .stat-info {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
    }
    .stat-number, .stat-plus {
        font-size: 2.2rem;
        margin-bottom: 0;
        margin-right: 0.1rem;
    }
    .stat-plus {
        font-size: 1.5rem;
        margin-bottom: 0;
        margin-left: 0.1rem;
    }
    .stat-label {
        width: 100%;
        text-align: center;
        margin-top: 0.3rem;
    }
    .stat-number, .stat-plus {
        display: inline-block;
        vertical-align: middle;
    }
    .stat-info-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shineEffect 6s linear infinite;
    pointer-events: none;
}

@keyframes shineEffect {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.stat-glow {
    position: absolute;
    inset: -2px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(68, 207, 108, 0.2),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        width: 200px;
        height: 200px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        width: 180px;
        height: 180px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
}

/* Контакти секция */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(10, 95, 56, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 95, 56, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 50%, var(--dark-green) 100%);
    color: var(--light);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--primary) !important;
    margin-bottom: 0.7rem;
    position: relative;
    padding-bottom: 0.3rem;
    font-weight: normal !important;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.footer-section p {
    color: #ccc;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.social-link {
    color: var(--primary) !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.social-link:hover {
    color: var(--light) !important;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(68, 207, 108, 0.3);
}

.social-link .fa-tiktok {
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.2;
}

.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.35), 0 0 18px rgba(255,255,255,0.18);
    transform: none;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    color: #ccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    line-height: 1.2;
}

.contact-info li a {
    color: #ccc !important;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: inherit;
    font-size: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    transition: none;
}

.contact-info li a:hover,
.contact-info li a:active,
.contact-info li a:visited,
.contact-info li a:focus {
    color: #ccc !important;
    text-decoration: none !important;
    background: none;
    box-shadow: none;
}

.contact-info i {
    color: var(--primary) !important;
    font-size: 1rem;
}

.working-hours {
    list-style: none;
}

.working-hours li {
    color: #ccc;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.2;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.2;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 0.5rem;
        width: 90%;
        padding: 0.5rem 1rem;
    }

    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        margin-top: 0.5rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        flex-direction: column;
        align-items: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .navbar .nav-links.active {
        display: flex;
        z-index: 1001;
    }

    .navbar .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .navbar .nav-links a::after {
        display: none;
    }

    .navbar .nav-links a.active {
        color: white;
        background: var(--primary);
        border-radius: 8px;
    }

    .hamburger {
        display: flex;
    }

    .affiliate-hero {
        min-height: auto;
        padding: 5rem 1.5rem 3rem;
        justify-content: center;
    }

    .affiliate-hero .hero-content {
        gap: 1.75rem;
        align-items: center;
        max-width: 340px;
        margin: 0 auto;
    }

    .affiliate-hero .hero-title {
        font-size: 2.7rem;
        line-height: 1.15;
        margin: 0.75rem 0 1.5rem;
        white-space: normal;
    }

    .affiliate-hero .hero-title .line1,
    .affiliate-hero .hero-title .line2 {
        white-space: normal;
        line-height: 1.1;
        display: inline;
    }

    .affiliate-hero .hero-title .line1::after {
        content: ' ';
    }

    .affiliate-hero .hero-title br {
        display: none;
    }

    .affiliate-hero .hero-description {
        font-size: 1.15rem;
        line-height: 1.65;
        margin-bottom: 1.9rem;
        padding: 0 0.35rem;
    }

    .affiliate-hero .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .affiliate-hero .hero-stats .stat-item {
        flex: 1 0 120px;
        max-width: 140px;
    }

    .affiliate-hero .stat-number {
        font-size: 2rem;
    }

    .affiliate-hero .btn-with-arrows {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        justify-content: space-between;
    }

    .affiliate-hero .btn-with-arrows .arrow-left,
    .affiliate-hero .btn-with-arrows .arrow-right {
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .affiliate-hero .btn-with-arrows .arrow-left {
        margin-left: 0;
    }

    .affiliate-hero .btn-with-arrows .arrow-right {
        margin-right: 0;
    }

    .affiliate-hero .btn-primary {
        flex: 1;
        max-width: 180px;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    .hero-logo {
        width: 300px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.4rem;
    }

    .hero-content .slogan {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Последни проекти секция */
.case-studies {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent);
    text-transform: none;
}

.case-studies-grid {
    display: flex;
    gap: 30px;
    margin: 50px auto 0;
    transition: transform 0.5s ease-in-out;
    width: max-content;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.case-studies-grid:active {
    cursor: grabbing;
}

.case-study-card {
    flex: 0 0 270px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(10, 95, 56, 0.6) 0%, 
        rgba(10, 95, 56, 0.4) 50%, 
        rgba(10, 95, 56, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    pointer-events: none;
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

.case-study-text {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    text-align: left;
}

.case-study-overlay h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.case-study-overlay p {
    color: var(--light);
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    font-style: italic;
}

.case-study-card:hover .case-study-text {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 1200px) {
    .case-study-card {
        flex: 0 0 calc(50% - 15px);
        max-width: 270px;
    }
}

@media (max-width: 768px) {
    .case-study-card {
        flex: 0 0 100%;
        max-width: 270px;
    }
    
    .case-study-image {
        height: 400px;
    }
}

/* Контакт секция */
.contact-section {
    padding: 80px 0 80px 0;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 600px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.contact-description {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2em;
    z-index: 1;
}

.form-group textarea ~ i {
    top: 25px;
    transform: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 45px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding: 12px 15px;
    font-family: inherit;
}

.form-group label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.9em;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-group textarea ~ label {
    top: 15px;
    left: 15px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label,
.form-group label.active {
    top: -10px;
    left: 15px;
    font-size: 0.8em;
    color: var(--primary);
    background: white;
    padding: 0 5px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(10, 95, 56, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 95, 56, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2em;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px;
    }

    .map-container {
        min-height: 450px;
    }

    .map-container iframe {
        min-height: 450px;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 40px;
    }
    
    .contact-info {
        gap: 10px;
    }
}

/* Google Reviews Modal */
.google-reviews-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.google-reviews-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.google-reviews-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.google-reviews-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 90%;
    max-width: 580px;
    padding: 20px;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-reviews-modal.show .google-reviews-modal-container {
    transform: translate(-50%, -50%) scale(1);
}


.google-reviews-card {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
}

.google-logo-wrapper {
    display: flex;
    align-items: center;
}

.google-logo {
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.google-reviews-card:hover .google-logo {
    transform: scale(1.05);
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #5f6368;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.google-reviews-badge:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-reviews-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.google-reviews-content {
    padding: 2rem 1.75rem;
    text-align: center;
}

.google-reviews-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
}

.google-reviews-text {
    font-size: 0.9375rem;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.rating-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0;
}

/* From Uiverse.io by andrew-demchenk0 */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
    opacity: 0;
    pointer-events: none;
}

.rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 42px;
    color: #666;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    line-height: 1;
    padding: 0.25rem;
}

.rating:not(:checked) > label:before {
    content: '★';
    display: block;
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
    transform: scale(1.15);
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
    transform: scale(1.1);
}

.rating > input:checked ~ label {
    color: #ffa723;
}

.rating > label:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .google-reviews-modal-container {
        width: 95%;
        padding: 15px;
    }
    
    .google-reviews-card {
        border-radius: 12px;
    }
    
    .google-reviews-header {
        padding: 1rem 1.25rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        position: relative;
    }
    
    .google-logo {
        height: 26px;
        max-width: 100px;
    }
    
    .google-reviews-badge {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .google-reviews-content {
        padding: 1.75rem 1.25rem;
    }
    
    .google-reviews-title {
        font-size: 1.25rem;
    }
    
    .google-reviews-text {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .rating-wrapper {
        padding: 0.5rem 0;
    }
    
    .rating:not(:checked) > label {
        font-size: 38px;
    }
    
    .rating {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .google-reviews-modal-container {
        width: 100%;
        padding: 10px;
    }
    
    .google-reviews-card {
        border-radius: 12px;
    }
    
    .google-reviews-header {
        padding: 0.875rem 1rem;
        position: relative;
    }
    
    .google-logo {
        height: 23px;
        max-width: 90px;
    }
    
    .google-reviews-badge {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    
    .google-reviews-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .google-reviews-content {
        padding: 1.5rem 1rem;
    }
    
    .google-reviews-title {
        font-size: 1.125rem;
    }
    
    .google-reviews-text {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }
    
    .rating:not(:checked) > label {
        font-size: 34px;
    }
    
    .rating {
        gap: 0.35rem;
    }
}

/* За нас секция */
.about {
    padding: 100px 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        var(--dark-blue) 8%,
        var(--dark-green) 100%
    );
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -150px;
    z-index: 2;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.08;
    pointer-events: none;
    margin-top: 150px;
}

/* Бели декоративни елементи */
.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.white-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.white-dot {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatDot 20s infinite linear;
}

.white-dot:nth-child(1) { width: 150px; height: 150px; top: 15%; left: 10%; animation-delay: 0s; }
.white-dot:nth-child(2) { width: 100px; height: 100px; top: 75%; left: 15%; animation-delay: -4s; }
.white-dot:nth-child(3) { width: 200px; height: 200px; top: 35%; left: 65%; animation-delay: -8s; }
.white-dot:nth-child(4) { width: 120px; height: 120px; top: 85%; left: 75%; animation-delay: -12s; }
.white-dot:nth-child(5) { width: 180px; height: 180px; top: 25%; left: 85%; animation-delay: -16s; }

@keyframes floatDot {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        opacity: 0.15;
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        opacity: 0.15;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.1;
    }
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(68, 207, 108, 0.3);
}

.about-subtitle {
    font-size: 1.5rem;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    margin: 0;
}

.feature-item h3 {
    font-size: 1.6rem;
    color: white;
    font-weight: 500;
    margin: 0;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

/* Анимиран фон */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
    opacity: 0.1;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 20%;
    width: 150px;
    height: 150px;
    animation-delay: -3s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 60%;
    width: 120px;
    height: 120px;
    animation-delay: -6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 80%;
    width: 80px;
    height: 80px;
    animation-delay: -9s;
}

.particle:nth-child(5) {
    top: 20%;
    left: 80%;
    width: 130px;
    height: 130px;
    animation-delay: -12s;
}

@keyframes floatParticle {
    0% {
        transform: rotate(0deg) translate(0, 0) scale(1);
    }
    33% {
        transform: rotate(120deg) translate(100px, 50px) scale(1.2);
    }
    66% {
        transform: rotate(240deg) translate(-50px, 100px) scale(0.8);
    }
    100% {
        transform: rotate(360deg) translate(0, 0) scale(1);
    }
}

@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-header h2 {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-item {
        padding: 2rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-item h3 {
        font-size: 1.4rem;
    }
    
    .feature-item p {
        font-size: 1rem;
    }
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.5s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    background: white;
    box-shadow: 0 0 30px rgba(68, 207, 108, 0.3);
}

.feature-item:hover .feature-icon i {
    color: var(--primary);
}

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

.about-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.view-all-projects {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 10px;
}

.projects-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.projects-btn:hover {
    background: var(--dark);
    color: white;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(68, 207, 108, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(68, 207, 108, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    cursor: pointer;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(68, 207, 108, 0.2);
}

.scroll-to-top i {
    font-size: 22px;
    transition: all 0.4s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Модален прозорец за благодарност */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thank-you-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    animation: modalSlideIn 0.5s ease forwards;
}

.thank-you-modal.active .modal-content {
    transform: scale(1);
}

@keyframes modalSlideIn {
    0% {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10a056 0%, #0d7a42 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(16, 160, 86, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

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

.success-icon i {
    font-size: 40px;
    color: white;
}

.emoji-title {
    font-size: 3em;
    margin-bottom: 10px;
    text-align: center;
}

.modal-header h2 {
    font-size: 2.2em;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.modal-header p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

.modal-body {
    margin-top: 20px;
    margin-bottom: 30px;
}

.modal-body p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin: 15px 0;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fa;
    color: #666;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .success-icon i {
        font-size: 30px;
    }
    
    .modal-header h2 {
        font-size: 1.8em;
    }
    
    .modal-header p {
        font-size: 1em;
    }
}

/* Бледи снимки за case-studies (Последни разработки) */
.case-study-image img {
    filter: grayscale(0.6) brightness(1.15);
    transition: filter 0.4s cubic-bezier(0.4,0,0.2,1);
}

.case-study-card:hover .case-study-image img {
    filter: grayscale(0) brightness(1);
}

/* --- Hero Logo Mobile Placement --- */
.mobile-hero-logo {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hero-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
        margin-top: 2.5rem;
    }
    .mobile-hero-logo img {
        width: 200px;
        height: auto;
    }
    .hero-logo {
        display: none !important;
    }
    .hero-content .subtitle {
        font-size: 2rem;
    }
    .hero-content .slogan {
        font-size: 1.3rem;
    }
    .hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 0;
    }
    .cta-button {
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .feature-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.2rem;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    .feature-content h3 {
        font-size: 1.2rem;
    }
    .feature-content p {
        font-size: 1.05rem;
    }
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 1.5rem;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
    background: var(--primary);
    color: #fff;
}

.floating-language-switcher {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1200;
    display: flex;
    gap: 0.2rem;
    background: rgba(20, 30, 40, 0.18);
    border-radius: 1.2rem;
    padding: 0.18rem 0.4rem;
    align-items: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: background 0.3s;
    box-shadow: none;
    border: none;
}
.floating-language-switcher:hover {
    background: rgba(20, 30, 40, 0.28);
}
.lang-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    padding: 0.12rem 0.5rem;
    border-radius: 0.7rem;
    transition: background 0.18s, color 0.18s;
    outline: none;
    letter-spacing: 0.5px;
    min-width: 32px;
}
.lang-btn.active {
    background: var(--primary);
    color: #fff;
}
.lang-btn:hover:not(.active) {
    background: rgba(255,255,255,0.08);
    color: var(--primary);
}
@media (max-width: 600px) {
    .floating-language-switcher {
        left: 4px;
        bottom: 4px;
        padding: 0.08rem 0.2rem;
    }
    .lang-btn {
        font-size: 0.92rem;
        padding: 0.08rem 0.3rem;
        min-width: 26px;
    }
}

/* Препоръка: Компресирайте изображенията и използвайте WebP за по-добра ефективност */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 18, 44, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: opacity 0.3s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.project-modal[style*="display: flex"] {
    display: flex !important;
}
.project-modal-content {
    background: white;
    width: 90vw;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    padding: 2rem;
    margin: 2rem 0;
    overflow-y: visible;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    touch-action: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.close-project-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 2.2rem;
    color: #01122C;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
}
.close-project-modal:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(90deg);
}
@media (max-width: 768px) {
    .project-modal {
        overflow-y: auto;
    }
    .project-modal-content {
        width: 98vw;
        max-width: 98vw;
        min-width: 0;
        padding: 1rem;
        margin: 0.5rem 0;
        border-radius: 12px;
        overflow-y: auto;
        max-height: none;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    .close-project-modal {
        font-size: 2.5rem;
        width: 48px;
        height: 48px;
        top: 0.5rem;
        right: 0.5rem;
        position: sticky;
        position: -webkit-sticky;
        z-index: 100;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-left: auto;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.modal-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.modal-title-row h2 {
    flex: 1 1 auto;
    font-size: 1.5rem;
    margin: 0;
    word-break: break-word;
}
.modal-title-row .close-project-modal {
    position: static;
    margin-left: 1rem;
    margin-bottom: 0;
    align-self: flex-start;
    box-shadow: none;
}
@media (max-width: 768px) {
    .modal-title-row {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .modal-title-row h2 {
        font-size: 1.1rem;
    }
    .modal-title-row .close-project-modal {
        font-size: 2rem;
        width: 40px;
        height: 40px;
        margin-left: 0.5rem;
        margin-bottom: 0;
        position: sticky;
        top: 0;
        right: 0;
        z-index: 100;
        background: rgba(255,255,255,0.9);
    }
}

/* Безплатна консултация секция */
.free-consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.free-consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

/* Анимирани партикли за консултация */
.consultation-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.consultation-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: webMove 20s linear infinite;
    pointer-events: none;
}

.consultation-particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: consultationFloat 25s infinite linear;
    pointer-events: none;
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.consultation-particles .particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(2) {
    top: 30%;
    left: 25%;
    animation-delay: -1s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(3) {
    top: 10%;
    left: 40%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(4) {
    top: 25%;
    left: 60%;
    animation-delay: -3s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(5) {
    top: 20%;
    left: 80%;
    animation-delay: -4s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(6) {
    top: 50%;
    left: 15%;
    animation-delay: -5s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(7) {
    top: 60%;
    left: 35%;
    animation-delay: -6s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(8) {
    top: 45%;
    left: 55%;
    animation-delay: -7s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(9) {
    top: 55%;
    left: 75%;
    animation-delay: -8s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(10) {
    top: 40%;
    left: 90%;
    animation-delay: -9s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(11) {
    top: 75%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(12) {
    top: 80%;
    left: 45%;
    animation-delay: -11s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(13) {
    top: 70%;
    left: 65%;
    animation-delay: -12s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(14) {
    top: 75%;
    left: 85%;
    animation-delay: -13s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(15) {
    top: 35%;
    left: 5%;
    animation-delay: -14s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(16) {
    top: 5%;
    left: 30%;
    animation-delay: -15s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(17) {
    top: 15%;
    left: 50%;
    animation-delay: -16s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(18) {
    top: 5%;
    left: 70%;
    animation-delay: -17s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(19) {
    top: 30%;
    left: 95%;
    animation-delay: -18s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(20) {
    top: 90%;
    left: 10%;
    animation-delay: -19s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(21) {
    top: 25%;
    left: 12%;
    animation-delay: -20s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(22) {
    top: 45%;
    left: 28%;
    animation-delay: -21s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(23) {
    top: 35%;
    left: 42%;
    animation-delay: -22s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(24) {
    top: 15%;
    left: 58%;
    animation-delay: -23s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(25) {
    top: 40%;
    left: 72%;
    animation-delay: -24s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(26) {
    top: 60%;
    left: 88%;
    animation-delay: -25s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(27) {
    top: 65%;
    left: 18%;
    animation-delay: -26s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(28) {
    top: 80%;
    left: 32%;
    animation-delay: -27s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(29) {
    top: 55%;
    left: 48%;
    animation-delay: -28s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(30) {
    top: 85%;
    left: 62%;
    animation-delay: -29s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(31) {
    top: 25%;
    left: 78%;
    animation-delay: -30s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(32) {
    top: 70%;
    left: 92%;
    animation-delay: -31s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(33) {
    top: 55%;
    left: 8%;
    animation-delay: -32s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(34) {
    top: 12%;
    left: 22%;
    animation-delay: -33s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(35) {
    top: 75%;
    left: 38%;
    animation-delay: -34s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(36) {
    top: 35%;
    left: 52%;
    animation-delay: -35s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(37) {
    top: 65%;
    left: 68%;
    animation-delay: -36s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(38) {
    top: 45%;
    left: 82%;
    animation-delay: -37s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(39) {
    top: 15%;
    left: 96%;
    animation-delay: -38s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(40) {
    top: 85%;
    left: 14%;
    animation-delay: -39s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(41) {
    top: 5%;
    left: 26%;
    animation-delay: -40s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(42) {
    top: 50%;
    left: 44%;
    animation-delay: -41s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(43) {
    top: 20%;
    left: 56%;
    animation-delay: -42s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(44) {
    top: 80%;
    left: 74%;
    animation-delay: -43s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(45) {
    top: 30%;
    left: 86%;
    animation-delay: -44s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(46) {
    top: 70%;
    left: 6%;
    animation-delay: -45s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(47) {
    top: 40%;
    left: 24%;
    animation-delay: -46s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(48) {
    top: 90%;
    left: 36%;
    animation-delay: -47s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(49) {
    top: 10%;
    left: 54%;
    animation-delay: -48s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(50) {
    top: 50%;
    left: 66%;
    animation-delay: -49s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(51) {
    top: 75%;
    left: 84%;
    animation-delay: -50s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(52) {
    top: 25%;
    left: 98%;
    animation-delay: -51s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(53) {
    top: 60%;
    left: 16%;
    animation-delay: -52s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(54) {
    top: 15%;
    left: 34%;
    animation-delay: -53s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(55) {
    top: 65%;
    left: 46%;
    animation-delay: -54s;
    animation-duration: 23s;
}

.consultation-particles .particle:nth-child(56) {
    top: 40%;
    left: 64%;
    animation-delay: -55s;
    animation-duration: 21s;
}

.consultation-particles .particle:nth-child(57) {
    top: 85%;
    left: 76%;
    animation-delay: -56s;
    animation-duration: 18s;
}

.consultation-particles .particle:nth-child(58) {
    top: 55%;
    left: 94%;
    animation-delay: -57s;
    animation-duration: 24s;
}

.consultation-particles .particle:nth-child(59) {
    top: 30%;
    left: 4%;
    animation-delay: -58s;
    animation-duration: 20s;
}

.consultation-particles .particle:nth-child(60) {
    top: 80%;
    left: 20%;
    animation-delay: -59s;
    animation-duration: 22s;
}

.consultation-particles .particle:nth-child(61) {
    top: 25%;
    left: 40%;
    animation-delay: -60s;
    animation-duration: 19s;
}

.consultation-particles .particle:nth-child(62) {
    top: 70%;
    left: 60%;
    animation-delay: -61s;
    animation-duration: 25s;
}

.consultation-particles .particle:nth-child(63) {
    top: 35%;
    left: 80%;
    animation-delay: -62s;
    animation-duration: 17s;
}

.consultation-particles .particle:nth-child(64) {
    top: 90%;
    left: 100%;
    animation-delay: -63s;
    animation-duration: 23s;
}

@keyframes consultationFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.4;
    }
    95% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) translateX(30px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes webMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(10px) translateY(5px);
    }
    50% {
        transform: translateX(0) translateY(10px);
    }
    75% {
        transform: translateX(-5px) translateY(5px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== AFFILIATE PAGE STYLES ===== */

/* Affiliate Hero Section */
.affiliate-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.affiliate-hero .hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: webMove 20s linear infinite;
    pointer-events: none;
}

.affiliate-hero .hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    line-height: 0.5;
}

.hero-title .line1,
.hero-title .line2 {
    display: block;
    white-space: nowrap;
    line-height: 0.6;
    margin: 0;
    padding: 0;
}

.hero-title .highlight-yellow {
    color: #FFD700;
}

.dark-green-title {
    color: #0d5e3a !important;
    background: none !important;
    -webkit-text-fill-color: #0d5e3a !important;
}

.hero-description {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: nowrap;
}

.hero-stats .stat-item {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    max-width: 180px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.hero-actions .btn-primary {
    text-align: center;
    justify-content: center;
    min-width: 250px;
}

.btn-with-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 10;
}

.btn-with-arrows .arrow-left,
.btn-with-arrows .arrow-right {
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.btn-with-arrows .arrow-left {
    animation-delay: 0s;
    margin-left: 35px;
    animation-name: arrowPulseLeft;
}

.btn-with-arrows .arrow-right {
    animation-delay: 0s;
    margin-right: 35px;
    animation-name: arrowPulseRight;
}

@keyframes arrowPulseLeft {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-10px) scale(1.2);
        opacity: 1;
    }
}

@keyframes arrowPulseRight {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(10px) scale(1.2);
        opacity: 1;
    }
}

.btn-primary, .btn-secondary, .btn-tertiary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Particles for Affiliate */
.affiliate-hero .hero-particles {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    z-index: 1;
    transform: none !important;
}

.affiliate-hero .hero-particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: consultationFloat 25s infinite linear;
    pointer-events: none;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.affiliate-hero .hero-particles .particle:nth-child(1) {
    top: 20%; left: 10%; animation-delay: 0s; animation-duration: 20s;
}
.affiliate-hero .hero-particles .particle:nth-child(2) {
    top: 60%; left: 80%; animation-delay: -5s; animation-duration: 22s;
}
.affiliate-hero .hero-particles .particle:nth-child(3) {
    top: 80%; left: 20%; animation-delay: -10s; animation-duration: 18s;
}
.affiliate-hero .hero-particles .particle:nth-child(4) {
    top: 30%; left: 70%; animation-delay: -15s; animation-duration: 24s;
}
.affiliate-hero .hero-particles .particle:nth-child(5) {
    top: 70%; left: 50%; animation-delay: -8s; animation-duration: 21s;
}
.affiliate-hero .hero-particles .particle:nth-child(6) {
    top: 10%; left: 90%; animation-delay: -12s; animation-duration: 19s;
}
.affiliate-hero .hero-particles .particle:nth-child(7) {
    top: 45%; left: 15%; animation-delay: -3s; animation-duration: 23s;
}
.affiliate-hero .hero-particles .particle:nth-child(8) {
    top: 25%; left: 35%; animation-delay: -7s; animation-duration: 20s;
}
.affiliate-hero .hero-particles .particle:nth-child(9) {
    top: 55%; left: 65%; animation-delay: -11s; animation-duration: 22s;
}
.affiliate-hero .hero-particles .particle:nth-child(10) {
    top: 15%; left: 45%; animation-delay: -2s; animation-duration: 19s;
}
.affiliate-hero .hero-particles .particle:nth-child(11) {
    top: 85%; left: 75%; animation-delay: -6s; animation-duration: 21s;
}
.affiliate-hero .hero-particles .particle:nth-child(12) {
    top: 40%; left: 25%; animation-delay: -9s; animation-duration: 24s;
}
.affiliate-hero .hero-particles .particle:nth-child(13) {
    top: 65%; left: 40%; animation-delay: -4s; animation-duration: 18s;
}
.affiliate-hero .hero-particles .particle:nth-child(14) {
    top: 35%; left: 85%; animation-delay: -13s; animation-duration: 20s;
}
.affiliate-hero .hero-particles .particle:nth-child(15) {
    top: 75%; left: 30%; animation-delay: -1s; animation-duration: 23s;
}
.affiliate-hero .hero-particles .particle:nth-child(16) {
    top: 50%; left: 95%; animation-delay: -14s; animation-duration: 22s;
}
.affiliate-hero .hero-particles .particle:nth-child(17) {
    top: 5%; left: 55%; animation-delay: -8s; animation-duration: 19s;
}
.affiliate-hero .hero-particles .particle:nth-child(18) {
    top: 90%; left: 60%; animation-delay: -5s; animation-duration: 21s;
}
.affiliate-hero .hero-particles .particle:nth-child(19) {
    top: 12%; left: 22%; animation-delay: -10s; animation-duration: 24s;
}
.affiliate-hero .hero-particles .particle:nth-child(20) {
    top: 68%; left: 88%; animation-delay: -7s; animation-duration: 20s;
}

@keyframes heroFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: white;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 25%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 75%, 
        transparent 100%);
    transform: skewX(-25deg);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.benefit-card:hover::before {
    left: 100%;
    transition: left 1.2s ease;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #0c3d4f 0%, #0f5e6a 30%, #127a7a 60%, #1a9b88 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Calculator Section */
.calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary) 100%);
    color: white;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-info p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

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

.calculator .form-group label {
    display: inline-block;
    position: static;
    transform: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
    background: transparent !important;
    padding: 0;
}

.calculator .form-group input:focus ~ label,
.calculator .form-group textarea:focus ~ label,
.calculator .form-group input:valid ~ label,
.calculator .form-group textarea:valid ~ label,
.calculator .form-group label.active {
    background: transparent !important;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calculator-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background: #f8f9fa;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.registration-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.registration-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.registration-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.registration-form input,
.registration-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.registration-form input:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: white;
}

.faq-item.active .faq-question h3 {
    color: white;
}

/* Templates Section */
.templates {
    padding: 120px 0;
    background: #fafbfc;
    position: relative;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
}

.template-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.template-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 30px 80px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 58, 95, 0.15);
}

.template-card:hover::after {
    opacity: 1;
}

.template-header {
    background: linear-gradient(135deg, #0a1929 0%, #0f2e1f 50%, #0a1929 100%);
    background-size: 200% 200%;
    animation: subtleGradientShift 8s ease infinite;
    color: white;
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.template-header::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
    transition: transform 0.8s ease;
}

.template-card:hover .template-header::before {
    transform: scale(1.2) translateY(20%);
}

.template-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.template-card:hover .template-icon {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 30px rgba(34, 197, 94, 0.2);
}

.template-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.template-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-text {
    background: #fafbfc;
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #1a202c;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex: 1;
    transition: all 0.4s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.template-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e3a5f 0%, #22c55e 50%, #2d5a87 100%);
    border-radius: 14px 0 0 14px;
    opacity: 0.8;
}

.template-card:hover .template-text {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.template-text p {
    margin-bottom: 1.1rem;
    color: #2d3748;
    font-weight: 400;
}

.template-text p:empty {
    margin-bottom: 0.6rem;
    height: 0.6rem;
}

.template-text p:last-child {
    margin-bottom: 0;
}

.template-text strong {
    color: #0a1929;
    font-weight: 600;
}

.copy-btn {
    width: 100%;
    padding: 14px 24px;
    background: #0a1929;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 2px 8px rgba(10, 25, 41, 0.2);
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.copy-btn:hover {
    background: #152235;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10, 25, 41, 0.3);
}

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

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 25, 41, 0.2);
}

.copy-btn i {
    font-size: 1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.copy-btn span {
    position: relative;
    z-index: 1;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: transparent;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: visible;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s ease;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: static;
    width: auto;
    height: auto;
    border: none;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.3);
}

.modal-close i {
    font-size: 1rem;
    color: white;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.modal-gift-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.modal-header h2 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.modal-phone-section {
    text-align: center;
}

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

.modal-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 12px 25px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.modal-phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.modal-phone-btn i {
    font-size: 1.3rem;
}

.modal-divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}

.modal-divider::before {
    left: 0;
}

.modal-divider::after {
    right: 0;
}

.modal-divider span {
    background: white;
    padding: 0 1rem;
    color: #999;
    font-weight: 600;
}

.modal-raffle-section {
    text-align: center;
}

.modal-raffle-section h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.modal-raffle-section > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.modal-email-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-input-wrapper i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 1.1rem;
}

.email-input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.email-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.modal-submit-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary), var(--dark-blue));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.modal-privacy-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #999;
}

.modal-privacy-text i {
    font-size: 0.9rem;
}

.modal-privacy-text small {
    font-size: 0.85rem;
}

/* Success Modal Styles */
.success-modal-content {
    text-align: center;
    padding: 3rem 2rem !important;
    max-width: 450px;
}

.success-icon-wrapper {
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
    position: relative;
}

.success-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    opacity: 0.3;
    animation: ripple 2s ease-out infinite;
}

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

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.success-icon i {
    font-size: 3rem;
    color: white;
    z-index: 1;
}

.success-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-close-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, var(--primary), var(--dark-blue));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.success-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: none;
        width: 100%;
        max-width: none;
    }
    
    .hero-actions .btn-primary {
        width: 100%;
        min-width: auto;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-content,
    .registration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
    
    /* Modal Mobile Styles */
    .modal-container {
        width: 95%;
        max-height: 85vh;
        max-width: 500px;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .success-modal-content {
        padding: 2rem 1.5rem !important;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon i {
        font-size: 2.5rem;
    }
    
    .success-title {
        font-size: 1.6rem;
    }
    
    .success-message {
        font-size: 1rem;
    }
    
    .modal-divider {
        display: block;
        text-align: center;
        position: relative;
        margin: 1rem 0;
    }
    
    .modal-divider::before,
    .modal-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 40%;
        height: 1px;
        background: #e0e0e0;
    }
    
    .modal-divider::before {
        left: 0;
    }
    
    .modal-divider::after {
        right: 0;
    }
    
    .modal-divider span {
        background: white;
        padding: 0 1rem;
        color: #999;
        font-weight: 600;
    }
    
    .modal-phone-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .modal-submit-btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .calculator-form,
    .registration-form {
        padding: 1rem;
    }
}

/* Language Switcher in Footer */
.footer {
    position: relative;
}

.footer .language-switcher {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 5px;
}

.footer .language-switcher .lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer .language-switcher .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer .language-switcher .lang-btn.active {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .footer .language-switcher {
        position: static;
        margin-top: 2rem;
        justify-content: center;
    }
}

.consultation-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.consultation-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.consultation-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.consultation-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary-dark);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.consultation-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 ease;
}

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

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.consultation-btn:active {
    transform: translateY(-1px);
}

.consultation-btn i:first-child {
    font-size: 1.3rem;
    color: var(--primary);
}

.consultation-btn i:last-child {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.consultation-btn:hover i:last-child {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .free-consultation {
        padding: 60px 0;
    }
    
    .consultation-header h2 {
        font-size: 2rem;
    }
    
    .consultation-header p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .consultation-btn {
        padding: 15px 28px;
        font-size: 1rem;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .consultation-header h2 {
        font-size: 1.8rem;
    }
    
    .consultation-header p {
        font-size: 1rem;
    }
    
    .consultation-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: 8px;
    }
}