/********** Template CSS **********/
:root {
    /* PRIMARY = PINK (was green) */
    --primary: #ff4d8d;
    --secondary: #e6005c;

    /* TEXT COLORS */
    --tertiary: #222222;   /* dark text instead of grey */
    --light: #ffffff;      /* backgrounds */
    --dark: #ffffff;       /* was dark green → now white */

    /* Bootstrap override */
    --bs-primary: #ff4d8d;
    --bs-primary-rgb: 255,77,141;
}
body {
    background: #ffffff;
    color: #222222;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(31, 166, 75, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}



.page-header {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/about-us.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headersb {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/sebi.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerg {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/grevience.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerse {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/scores.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-header1 {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/careers.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headero {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/offerings.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerd {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/documents.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerr {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/relations.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerch {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/charter.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-headerc {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/career.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-header2 {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/contact.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-header3 {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/marchant-bank.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-header4 {
     padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/team.jpg) top left no-repeat;
    background-size: 1360px 300px; /* width height */
}
.page-header5 {
    padding-top: 12rem;
    margin-top: 10px;
    background: url(../img/about1.jpg) no-repeat center center;
    background-size: cover;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: green;
    color: var(--light);
}


/*** Footer ***/
.footer {
    background: var(--dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #001A0F;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}
/* ===== FORCE GREEN THEME OVERRIDE ===== */

/* Bootstrap primary override */
.text-primary {
    color: #1FA64B !important;
}

.btn-primary {
    background-color: #1FA64B !important;
    border-color: #1FA64B !important;
}

.btn-primary:hover {
    background-color: #17873D !important;
    border-color: #17873D !important;
}

.border-primary {
    border-color: #1FA64B !important;
}

/* Icons */
.fa.text-primary,
.bi.text-primary {
    color: #1FA64B !important;
}

/* Links */
a {
    color: #1FA64B;
}

a:hover {
    color: #17873D;
}

/* Navbar active link */
.navbar .navbar-nav .nav-link.active {
    color: #1FA64B !important;
}

/* Dropdown hover */
.dropdown-item:hover {
    background-color: #E8F6EC;
    color: #1FA64B;
}

/* Tabs */
.nav-tabs .nav-link.active {
    color: #1FA64B;
    border-color: #1FA64B;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #1FA64B;
    border-color: #1FA64B;
}

/* Service active tab */
.service .nav .nav-link.active {
    background: #1FA64B !important;
    border-color: #1FA64B !important;
}

/* Footer */
.footer {
    background: #012E1A !important;
}

/* HEADER SLIDER FIX */
#header-carousel{
width:100%;
background:#f5f5f5;
}

#header-carousel .carousel-item{
text-align:center;
}

#header-carousel .carousel-item img{
width:auto;
max-width:100%;
height:auto;
max-height:650px;
margin:auto;
display:block;
object-fit:contain;
}
.modal-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal p {
    line-height: 1.6;
}
 .list-inline-item {
    margin-bottom: 8px;
    margin-right: 20px;
    font-weight: 500;
}

.list-inline-item a {
    color: #28a745; /* your green theme */
    text-decoration: none;
}

.list-inline-item a:hover {
    text-decoration: underline;
}
.list-inline-item a {
    text-decoration: none !important;
}
.footer-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 4px;
}

.footer-link:hover {
    color: #28a745; /* green hover */
}





/* mobile view*/
@media (max-width: 768px) {
    .about img {
        max-height: 100px;
        width: 100%;
        object-fit: cover;
    }
}
@media (max-width: 768px) {

    /* Step 1: Stack everything */
    .row.g-4.align-items-end {
        display: flex;
        flex-direction: column;
    }

    /* Step 2: Move image block BELOW heading visually */
    .row.g-4.align-items-end .col-lg-6:first-child {
        order: 2; /* image */
    }

    
    /* Step 3: Style image like it's inside content */
    .row.g-4.align-items-end .col-lg-6:first-child img {
        margin: 15px 0;
        border-radius: 10px;
    }
    .row.g-4.align-items-end .col-lg-6:last-child {
        order: 1; /* text */
    }

}
@media (max-width: 768px) {

    /* BUTTON CARD LOOK */
    .service .nav .nav-link {
        padding: 10px 12px; /* reduced size */
        border-radius: 8px;
        background: #ffffff;
        border: 1px solid #e6e6e6;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }

    /* TEXT SIZE REDUCED */
.service .nav .nav-link h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

    /* ICON IMPROVEMENT */
    .service .nav .nav-link i {
        font-size: 14px;
        margin-right: 8px;
        color: #1FA64B;
    }

    /* HOVER / TAP EFFECT */
    .service .nav .nav-link:active {
        transform: scale(0.97);
    }

    /* ACTIVE BUTTON (ENHANCED) */
    .service .nav .nav-link.active {
        background: #1FA64B;
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(31,166,75,0.25);
    }

    .service .nav .nav-link.active h5,
    .service .nav .nav-link.active i {
        color: #ffffff !important;
    }
        /* LEFT ALIGN BUTTON CONTENT */
    .service .nav .nav-link {
        text-align: left;
        justify-content: flex-start;
    }

    /* LEFT ALIGN TEXT */
    .service .nav .nav-link h5 {
        text-align: left;
        margin: 0;
    }

}

.service .tab-pane {
    width: 100%;
    margin: auto;
}

.service .tab-pane img {
    height: auto;
    display: block;
    margin: auto;
}
/* FORCE DEFAULT SCROLLBAR */
html {
    overflow-y: scroll; /* always show vertical scrollbar */
}

body {
    overflow-y: auto;
}
@media (max-width: 768px) {

    /* Target ALL page headers correctly */
    .page-header,
    .page-headersb,
    .page-headerg,
    .page-headerse,
    .page-header1,
    .page-headero,
    .page-headerd,
    .page-headerr,
    .page-headerch,
    .page-headerc,
    .page-header2,
    .page-header3,
    .page-header4,
    .page-header5 {

        padding-top: 0 !important;
        height: auto !important;
        min-height: 180px;

        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;

        background-color: #f5f5f5;
    }

}
/* WHY SECTION */
.why-section {
    position: relative;
}

/* subtle pattern like your reference */
.why-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    opacity: 0.4;
    top: 0;
    left: 0;
}

.why-section .container {
    position: relative;
    z-index: 2;
}

/* individual items */
.why-item {
    padding: 25px 15px;
    transition: 0.3s;
}

.why-item i {
    display: inline-block;
    padding: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.why-item h5 {
    margin-top: 10px;
    font-weight: 600;
}

/* hover effect */
.why-item:hover {
    transform: translateY(-5px);
}
/* CLIENT GRID IMPROVED */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* increased spacing */
    padding: 20px 40px; /* breathing space */
}

.client-grid img {
    width: 100%;
    height: 90px; /* bigger logos */
    object-fit: contain;
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* subtle hover */
.client-grid img:hover {
    transform: translateY(-5px);
}

/* ARROWS - move outside */
.client-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f39c12;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
}

/* push arrows OUTSIDE */
.client-arrow.left {
    left: -50px;
}

.client-arrow.right {
    right: -50px;
}

/* MOBILE FIX */
@media (max-width:768px){
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        gap: 20px;
    }

    .client-arrow.left {
        left: -10px;
    }

    .client-arrow.right {
        right: -10px;
    }
}
/* ANIMATION BASE */
.client-grid {
    transition: all 0.3s ease;
}

/* SLIDE OUT */
.slide-out-left {
    opacity: 0;
    transform: translateX(-40px);
}

.slide-out-right {
    opacity: 0;
    transform: translateX(40px);
}

/* SLIDE IN */
.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.4s ease;
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.4s ease;
}

/* KEYFRAMES */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* OFFERINGS IMAGE BORDER */
/* OFFERINGS IMAGE BORDER + FIXED SIZE */
.tab-content img {
    width: 60%;
    height: 200px;            /* 🔥 FIXED HEIGHT (adjust if needed) */
    object-fit: contain;      /* keeps full image visible */
    
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 10px;
    background: #fff;

    transition: 0.3s ease;
}

/* HOVER */
.tab-content img:hover {
    border-color: #1FA64B;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.project-item {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s ease;
    height: 100%;
}

/* HOVER */
.project-item:hover {
    border-color: #1FA64B;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
/* HOVER EFFECT (optional but nice) */
.project-item:hover {
    border-color: #1FA64B;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
/* FIX CAROUSEL BORDER CUT */
.project-carousel .owl-stage-outer {
    overflow: visible !important;
}
.project-item img {
    width: 100%;
    height: 180px;       /* 🔥 adjust if needed */
    object-fit: contain; /* keeps full image visible */
    border-radius: 10px;
}
.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    gap: 30px;
    justify-items: center;
    align-items: center;
    min-height: 320px;
}

.client-grid img {
    width: 160px;   /* increased size (~50%) */
    height: 160px;
    object-fit: contain;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.client-grid img:hover {
    transform: scale(1.08);
}
.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #1FA64B;
    padding-left: 5px;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

/* Custom bullet */
.footer-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1FA64B; /* your theme green */
    font-size: 16px;
}

/* Links */
.footer-list a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #1FA64B;
    padding-left: 5px;
}

/* Make ALL footer text same color */
.footer {
    color: #ddd;
}

/* Ensure paragraphs match links */
.footer p {
    color: #ddd;
}

/* Headings stay white */
.footer h5 {
    color: #fff;
}

/* Links */
.footer a {
    color: #ddd;
}

.footer a:hover {
    color: #1FA64B;
}

/* Bottom row slight separator */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}
/* Base footer text size */
.footer {
    font-size: 14px;
}

/* Ensure everything inside follows */
.footer p,
.footer a,
.footer li {
    font-size: 14px;
}
.footer h5 {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: inline-block;
}

.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;   /* full width */
    height: 1.5px;
    background: rgba(255,255,255,0.2); /* subtle line */
}
.contact-box {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.05);
}

.contact-box a {
    color: #198754; /* green tone like your theme */
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-box hr {
    margin: 15px 0;
    opacity: 0.1;
}
.map-box {
    width: 100%;
    height: 100%;
    min-height: 100%; /* important */
    box-shadow: 0 0 25px rgba(0,0,0,0.05);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 490px; /* fallback for mobile */
    display: block;
}
@media (max-width: 575px) {
    .footer .row.g-4 {
        display: flex;
        flex-wrap: wrap;
    }

    .footer .row.g-4 > div {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}
body {
    overflow-x: hidden;
}