:root {
    --primary: #3498db;
    --light: #F7F8FC;
    --dark: #1E2E4E;
    --font-over-dark: #fff;
    --font-over-light: #1E2E4E;
}

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

h1,
h2,
.h1,
.h2 {
    font-family: 'Libre Caslon Text', serif;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 600;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.sticky-top {
    top: -100px;
    transition: .5s;
    background: #FFFFFF;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.btn-square {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
}

.footer .btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn-link:hover {
    color: var(--primary);
}

.box {
    padding: 50px 0;
    background: #fff;
}

/* ── What We Offer section ── */
.section-dark {
    background: #1E2E4E;
    padding: 80px 0;
    width: 100%;
}

.section-dark h2 {
    color: var(--font-over-dark)
}

.section-dark p {
    color: var(--font-over-dark);
}

.section-dark li {
    color: var(--font-over-dark);
}

.offer-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.offer-card .offer-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.offer-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--font-over-light);
}

.offer-card p {
    color: var(--font-over-light);
}

/* ── Community strip ── */
.community-strip {
    background: #fff;
    padding: 50px 0;
    width: 100%;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.community-strip h2 {
    color: var(--dark);
}

.community-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    text-decoration: none;
    color: var(--dark);
    transition: color .3s;
}

.community-item:hover {
    color: var(--primary);
}

.community-item .ci-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.community-item .ci-icon img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.community-item .ci-text h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.community-item .ci-text p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}

.community-divider {
    width: 1px;
    height: 50px;
    background: #ddd;
    flex-shrink: 0;
}

/* ── Carousel ── */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(30, 46, 78, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ── Services ── */
.service-item {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    height: 100%;
}

.service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    margin-top: -10px;
}

.service-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-item h4 {
    font-weight: 700;
}

.section-title {
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

/* ── Contact ── */
.contact-info-item {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: .5s;
}

.contact-info-item:hover {
    margin-top: -10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 24px;
    margin: 0 auto 20px auto;
    border-radius: 60px;
}

.contact-info a {
    decoration: none;
    color: #000000
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}


.footer-link {
    text-decoration: none;
    color: #ffffff80;
}