@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* variable */

:root {
    --alt-font: "Urbanist", sans-serif;
    --primary-font: "Urbanist", sans-serif;
    --base-color: #4fc1a7;
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-gray: rgba(255, 255, 255, 0.4);
}


/* reset */

body {
    font-size: 18px;
    line-height: 30px;
}

section {
    padding-top: 80px;
    padding-bottom: 40px;
}

b,
strong {
    font-weight: 700;
    color: #000;
}

section[id] {
    scroll-margin-top: 60px;
}

a:hover {
    color: var(--dark-gray);
}


/* header */

.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}

.navbar .navbar-nav .dropdown.open .dropdown-menu {
    background-color: var(--dark-gray);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .navbar-brand img {
    max-height: 30px;
}

.header-top-bar div>a {
    color: var(--light-gray);
}

.header-top-bar div>a:hover {
    color: var(--white);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
}

.navbar .navbar-nav .dropdown .dropdown-menu a i {
    width: 35px;
}

header .btn.btn-box-shadow.btn-base-color,
.btn.btn-base-color {
    color: var(--dark-gray);
}

header .btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--dark-gray);
}

header .btn.btn-small {
    font-size: 15px;
    padding: 10px 18px;
}


/* btn */

.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0;
}

.btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}

.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px;
}

.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px;
}

.btn.btn-medium {
    font-size: 16px;
    padding: 12px 24px;
}

.btn.btn-small {
    font-size: 15px;
}

.btn.btn-very-small {
    font-size: 14px;
    padding: 9px 20px;
}


/* counter style */

.counter-style-04 .vertical-counter:after {
    color: var(--base-color);
}

.review-star-icon i {
    color: var(--base-color);
}

.google-maps-link a:hover {
    color: var(--white);
}


/* footer style */

footer ul li {
    margin-bottom: 1px;
}

footer p {
    line-height: 28px;
}


/* page title */

.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.688rem;
}

.page-title-double-large h2 {
    font-size: 16px;
    line-height: 28px;
}


/* top bottom left right class */

.right-12 {
    right: 12%;
}

.bg-jungle-green {
    background-color: #2ebb79;
}


/* Outside box */

.outside-box-top-205px {
    margin-top: -205px;
}


/* Transparent background color */

.bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, #f7f7f7 0%, transparent 100%);
}

header .navbar-brand img {
    max-height: 65px;
}

footer .footer-logo img {
    max-height: 65px;
    filter: brightness(0) invert(1);
}

footer .footer-logo img.extra-logo {
    max-height: 80px;
    filter: brightness(0) invert(1);
}

header .navbar-brand {
    margin-right: 0;
    vertical-align: middle;
    padding: 10px 0;
    display: inline-block;
    font-size: 0;
}

header.sticky .navbar-brand {
    padding: 10px 0;
}

#allLoader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75) url('amijag-logos/loading2.gif') no-repeat center center;
    z-index: 10000;
}

@media (max-width: 1399px) {
    .xl-h-180px {
        height: 180px;
    }

    .xl-w-180px {
        width: 180px;
    }
}

@media (max-width: 1199px) {
    .outside-box-top-200px {
        margin-top: -150px;
    }
}

@media (max-width: 991px) {
    .outside-box-top-200px {
        margin-top: 0;
    }

    .navbar .navbar-nav .dropdown.open .dropdown-menu {
        padding-bottom: 15px;
    }

    .navbar .navbar-nav .dropdown .dropdown-menu.show {
        background-color: var(--dark-gray);
    }
}
/* Home hero banner (mobile): the section was locked to 650px while its content
   is ~620px tall, so the fixed header covered the first lines of the heading.
   Let the banner grow with its content and reserve space for the header. */
@media (max-width: 767px) {
    .home-hero {
        height: auto !important;
    }

    .home-hero .swiper-slide {
        display: flex;
        align-items: center;
        min-height: 600px;
        padding: 110px 0 50px;
    }

    .home-hero h3 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .home-hero .fs-18 {
        font-size: 16px;
        line-height: 26px;
    }

    /* Keep both hero buttons on one line on phones */
    .home-hero .d-flex.flex-wrap {
        flex-wrap: nowrap !important;
        gap: 10px;
    }

    .home-hero .btn.btn-extra-large {
        font-size: 14px;
        padding: 12px 18px;
        margin: 0 !important;
        white-space: nowrap;
    }

    /* Match every section headline to the hero heading size on phones */
    h1, h2, h3 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
}

/* ---------- Tablet & mobile polish ---------- */

/* Tablet (768-991px) */
@media (max-width: 991px) {

    /* Stats: spacing between rows when they wrap to 2x2 / stacked */
    #reach .row-cols-1 > .col {
        margin-bottom: 30px;
    }

    /* Section label pills: let long labels wrap gracefully */
    span.bg-base-color.border-radius-100px {
        white-space: normal;
        line-height: 1.5;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* Tablet only (768-991px): keep the hero heading clear of the fixed header */
@media (min-width: 768px) and (max-width: 991px) {
    .home-hero .swiper-slide {
        padding-top: 90px;
    }
}

/* Phone (<= 767px) */
@media (max-width: 767px) {
    /* Pills: slightly smaller and tidy when they wrap onto two lines */
    span.bg-base-color.border-radius-100px {
        font-size: 14px;
        line-height: 1.5 !important;
        padding: 8px 18px;
        border-radius: 24px;
    }

    #reach .row-cols-1 > .col:last-child {
        margin-bottom: 0;
    }

    /* Stacked CTA buttons: centred with equal spacing */
    .btn.btn-extra-large.m-2 {
        margin: 6px !important;
        width: 300px;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        white-space: nowrap;
    }

    /* Quote attribution pills */
    .border-radius-30px.fs-12 {
        margin: 12px 0 0 !important;
    }
}

/* ---------- Card system: one padding + one gap for every card ---------- */

/* Inside the card (overrides the theme's p-10 / p-15 / md-p-13 / xl-p-13,
   which are % of card width and therefore differ from card to card). */
.feature-box.p-10,
.feature-box.p-15,
.feature-box.md-p-13,
.feature-box.xl-p-13 {
    padding: 40px 32px !important;
}

/* Between the cards: one horizontal and vertical gutter for every grid,
   and no stray per-card margins. */
.row.card-grid {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
    margin-top: 10px;
}

.row.card-grid > [class*="col"] {
    margin-top: var(--bs-gutter-y) !important; /* Bootstrap's vertical gutter */
    margin-bottom: 0 !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
}

@media (max-width: 991px) {
    .feature-box.p-10,
    .feature-box.p-15,
    .feature-box.md-p-13,
    .feature-box.xl-p-13 {
        padding: 34px 28px !important;
    }

    .row.card-grid {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 24px;
    }
}

@media (max-width: 767px) {
    .feature-box.p-10,
    .feature-box.p-15,
    .feature-box.md-p-13,
    .feature-box.xl-p-13 {
        padding: 28px 22px !important;
    }

    .row.card-grid {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
    }
}

/* ---------- Community programs slider (#programs) ---------- */

/* Every slide stretches to the tallest card so both cards share one height */
.programs-slider .swiper-slide {
    height: auto;
    display: flex;
}

.program-card {
    width: 100%;
    min-height: 420px;
}

.program-card-image {
    position: relative;
    min-height: 260px;
}

.program-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row.g-0 > .program-card-body {
    padding: 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-meta li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 26px;
}

.program-meta li:last-child {
    margin-bottom: 0;
}

.program-meta li i {
    flex: 0 0 auto;
    width: 22px;
    margin-top: 2px;
    font-size: 16px;
}

.program-meta strong {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Controls: theme's style-04 buttons plus centred bullets */
.programs-slider ~ .d-flex .swiper-button-prev,
.programs-slider ~ .d-flex .swiper-button-next {
    height: 48px;
    width: 48px;
    font-size: 18px;
    margin: 0;
}

.programs-slider ~ .d-flex .swiper-button-prev:hover,
.programs-slider ~ .d-flex .swiper-button-next:hover {
    background-color: var(--base-color) !important;
    color: var(--white) !important;
    opacity: 1;
}

/* Bullets: centre them on the same axis as the arrow buttons */
.programs-pagination {
    display: flex;
    align-items: center;
    height: 48px;
    margin: 0 10px;
}

.programs-pagination .swiper-pagination-bullet {
    position: relative;
    display: block;
}

.programs-pagination .swiper-pagination-bullet:before {
    position: absolute; /* theme uses relative, which mis-centres the ring */
}

@media (max-width: 991px) {
    .program-card {
        min-height: 0;
    }

    .program-card-image {
        min-height: 300px;
    }

    .row.g-0 > .program-card-body {
        padding: 34px 28px;
    }
}

@media (max-width: 767px) {
    .program-card-image {
        min-height: 220px;
    }

    .row.g-0 > .program-card-body {
        padding: 28px 22px;
    }

    .program-card-body h5 {
        font-size: 20px;
        line-height: 1.3;
    }
}
