body {
    font-family: 'Open Sans', sans-serif;
}

header nav {
    -webkit-box-shadow: 0 2px 34px -27px rgba(15, 152, 186, 0.64);
    -moz-box-shadow: 0 2px 34px -27px rgba(15, 152, 186, 0.64);
    box-shadow: 0 2px 34px -27px rgba(15, 152, 186, 0.64);
}

footer {
    background-color: #212529;
    color: #fff;
}

.logo {
    height: 70px;
}

@media (min-width: 768px) {
    .logo {
        height: 100px;
    }
}

.footer-logo {
    height: 70px;
}

.certificates {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.certificates img {
    margin-right: 0;
}

main a {
    color: #27aae1;
}

/* Increased spacing for paragraphs */
main p {
    margin-bottom: 1.25rem;
}

main .lead {
    margin-bottom: 1.5rem;
}

/* Increased spacing for lists */
main ul,
main ol {
    margin-bottom: 1.5rem;
}

main ul li,
main ol li {
    margin-bottom: 0.75rem;
}

/* Services list items spacing */
.services ul li,
.card-body ul li {
    margin-bottom: 0.875rem;
    padding-bottom: 0.5rem;
}

h1 {
    color: #0f98ba;
    font-size: 32px;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }
}

h2 {
    margin-bottom: 1.25rem;
}

h2::after {
    content: ' ';
    height: 4px;
    width: 40px;
    background: #0f98ba;
    display: block;
    margin-top: 8px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.text-center h2::after {
    margin: 8px auto 0;
}

h3 {
    margin-bottom: 1rem;
}

h4 {
    margin-bottom: 0.875rem;
}

h5::after {
    content: ' ';
    height: 4px;
    width: 30px;
    background: #0f98ba;
    display: block;
    margin-top: 5px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

h2,
h3,
h4,
h5,
h6 {
    color: #666;
}

@media (min-width: 768px) {
    .nav-item {
        margin: 0 10px;
    }
}

/* Hero/Banner - larger height for all pages */
.hero {
    position: relative;
    background: no-repeat center center;
    background-size: cover;
    height: 450px;
}

@media (min-width: 768px) {
    .hero {
        height: 550px;
    }
}

.hero h1 {
    color: #fff;
}

.contact-info i {
    display: block;
    font-size: 48px;
    margin-bottom: 10px;
    width: 48px;
    height: 48px;
}

.text-primary {
    color: #0f98ba !important;
}

.card-banner {
    background: no-repeat center center;
    height: 250px;
    background-size: cover;
}

.card-body .btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.btn-primary {
    background-color: #27aae1;
    border-color: #27aae1;
}

.btn-primary:hover {
    background-color: #0f98ba;
    border-color: #0f98ba;
}

.hero::before {
    content: ' ';
    background: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .container {
    position: relative;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ECECEC;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.10), 0 15px 12px rgba(0, 0, 0, 0.02);
}

.testimonial-icon {
    width: 120px;
    height: 120px;
    background: no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.testimonials .item {
    text-align: center;
    padding: 50px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
}

.testimonials .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
}

.owl-dots {
    text-align: center;
}

.owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f98ba;
    margin: 0 5px;
    display: block;
    opacity: .5;
}

.owl-dot.active span {
    opacity: 1;
}

/* WordPress Image Alignment Classes */
.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignnone {
    margin: 0 0 1rem 0;
}

/* WordPress captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    padding: 0.5rem 0;
    text-align: center;
}

/* Clear floats after content areas */
.content::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive image alignment */
@media (max-width: 576px) {

    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 0 auto 1rem;
    }
}

/* Footer Styles */
.footer-menu {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.625rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #27aae1;
}

.footer-accreditations {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 1.5rem 0;
}

/* Desktop dropdown */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover>.sub-menu {
        display: block;
    }

    .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #fff;
        list-style: none;
        padding: 10px 20px;
        margin: 0;
        border-radius: 4px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        z-index: 1000;
    }

    .sub-menu li {
        margin: 0;
        padding: 0;
    }
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
    .sub-menu {
        display: none;
        position: static;
        background: #f8f9fa;
        list-style: none;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }

    .nav-item.dropdown.show>.sub-menu {
        display: block;
    }
}