/* Increase Navbar Height */
.navbar {
    min-height: 80px; /* Adjust the height */
}

/* Logo Size */
.logo {
    height: 50px; /* Adjust logo size */
    margin-right: 10px; /* Space between logo and text */
}

/* Align Menu Items to the Right */
.navbar-nav {
    margin-left: auto; /* Pushes menu items to the right */
}

.heading {
    text-align: center; /* Center the content */
    margin-top: 2px;
    font-size: 28px;
    font-weight: bold;
}

/* Resize Heading Image */
.info img {
    max-width: 50%; /* Make sure it fits within the screen */
    height: 50vh; /* Maintain aspect ratio */
}

/* Ensure full viewport height for better layout */
.info {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; /* Change from 80vh to auto */
    max-width: 90%;
    margin: 20px auto; /* Reduce margin to remove excess space */
    padding: 20px 0; /* Add some padding for better spacing */
}

/* Adjust Left Section (Image) */
.info-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* Center the image vertically */
}

.info-left img {
    max-width: 90%;
    height: auto;
}

/* Adjust Right Section (Text) */
.info-right {
    flex: 1;
    padding: 10px; /* Reduce padding */
    text-align: left;
}

.info-right h2 {
    font-size: 28px;
    margin-bottom: 5px; /* Reduce space between elements */
}

.info-right p {
    font-size: 18px;
    margin-bottom: 5px; /* Reduce space between paragraphs */
}

.services h2 {
    text-align: center;
}

.services {
    background-color: rgba(108, 154, 240, 0.231);
}

.card img {
    width: 100%; /* Ensures the image stretches to fit the card width */
    height: 200px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border-radius: 10px; /* Optional: adds rounded corners */
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-section h2 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Highlight Boxes */
.about-section .highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.highlight-box {
    background: #3498db;
    color: white;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    max-width: 300px;
    text-align: center;
}

/* Ensure each highlight box is on a new line on smaller screens */
@media screen and (max-width: 768px) {
    .about-section .highlights {
        flex-direction: column;
        align-items: center;
    }

    .highlight-box {
        width: 100%;
        max-width: 90%;
    }
}

/* Contact Information */
.contact-info {
    margin-top: 30px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Carousel Image Styling */
.carousel-inner img {
    width: 100%;
    height: 500px; /* Set a fixed height for a rectangular shape */
    object-fit: cover; /* Ensures images cover the area without stretching */
    border-radius: 10px; /* Optional: Rounded corners */
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #1EBE57;
}

/* Responsive Fixes */
@media screen and (max-width: 768px) {
    .info {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center text when stacked */
    }

    .info-left img {
        max-width: 100%; /* Ensure image takes full width */
        height: auto; /* Maintain aspect ratio */
    }

    .info-right {
        text-align: center; /* Center text */
        padding: 10px;
    }

    .info-right h2, 
    .info-right p {
        text-align: center; /* Center align text for better appearance */
    }
}
