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

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0099ff;
    --cyan: #00ccff;
    --dark-blue: #001a4d;
    --text-color: #333;
    --light-bg: #f5f5f5;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

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

/* Hero and Services Wrapper */
.hero-services-wrapper {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 75px;
}

.hero-services-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* Header */
.header {
    background: linear-gradient(90deg, white 0%, transparent 100%);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.logo {
    height: 45px;
    width: auto;
    margin-left: 0rem;
}

.header h1 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    line-height: 1.1;
}

.header h1 span {
    display: block;
    font-size: 0.75em;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 300px;
    z-index: 2;
}

/* Services Section */
.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.service-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.service-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.service-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.service-content h3 {
    font-size: 0.9rem;
    color: var(--secondary-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.service-content p {
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: transparent;
    color: white;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Quote Modal */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.quote-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.quote-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.quote-form-container h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    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(--primary-blue);
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    min-height: 100px;
    resize: vertical;
}

.form-group label:first-child {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.required {
    color: red;
}

.form-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background-color: var(--primary-blue);
    color: white;
    margin-top: 10px;
}

.form-submit:hover {
    background-color: var(--dark-blue);
    transform: scale(1.02);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background-color: #4CAF50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 3px 0;
    font-size: 0.95rem;
}

.tagline {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
    }

    .header-content {
        gap: 10px;
    }

    .logo {
        height: 35px;
    }

    .header h1 {
        font-size: 1.1rem;
    }

    .hero {
        height: 150px;
    }

    .services {
        padding: 20px 15px;
        gap: 15px;
    }

    .service-image {
        height: 100px;
    }

    .service-content {
        padding: 12px;
    }

    .service-content h2 {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }

    .header-content {
        gap: 8px;
    }

    .logo {
        height: 30px;
    }

    .header h1 {
        font-size: 0.85rem;
        margin-left: 0;
    }

    .header h1 span {
        font-size: 0.7em;
    }

    .hero {
        height: 120px;
    }

    .services {
        padding: 15px 10px;
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-image {
        height: 80px;
    }

    .service-content {
        padding: 10px;
    }

    .service-content h2 {
        font-size: 0.9rem;
    }

    .service-content h3 {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .service-content p {
        font-size: 0.8rem;
    }

    .cta-section {
        padding: 25px 15px;
    }

    .cta-section h2 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 100%;
    }
}
