* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #f59e0b;
    animation: rotateWrench 4s ease-in-out infinite;
}

@keyframes rotateWrench {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #f59e0b;
}

.nav-link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    position: absolute;
    left: 0;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:nth-child(3) {
    bottom: 0;
}

.burger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.burger-menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-menu-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

.burger-menu-content {
    text-align: center;
}

.burger-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px 0;
}

.burger-menu-item {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-menu-fullscreen.active .burger-menu-item {
    opacity: 1;
    transform: translateY(0);
}

.burger-menu-fullscreen.active .burger-menu-item:nth-child(1) { transition-delay: 0.1s; }
.burger-menu-fullscreen.active .burger-menu-item:nth-child(2) { transition-delay: 0.2s; }
.burger-menu-fullscreen.active .burger-menu-item:nth-child(3) { transition-delay: 0.3s; }
.burger-menu-fullscreen.active .burger-menu-item:nth-child(4) { transition-delay: 0.4s; }
.burger-menu-fullscreen.active .burger-menu-item:nth-child(5) { transition-delay: 0.5s; }

.burger-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 36px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.burger-menu-link:hover {
    color: #f59e0b;
    transform: scale(1.05);
}

.burger-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.burger-menu-fullscreen.active .burger-menu-contact {
    opacity: 1;
    transform: translateY(0);
}

.burger-contact-item {
    color: #9ca3af;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.burger-contact-item svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

.burger-contact-item a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.burger-contact-item a:hover {
    color: #f59e0b;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/3806288/pexels-photo-3806288.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.88) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-main {
    color: #fff;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #d1d5db;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(245, 158, 11, 0.5);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #111827;
    transform: translateY(-3px);
}

.hero-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.hero-info-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-info-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #f59e0b;
}

.hero-info-text {
    flex: 1;
}

.hero-info-text h4 {
    color: #f59e0b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-info-text p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    position: relative;
    top: 1.2rem;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    margin: 0 auto 24px;
    border-radius: 3px;
}

.section-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 700px;
        margin: 50px auto 0;
    }
}

.about-text h3 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 24px;
    font-weight: 700;
}

.about-text p {
    font-size: 17px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .about-text h3 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 15px;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
    width: 100%;
    height: 65px;
    line-height: 65px;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.about-image {
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .about-image {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .about-image {
        height: 300px;
    }
}


.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (min-width: 641px) and (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    color: #111827;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-price {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.team {
    background: #f9fafb;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 40px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
    transition: all 0.4s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 0 30px 40px;
    text-align: center;
}

.member-info h3 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
}

.member-position {
    font-size: 15px;
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
}

.gallery {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.gallery-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    transform: scale(0);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.gallery-modal.active img {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.contact {
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 705px) and (max-width: 968px) {
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
        margin: 0 auto;
    }
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.info-text h3 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-text p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
}

.contact-form-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: #fff;
    padding: 40px 50px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    width: 100%;
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    min-height: 70px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    position: absolute;
    bottom: -10px;
    left: 0;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.error-message.visible {
    opacity: 1;
    visibility: visible;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 40px 50px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    width: 100%;
}

.success-message.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon svg {
    width: 50px;
    height: 50px;
    color: #10b981;
}

.success-message h3 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

.footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #d1d5db;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}


.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.8;
    color: #9ca3af;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 14px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #f59e0b;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #6b7280;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 58px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-info {
        grid-template-columns: 1fr 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .about-content {
        gap: 60px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text h3,
    .about-text p {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 700px;
        margin: 0 auto 50px;
        justify-items: center;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }
}

@media (max-width: 1050px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .stat-item{
        margin-bottom: 25px;
    }
    .about-image {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        order: 1;
    }

    .about-text h3,
    .about-text p {
        max-width: 100%;
    }

    .stats {
        max-width: 100%;
        margin: 50px auto 0;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }

    .service-card:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .hero-btn {
        flex: 1;
        min-width: 160px;
        padding: 14px 28px;
        font-size: 14px;
    }

    .hero-info {
        grid-template-columns: 1fr 1fr;
    }

    .hero-info-card {
        padding: 20px 16px;
    }

    .hero-info-text h4 {
        font-size: 12px;
    }

    .hero-info-text p {
        font-size: 13px;
    }

    .hero-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .hero-info-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 10px;
        min-height: 150px;
    }

    .stat-number {
        font-size: 36px;
        height: 45px;
        line-height: 45px;
    }

    .stat-label {
        font-size: 11px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .contact-form {
        padding: 30px 30px 40px;
    }

    .contact-form-wrapper {
        align-items: center;
        width: 100%;
    }

    .contact-form{
        width: 100%;
    }

    .success-message {
        top: 65px;
        padding: 30px 30px 40px;
        left: 0;
        right: 0;
        transform: scale(0.95);
        width: 100%;
    }

    .success-message.visible {
        transform: scale(1);
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .section-title {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }


    .burger-menu-link {
        font-size: 32px;
    }

    .scroll-indicator {
        display: none;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 704px) {
    .contact-info {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .info-item {
        max-width: 100%;
        width: 100%;
    }

    .contact-form-wrapper {
        align-items: stretch;
    }

    .contact-form{
        width: 100%;
    }

    .success-message {
        min-height: 380px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero-info {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-info-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 24px;
        width: 100%;
        max-width: 100%;
    }

    .hero-info-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-btn {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 140px;
    }


    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .contact-form {
        padding: 25px 20px 30px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-item {
        max-width: 600px;
        width: 100%;
    }

    .success-message {
        padding: 25px 20px 30px;
    }

    .success-message h3 {
        font-size: 24px;
    }

    .burger-menu-link {
        font-size: 28px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .modal-close svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 641px) and (max-width: 968px) {
    .hero-buttons {
        gap: 14px;
    }

    .hero-btn {
        flex: 0 0 auto;
        min-width: 180px;
    }
}
