body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


header h1 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the image and text */
    color: color(srgb red green blue); /* Adjust header color */
}

header h1 .building-icon {
    width: 30px; /* Adjust image width */
    height: 30px; /* Adjust image height */
    object-fit: contain; /* Ensures the image scales properly */
}


/* Header Styles */
.header {
    background-color: #2c3e50; /* Darker color for professional feel */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding: 5px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

.logo-container {
    flex: 1;
}

.logo {
    font-size: 2rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ecf0f1; /* Light color for logo */
    text-transform: uppercase;
}

nav {
    flex: 2;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #ecf0f1;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 15px;
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
    background-color: #3498db; /* Light blue on hover */
    border-radius: 5px;
    color: #fff;
}


.section {
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid #ddd;
}

form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 0.5rem;
}

form input, form textarea, form button {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.footer {
    background-color: #2c3e50; /* Darker color for professional feel */
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Additional styles for Gallery and Brochures */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 2rem 0;
}

.gallery img {
    width: 200px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}

#brochures ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#brochures ul li {
    margin: 10px 0;
    border-radius: 10px;
}

#brochures ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

#brochures ul li a:hover {
    color: #007BFF;
    text-decoration: underline;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between the image and text */
    padding: 20px;
}

.about-image {
    flex: 1; /* Makes the image container take 1/2 the space */
    max-width: 400px; /* Restrict the image width */
}

.about-image img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 2; /* Makes the text container take 2/3 of the space */
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1rem;
}


/* Location Section */
.location-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.location-icon {
    width: 50px; /* Adjust the size */
    height: 50px; /* Adjust the size */
    text-align:center;
}

.location-img {
    width: 100%;
    height: auto;
}

.location-details {
    flex: 1;
    text-align: center;
    max-width: 400px;
}

.location-details p {
    margin: 0.5rem 0;
    color: #555;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.map-link:hover {
    background-color: #0056b3;
}

.contact-info {
    margin-top: 1rem;
    font-size: 1rem;
    color: #333;
}

.contact-info i {
    color: #007BFF;
    margin-right: 8px;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.phone-number {
    display: inline-block;
    margin-left: 5px;
}

/* Contact Us Section */
#contact {
    padding: 50px 0;
    background-color: #f7f7f7;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.input-group input, .input-group textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #007BFF;
}

textarea {
    resize: vertical;
}

.submit-btn {
    padding: 12px;
    font-size: 1.1rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn:focus {
    outline: none;
}

.brochure-box {
    display: inline-block; /* Makes the link behave like a button */
    padding: 10px 20px; /* Adds spacing inside the box */
    background-color: #007bff; /* Background color of the box */
    color: white !important; /* Ensures the text color is white */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Makes the text bold */
    border-radius: 5px; /* Rounds the corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

.brochure-box:hover {
    background-color: #0056b3; /* Darker shade for hover */
    color: #f1f1f1 !important; /* Changes the text color on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Responsive Design */

/* For tablets (768px and below) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px 20px;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image, .about-text {
        flex: unset;
        max-width: 100%;
        text-align: center;
    }

    .gallery img {
        width: 150px;
        height: 100px;
    }

    .contact-form-container {
        max-width: 90%;
        padding: 20px;
    }

    .location-container {
        flex-direction: column;
        gap: 10px;
    }

    .location-img, .location-details {
        text-align: center;
    }
}

/* For mobile devices (480px and below) */
@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    .nav-links {
        font-size: 0.9rem;
    }

    .gallery img {
        width: 100px;
        height: 80px;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .location-container {
        gap: 5px;
    }

    .map-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .submit-btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    .brochure-box {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}


    
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    margin-top: 25px;
    height: 95%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}