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

:root {
    --primary: #0678BE;
    --secondary: #00D4AA;
    --dark: #0A0E27;
    --light: #F7F9FC;
    --gradient: linear-gradient(135deg, #0678BE 0%, #00D4AA 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 20px;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    background: white;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10; /* Ensure the dropdown appears above other elements */
}

.language-selector select:hover {
    background: var(--primary);
    color: white;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('https://images.unsplash.com/photo-1517180102446-f3ece451e9d8?w=1200&h=800&fit=crop') center/cover;
    opacity: 0.1;
    transform: rotate(-5deg);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.3rem;
    color: #B8BCC8;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    box-shadow: 0 10px 30px rgba(6, 120, 190, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 120, 190, 0.4);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--light);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: white;
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.benefit-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
}

/* Guarantee Section */
.guarantee {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0678BE 0%, #00D4AA 100%);
    color: white;
    text-align: center;
}

.guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.guarantee h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.guarantee-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Promotion Section */
.promotion {
    padding: 5rem 2rem;
    background: #FFD700;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=1200&h=800&fit=crop') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.promotion-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    border: 3px dashed #FF6B6B;
}

.promotion h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #FF6B6B;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.promotion-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.promotion-icon {
    font-size: 5rem;
    color: #FF6B6B;
    animation: pulse 2s infinite;
}

.promotion-details {
    text-align: left;
}

.promotion-details h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.promotion-details p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
}

.promotion-note {
    font-weight: bold;
    color: #FF6B6B;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 5px;
    display: inline-block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .promotion-content {
        flex-direction: column;
        text-align: center;
    }

    .promotion-details {
        text-align: center;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: #B8BCC8;
    margin-bottom: 3rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 120, 190, 0.2);
}

.form-group .email-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-group .required::after {
    content: " *";
    color: #e74c3c;
}

.form-submit-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 10px 30px rgba(6, 120, 190, 0.3);
}

.form-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 120, 190, 0.4);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

input.error, 
select.error, 
textarea.error {
    border-color: #dc3545;
}

input.error:focus, 
select.error:focus, 
textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* Footer */
footer {
    padding: 2rem;
    background: #0A0E27;
    text-align: center;
    color: #B8BCC8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Quote Button */
.mobile-quote-button {
    display: none;
}

@media (max-width: 768px) {
    .mobile-quote-button {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        text-align: center;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-quote-button.hidden {
        opacity: 0;
        visibility: hidden;
    }

    /* Hide the top navigation button on mobile */
    .nav-container .cta-button {
        display: none;
    }

    /* Style the mobile quote button's CTA button */
    .mobile-quote-button .cta-button {
        padding: 0.8rem 2rem;
        width: 80%;
        max-width: 300px;
    }
}

/* Responsive */

@media (max-width: 768px) {
    /* Reduce header height on mobile */
    header {
        padding: 0.5rem 0;
    }

    .logo {
        height: 45px;
    }

    /* Adjust hero margin to account for smaller header */
    .hero {
        margin-top: 60px;
    }

    .hero-content,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 0;
        width: auto;
    }

    /* Make feature cards stack vertically on mobile */
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}
