/* Reset basic styles */
body, h1, h2, h3, p, ul, ol, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header styles */
header {
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center the content horizontally */
    align-items: start; /* Center the content vertically */
    background-color:  rgb(26, 41, 46); /* Example background */
    color: #ffffff;
    height: 60px; /* Header height */
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* Container for images */
.header-images {
    display: flex; /* Arrange images in a row */
    justify-content: center; /* Center the images within the container */
    align-items:start; /* Vertically center images */
    gap: 20px; /* Space between the two images */
}
/* Header nav styling */
header nav {
    display: flex; /* Arrange all children (links and h3) in a row */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Center the content */
    gap: 20px; /* Space between items */
    color: #ffffff;
}

/* Styling for the phone number */
header nav h3 {
    margin: 0; /* Remove default margin */
    font-size: 16px; /* Adjust size to align better with icons */
    white-space: nowrap; /* Prevent stacking by ensuring text stays on one line */
}

/* Image styling */
.logo,
.secondary-logo {
    max-height: auto; /* Ensure images fit within the header */
    object-fit: contain; /* Maintain aspect ratio */
}



/* Main and Hero Section */
main-header {
    display: flex; /* Use Flexbox for layout */
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    background-color:  rgb(26, 41, 46); /* Background color for header */
    box-sizing: border-box; /* Include padding in dimensions */
}

/* Styling for the .space section */
main-header .space {
    height: 35px; /* Adjust height to create spacing */
    width: 100%; /* Occupy the full width */
    background-color: white; /* Make it invisible if it's just for spacing */
}
main-header .hero {
    display: flex; /* Flexbox for image alignment */
    justify-content: center; /* Center image horizontally */
    align-items:end; /* Center image vertically */
    width: 100%; /* Full width of the container */
    background-color: rgb(26, 41, 46);
    height: 63px;
}
main-header .hero img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
}
 /* Container for the slideshow */
media-slider .slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 365px;
    justify-content: center;
}

/* Images inside the slideshow */
media-slider .slide {
    display: none;
    width: 100%;
    height: auto;

}

/* Navigation buttons (arrows) */
media-slider .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

media-slider .prev {
    left: 10px;
}

media-slider .next {
    right: 10px;
}

/* Dot indicators */
media-slider .dots {
    text-align: center;
    margin-top: 10px;
}

media-slider .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

media-slider .active {
    background-color: #717171;
}

/* Main and Hero Section */
main {
    width: 100%;
    min-width: 900px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Full viewport height */
    background-color: rgb(191, 205, 208);
}
/* Grid Container */
.grid-container {
    display: grid;
    justify-content: center;
    max-width: 900px;
    grid-template-rows: auto auto 1fr;
    gap: 20px;
    padding: 20px;
    background-color: white;
}

/* Header Text */
.header-text {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.header-text h2 {
    margin-bottom: 10px;
}

.header-text p {
    font-size: 16px;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}

/* Subheader Text */
.subheader-text {
    text-align: center;
    font-size: 18px;
    color: #333333;
    margin: 0 20px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns */
    gap: 20px;
}

.feature-box {
    text-align: center;
    background-color: #34495e;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
}

.feature-box img {
    max-width: 80px;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 14px;
    line-height: 1.5;
}

/* Contact info */
.contact-info {
    background-color: #eeeeee;
    padding: 20px;
    text-align: center;
    color: #333333;
}

/* Footer styles */
footer {
    background-color: rgb(26, 41, 46);
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}
