﻿/* Hero Section */
.hero {
    background-image: url('../images/about-us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh; /* Default height for desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .overlay h1 {
        color: #fff;
        font-size: 4rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: center;
    }

/* Content Sections */
.about-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1.5rem;
    line-height: 1.8;
    font-family: 'Segoe UI', sans-serif;
}

.about-section {
    margin-bottom: 3rem;
}

    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #222;
        border-left: 5px solid #FFA726;
        padding-left: 0.6rem;
    }

    .about-section p,
    .about-section ul {
        font-size: 1.05rem;
        color: #444;
    }

    .about-section ul {
        list-style: none;
        padding: 0;
    }

        .about-section ul li {
            padding: 0.5rem 0;
            position: relative;
            padding-left: 1.5rem;
        }

            .about-section ul li::before {
                content: "✔";
                color: #FFA726;
                position: absolute;
                left: 0;
                font-weight: bold;
            }

/* Highlight Section */
.highlight {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Alternate Background Section */
.alt-bg {
    background: #fafafa;
    padding: 2rem;
    border-radius: 10px;
}

/* Brand styling */
.brands {
    font-style: italic;
    color: #FFA726;
    font-weight: 600;
}

/* Why Choose Us Styling */
.why-us li {
    margin-bottom: 0.5rem;
}

/* Contact Us Styles */
/* Hero Section for Contact */
.contact-hero {
    background-image: url('../images/contact-us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh; /* Default height for desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Add responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .hero, .contact-hero {
        height: 35vh; /* Reduce to half height on mobile */
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .overlay h1 {
        font-size: 2.5rem; /* Smaller font size for mobile */
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .hero, .contact-hero {
        height: 30vh; /* Even smaller for very small screens */
    }
    
    .overlay h1 {
        font-size: 2rem; /* Further reduce font size */
    }
}

/* Contact Wrapper */
.contact-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1.5rem;
    line-height: 1.8;
    font-family: 'Segoe UI', sans-serif;
}

.contact-section {
    margin-bottom: 3rem;
}

    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #222;
        border-left: 5px solid #FFA726;
        padding-left: 0.6rem;
    }

    .contact-section p,
    .contact-section ul {
        font-size: 1.05rem;
        color: #444;
    }

    .contact-section ul {
        list-style: none;
        padding: 0;
    }

        .contact-section ul li {
            margin-bottom: 0.6rem;
        }

/* Contact Form Styling */
.contact-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #FFA726;
    }

.contact-form button {
    padding: 0.9rem 2rem;
    background: #FFA726;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .contact-form button:hover {
        background: #005f8a;
    }

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 250px;
    background: #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.2rem;
    color: #555;
    margin-top: 1rem;
}

    .map-placeholder iframe {
        width: 100%;
        height: 100%;
    }

/* Contact Details */
.contact-details li {
    padding: 0.5rem 0;
}
