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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a90e2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4a90e2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.company-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.company-info h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.company-info ul {
    list-style: none;
}

.company-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.company-info li:last-child {
    border-bottom: none;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    text-align: center;
}

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

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-item h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item p {
    color: #555;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-method h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-section h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-btn {
    background-color: #4a90e2;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #357abd;
}

.form-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.form-note p {
    font-size: 0.9rem;
    color: #666;
}

.additional-info {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.additional-info h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-item h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

/* Legal Pages Styles */
.legal-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.8;
}

.legal-content {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.terms-content,
.policies-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h2,
.policies-content h2 {
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
}

.terms-content h2:first-child,
.policies-content h2:first-child {
    margin-top: 0;
}

.terms-content h3,
.policies-content h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.terms-content h4,
.policies-content h4 {
    color: #4a90e2;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.terms-content p,
.policies-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

.terms-content ul,
.terms-content ol,
.policies-content ul,
.policies-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-content li,
.policies-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
}

.legal-note {
    background-color: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 4px;
}

.contact-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-section h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #4a90e2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .terms-content,
    .policies-content {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .about,
    .services,
    .contact-info {
        padding: 3rem 0;
    }
}