/* Base styles */
:root {
    --primary-color: rgba(179, 244, 0, 1);
    --background-color: rgba(18, 18, 18, 1);
    --text-color: rgba(255, 255, 255, 1);
    --input-background: rgba(18, 18, 18, 0.12);
    --border-radius: 60px;
    --container-width: 1200px;
}

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

body {
    font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

a{
        text-decoration: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
}

/* Header styles */
.main-header {
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;

}

.main-nav {
    margin-top: 20px;
}

.nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.header-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 20px;
    width: 100%;
}

/* Hero section */
.hero-section {
    position: relative;
    min-height: 651px;
    margin-top: 30px;
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 987px;
    margin: 0 auto;
}

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

.hero-title {
    color: var(--primary-color);
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-description {
    font-size: 14px;
    margin-top: 30px;
}

/* Form styles */
.contact-form {
    background-color: var(--text-color);
    border-radius: 24px;
    padding: 20px;
    margin-top: 30px;
    max-width: 438px;
    margin-left: auto;
    margin-right: auto;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    width: 100%;
}

.input-field {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--input-background);
    font-family: inherit;
    font-size: 14px;
}

.phone-field {
    display: flex;
    align-items: center;
    background-color: var(--input-background);
    border-radius: var(--border-radius);
}

.phone-icon {
    width: 103px;
    height: auto;
    border-radius: 60px 0 0 60px;
}

.phone-field .input-field {
    background: none;
}

.submit-button {
    width: 100%;
    padding: 25px;
    margin-top: 20px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-button:hover {
    opacity: 0.9;
}

/* Stats section */
.stats-section {
    margin-top: 80px;
}

.section-title {
    color: var(--primary-color);
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
}

.stats-grid {
    margin-top: 30px;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-number {
    font-size: 70px;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-description {
    font-size: 30px;
    margin-top: 10px;
}

.stat-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 20px;
}

/* About section */
.about-section {
    margin-top: 30px;
}

.about-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.about-image {
    width: 562px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
}

.highlight-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    margin: 20px 0;
}

/* Services section */
.services-section {
    margin-top: 80px;
}

.services-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.76;
    object-fit: contain;
}

.service-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    margin: 20px 0;
}

.service-description {
    font-size: 14px;
}

.service-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 20px;
}

/* FAQ section */
.faq-section {
    margin-top: 80px;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.faq-question span {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 10px;
    font-size: 14px;
}

.faq-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 20px;
}

/* Contact section */
.contact-section {
    position: relative;
    margin-top: 80px;
    padding: 40px 0;
}

.contact-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 1042px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    margin-top: 30px;
    font-size: 14px;
}

.contact-info {
    margin-top: 20px;
    font-style: normal;
}

.contact-detail {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer styles */
.main-footer {
    margin-top: 80px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav {
    margin-top: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 20px;
    width: 100%;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

/* Privacy section */
.privacy-section {
    position: relative;
    min-height: 651px;
    margin-top: 30px;
    padding: 40px 0;
    display: flex;
    align-items: center;
}



.privacy-content {
    position: relative;
    z-index: 1;
    max-width: 987px;
    margin: 0 auto;
}


.privacy-title {
    color: var(--primary-color);
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
}

.privacy-description {
    font-size: 14px;
    margin-top: 30px;
}

/* thanks section */
.thanks-section {
    position: relative;
    min-height: 651px;
    margin-top: 30px;
    padding: 40px 0;
    display: flex;
    align-items: center;
}


 
.thanks-content {
    position: relative;
    z-index: 1;
    max-width: 987px;
    margin: 0 auto;
}


.thanks-title {
    color: var(--primary-color);
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
}

.thanks-description {
    font-size: 14px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 40px;
        word-break: break-all;
    }

    .hero-title,
    .privacy-title,
    .thanks-title {
        font-size: 40px;
        word-break: break-all;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-description {
        font-size: 24px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

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

/* Accessibility enhancements */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


.input-field.error {
    border: 2px solid red;
}


.cookie {
    z-index: 20;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
    position: fixed;
    background: #fff;
    color: #000;

    width: 100%;
    padding: 20px;
    bottom: 0;
    left: 0;
}

.cookie__title {
    font-weight: 800;
    font-size: 26px;

}

.cookie__button-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cookie .submit-button {
    width: 100%;
    max-width: 290px;
    margin-bottom: 20px;
}
