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

:root {
    --color-primary: #8BC34A;
    --color-primary-dark: #1B7D3B;
    --color-primary-darker: #0B5A2D;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0B5A2D 0%, #1B7D3B 50%, #8BC34A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 200px;
    height: auto;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto 0;
}

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

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

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary-darker);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 50px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(139, 195, 74, 0.1);
    transition: var(--transition);
}

.header-phone i {
    font-size: 1.1rem;
}

.header-phone:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

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

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section with Advanced Animations */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
    padding-top: 90px;
}

/* Hero Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2.5s ease-in-out;
}

.hero-background-slide.active {
    opacity: 1;
    animation: zoomIn 10s linear forwards;
}

.hero-background-slide.leaving {
    opacity: 0;
    transform: scale(1.2);
    animation: none;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Dark overlay for better text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(11, 90, 45, 0.85) 0%,
        rgba(27, 125, 59, 0.75) 50%,
        rgba(11, 90, 45, 0.85) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/bg/circuit-pattern.svg');
    opacity: 0.4;
    z-index: 2;
    animation: float 20s ease-in-out infinite;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/bg/hexagon-pattern.svg');
    opacity: 0.3;
    z-index: 2;
    animation: float-reverse 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 6px 25px rgba(139, 195, 74, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 195, 74, 0.5);
}

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

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

/* About Section */
.about {
    background: var(--color-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('assets/images/bg/grid-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

.about-content {
    max-width: 950px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directions Section with Advanced Animations */
.directions {
    background: linear-gradient(180deg, #f5f5f5 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.directions::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.direction-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.direction-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.direction-card:hover::before {
    transform: scaleX(1);
}

.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
}

.direction-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.direction-icon img {
    width: 85px;
    height: 85px;
    transition: var(--transition);
}

.direction-card:hover .direction-icon img {
    transform: scale(1.1);
}

.direction-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary-darker);
    margin-bottom: 15px;
}

.direction-desc {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: url('assets/images/bg/wave-pattern.svg') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    opacity: 0.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f5e9 100%);
    padding: 35px 30px;
    border-radius: 15px;
    border-left: 5px solid var(--color-primary);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
}

.service-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-card:hover {
    border-left-color: var(--color-primary-dark);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-darker);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Advantages Section with Gradient Background */
.advantages {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary-darker) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/bg/hexagon-pattern.svg');
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.advantages .section-title {
    color: white;
}

.advantages-motto {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9);
}

.advantage-card.visible {
    opacity: 1;
    transform: scale(1);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.advantage-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-card p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Projects Section with Swiper */
.projects {
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}

.projects-counter {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-top: 20px;
    font-weight: 600;
}

.projects-counter .current-slide {
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.projects-slider-container {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}

.projects-swiper {
    padding: 80px 60px !important;
    overflow: visible;
}

.swiper-slide {
    width: 420px !important;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    transition: all 0.4s ease;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    height: 520px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.swiper-slide-active .project-card {
    box-shadow: 0 15px 50px rgba(139, 195, 74, 0.3);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 195, 74, 0.4);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(11, 90, 45, 0.95) 0%,
        rgba(11, 90, 45, 0.85) 40%,
        rgba(11, 90, 45, 0.6) 70%,
        transparent 100%);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top,
        rgba(11, 90, 45, 0.98) 0%,
        rgba(11, 90, 45, 0.90) 50%,
        rgba(11, 90, 45, 0.7) 80%,
        transparent 100%);
}

.project-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.project-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 55px;
    height: 55px;
    background: white;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary-dark) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.4);
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.swiper-button-disabled:hover {
    background: white;
    color: var(--color-primary-dark) !important;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative !important;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-text-light);
    opacity: 0.4;
    transition: all 0.3s ease;
    border-radius: 50%;
    cursor: pointer;
}

.swiper-pagination-bullet:hover {
    opacity: 0.7;
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
    width: 32px;
    border-radius: 5px;
    transform: scale(1);
}

/* Clients Section */
.clients {
    background: var(--color-bg);
}

.clients-logos {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.client-logo {
    padding: 40px 60px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f5e9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
}

.client-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.2);
}

.client-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-darker);
}

/* Geography Section */
.geography {
    background: linear-gradient(135deg, #e8f5e9 0%, #f5f5f5 100%);
}

.geography-content {
    max-width: 700px;
    margin: 0 auto;
}

.geography-item {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
}

.geography-item.visible {
    opacity: 1;
    transform: scale(1);
}

.geography-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
}

.geography-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    position: relative;
}

.geography-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
    position: relative;
}

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

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

.contact-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-icon img {
    width: 70px;
    height: 70px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon img {
    transform: scale(1.15) rotate(5deg);
}

.contact-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: 12px;
}

.contact-value {
    font-size: 1.3rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-value:hover {
    color: var(--color-primary-dark);
    transform: scale(1.05);
    display: inline-block;
}

.contact-messengers {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.messenger-link {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.messenger-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-primary-darker) 0%, #0a4823 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/bg/circuit-pattern.svg');
    opacity: 0.05;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-logo-img {
    height: 90px;
    filter: brightness(0) invert(1);
}

.footer-text {
    text-align: right;
}

.footer-text p {
    margin-bottom: 8px;
    opacity: 0.95;
    font-size: 1.05rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav.active {
        transform: translateX(0);
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 10px 12px;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

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

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

    .projects-swiper {
        padding: 40px 20px !important;
    }

    .swiper-slide {
        width: 320px !important;
    }

    .project-card {
        height: 450px;
    }

    .project-title {
        font-size: 1.15rem;
    }

    .project-subtitle {
        font-size: 0.85rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .clients-logos {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .direction-icon img,
    .contact-icon img {
        width: 70px;
        height: 70px;
    }
}
