:root {
    --primary-color: #0056b3;
    --primary-light: #e6f0fa;
    --accent-color: #00c3ff;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --hero-overlay-1: rgba(230, 240, 250, 0.9);
    --hero-overlay-2: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] {
    --primary-color: #3399ff;
    --primary-light: #1a2a3a;
    --text-dark: #f0f0f0;
    --text-light: #b0b0b0;
    --white: #1e1e1e;
    --bg-light: #121212;
    --hero-overlay-1: rgba(30, 30, 30, 0.9);
    --hero-overlay-2: rgba(30, 30, 30, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(0.9);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.theme-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-light);
}

.icon-sun {
    display: block;
}

.icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

#hero {
    background: linear-gradient(to right, var(--hero-overlay-1), var(--hero-overlay-2)), url('images/background.png') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.features-grid, .offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card, .offer-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover, .offer-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.offer-card {
    border-top: 4px solid var(--primary-color);
}

.steps-list {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
    line-height: 2;
}

.steps-list li {
    margin-bottom: 15px;
}

.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: var(--bg-light);
}

.slider {
    display: flex;
    width: 100%;
    height: 450px;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 1.8rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    user-select: none;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: #ffffff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-text h2 {
    font-size: 2.5rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    color: #ffffff; 
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 1.5rem;
    font-weight: 500;
}

footer {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 0;
    }

    .slider {
        height: 300px;
    }

    .contact-container {
        flex-direction: column;
    }
}