/* Global Styles */
:root {
    --primary-color: #2c4a8c;
    --secondary-color: #1d3461;
    --accent-color: #5a93ea;
    --light-color: #f8f9fa;
    --gray-color: #f0f2f5;
    --dark-color: #343a40;
    --text-color: #333333;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: #4a5568;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-button.full-width {
    width: 100%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    padding: 140px 0 80px;
    background-color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.accent {
    color: var(--accent-color);
}

/* Services Section */
#services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon img {
    width: 60px;
    height: 60px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 15px 0;
}

.card ul {
    list-style-type: none;
    margin-bottom: 25px;
    text-align: left;
}

.card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.card li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* How We Work Section */
#how-we-work {
    padding: 100px 0;
    background-color: white;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.process-item.reverse {
    flex-direction: row-reverse;
}

.process-content, .process-image {
    flex: 1;
}

.process-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1;
    margin-bottom: 15px;
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    color: var(--primary-color);
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.trust-badges img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 74, 140, 0.1);
}

/* Form validation styles */
/* Override browser default validation styles */
input:invalid, textarea:invalid {
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

input.error, textarea.error {
    border-color: #ff3860 !important;
}

input.success, textarea.success {
    border-color: #4BB543 !important;
}

.validation-error {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 5px;
    animation: fadeIn 0.2s ease-in-out;
}

.form-success-message,
.form-error-message {
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
}

.form-success-message > div {
    background-color: #DFF2BF;
    color: #4F8A10;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-left: 4px solid #4F8A10;
}

.form-error-message > div {
    background-color: #FFBABA;
    color: #D8000C;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-left: 4px solid #D8000C;
}

.form-success-message svg,
.form-error-message svg {
    margin-right: 10px;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-logo .veteran-badge {
    margin-top: 15px;
    font-size: 0.9rem;
    display: inline-flex;
}

.footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #cbd5e0;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #cbd5e0;
}

/* Veteran-Owned Badge */
.veteran-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.veteran-badge::before {
    content: '★';
    margin-right: 8px;
    color: white;
    font-size: 1.1em;
}

.trust-badges .veteran-badge {
    font-size: 0.9rem;
    margin-left: 10px;
    margin-top: 10px;
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Scroll Effect */
nav.scroll {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-links.active li {
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .process-item, .process-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-content, .process-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .card.featured {
        transform: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.testimonial-location {
    font-size: 0.9rem;
    color: #718096;
}

/* Service Area Section */
#service-area {
    padding: 100px 0;
    background-color: white;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.service-area-note {
    text-align: center;
    margin-top: 20px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
}

.contact-detail h3 {
    margin-bottom: 5px;
}