/* Global Styles */
:root {
    --orange-red: #FF6F61;
    --blue: #4A90E2;
    --purple: #8E44AD;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F4F4F4;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --gradient-primary: linear-gradient(135deg, var(--orange-red), var(--purple));
    --gradient-secondary: linear-gradient(135deg, var(--blue), var(--purple));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange-red);
}

section {
    padding: 80px 0;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-button {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Screen Section */
.main-screen {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../img/463Tyt.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.main-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.7;
}

.main-screen .content {
    max-width: 600px;
    color: var(--white);
    position: relative;
    z-index: 10;
    margin: 0 auto;
    text-align: center;
}

.main-screen h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.main-screen p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--purple);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--orange-red);
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.about-image {
    flex: 1 1 400px;
    max-width: 500px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1 1 400px;
    max-width: 600px;
}

.about-text p {
    font-size: 1.1rem;
    text-align: left;
}

/* Services Section */
.services-section {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.service-icon-1::before, .service-icon-2::before, .service-icon-3::before {
    content: '';
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.service-icon-1::before {
    background-image: url('../img/service-1.svg');
}

.service-icon-2::before {
    background-image: url('../img/service-2.svg');
}

.service-icon-3::before {
    background-image: url('../img/service-3.svg');
}

/* Work Process Section */
.process-section {
    background-color: var(--white);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/dot-pattern.svg') repeat;
    opacity: 0.05;
}

.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.process-image {
    flex: 1 1 300px;
    max-width: 500px;
}

.process-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.process-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.process-steps {
    flex: 1 1 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.step {
    padding: 10px;
    margin: 15px 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Why Choose Us Section */
.why-us-section {
    background-color: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
}

.advantage-icon-1::before, .advantage-icon-2::before, .advantage-icon-3::before, .advantage-icon-4::before {
    content: '';
    width: 35px;
    height: 35px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.advantage-icon-1::before {
    background-image: url('../img/advantage-1.svg');
}

.advantage-icon-2::before {
    background-image: url('../img/advantage-2.svg');
}

.advantage-icon-3::before {
    background-image: url('../img/advantage-3.svg');
}

.advantage-icon-4::before {
    background-image: url('../img/advantage-4.svg');
}

/* Reviews Section */
.reviews-section {
    background-color: var(--white);
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/quote-pattern.svg') repeat;
    opacity: 0.05;
}

.reviews-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.review {
    padding: 30px;
    margin: 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    transition: var(--transition);
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-top: 30px;
}

.quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: var(--orange-red);
    line-height: 1;
    opacity: 0.5;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 700;
    color: var(--purple);
}

.client-position {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Contact Form Section */
.contact-section {
    background-color: var(--light-gray);
    position: relative;
}

.contact-background {
    display: none;
}

@media screen and (min-width: 1200px) {
    .contact-background {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 45%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }
    
    .contact-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
    }
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.form-container {
    flex: 1 1 500px;
    max-width: 600px;
}

form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: 700;
    color: var(--purple);
    margin-right: 5px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbbbbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange-red);
    padding-left: 5px;
}

.footer-contact-info p {
    color: #bbbbbb;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 15px;
    z-index: 1001;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-button {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.cookie-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list {
        margin-top: 20px;
        flex-direction: column;
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .main-nav {
        display: none;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .nav-list {
        display: none;
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section h3::after {
        margin: 10px auto 0;
    }
}

/* Legal Pages Styles */
.legal-section {
    background-color: var(--white);
    padding-top: 120px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--purple);
}

.legal-section h2 {
    font-size: 1.5rem;
    text-align: left;
    color: var(--dark-gray);
    margin-top: 30px;
}

.legal-section h2::after {
    margin: 10px 0 0;
    width: 40px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
}

.policy-date {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
    color: var(--medium-gray);
}

/* Thank You and Error Pages */
.thank-you-section,
.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}

.thank-you-content,
.error-content {
    margin: 0 auto;
    max-width: 600px;
}

.error-section h1 {
    color: var(--orange-red);
}

.thank-you-section h1 {
    color: var(--blue);
}

@media screen and (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .service-card, .advantage, .step, .review {
        padding: 20px;
    }
    .services-grid{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    
    .main-screen h1 {
        font-size: 1.8rem;
    }
}

/* Form error styles */
.form-errors {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff3f3;
    border-left: 4px solid var(--orange-red);
    border-radius: 4px;
}

.error {
    color: var(--orange-red);
    font-size: 14px;
    margin: 5px 0;
}

/* Customize form input validation */
input:invalid:focus, 
select:invalid:focus {
    border-color: var(--orange-red);
    box-shadow: 0 0 5px rgba(255, 111, 97, 0.5);
}

input:valid:focus, 
select:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}