: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;
}

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

.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: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 {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

    .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);
    }

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

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

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

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

    .hamburger {
        display: flex;
    }

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

/* За нас секция */
.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);
    }
}