/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h2 {
    text-transform: uppercase;
}

a {
    color: inherit;
}

.icon {
    width: 25px;
    margin-right: 10px;
    vertical-align: middle;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

/* Header Section */
.top-header {
    background-color: #0f2d47;
    color: #fff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    width: 200px;
}

.contact-details {
    text-align: right;
    font-size: 0.9rem;
}

.contact-details p {
    margin: 2px 0;
}


/* Hero Section */
.hero {
    background: url('img/hero-image.jpg') center/cover no-repeat;
    color: white;
    height: max-content;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #0f2d47;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #0f2d47;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 4rem 0;
}

.about h2 {
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    background-color: #f1f1f1;
    padding: 4rem 0;
}

.services h2 {
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #f1f1f1;
    padding: 4rem 0;
}

.why-choose-us h2 {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
}

.benefit h3 {
    margin-bottom: 0.8rem;
    color: #333;
}

.benefit p {
    color: #555;
    line-height: 1.5;
}

/* Accreditations Section */
section.accreditations {
    padding: 4rem 0;
}

div.accreditations {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 2rem;
}

.accreditation {
    height: 60px;
}

/* Contact Section */
.contact {
    background-color: #0f2d47;
    color: #fff;
    padding: 2rem 0;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    padding: 1rem 0;
}

/* Google Map Section */
.map {
     padding-bottom: 50%;
     position: relative;
     height: 300px;
}

.map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
     position: absolute;
}

/* Ultra-wide (large desktops and monitors, 1280px and up) */
@media (max-width: 1280px) {

    header,
    footer,
    section {
        text-align: center;
    }
}

/* Medium devices (phones in landscape, larger phones, 480px–767px) */
@media (max-width: 767px) {
    .top-header .contact-details {
        display: none;
    }
}