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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    max-width: 225px;
    height: auto;
}

.contact-info {
    text-align: right;
}

.phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.phone:hover {
    color: var(--secondary-color);
}

.hours {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hours p {
    margin: 3px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.about h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: 60px 0;
}

.services h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

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

.service-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details ul {
    margin-top: 10px;
    margin-left: 20px;
}

.contact-details li {
    margin-bottom: 5px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-details ul {
        margin-left: 0;
        list-style-position: inside;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 200px;
    }

    .phone {
        font-size: 1.25rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}
