@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #444;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    color: #2c3a47;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.65rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 10001;
    background: #337cc0;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

a {
    color: #337cc0;
    transition: color 0.2s;
}

.body-div {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* Section headings within content pages */
.body-div h3 {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8eef4;
}

.body-div h3:first-child {
    margin-top: 0;
}

.required {
    color: #dc3545;
    font-weight: 600;
}

/* ── Top bar ── */
#top-div-container {
    width: 100%;
    background-color: #2c3a47;
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-div i {
    margin-right: 5px;
}

.top-div a {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.top-div a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.top-div span {
    padding: 0 0.5rem;
}

/* ── Navigation ── */
.nav-wrapper {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    z-index: 10;
    padding: 20px 0;
    position: sticky;
    top: 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s;
    display: block;
    pointer-events: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    padding: 9px 22px;
    font-size: 0.875rem;
    transition: background-color 0.15s, color 0.15s;
    border-radius: 6px;
    margin: 2px 6px;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #fff !important;
    background-color: #337cc0 !important;
    outline: none;
}

/* ── Focus indicators ── */
.nav-link:focus {
    outline: 2px solid #337cc0;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #337cc0;
    outline-offset: 2px;
}

.navbar-toggler:focus {
    outline: 2px solid #337cc0;
    outline-offset: 2px;
}

.nav-spacer {
    border-right: 1px solid #ddd;
    margin: 0 10px;
}

/* ── Content header ── */
.content-header-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa, #eef1f5);
    border-bottom: 1px solid #e0e4e8;
    padding: 1.5rem 0;
}

.content-header {
    display: flex;
    align-items: center;
    min-height: 2rem;
}

.content-header h2 {
    margin: 0;
    font-weight: 700;
    color: #2c3a47;
    padding-left: 1rem;
    border-left: 4px solid #337cc0;
}

/* ── Carousel ── */
.carousel-img {
    width: 100%;
    object-fit: cover;
}

.carousel-inner {
    width: 100%;
    max-height: 31.25rem !important;
}

.carousel-caption-top,
.carousel-caption-topleft,
.carousel-caption-bottom,
.carousel-caption-left,
.carousel-caption-right {
    position: absolute;
    z-index: 10;
    padding: 20px 28px;
    color: #fff;
    text-align: center;
    background-color: rgba(44, 58, 71, 0.88);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.carousel-caption-top {
    right: 40%;
    top: 18px;
    left: 40%;
}

.carousel-caption-topleft {
    right: 60%;
    top: 18px;
    left: 20%;
}

.carousel-caption-bottom {
    right: 40%;
    bottom: 18px;
    left: 40%;
}

.carousel-caption-left {
    left: 5%;
    right: 50%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.carousel-caption-right {
    right: 5%;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.carousel-pause-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 11;
    background: rgba(44, 58, 71, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    padding: 0;
}

.carousel-pause-btn:hover,
.carousel-pause-btn:focus {
    background: rgba(44, 58, 71, 0.95);
    outline: 2px solid #fff;
}

/* ── Homepage banners ── */
.content-banner-1 {
    width: 100%;
    background-color: #222;
    color: #fff;
}

.content-banner-1 h1 {
    color: #fff;
}

.content-banner-2 {
    width: 100%;
}

.content-banner-3 {
    width: 100%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 50px 0;
}

.content-banner-4 {
    width: 100%;
    background-color: #fff;
    text-align: center;
    padding: 40px 0;
}

.btn-navlink {
    width: 160px;
    line-height: 55px;
    border-radius: 30px;
    margin: 3px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-navlink:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

#building-img {
    width: 100%;
    text-align: center;
    margin-top: 60px;
}

hr.style {
    border-top: 3px double #fff;
    width: 90%;
}

.banner-2-left {
    background: linear-gradient(180deg, #2a6aaa, #225a92);
    height: 100%;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 0;
}

.banner-2-left h3 {
    color: #fff;
    border-bottom: none;
}

.banner-2-right {
    background-color: #fff;
    height: 100%;
    padding: 40px;
    color: #000;
    text-align: left;
}

/* ── Service boxes ── */
.service-box {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    margin: 15px;
    padding: 30px;
    min-height: 300px;
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-box:hover {
    border-color: #337cc0;
    box-shadow: 0 8px 24px rgba(51, 124, 192, 0.15);
    transform: translateY(-4px);
}

.service-box-first {
    background: linear-gradient(135deg, #337cc0, #2a6aaa);
    border: 1px solid transparent;
    margin: 15px;
    padding: 30px;
    min-height: 300px;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(51, 124, 192, 0.3);
}

.service-box-last {
    background: linear-gradient(135deg, #2c3a47, #1a252f);
    border: 1px solid transparent;
    margin: 15px;
    padding: 30px;
    min-height: 300px;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(44, 58, 71, 0.3);
}

/* Service icon circles */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(51, 124, 192, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #337cc0;
    margin-bottom: 12px;
}

.service-box-first .service-icon,
.service-box-last .service-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.service-box h5,
.service-box-first h5,
.service-box-last h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-box-first h5,
.service-box-last h5 {
    color: #fff;
}

/* ── Partnerships ── */
.partnerships-box {
    padding: 30px 20px;
}

.partnerships-box img {
    margin: 12px 16px;
    max-height: 60px;
    width: auto;
    vertical-align: middle;
    filter: grayscale(20%);
    transition: filter 0.2s, transform 0.2s;
}

.partnerships-box img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ── Sticky footer ── */
#main-content {
    flex: 1;
}

/* ── Footer ── */
.footer-container {
    width: 100%;
    background-color: #2c3a47;
    color: #ccc;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-main h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-main p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-main address {
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.7;
}

.footer-main a {
    color: #a8c4e0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-main a:hover {
    color: #fff;
}

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

.footer-main ul li {
    margin-bottom: 0.5rem;
}

.footer-main ul li a {
    font-size: 0.875rem;
}

.footer-main i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: #7ba7cc;
}

.footer-social a {
    font-size: 1.5rem;
    color: #7ba7cc;
    margin-right: 12px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    font-size: 0.8rem;
    color: #8a9bae;
}

.footer-bottom a {
    color: #a8c4e0;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ── Left sidebar nav ── */
.left-nav-header {
    color: #fff;
    background: linear-gradient(135deg, #2c3a47, #344150);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    padding: 14px 10px;
    border-radius: 10px 10px 0 0;
}

.left-nav {
    width: 100%;
    padding: 11px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.875rem;
    transition: background-color 0.15s, color 0.15s, padding-left 0.15s;
}

.left-nav:hover,
a:focus .left-nav {
    color: #fff;
    background-color: #337cc0;
    padding-left: 18px;
}

a:hover .left-nav,
a:focus .left-nav {
    text-decoration: none;
}

/* Active sidebar state */
.left-nav-active {
    background-color: #337cc0;
    color: #fff;
    border-left: 3px solid #1d5a8e;
    padding-left: 11px;
}

/* ── Buttons ── */
.btn-primary {
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(51, 124, 192, 0.25);
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 124, 192, 0.35);
}

.btn-success {
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.25);
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
}

.btn-light {
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Forms ── */
.form-control {
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #337cc0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 124, 192, 0.15);
}

/* ── Content lists ── */
.body-div ul {
    padding-left: 1.25rem;
}

.body-div li {
    margin-bottom: 0.5rem;
}

/* ── Responsive iframe ── */
.responsive-iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    #carouselExampleIndicators {
        display: none;
    }
    #building-img {
        display: none;
    }
    .top-div-2 {
        margin-top: 10px;
    }
    .nav-wrapper {
        position: relative;
    }
    .footer-main {
        text-align: center;
    }
    .footer-main .col-md-4 {
        margin-bottom: 2rem;
    }
}

@media (min-width: 576px) {
    .icon-fix {
        display: none;
    }
}
