﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.header-container {
    padding: 15px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.left-grey-block {
    background-color: #666;
    width: 50px;
    height: 46px; /* Match the height of header-text */
    position: absolute;
    left: 0;
    border-radius: 0 5px 5px 0;
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
}

.logo-container {
    z-index: 1;
    margin-left: 60px;
    display: flex;
    align-items: center;
    min-width: 100px; /* Minimum width to maintain readability */
    max-width: 350px; /* Maximum width for larger screens */
    width: 25%; /* Takes 25% of the container width */
}

.logo {
    width: 350px; /* Base width */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't overflow container */
}

.header-text {
    background-color: #666;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    flex-grow: 1;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    height: 46px; /* Explicitly set height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    position: relative;
}

.color-bar-top {
    height: 8px;
    background: linear-gradient(to right, #0073C0, #ed1c24, #f7941d, #00a651);
    position: relative;
    z-index: 2;
}

.color-bar-bottom {
    height: 8px;
    background: linear-gradient(to right, #00a651, #f7941d, #ed1c24, #0073C0);
    position: relative;
    z-index: 2;
}

.hero {
    height: 400px;
    background-image: url('images/header_image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero h1 {
        color: white;
        font-size: 3.5em;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        font-weight: bold;
    }

.features-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255,200,150,0.6) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(255,200,150,0.6) 100% );
}

.features-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Changed to flex-start to align with top */
    gap: 40px;
}

.features-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin-top: 20px; /* Added to align with image */
}

    .features-list li {
        margin-bottom: 25px;
        position: relative;
        padding-left: 25px;
        font-size: 18px;
        line-height: 1.5;
        color: #333;
    }

        .features-list li::before {
            content: "•";
            color: #f90;
            position: absolute;
            left: 0;
            font-size: 24px;
            line-height: 1;
        }

    .features-list strong {
        font-weight: 700;
        color: #000;
    }

.features-image {
    flex: 1;
    max-width: 450px; /* Reduced max-width */
    height: 100%;
    display: flex;
    align-items: center;
}

    .features-image img {
        width: 100%;
        height: auto;
        max-height: 400px; /* Added max-height to control image size */
        object-fit: contain;
        display: block;
    }

.gallery-section {
    width: 100%;
    overflow: hidden;
}

.gallery-row {
    display: flex;
    justify-content: center;
    margin: 0; /* Removed margin */
}

.gallery-image {
    width: 25%;
    height: 200px;
    padding: 0; /* Removed padding */
}

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; /* Added to remove any potential inline spacing */
    }

.stats-banner {
    background-color: #FF9933;
    padding: 30px 20px;
    text-align: center;
}

.stats-text {
    color: white;
    font-size: 24px;
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto;
}

    .stats-text strong {
        font-weight: 700;
    }

.process-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 80px;
    background-color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.amp-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.process-content {
    text-align: center;
    margin: 0 40px;
}

    .process-content h2 {
        font-size: 32px;
        color: #333333;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .process-content h3 {
        font-size: 28px;
        color: #666666;
        margin-bottom: 16px;
        margin-top: 0;
        font-weight: 500;
    }

    .process-content p {
        font-size: 18px;
        color: #555555;
        line-height: 1.5;
        max-width: 400px;
        margin: 0 auto;
    }

.gsv-logo img {
    width: 140px;
    height: auto;
    object-fit: contain;
}


footer {
    background-color: #666;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

.phone-number {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

    .phone-number:hover {
        color: #f90;
    }

.footer-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.links-divider {
    margin-top: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #f90;
    }

@media screen and (max-width: 1200px) {
    .header-text {
        font-size: clamp(13px, 1.6vw, 16px);
    }
}

@media screen and (max-width: 992px) {
    .header-text {
        padding: 12px 20px;
        font-size: clamp(12px, 1.5vw, 15px);
    }
}

@media screen and (max-width: 968px) {
    .features-content {
        flex-direction: column;
    }

    .features-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .features-list {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    /* Header */
    .header-text {
        margin: 0;
        padding: 10px 15px;
        font-size: 14px;
        width: 100%;
        max-width: none;
    }

    /* Features */
    .features {
        flex-direction: column;
    }

    .features-list {
        padding-right: 0;
        margin-bottom: 30px;
    }

    /* Gallery */
    .gallery-row {
        flex-wrap: wrap;
    }

    .gallery-image {
        width: 50%;
    }

    /* Process Section */
    .process-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .amp-logo img,
    .gsv-logo img {
        margin: 20px 0;
    }

    .process-content {
        margin: 20px 0;
    }

    /* Stats */
    .stats-text {
        font-size: 20px;
    }

    /* Footer */
    footer h3 {
        font-size: 20px;
    }

    .phone-number {
        font-size: 28px;
    }

    .footer-links {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .header-text {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 40px;
    }

    .features-section {
        padding: 40px 20px;
    }

    .features-list li {
        font-size: 16px;
    }

    .features-image {
        max-width: 320px;
    }
}

@media screen and (max-width: 400px) {
    .header-text {
        white-space: normal;
        height: auto;
    }
}

@media screen and (max-width: 320px) {
    .header-text {
        font-size: 12px;
        padding: 6px 10px;
    }
}