/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.1));
    padding: 60px 0;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.image-content img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.testimonial cite {
    font-weight: bold;
    color: #3498db;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
}

.contact-form .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-wrapper h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.lead-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.9);
    transition: background-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background-color: white;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #ecf0f1;
    text-decoration: underline;
}

.cta-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.form-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Legal Sections */
.legal-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.legal-section .container {
    background: white;
    margin: 50px auto;
    padding: 40px;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
}

.legal-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
}

.legal-section p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.close-legal {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1rem;
}

.close-legal:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .text-content h3,
    .testimonials h3,
    .form-wrapper h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero,
    .about,
    .testimonials,
    .contact-form {
        padding: 50px 0;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}