:root {
    --primary: #0a192f;
    --secondary: #f39c12;  /* Изменен на оранжевый - строительный акцент */
    --accent: #8892b0;
    --light: #e6f1ff;
    --dark: #021327;       /* Более темный оттенок */
    --gold: #ffd700;       /* Золотой акцент */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(2, 12, 27, 0.3);
    --card-bg: rgba(23, 42, 69, 0.8);
    --glass: rgba(10, 25, 47, 0.7);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--primary);
    overflow-x: hidden;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(2, 19, 39, 0.95) 100%);
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--light);
}

p {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary);
    z-index: -1;
    transition: var(--transition);
}

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

.btn:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
}

.btn-outline:hover {
    background: rgba(230, 241, 255, 0.1);
    color: var(--light);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: 0 5px 20px rgba(2, 12, 27, 0.3);
    transition: var(--transition);
    border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

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

.logo-icon {
    font-size: 28px;
    color: var(--secondary);
    margin-right: 10px;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    color: var(--light);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text h3 {
    margin: 0;
}

.logo-text span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 15px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    position: fixed;
    top: 16px;
    right: 15px;
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
    z-index: 1100;
    transition: var(--transition);
    padding: 8px;
}

.mobile-menu-btn:hover {
    color: var(--secondary);
}

.call-button-mobile-menu {
    padding: 8px 20px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.call-button-mobile-menu:hover {
    background: #e67e22;
}

.call-button-mobile-menu i {
    margin-right: 5px;
}

.call-button {
    position: fixed;
    top: 13px;
    right: 15px;
    padding: 8px 20px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.call-button:hover {
    background: #e67e22;
}

.call-button i {
    margin-right: 5px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--glass);
    z-index: 1050;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    padding: 90px 20px 30px;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
    transform: translateX(20px);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active ul li {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu ul li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-menu ul li a {
    color: var(--light);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.mobile-menu ul li a i {
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.mobile-menu ul li a:hover {
    color: var(--secondary);
    padding-left: 10px;
    border-bottom: 1px solid var(--secondary);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.8);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1100;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: url('https://evrazyug.ru/templates/c_bebuilding/img/full_AcPwIdfj.jpg') center/cover fixed;
}

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

.hero-content {
    max-width: 1200px;
    padding: 100px 0 40px 4px;
    position: relative;
    z-index: 2;
}

.hero h1 span {
    color: var(--secondary); 
}

#btn-projects {
    margin-left: 25px;
}


.hero h1 {
    font-size: 2.9rem;
    margin-bottom: 20px;
    margin-left: 25px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#title-2 {
    font-size: 2.8rem;
    color: var(--gold);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    margin-left: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease 0.2s forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.4s ease 0.4s forwards;
}

.stats {
    background: rgba(243, 156, 18, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px 20px;
    z-index: 2;
    margin: 30px auto 0;
    border-radius: 10px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    color: var(--light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    padding: 15px;
    background: rgba(243, 156, 18, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(243, 156, 18, 0.1);
    transform: translateY(-3px);
}

.stats-grid .stat-item:nth-child(1) {
    animation-delay: 0.6s;
}

.stats-grid .stat-item:nth-child(2) {
    animation-delay: 0.7s;
}

.stats-grid .stat-item:nth-child(3) {
    animation-delay: 0.8s;
}

.stats-grid .stat-item:nth-child(4) {
    animation-delay: 0.9s;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-text {
    font-size: 1rem;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.section {
    padding: 70px 0;
    position: relative;
}

.services {
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.92);
    z-index: 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    color: var(--light);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--gold));
    border-radius: 2px;
}

.section-header p {
    color: var(--accent);
    margin-top: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(243, 156, 18, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.3);
}

.service-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(243, 156, 18, 0.2);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--light);
    font-size: 1.4rem;
}

.service-content p {
    color: #a8b2d1;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* Projects Section */
.projects {
    position: relative;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.92);
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    transition: var(--transition);
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.3);
    border-color: var(--secondary);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    transition: var(--transition);
}

.project-category {
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
    align-self: flex-start;
}

.project-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--light);
}

.project-overlay:hover {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85), transparent);
}


/* About Section */
.about {
    position: relative;
    background: url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.92);
    z-index: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
    }
}

.about-img {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.img-in-about {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.img-in-about img {
    width: 100%;
    display: block;
    transition: var(--transition);
    transform: scale(1.02);
}

.img-in-about:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.about-text h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    color: var(--light);
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--gold));
    border-radius: 2px;
}

.features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: rgba(243, 156, 18, 0.05);
    padding: 18px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(243, 156, 18, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.feature-item:hover {
    background: rgba(243, 156, 18, 0.1);
    transform: translateX(5px);
    border-color: rgba(243, 156, 18, 0.3);
}

.feature-icon {
    font-size: 24px;
    color: var(--gold);
    margin-right: 15px;
    min-width: 35px;
}

/* Testimonials */
.testimonials {
    position: relative;
    background: url('https://media.springernature.com/full/springer-static/image/art%3A10.1038%2Fs41893-023-01113-9/MediaObjects/41893_2023_1113_Figa_HTML.png') center/cover fixed;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.92);
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(243, 156, 18, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.3);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 0px;
    left: 6px;
    font-size: 60px;
    color: rgba(243, 156, 18, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.8;
}

.client {
    display: flex;
    align-items: center;
}

.client-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--secondary);
    transition: var(--transition);
}

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

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    position: relative;
    background: url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.92);
    z-index: 0;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .contact-grid {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.contact-form {
    flex: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: var(--transition);
    padding: 10px;
    border-radius: 8px;
}

.contact-item:hover {
    background: rgba(243, 156, 18, 0.05);
}

.contact-icon {
    font-size: 22px;
    color: var(--gold);
    margin-right: 15px;
    min-width: 30px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: var(--primary);
    box-shadow: 0 8px 15px rgba(243, 156, 18, 0.2);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 4px;
    background: rgba(243, 156, 18, 0.05);
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:hover,
.contact-form textarea:hover {
    outline: none;
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(136, 146, 176, 0.7);
}

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

/* Стили для автозаполнения в разных браузерах */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--light);
    -webkit-box-shadow: 0 0 0px 1000px rgba(243, 156, 18, 0.05) inset;
    transition: background-color 5000s ease-in-out 0s;
    backdrop-filter: blur(5px);
}

.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* Footer */
footer {
    background: var(--dark);
    padding-top: 50px;
    border-top: 1px solid rgba(243, 156, 18, 0.1);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(136, 146, 176, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 15px;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 13px;
    color: var(--secondary);
    transition: var(--transition);
    width: 20px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(243, 156, 18, 0.1);
    color: rgba(136, 146, 176, 0.6);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 576px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 26px;
    }

    nav ul li {
        margin-left: 25px;
    }

    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (min-width: 992px) {
    .hero-content {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    #btn-projects {
        margin-left: 0px;
    }

    .hero h1 {
        margin-left: 0;
    }

    .hero p {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-btns .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact-form button {
        width: 100%;
    }

    #title-2 {
        font-size: 2.4rem;
    }

    .call-button {
        position: fixed;
        top: 70px;
        right: 2px;
        padding: 6px 8px;
        background: #f39c12;
        font-size: 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Touch improvements */
.service-card,
.project-card,
.testimonial-card,
.feature-item,
.social-link {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

input,
textarea,
button {
    font-size: 16px !important;
}