/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.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(255, 255, 255, .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 {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    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: var(--dark);
    }

    .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 ***/
/*** Header ***/
#header-carousel .carousel-item {
    position: relative;
    height: 800px;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 50%;
}

/* Mobile */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 450px;
    }

    #header-carousel .carousel-item img {
        height: 450px;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.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;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.top-bar {
    color: rgba(255,255,255,0.95);
}



.partners-section {
    background: #f5f7fa; /* light grey like screenshot */
}

.partner-logo {
    max-height: 60px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}



.gallery-item {
    height: 260px;            /* fixed height */
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;        /* keeps same size without distortion */
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



.contact-card{
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:all .3s ease;
}

.contact-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.icon-box{
    width:46px;
    height:46px;
    border-radius:12px;
    background:rgba(13,110,253,0.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0d6efd;
    font-size:18px;
    flex-shrink:0;
}

.contact-item:not(:last-child){
    border-bottom:1px dashed #e9ecef;
    padding-bottom:18px;
}

/*** Floating Buttons ***/
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-buttons .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    font-size: 24px;
}

.floating-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-buttons .btn-success {
    background-color: #25D366;
    color: #fff;
}

.floating-buttons .btn-primary {
    background-color: var(--primary);
    color: #fff;
}





/*** Navbar ***/

/* White Header (Normal + Sticky SAME) */
.fixed-top,
.navbar.sticky-top {
    background: #ffffff !important;
    transition: .5s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Top Bar - WHITE BG + DARK TEXT */
.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: #ffffff;
    color: #222;
}

/* Top bar text + icons fix */
.top-bar a,
.top-bar span,
.top-bar small,
.top-bar i {
    color: #222 !important;
}

/* Navbar links */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #222;
    font-weight: 500;
}

/* Hover & Active */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Dropdown icon */
.navbar .dropdown-toggle::after {
    color: #222;
}

/* Mobile */
@media (max-width: 991.98px) {
    .navbar {
        background: #ffffff !important;
    }

    .navbar .navbar-nav {
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, .07);
    }

    .navbar .navbar-nav .nav-link {
        color: #222;
        padding: 10px 0;
    }
}

/* Desktop dropdown */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        background: #ffffff;
        border: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }

    .dropdown-item {
        color: #222;
    }

    .dropdown-item:hover {
        background: #f8f9fa;
        color: var(--primary);
    }
}





/* Fix all service images to same size */
.causes-item img {
    width: 100%;
    height: 230px;       /* Fixed height */
    object-fit: cover;   /* Keeps image proportion, crops nicely */
}

/* Optional: keep card width consistent */
.causes-item {
    max-width: 350px;
    margin: auto;
}


/* =====================================================
   FINAL HOME PAGE CSS FIX
   Header overlap + carousel + typography + testimonial
===================================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* ================= HEADER FIX ================= */

#header-placeholder {
    position: relative;
    z-index: 9999;
}

.fixed-top,
.navbar.sticky-top {
    background: #ffffff !important;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
    z-index: 9999;
}

.top-bar {
    height: 45px;
    background: #ffffff;
    color: #222;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-bar a,
.top-bar span,
.top-bar small,
.top-bar i {
    color: #222 !important;
}

.navbar {
    background: #ffffff !important;
}

.navbar .navbar-nav .nav-link {
    color: #222;
    font-weight: 500;
    padding: 22px 0;
    margin-right: 26px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* ================= HERO / CAROUSEL ================= */

#header-carousel {
    position: relative;
}

#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    height: 760px;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 760px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    inset: 0;
    padding: 170px 15px 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, 0.68);
    z-index: 2;
}

.carousel-caption .container {
    max-width: 1140px;
}

.carousel-caption h1 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 22px;
}

.carousel-caption p {
    font-size: 18px !important;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.86) !important;
}

.carousel-caption .btn {
    border-radius: 8px;
}

/* Carousel arrows fixed */
.carousel-control-prev,
.carousel-control-next {
    width: 7%;
    z-index: 5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-size: 55%;
    background-color: var(--dark);
    border: 10px solid var(--dark);
    border-radius: 50%;
}

/* ================= SECTION TYPOGRAPHY ================= */

.container-xxl,
.container-fluid,
section {
    overflow: hidden;
}

.container-xxl.py-5,
.container-fluid.py-5,
section.container-xxl.py-5 {
    padding-top: 75px !important;
    padding-bottom: 75px !important;
}

.container-xxl.py-4 {
    padding-top: 65px !important;
    padding-bottom: 65px !important;
}

.display-4 {
    font-size: 52px;
    line-height: 1.15;
}

.display-6,
section h1,
.container h1 {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--dark);
}

.carousel-item h1{
    font-size: 45px;
}

h5 {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.75;
}

/* ================= CARDS / IMAGES ================= */

.bg-white.rounded.shadow-sm,
.bg-light.rounded,
.contact-card {
    border-radius: 16px !important;
    overflow: hidden;
}

.bg-white.rounded.shadow-sm {
    transition: all 0.3s ease;
}

.bg-white.rounded.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10) !important;
}

.bg-white.rounded.shadow-sm img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.position-relative.overflow-hidden.h-100 {
    border-radius: 18px;
}

.position-relative.overflow-hidden.h-100 img {
    border-radius: 18px;
}

/* Industries image */
.col-lg-6 img[style*="height: 300px"] {
    height: 280px !important;
    object-fit: cover;
}

/* Gallery */
.gallery-item {
    height: 270px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= CONTACT SECTION ================= */

.donate {
    position: relative;
    background-size: cover;
    background-position: center;
}

.donate::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 35, 0.80);
}

.donate .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 111, 15, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================= CLIENTS ================= */

.client-carousel .item {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
}

.client-carousel img {
    height: 115px;
    width: 100%;
    object-fit: contain;
}

/* ================= TESTIMONIAL FIX ================= */
/* ================= TESTIMONIAL FINAL FIX ================= */

.testimonial-carousel {
    position: relative;
    padding-bottom: 80px;
}

/* restore left/right faded slides */
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 180px;
    background: linear-gradient(to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 180px;
    background: linear-gradient(to left,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* cards */
.testimonial-carousel .testimonial-text {
    border-radius: 16px !important;
    padding: 32px !important;
    transition: 0.4s ease;
    min-height: 250px;
}

/* side slides */
.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(0.88);
    opacity: 0.65;
}

/* center slide */
.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
    opacity: 1;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #ffffff !important;
}

/* NAVIGATION BELOW */
.testimonial-carousel .owl-nav {
    position: absolute;
    bottom: -300px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    opacity: 1 !important;
    z-index: 10;
}

/* nav buttons */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark) !important;
}

/* MOBILE */
@media (max-width: 767px) {

    .testimonial-carousel {
        padding-bottom: 70px;
    }
    .carousel-item h1{
    font-size: 38px !important;
}

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 60px;
    }

    .testimonial-carousel .testimonial-text {
        min-height: auto;
        padding: 24px !important;
    }

    .testimonial-carousel .owl-item .testimonial-text {
        transform: scale(0.94);
    }

    .testimonial-carousel .owl-nav {
        width: 100px;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        width: 36px;
        height: 36px;
        font-size: 20px !important;
    }
}
/* Remove testimonial white side overlay on mobile */
@media (max-width: 767px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        display: none !important;
    }
}
/* ================= TABLET ================= */

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 10px;
    }

    .navbar .navbar-nav .nav-link {
        color: #222;
        padding: 11px 0;
        margin-right: 0;
    }

    #header-carousel .carousel-inner,
    #header-carousel .carousel-item {
        height: 650px;
    }

    #header-carousel .carousel-item img {
        height: 650px;
    }

    .carousel-caption {
        padding: 145px 20px 55px;
    }

    .carousel-caption h1 {
        font-size: 38px;
    }

    .carousel-caption p {
        font-size: 16px !important;
        margin-bottom: 26px;
    }

    .display-6,
    section h1,
    .container h1 {
        font-size: 32px;
    }

    .container-xxl.py-5,
    .container-fluid.py-5,
    section.container-xxl.py-5 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .position-relative.overflow-hidden.h-100 {
        min-height: 350px !important;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .top-bar {
        height: auto;
        padding: 6px 0;
        font-size: 12px;
    }

    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #header-carousel .carousel-inner,
    #header-carousel .carousel-item {
        height: 560px;
    }

    #header-carousel .carousel-item img {
        height: 560px;
        object-position: center;
    }

    .carousel-caption {
        padding: 130px 18px 45px;
        align-items: center;
    }

    .carousel-caption .col-lg-7 {
        padding-top: 0 !important;
    }

    .carousel-caption h1 {
        font-size: 28px;
        line-height: 1.22;
        margin-bottom: 16px;
    }

    .carousel-caption p {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 22px !important;
    }

    .carousel-caption .btn {
        padding: 9px 16px !important;
        font-size: 14px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .container-xxl.py-5,
    .container-fluid.py-5,
    section.container-xxl.py-5,
    .container-xxl.py-4 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .display-6,
    section h1,
    .container h1 {
        font-size: 25px !important;
        line-height: 1.3;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 14.5px;
        line-height: 1.7;
    }

    .text-center.mx-auto.mb-5 {
        margin-bottom: 30px !important;
    }

    .position-relative.overflow-hidden.h-100 {
        min-height: 280px !important;
    }

    .position-relative.overflow-hidden.h-100 img {
        position: relative !important;
        padding: 0 !important;
        height: 280px !important;
        object-fit: cover;
    }

    .bg-light.border-bottom.border-5 {
        padding: 22px !important;
    }

    .btn {
        font-size: 14px;
    }

    .btn.py-2.px-3 {
        padding: 9px 15px !important;
    }

    .bg-white.rounded.shadow-sm img {
        height: 215px;
    }

    .text-center.p-4,
    .p-4 {
        padding: 22px !important;
    }

    .col-lg-6 img[style*="height: 300px"] {
        height: 220px !important;
    }

    .gallery-item {
        height: 220px;
    }

    .contact-card {
        padding: 24px !important;
    }

    .contact-item {
        align-items: flex-start;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .client-carousel img {
        height: 82px;
    }

    .testimonial-carousel {
        padding-top: 62px;
    }

    .testimonial-carousel .testimonial-text {
        min-height: auto;
        padding: 24px !important;
    }

    .testimonial-carousel .owl-nav {
        width: 105px;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        width: 38px;
        height: 38px;
        font-size: 22px !important;
        line-height: 38px !important;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {
    #header-carousel .carousel-inner,
    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        height: 520px;
    }

    .carousel-caption {
        padding-top: 118px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 13.5px !important;
    }

    .display-6,
    section h1,
    .container h1 {
        font-size: 23px !important;
    }

    .gallery-item {
        height: 205px;
    }

    .contact-card {
        padding: 20px !important;
    }
}

/* Bigger client logos for mobile */
@media (max-width: 767px) {

    .client-carousel .item {
        padding: 12px;
    }

    .client-carousel img {
        height: 110px !important;
        object-fit: contain;
    }
}

/* ====================================
   MOBILE FINAL SPACING + CAROUSEL FIX
==================================== */

@media (max-width: 767px) {

    /* show carousel arrows in mobile */
    .carousel-control-prev,
    .carousel-control-next {
        display: flex !important;
        width: 42px;
        height: 42px;
        top: auto;
        bottom: 25px;
        opacity: 1 !important;
        align-items: center;
        justify-content: center;
    }

    .carousel-control-prev {
        left: 20px;
    }

    .carousel-control-next {
        right: 20px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 38px;
        height: 38px;
        border: 8px solid var(--dark);
        background-size: 55%;
        border-radius: 50%;
    }

    /* section heading spacing */
    .text-center.mx-auto.mb-5 {
        margin-bottom: 30px !important;
    }

    /* row spacing */
    .row.g-5 {
        --bs-gutter-y: 1.7rem;
    }

    .row.g-4 {
        --bs-gutter-y: 1.4rem;
    }

    /* cards spacing */
    .text-center.p-4,
    .p-4 {
        padding: 20px !important;
    }

    /* service cards */
    .bg-white.rounded.shadow-sm {
        border-radius: 14px !important;
    }

    /* testimonial spacing */
    .testimonial-carousel {
        padding-bottom: 65px;
        margin-top: 10px;
    }

    /* contact section */
    .donate .row {
        row-gap: 1.8rem;
    }

    /* buttons spacing */
    .btn.py-2.px-3 {
        padding: 8px 14px !important;
    }

    /* gallery */
    .gallery-item {
        height: 210px;
    }

    /* about section spacing */
    .bg-light.border-bottom.border-5 {
        margin-bottom: 22px;
    }
}

/* ====================================
   REDUCE SECTION SPACING FOR MOBILE
==================================== */

@media (max-width: 767px) {

    /* main section spacing */
    .container-xxl.py-5,
    .container-fluid.py-5,
    section.container-xxl.py-5,
    .container-xxl.py-4,
    .py-5,
    .py-4 {
        padding-top: 40px !important;
        padding-bottom: 28px !important;
    }

    /* remove large margins */
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mt-5 {
        margin-top: 1.5rem !important;
    }

    /* section heading spacing */
    .text-center.mx-auto.mb-5 {
        margin-bottom: 18px !important;
    }

    /* rows */
    .row.g-5 {
        --bs-gutter-y: 1rem;
    }

    .row.g-4 {
        --bs-gutter-y: 0.9rem;
    }

    /* testimonial */
    .testimonial-carousel {
        padding-bottom: 55px;
    }

    /* contact section */
    .donate {
        margin-top: 0 !important;
    }

    /* cards */
    .text-center.p-4,
    .p-4 {
        padding: 18px !important;
    }
}

/* ====================================
   REDUCE LARGE SECTION SPACING DESKTOP
==================================== */

@media (min-width: 992px) {

    .container-xxl.py-5,
    .container-fluid.py-5,
    section.container-xxl.py-5,
    .py-5 {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
    }

    .container-xxl.py-4,
    .py-4 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* reduce big margins */
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    /* heading spacing */
    .text-center.mx-auto.mb-5 {
        margin-bottom: 28px !important;
    }

    /* row spacing */
    .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }

    .row.g-4 {
        --bs-gutter-y: 1.2rem;
    }
}

/* ====================================
   FOOTER TYPOGRAPHY
==================================== */

.footer {
    background: #00171d !important;
    color: rgba(255,255,255,0.72);
}

/* footer headings */
.footer h5 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    position: relative;
}

/* optional underline */
.footer h5::after {
    content: "";
    width: 45px;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    bottom: -10px;
}

/* footer paragraphs */
.footer p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.68);
    margin-bottom: 14px;
}

/* icons */
.footer p i {
    color: var(--primary);
}

/* footer links */
.footer .btn.btn-link {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    color: rgba(255,255,255,0.72);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 0.5px;
    transform: translateX(3px);
}

/* copyright */
.footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}

.footer .copyright,
.footer .copyright a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer .copyright a:hover {
    color: #ffffff;
}

/* spacing */
.footer .row.g-5 {
    --bs-gutter-y: 2rem;
}

/* MOBILE */
@media (max-width: 767px) {

    .footer {
        text-align: left;
    }

    .footer h5 {
        font-size: 20px;
        margin-bottom: 20px !important;
    }

    .footer p,
    .footer .btn.btn-link {
        font-size: 14px;
        line-height: 1.8;
    }

    .footer .copyright {
        text-align: center;
    }

    .footer .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }
}
/* Fix footer link text wrapping under arrow icon */

.footer .btn.btn-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    white-space: normal;
    text-align: left;
    padding-left: 0;
}

.footer .btn.btn-link::before {
    margin-right: 0 !important;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ====================================
   CENTER NAVIGATION LINKS
==================================== */

.navbar .navbar-collapse {
    display: flex;
    align-items: center;
}

/* center menu */
/* reduce navbar tab spacing */

.navbar .navbar-nav {
    margin: 0 auto !important;
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar .navbar-nav .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-right: 8px !important;
}

/* keep contact button right */
.navbar .d-none.d-lg-flex.ms-2 {
    margin-left: auto !important;
}

/* desktop spacing */
@media (min-width: 992px) {

    .navbar .navbar-nav .nav-link {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* mobile normal */
@media (max-width: 991px) {

    .navbar .navbar-nav {
       display:none !important
    }
}

/* ====================================
   ABOUT PAGE MOBILE FIX
==================================== */

@media (max-width: 767px) {

    /* center page header content */
    .page-header .container {
        text-align: center;
    }

    .page-header h1 {
        font-size: 32px !important;
        text-align: center;
        margin-bottom: 12px !important;
    }

    .page-header .breadcrumb {
        justify-content: center !important;
    }

    .container-xxl .position-relative.overflow-hidden.h-100 {
        min-height: 340px !important;
        position: relative !important;
    }

    /* main image */
    .container-xxl .position-relative.overflow-hidden.h-100 img:first-child {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        padding-top: 35px !important;
        padding-right: 35px !important;
        border-radius: 18px;
    }

    /* small corner image */
    .container-xxl .position-relative.overflow-hidden.h-100 img:nth-child(2) {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 135px !important;
        height: 135px !important;
        object-fit: cover;
        background: #fff;
        padding-left: 6px !important;
        padding-bottom: 6px !important;
        border-radius: 0 0 0 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

    /* content spacing */
    .display-6 {
        font-size: 26px !important;
        line-height: 1.3;
    }

    .bg-light.border-bottom.border-5 {
        padding: 20px !important;
    }
}
/* Center About Us rounded pill button */

@media (max-width: 767px) {

    .d-inline-block.rounded-pill.bg-secondary.text-primary {
        display: table !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ====================================
   PROJECTS PAGE MOBILE RESPONSIVE FIX
==================================== */

/* table clean desktop */
.table-responsive {
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    background: #fff;
    margin-bottom: 0;
}

.table th,
.table td {
    font-size: 15px;
    line-height: 1.6;
    vertical-align: middle;
    padding: 14px 16px;
}

.table thead th {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* gallery image clean */
.gallery-item {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* mobile */
@media (max-width: 767px) {

    .page-header {
        padding-top: 7.5rem;
        padding-bottom: 3.5rem;
        margin-bottom: 18px !important;
    }

    .page-header h1 {
        font-size: 32px !important;
        text-align: center;
    }

    .page-header .breadcrumb {
        justify-content: center;
        font-size: 14px;
    }

    /* section spacing */
    .container-xxl.py-5,
    section.container-xxl.py-5 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .text-center.mx-auto.mb-5 {
        margin-bottom: 22px !important;
    }

    .section-title {
        display: inline-block;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .display-6 {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 14px !important;
    }

    .text-muted.small {
        font-size: 14px;
        line-height: 1.6;
    }

    /* table mobile scroll */
    .table-responsive {
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(0,0,0,0.08);
        overflow-x: auto;
    }

    .table {
        min-width: 850px;
    }

    .table th,
    .table td {
        font-size: 13px;
        line-height: 1.5;
        padding: 10px 12px;
    }

    .table thead th {
        font-size: 13px;
    }

    .table-light th {
        font-size: 14px;
        padding: 11px 12px;
    }

    /* gallery */
    .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .gallery-item {
        height: 230px;
        border-radius: 14px;
    }

    .gallery-item img {
        border-radius: 14px !important;
        object-fit: cover;
    }
}

/* small mobile */
@media (max-width: 480px) {

    .page-header h1 {
        font-size: 28px !important;
    }

    .display-6 {
        font-size: 24px !important;
    }

    .table {
        min-width: 780px;
    }

    .gallery-item {
        height: 210px;
    }
}

/* ====================================
   PROJECT PAGE FINAL RESPONSIVE
==================================== */

/* desktop table visible */
.desktop-project-table {
    display: block;
}

.mobile-project-cards {
    display: none;
}

/* desktop table style */
.desktop-project-table .table-responsive {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0,0,0,0.08);
}

.desktop-project-table .table {
    margin-bottom: 0;
    background: #fff;
}

.desktop-project-table .table th,
.desktop-project-table .table td {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: middle;
}

.desktop-project-table .table thead th {
    font-weight: 600;
    white-space: nowrap;
}

.desktop-project-table .table tbody td:last-child {
    min-width: 360px;
}

/* mobile */
@media (max-width: 767px) {

    .desktop-project-table {
        display: none !important;
    }

    .mobile-project-cards {
        display: block !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .mobile-project-cards .display-6 {
        font-size: 25px !important;
        line-height: 1.3;
    }

    .mobile-project-cards .text-muted {
        font-size: 14px;
        line-height: 1.6;
    }

    .project-year-block {
        margin-bottom: 34px;
    }

    .project-year-block:last-child {
        margin-bottom: 0;
    }

    .project-year-title {
        font-size: 23px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 18px;
        padding-left: 14px;
        border-left: 4px solid var(--primary);
    }

    .project-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 16px;
        border: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    }

    .project-card-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .project-card-top span {
        color: var(--primary);
        font-size: 13px;
        font-weight: 600;
    }

    .project-card-top strong {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--secondary);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
    }

    .project-card h5 {
        font-size: 16px;
        line-height: 1.55;
        color: var(--dark);
        margin-bottom: 14px;
    }

    .project-card p {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: #999;
        margin-bottom: 6px;
    }

    .project-card h6 {
        font-size: 13px;
        line-height: 1.6;
        color: #555;
        word-break: break-word;
        margin-bottom: 0;
    }
}

/* ====================================
   FIX OUR PROJECTS GALLERY MOBILE SHOW
==================================== */

@media (max-width: 767px) {

    /* make sure gallery section is visible */
    section.container-xxl.py-5 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    section.container-xxl.py-5 .gallery-item {
        display: block !important;
        height: 220px !important;
        margin-bottom: 0;
    }

    section.container-xxl.py-5 .gallery-item img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        opacity: 1 !important;
        visibility: visible !important;
    }

    section.container-xxl.py-5 .row {
        display: flex !important;
    }
}
@media (max-width: 991.98px) {
  .top-bar {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .top-bar {
    display: none !important;
  }

  .navbar {
    margin-top: 0 !important;
    top: 0 !important;
    transform: none !important;
  }

  .container-fluid.fixed-top {
    top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ===============================
DESKTOP SERVICE HOVER MENU
================================ */

.container-fluid.fixed-top,
.navbar,
.navbar-collapse,
.navbar-nav,
.service-hover {
  overflow: visible !important;
}

.container-fluid.fixed-top {
  z-index: 99999 !important;
}

@media (min-width: 992px) {
  .service-hover {
    position: relative;
  }

  .service-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 12px);

    width: 620px;
    padding: 18px;

    background: #ffffff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.14);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 16px;

    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;

    z-index: 999999;
  }

  .service-hover:hover .service-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .service-menu a {
    position: relative;
    display: block;

    color: #222;
    text-decoration: none;

    padding: 10px 4px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
  }

  .service-menu a::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 4px;

    width: 0;
    height: 2px;
    background: var(--primary);

    transition: width 0.3s ease;
  }

  .service-menu a:hover {
    color: var(--primary);
  }

  .service-menu a:hover::after {
    width: calc(100% - 8px);
  }
}

/* Hide service menu on mobile */
@media (max-width: 991px) {
  .service-menu {
    display: none !important;
  }
}

.service-link i {
    font-size: 12px;
    transition: 0.3s ease;
}

.service-hover:hover .service-link i {
    transform: rotate(180deg);
}

/* ===============================
   HOME PAGE FINAL FIXES
================================ */

/* About image separate class */
.home-about-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border: none !important;
    border-radius: 0 !important;
}

.home-about-img-wrap .home-about-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
@media (max-width: 767px) {
    .home-about-img-wrap {
        min-height: 280px !important;
    }

    .home-about-img-wrap .home-about-img {
        position: absolute !important;
        height: 100% !important;
        border-radius: 0 !important;
    }
}

/* About heading left on mobile */
@media (max-width: 767px) {
    .container-xxl .h-100 {
        text-align: left !important;
    }

    .container-xxl .h-100 .d-inline-block.rounded-pill.bg-secondary.text-primary {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: inline-block !important;
    }

    .container-xxl .h-100 h1.display-6 {
        text-align: left !important;
    }

    .home-about-img {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        padding-top: 0 !important;
        padding-right: 0 !important;
        border-radius: 0 !important;
    }
}

/* Project View All button */
.project-view-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

/* Mobile: remove fake gallery container feeling */
@media (max-width: 767px) {
    .project-view-box {
        min-height: auto !important;
        padding: 20px 0 0;
    }

    .project-view-box .btn {
        margin: 0 auto;
    }
}

/* Know More button arrow circle alignment */
.btn .btn-sm-square {
    vertical-align: middle;
}

/* =================================
   GLOBAL BUTTON CONSISTENCY
================================= */

.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 12px 26px !important;
    font-size: 15px !important;
    font-weight: 500;

    border-radius: 10px !important;
    line-height: 1.2;

    transition: 0.3s ease;
}

/* arrow circle */
.btn .btn-sm-square {
    width: 32px !important;
    height: 32px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin-left: 12px !important;
    flex-shrink: 0;
}

/* keep all primary buttons same */
.btn-primary,
.btn-outline-primary {
    min-height: 48px;
}

/* mobile same sizing */
@media (max-width: 767px) {

    .btn {
        padding: 12px 26px !important;
        font-size: 15px !important;
    }

    .btn .btn-sm-square {
        width: 32px !important;
        height: 32px !important;

    }
}

/* =================================
   FOOTER LINK SPACING FIX
================================= */

.footer .btn.btn-link {
    display: block !important;
    padding: 0 !important;
    margin-bottom: 6px !important;

    line-height: 1.6 !important;

    min-height: auto !important;
    height: auto !important;

    transform: none !important;
}

.footer .btn.btn-link::before {
    margin-right: 10px !important;
}

.footer .btn.btn-link {
    display: flex !important;
    align-items: flex-start;
    justify-content: left;
    gap: 10px;

    white-space: normal;
    text-align: left;

    padding: 0 !important;
    margin-bottom: 8px !important;

    line-height: 1.6 !important;
}

.footer .btn.btn-link::before {
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 0 !important;
}

.footer .btn.btn-link:hover {
    transform: translateX(3px) !important;
}
/* ===============================
   CONTACT PARALLAX FINAL FIX
================================ */

.contact-parallax {
    background:
        linear-gradient(rgba(0, 29, 35, 0.82), rgba(0, 29, 35, 0.82)),
        url("../img/carousel-2.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    padding: 70px 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
}

.contact-parallax::before,
.contact-parallax::after {
    display: none !important;
}

.contact-parallax .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

/* mobile fix */
@media (max-width: 767px) {
    .contact-parallax {
        background-attachment: scroll;
        padding: 45px 0 !important;
    }
}

/* ===============================
   MOBILE OFFCANVAS NAVBAR
================================ */

@media (max-width: 991px) {
  .navbar-brand img {
    height: 48px !important;
    border-radius: 8px !important;
  }

  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 1px solid rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }
    .navbar-brand img {
        height: 48px !important;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(0,0,0,0.1);
        padding: 0 !important;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn .navbar-toggler-icon {
        filter: invert(1);
        width: 1.1em;
        height: 1.1em;
    }

  .mobile-offcanvas {
    width: 290px !important;
  }

  .mobile-offcanvas-logo {
    height: 52px;
    border-radius: 8px;
  }

  .mobile-offcanvas .offcanvas-body {
    padding-top: 10px;
  }

  .mobile-offcanvas .offcanvas-body a {
    display: block;
    padding: 14px 4px;
    color: #222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .mobile-offcanvas .offcanvas-body a:hover {
    color: var(--primary);
  }
}
/* ===============================
   SIMPLE MOBILE SERVICE DROPDOWN
================================ */

.mobile-services summary {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 0;

    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-services summary::-webkit-details-marker {
    display: none;
}

.mobile-services summary i {
    transition: 0.3s ease;
}

.mobile-services[open] summary i {
    transform: rotate(180deg);
}

.mobile-service-menu {
    padding-left: 12px;
}

.mobile-service-menu a {
    display: block;

    padding: 12px 0;

    text-decoration: none;
    color: #555;

    font-size: 14px !important;

    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===============================
   FLOATING BUTTONS FINAL FIX
================================ */

.floating-buttons .btn,
.floating-buttons a {
    width: 58px !important;
    height: 58px !important;

    padding: 0 !important;

    border-radius: 50% !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    line-height: 1;

    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* icon */
.floating-buttons .btn i,
.floating-buttons a i {
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 1;
}

/* mobile */
@media (max-width: 767px) {

    .floating-buttons .btn,
    .floating-buttons a {
        width: 52px !important;
        height: 52px !important;
    }

    .floating-buttons .btn i,
    .floating-buttons a i {
        font-size: 15px !important;
    }
}
.director-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e9ecef;
}

.director-card-content {
    padding: 30px;
    text-align: center;
}

.director-card h5 {
    margin-bottom: 10px;
    font-weight: 600;
}