@font-face {
    font-family: 'Comfortaa';
    src: url('comfortaa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', Arial, sans-serif;
    background-color: #f3f4f6;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.min-container {
    max-width: 650px;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('bg.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 38px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 42px;
    max-width: 900px;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 18px;
    color: #f3f4f6;
    max-width: 750px;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.btn-primary {
    display: inline-block;
    background-color: #3b82f6; 
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.about-section h2, 
.services-section h2, 
.form-section h2, 
.contacts-section h2 {
    text-align: center;
    font-size: 40px;
    max-width: 100%;
    margin-bottom: 40px;
    line-height: 1.3;
}

.about-section {
    padding: 100px 0;
    background-color: #4b5563;
}

.about-text {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    color: #e5e7eb;
}

.services-section {
    padding: 100px 0;
    background-color: #111827;
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 18px;
    color: #9ca3af;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5e1;
}

.form-section {
    padding: 100px 0;
    background-color: #1f2937;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
    color: #9ca3af;
}

.main-form {
    text-align: left;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #4b5563;
    border-radius: 8px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 15px;
    outline: none;
    background-color: #374151;
    color: #ffffff;
}

.form-group input:focus {
    border-color: #3b82f6;
    background-color: #1f2937;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.btn-submit {
    width: auto;
    display: block;
    margin: 40px auto 0 auto;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 16px 50px;
    border-radius: 30px;
    font-size: 15px;
    font-family: 'Comfortaa', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

.contacts-section {
    background-color: #111827;
    padding: 80px 0;
}

.footer-grid {
    display: grid;grid-template-columns: 1fr;
    gap: 50px;
}

.contact-links {
    margin-bottom: 30px;
}

.contact-links p {
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-links a {
    color: #ffffff;
    text-decoration: none;
}

.contact-links a:hover {
    color: #3b82f6;
}

.contacts-desc {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 40px;
    color: #9ca3af;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #374151;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #3b82f6;
    transform: translateY(-3px);
}

.map-placeholder {
    width: 100%;
    height: 350px;
    border: 2px solid #4b5563;
    border-radius: 12px;
    overflow: hidden;
}
.social-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.footer-grid {
    padding: 0 20px;
}

.contacts-map {
    padding: 20px 0;
}.contacts-section {
    padding-left: 80px;
    padding-right: 80px;
}
@media screen and (max-width: 768px) {
    h1, .hero-subtitle, h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
}
@media screen and (max-width: 768px) {
    .contacts-info {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }
    .contacts-info h2, .contact-links p {
        text-align: left !important;
        font-size: 16px !important;
    }
    .social-icons {
        justify-content: flex-start !important;
    }
}
@media screen and (max-width: 768px) {
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .contacts-info {
        width: 100% !important;
        text-align: left !important;
    }
    .contacts-info h2, 
    .contact-links p {
        text-align: left !important;
        font-size: 16px !important;
    }
    .social-icons {
        justify-content: flex-start !important;
    }
}