/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --primary-color: #ff6600; 
    --secondary-color: #222;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--secondary-color);
}

/* --- SHARED HEADERS --- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.urgent-banner {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.urgent-banner a {
    color: var(--primary-color);
    text-decoration: none;
}

header {
    background: var(--white);
    padding: 1rem 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* --- SHARED QUOTE & REVIEW SECTIONS --- */
.reviews-section {
    padding: 60px 5%;
    background: var(--white);
    text-align: center;
}

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

.review-card {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    font-style: italic;
}

.review-card span {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: var(--primary-color);
}

.quote-container {
    background: var(--light-bg);
    padding: 40px 0;
    text-align: center;
}

.quote-container form {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
    display: block;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.input-group textarea {
    resize: vertical; 
    min-height: 120px;
}

.quote-container button[type="submit"] {
    width: 100%;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: bold;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.quote-container button:hover {
    background: var(--black);
}

/* --- SHARED FOOTER --- */
.site-footer {
    padding: 40px 10% 20px;
    border-top: 1px solid #eee;
    background: var(--white);
}

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

.footer-header {
    text-align: right;
    margin-bottom: 10px;
}

.footer-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left p, .footer-right p {
    margin: 5px 0;
    height: 24px;
    line-height: 24px;
}

.footer-right {
    text-align: right;
}

.footer-left a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-left a:hover {
    color: var(--primary-color);
}

.bottom-bar {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}





/* --- RESPONSIVE HEADER FIXES --- */
@media (max-width: 480px) {
    header {
        padding: 1rem 3%; /* Reduced padding for more space */
    }

    nav {
        flex-direction: column; /* Stack logo and links if needed */
        gap: 10px;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap; /* Prevents splitting "Our Company" */
        width: 100%;
    }

    .nav-links a {
        margin: 0 5px; /* Tighter margins for mobile */
        font-size: 0.85rem; /* Slightly smaller text to fit on one line */
        white-space: nowrap; /* Forces "Our Company" to stay together */
    }
}

/* --- RESPONSIVE QUOTE SECTION FIXES --- */
@media (max-width: 768px) {
    .quote-container {
        padding: 40px 5%; /* Adds the padding you mentioned to the whole section */
    }

    .quote-container form {
        margin: 20px auto;
        width: 100%; /* Ensures form utilizes the container padding */
    }
}

/* Extra safety for very small screens */
@media (max-width: 400px) {
    .quote-container {
        padding: 30px 15px; /* Ensures fields don't touch the screen edge */
    }
}




/* --- THESE ARE FOR THE BUTTONS --- */
.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--black);
    color: var(--white);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
}