/*

TemplateMo 581 Kind Heart Charity

https://templatemo.com/tm-581-kind-heart-charity

*/
html,
body {
    overflow-x: hidden; /* block hidden elements from shifting viewport */
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family);
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none !important;
    transition: all 0.3s;
}

@font-face {
    font-family: "Metropolis";
    src:
        url("../fonts/Metropolis/Metropolis-Regular.woff2") format("woff2"),
        url("../fonts/Metropolis/Metropolis-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url("../fonts/Metropolis/Metropolis-Light.woff2") format("woff2"),
        url("../fonts/Metropolis/Metropolis-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url("../fonts/Metropolis/Metropolis-SemiBold.woff2") format("woff2"),
        url("../fonts/Metropolis/Metropolis-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src:
        url("../fonts/Metropolis/Metropolis-Bold.woff2") format("woff2"),
        url("../fonts/Metropolis/Metropolis-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    /* --primary-color:                #5bc1ac; */
    --primary-color: #0d1192c9;
    --secondary-color: #5a6f80;
    --section-bg-color: #f0f8ff;
    /* --site-footer-bg-color:         #44525d; */
    --site-footer-bg-color: #010994;
    --custom-btn-bg-color: #597081;
    --custom-btn-bg-hover-color: #5bc1ac;
    --dark-color: #000000;
    --p-color: #717275;
    --border-color: #e9eaeb;

    /* --body-font-family: "Metropolis", sans-serif; */
    --body-font-family: "Outfit", sans-serif;

    --h1-font-size: 52px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    /* --h4-font-size: 28px; */
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 16px;
    --btn-font-size: 18px;
    --copyright-font-size: 14px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --light-green: #f0f8ff;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

body {
    background-color: #ffffff !important;
    font-family: var(--body-font-family);
}

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-semibold);
    /* letter-spacing: -1px; */
}

h1 {
    font-size: clamp(24px, 4vw, var(--h1-font-size));
    font-weight: var(--font-weight-bold);
}
h2 {
    font-size: clamp(20px, 3.5vw, var(--h2-font-size));
    font-weight: var(--font-weight-semibold);
}

/* */

h3 {
    font-size: clamp(18px, 3vw, var(--h3-font-size));
    font-weight: var(--font-weight-semibold);
}

/* h4 {
    font-size: var(--h4-font-size);
} */

h5 {
    color: var(--primary-color);
    font-size: clamp(16px, 2.5vw, var(--h5-font-size));
}

h6 {
    font-size: clamp(14px, 2vw, var(--h6-font-size));
}

p,
ul li {
    font-size: clamp(12px, 1.5vw, var(--p-font-size));
    color: var(--p-color);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    color: var(--p-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1434px !important;
    }
}

/*---------------------------------------
  SECTION
-----------------------------------------*/
.section-padding {
    padding-top: clamp(30px, 5vw, 100px);
    padding-bottom: clamp(15px, 3vw, 30px);
}

.section-bg {
    background-color: var(--section-bg-color);
}

.section-overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.section-overlay + .container {
    position: relative;
}

/*---------------------------------------
  CUSTOM BLOCK
-----------------------------------------*/
.custom-block-wrap {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

.custom-block-wrap:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.custom-block-body {
    padding: clamp(15px, 2vw, 30px);
}

.custom-block-image {
    display: block;
    width: 100%;
    height: clamp(150px, 20vw, 300px);
    object-fit: cover;
}

.custom-block .custom-btn {
    border-radius: 0;
    display: block;
}

/*---------------------------------------
  PROGRESS BAR
-----------------------------------------*/
.progress {
    background: var(--border-color);
    height: 5px;
}

.progress-bar {
    background: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM ICON COLOR
-----------------------------------------*/
.custom-icon {
    color: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM LIST
-----------------------------------------*/
.custom-list {
    margin-bottom: 0;
    padding-left: 0;
}

.custom-list-item {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*---------------------------------------
  CUSTOM TEXT BOX
-----------------------------------------*/
.custom-text-box {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    margin-bottom: 24px;
    padding: clamp(12px, 3vw, 40px);
}

.about-image2 {
    width: 100%;
    overflow: hidden;
    height: clamp(180px, 40vw, 420px);
}

@media (max-width: 768px) {
    .about-image2 {
        height: 250px !important;
        overflow: hidden;
    }

    .about-image2 img {
        width: 100%;
        height: 100% !important;
        overflow: hidden !important;
        object-fit: cover;
    }
}

.custom-text-box-image {
    border-radius: var(--border-radius-medium);
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    overflow: hidden;
}

.custom-text-box-icon {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--secondary-color);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    width: clamp(20px, 3vw, 25px);
    height: clamp(20px, 3vw, 25px);
    font-size: clamp(12px, 1.2vw, 18px);
    line-height: clamp(20px, 2vw, 30px);
}

/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR
-----------------------------------------*/
.avatar-image {
    border-radius: var(--border-radius-large);
    width: clamp(40px, 6vw, 65px);
    height: clamp(40px, 6vw, 65px);
    object-fit: cover;
}

/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: clamp(14px, 1.5vw, var(--btn-font-size));
    padding: clamp(10px, 1vw, 15px) clamp(15px, 2vw, 25px);
    font-weight: var(--font-weight-normal);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    color: var(--custom-btn-bg-color);
    margin-top: 8px;
    padding: clamp(8px, 1vw, 12px) clamp(12px, 2vw, 25px);
}

.custom-btn:hover {
    background: var(--primary-color);
    /* color: var(--white-color); */
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
    background: #e40001;
    border-color: transparent;
    color: var(--white-color);
}

/*---------------------------------------
  NAVIGATION
/* -----------------------------------------*/

.navbar {
    width: 100%;
    height: clamp(60px, 6vh, 60px);
    background: #1f5fff;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.nav-brand {
    color: white;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 20px);
    flex: 0 0 auto;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 3px 7px;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 30px);
    text-transform: uppercase;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
    font-size: clamp(12px, 1.2vw, 16px); /* scales between 12px and 16px */
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-icons {
    display: flex;
    align-items: center;
    /* centers icons vertically */
    gap: clamp(8px, 2vw, 15px);
    margin-right: 10px;
}

.icon-link {
    position: relative;
    color: #d8dde1;
    font-size: clamp(14px, 2vw, 18px);
    text-decoration: none;
    width: clamp(30px, 4vw, 40px);
    height: clamp(30px, 4vw, 40px);
    border: 2px solid #d8dde1;
    /* circle border */
    border-radius: 50%;
    /* makes it round */
    display: flex;
    align-items: center;
    /* center icon vertically */
    justify-content: center;
    /* center icon horizontally */
    transition: all 0.3s ease;
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.icon-link .count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgba(4, 206, 120, 1);
    color: white;
    font-size: clamp(10px, 1.5vw, 12px);
    padding: clamp(1px, 0.5vw, 2px) clamp(3px, 0.5vw, 6px);
    border-radius: 50%;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
}

.dropdown-menu li a {
    padding: 8px 15px;
    color: #333;
}

.dropdown-menu li a:hover {
    background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        right: 0;
        background: #1f5fff;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 10px 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
    }

    .nav-menu.show {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        background: #0d4dd8;
        box-shadow: none;
    }

    .dropdown-menu li a {
        color: white;
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    .dropdown-menu li a {
        display: block !important;
        width: 100%;
        padding: 0.25rem 1.5rem;
        color: #212529;
        text-decoration: none;
        text-align: left;
    }
}
@media (max-width: 1024px) {
    /* Make nav-icons stay in one line and not stretch */
    .navbar .nav-icons {
        display: flex !important;
        gap: 10px !important;
        position: relative !important;
        z-index: 1200 !important;
        flex-wrap: nowrap !important; /* prevent wrapping */
        align-items: center !important;
    }

    /* Make user dropdown open absolutely instead of pushing icons */
    .nav-icons .dropdown-menu {
        position: absolute !important; /* float above other icons */
        top: 100% !important; /* just below button */
        right: 0 !important;
        width: 200px !important;
        background: #1f5fff !important;
        /* color: white !important;*/
        padding: 0.5rem 0 !important;
        z-index: 1300 !important;
        display: none; /* hide by default */
    }

    .nav-icons .dropdown.show .dropdown-menu {
        display: block !important;
    }

    .nav-icons .dropdown-menu li a {
        color: white !important;
        padding: 0.5rem 1rem !important;
        display: block !important;
    }

    .nav-icons .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }
}

/*---------------------------------------
  SITE HEADER
-----------------------------------------*/
.site-header {
    background: #fff;
    padding: 12px 5%; /* changed to % for responsiveness */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* wrap elements on small screens */
}

.logo {
    width: 180px; /* scales down for mobile */
    height: auto;
    max-width: 277px;
}

.header-search {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border-radius: 30px;
    overflow: hidden;
    flex: 1 1 250px; /* allows search bar to shrink */
    max-width: 500px;
    margin: 10px 0; /* vertical spacing on wrap */
}

.header-search input {
    border: none;
    padding: 10px 15px;
    flex: 1;
    outline: none;
    background: #f5f7fa;
    font-size: clamp(14px, 2vw, 16px); /* responsive font */
}

.header-search button {
    background: #1f5fff;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-info-bg {
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px; /* reduce padding for smaller screens */
    flex: 1 1 auto;
    margin: 10px 0;
    clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.header-info-bg .info-box {
    display: flex;
    align-items: center;
    margin-left: 15px;
    flex-wrap: wrap; /* wrap icons/text on small screens */
}

.header-info .info-box i {
    font-size: clamp(20px, 3vw, 35px);
    color: #1f5fff;
    margin-right: 5px;
}

.header-info .info-subtext {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.4;
    color: #000d44;
}

.header-info small {
    color: #777;
    font-size: clamp(10px, 1.5vw, 12px);
}

.header-info strong {
    color: #000;
}

/*---------------------------------------
  HERO & HERO SLIDE
-----------------------------------------*/
.hero-section {
    background: url("../img/bg-hero.jpg") no-repeat center center/cover;
    padding: clamp(20px, 2vw, 96px);
}

.hero-left {
    padding: clamp(20px, 5vw, 40px);
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(12px, 1.2vw, 14px);
    color: #1f5fff;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 1.22px;
    vertical-align: middle;
}

/* h2 {
    font-size: 49px !important;
} */

.hero-title {
    color: #000d44;
    margin-top: 10px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-style: Bold;
    vertical-align: middle;
    width: 100%;
    font-size: clamp(21px, 4vw, 49px);
    line-height: 1.2;
}

.hero-offer {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 2vw, 22.5px);
    line-height: 1.2;
    letter-spacing: 0%;
    vertical-align: middle;
    color: black;
    margin: 1.5rem 0;
}

.hero-offer span {
    color: #22c55e;
    font-weight: bold;
}

.hero-btn {
    display: inline-block;
    padding: clamp(8px, 1vw, 10px) clamp(20px, 2vw, 25px);
    font-size: clamp(12px, 1.2vw, 16px);
    color: white;
    background: linear-gradient(180deg, #1f5fff 0%, #95b5fd 100%);
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: #0d4dd8;
}
.scrolling-image-container {
    position: relative;
    width: 100%;
    height: clamp(280px, 50vw, 500px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-img {
    position: absolute;
    left: 50%;
    top: -100%; /* start above container */
    transform: translateX(-50%) scale(1);
    max-width: clamp(150px, 25vw, 350px);
    opacity: 0;
    transition: all 0.5s ease;
}
.scroll-img.active {
    top: 50%;
    transform: translate(-50%, -50%) scale(2.1); /* center + zoom */
    opacity: 1;
    z-index: 2;
}
.scroll-img.exit {
    top: 120%; /* slide out bottom */
    transform: translateX(-50%) scale(1);
    opacity: 0;
    z-index: 1;
}

/* Tablets */
@media (max-width: 992px) {
    .hero-section {
        padding: 20px 30px;
    }

    .hero-left {
        text-align: center;
        padding: 20px 15px;
    }

    .scrolling-image-container {
        height: 350px;
    }
}

/* Mobiles */
@media (max-width: 576px) {
    .hero-section {
        padding: 15px;
    }

    .hero-title {
        color: #000d44;
        margin-top: 10px;
        font-family: "Outfit", sans-serif;
        font-weight: 700;
        font-style: Bold;
        vertical-align: middle;
        width: 100%;
        font-size: 21px !important;
    }

    .hero-offer {
        font-size: 16px;
    }

    .hero-btn {
        font-size: 12px;
        padding: 10px 20px;
    }

    .scrolling-image-container {
        height: 280px;
    }

    .scroll-img {
        max-width: 200px;
    }

    .hero-right {
        display: none;
    }
}

/* Product Section */
.product-card {
    border-radius: 20px;
    padding: clamp(15px, 2vw, 20px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    height: 100%;
    transition: all 0.3s ease;
}

.product-card.card-1 {
    background-color: #e6f1ff;
}

.product-card.card-2 {
    background-color: #eae9ff;
}

.product-card.card-3 {
    background-color: #e5f9f1;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem; /* spacing between text and image */
}

/* Updated card-text for perfect iPad and small screen responsiveness */
.card-text {
    flex: 1 1 45%;
    min-width: 200px; /* prevents collapsing on smaller screens */
    text-align: left;
}

.card-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 200px;
}

.discount-text {
    color: #1f5fff;
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 5px;
    display: block;
}

.product-price {
    margin: 0 0 15px;
}

.product-price .current {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    color: rgba(49, 76, 143, 1);
}

.product-price .old {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-img {
    width: 100%; /* scales with container */
    max-width: 225px; /* prevents growing too large on desktop */
    height: auto; /* keeps aspect ratio */
    opacity: 1;
    top: auto;
    left: auto;
}

.shop-btn {
    background: linear-gradient(180deg, #1f5fff 0%, #95b5fd 100%);
    color: #fff;
    padding: clamp(8px, 1.5vw, 10px) clamp(20px, 2vw, 27px); /* fluid padding */
    border-radius: 30px;
    font-weight: 700;
    font-size: clamp(12px, 1.2vw, 14px); /* fluid font size */
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0px 3px 15px 0px rgba(176, 186, 211, 1);
}

.shop-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.product-card:hover {
    background-color: #c8d1dd;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-card:hover .card-text {
    transform: translateY(-5px);
}

.product-img,
.card-text {
    transition: transform 0.3s ease;
}

@media (max-width: 485px) {
    .product-card .card-content {
        flex-wrap: nowrap;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .product-card .card-text {
        flex: 1 1 55%;
        min-width: 0;
    }

    .product-card .card-image {
        flex: 0 1 45%;
        min-width: 0;
        justify-content: flex-end;
    }

    .product-card .product-img {
        max-width: 150px;
    }
}

@media (max-width: 310px) {
    .product-card .card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card .card-image {
        width: 100%;
        justify-content: flex-start;
    }

    .product-card .product-img {
        max-width: 180px;
    }
}

/* MOBILE VIEW FIX FOR CATEGORY + PRODUCTS */
@media (max-width: 767px) {
    .product-section {
        display: flex !important;
        flex-direction: column !important; /* stack vertically */
        align-items: stretch !important; /* prevent centering gap */
        gap: 0px !important; /* minimal space between sidebar & products */
    }

    .products {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
        gap: 15px;
    }
}

/* Category Section  */
.shop-category {
    background: transparent;
}

.shop-category h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 36px !important;
    line-height: 46.01px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
}

/* .category-row {
    display: flex;
    overflow: hidden;
    justify-content: center;
} */

.category-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.category-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.category-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
}

.category-row .col-auto {
    flex: 0 0 auto;
    /* prevents shrinking, ensures horizontal overflow */
}

.category-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease;
}

.arrow-btn:hover {
    background: #f3f3f3;
}

.category-card {
    flex-shrink: 0;
    width: 220px;
    height: 195px;
    background: #f5f7fa;
    border-radius: 20px;
    text-align: center;
    padding: 20px 15px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
    padding-top: 12px;
    margin-top: 12px;
    position: relative;
    font-family: "Outfit", sans-serif;
}

.category-title::before {
    content: "";
    display: block;
    width: 190px;
    /* fixed width */
    border-top: 2px solid #ffffff;
    margin-bottom: 12px;
    /* spacing before text */
}

.category-card:hover {
    background-color: #c8d1dda6;
}

.category-card img {
    object-fit: contain;
    margin-bottom: 12px;
    width: 134px;
    height: 110px;
    transition: transform 0.3s ease;
    /* smooth animation */
}

.category-card img:hover {
    transform: scale(1.6);
    /* zoom in (get bigger) */
}

.category-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
}

/* Latest Product */
.custom-latest-products {
    background: #fff;
}

.custom-section-title {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 36px !important;
    line-height: 46.01px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
}

.custom-filter-buttons {
    display: flex;
    gap: 10px;
}

.custom-filter-btn {
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    background: linear-gradient(180deg, #c2d4ff 37.5%, #f0f4ff 100%);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    color: #000d44;
    box-shadow: 0px 1px 2.6px 0px #b0bad3;
}

.custom-filter-btn.active,
.custom-filter-btn:hover {
    background: linear-gradient(180deg, #1f5fff 0%, #95b5fd 100%);
    color: white;
    box-shadow: 0px 3px 15px 0px #b0bad3;
}

@media (max-width: 992px) {
    .section-title,
    .shop-category .section-title {
        font-size: 28px !important;
        line-height: 32px;
    }
    .custom-section-title {
        font-size: 28px !important;
        line-height: 32px;
    }

    .custom-filter-btn {
        padding: 6px 14px;
        font-size: 13px;
        border-radius: 24px;
    }

    .custom-filter-btn.active {
        /* ensure the active state scales with the smaller button */
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 756px) {
    .section-title,
    .shop-category .section-title {
        font-size: 20px !important;
        line-height: 28px;
    }
    .custom-section-title {
        font-size: 20px !important;
        line-height: 28px;
    }

    .custom-filter-btn {
        padding: 6px 14px;
        font-size: 13px;
        border-radius: 24px;
    }

    .custom-filter-btn.active {
        /* ensure the active state scales with the smaller button */
        padding: 6px 14px;
        font-size: 13px;
    }
}

.customer-product-grid {
    /* display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* 4 equal columns */
    gap: 25px;
}

.customer-product-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.custom-product-card {
    flex: 0 0 calc(20% - 20px);
    min-width: 220px;
    padding: 15px;
    text-align: center;
    min-width: unset;
    /* remove forced min-width */
    flex: unset;
    /* remove flex behaviour */
}

.custom-product-top {
    background: #f8faff;
    position: relative;
    padding: 15px;
    text-align: center;
    border-radius: 20px;
}

.custom-product-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 14px auto;
}

.custom-sale-badge {
    background: #00d084;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.custom-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-icon-btn {
    background: #fffffff7;
    border: none;
    width: 40px;
    /* Equal width */
    height: 40px;
    /* Equal height */
    border-radius: 50%;
    /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    color: grey;
}

/* .custom-product-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 14px;

} */

.custom-cart-btn {
    background: linear-gradient(180deg, #1f5fff 0%, #95b5fd 100%);
    color: #fff;
    padding: 6px 13px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.3s ease;
}

.custom-cart-btn:hover {
    background: linear-gradient(180deg, #1f5fff 0%, #95b5fd 100%);
}

.custom-product-category {
    font-size: 14px !important;
    color: rgba(120, 128, 148, 1);
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    /* font-style: italic; */
    font-weight: 600;
}

.custom-product-info {
    background: #fff;
    padding: 15px;
    text-align: left;
    margin-top: 0.5rem;
}

.custom-product-name {
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    color: rgba(0, 13, 68, 1);
    line-height: 25.56px;
    margin-top: 0.5rem;
}

.custom-product-price {
    display: flex;
    gap: 6px;
    justify-content: start;
    align-items: left;
    font-size: 16px;
    font-weight: 700;
}

.custom-new-price {
    color: rgba(31, 95, 255, 1);
    font-weight: 700;
}

.custom-old-price {
    text-decoration: line-through;
    color: rgba(120, 128, 148, 1);
    font-size: 16px;
}

/* Hide by default */
.custom-product-actions,
.custom-cart-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Show on hover */
.custom-product-card:hover .custom-product-actions,
.custom-product-card:hover .custom-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Optional: add a little zoom effect on hover */
.custom-product-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.custom-product-card:hover {
    transform: translateY(-4px);
    /* box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.08); */
}

/* VHPL Section */
.vhpl-section {
    position: relative;
    background:
        linear-gradient(
            267deg,
            rgba(0, 0, 0, 0.15) 10%,
            rgba(0, 0, 0, 0.75) 75%
        ),
        url("../img/bg-2.jpg") center / cover no-repeat;
    padding: clamp(50px, 8vw, 90px) 5%;
    color: #fff;
}

/* Layout */
.vhpl-row {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

/* Content box */
.vhpl-text {
    max-width: 680px;
}

/* Heading */
.vhpl-text h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.25;
    margin-bottom: 2rem;
    text-align: left;
}

/* Features grid */
.vhpl-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem 2rem;
}

/* Feature item */
.vhpl-feature {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

/* Icon wrapper */
.vhpl-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vhpl-icon img {
    width: 26px;
    height: auto;
}

/* Feature text */
.vhpl-subtitle {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.3;
    color: #fff;
    max-width: 220px;
}

@keyframes moveSideways {
    0% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }
}

/* RESPONSIVE: Tablet & Mobile */
@media (max-width: 1024px) {
    .vhpl-text {
        flex: 1 1 50%;
    }
    .vhpl-image {
        flex: 1 1 45%;
    }
}

@media (max-width: 690px) and (min-width: 350px) {
    .vhpl-section {
        padding: 40px 4%;
    }

    .vhpl-row {
        min-height: 280px;
    }

    .vhpl-text h2 {
        font-size: clamp(22px, 3.2vw, 32px);
        margin-bottom: 1.4rem;
    }

    .vhpl-features {
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 900px) and (min-width: 350px) {
    .vhpl-section {
        padding: 40px 4%;
    }

    .vhpl-row {
        min-height: 350px;
    }

    .vhpl-text h2 {
        font-size: clamp(22px, 3.2vw, 32px);
        margin-bottom: 1.4rem;
    }

    .vhpl-features {
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 580px) {
    .vhpl-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .vhpl-text {
        flex: 1 1 100%;
        margin-bottom: 2rem;
    }

    .vhpl-features {
        grid-template-columns: 1fr; /* stack vertically on mobile */
        gap: 1rem;
    }

    .vhpl-image {
        display: none; /* hide image on mobile */
    }

    .vhpl-text h2 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .vhpl-subtitle {
        max-width: 100%; /* feature text fills the box */
    }
}

/* .vhpl-image img {
    position: relative;
    bottom: 8%;
    right: -14%;
    width: 100%;
    max-width: 731px;
    height: auto;
} */

/* Ward Furniture */
.ward-furniture-section {
    padding: 40px;
    font-family: "Outfit", sans-serif;
}

.ward-furniture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ward-furniture-title {
    font-size: 24px;
    font-weight: bold;
    color: #0a1a3f;
}

.ward-furniture-view-all {
    background: #eef3ff;
    color: #1d4ed8;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ward-furniture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ward-furniture-card {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    height: 300px;
    /* normal card height */
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    align-items: center;
    /* horizontal center */
    text-align: center;
    position: relative;
    margin-top: 3rem;
}

.ward-furniture-card img {
    max-height: 200px;
    /* smaller image */
    object-fit: contain;
    margin-bottom: 8px;
}

.ward-furniture-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ward-furniture-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
}

.ward-furniture-category {
    color: #666;
    font-size: 12px;
    margin: 5px 0;
}

.ward-furniture-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.ward-furniture-price {
    font-size: 14px;
}

.ward-furniture-price .current {
    color: #1d4ed8;
    font-weight: bold;
}

.ward-furniture-price .old {
    color: #999;
    text-decoration: line-through;
}

/* Promo Card */
.ward-furniture-promo {
    background: #e6e9f5;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 400px;
    grid-column: -2 / -1;
    /* Always stick to the last column */
}

.ward-furniture-promo img {
    max-height: 200px;
    /* slightly bigger image */
    object-fit: contain;
    margin-top: 10px;
}

.ward-furniture-promo-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.ward-furniture-shop-btn {
    background: linear-gradient(180deg, #1f5fff 37.5%, #e3ebff 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

/*
.ward-furniture-promo img {
    max-height: 120px;
    object-fit: contain;
    margin-top: 10px;
} */

@media (max-width: 1024px) {
    .ward-furniture-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ward-furniture-promo {
        grid-column: -2/-1;
    }
}

@media (max-width: 768px) {
    .ward-furniture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ward-furniture-promo {
        grid-column: span 2;
        /* take full width at this size */
    }
}

/* Examination Tables */

.examination-tables-section {
    padding: 40px 5%;
    font-family: "Outfit", sans-serif;
}

.examination-tables-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.examination-tables-title {
    font-size: 24px;
    font-weight: bold;
    color: #0a1a3f;
}

.examination-tables-view-all {
    background: #eef3ff;
    color: #1d4ed8;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.examination-tables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.examination-tables-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    height: 300px;
    /* smaller normal card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* center vertically */
    align-items: center;
    /* center horizontally */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.examination-tables-card img {
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 8px;
    width: 100%;
}

/* Promo Card */
.examination-tables-promo {
    background: #e6e9f5;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.examination-tables-promo img {
    max-height: 200px;
    object-fit: contain;
    margin-top: 10px;
}

/* Badge */
.examination-tables-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
}

/* .examination-tables-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
} */

.examination-tables-category {
    color: #666;
    font-size: 12px;
    margin: 5px 0;
}

.examination-tables-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.examination-tables-price {
    font-size: 14px;
}

.examination-tables-price .current {
    color: #1d4ed8;
    font-weight: bold;
}

.examination-tables-price .old {
    color: #999;
    text-decoration: line-through;
}

.examination-tables-promo {
    background: #e6e9f5;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
    grid-column: 1/2;
    /* Always stick to the first column */
}

.examination-tables-promo-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.examination-tables-shop-btn {
    background: linear-gradient(180deg, #1d4ed8, #2563eb);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

@media (max-width: 1024px) {
    .examination-tables-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .examination-tables-promo {
        grid-column: 1 / 2;
    }
}

@media (max-width: 768px) {
    .examination-tables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .examination-tables-promo {
        grid-column: span 2;
    }
}

/* Testimonial */

.testimonials-section {
    background: rgb(228 249 255 / 47%);
    background-size: cover;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-title h2 {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 40px;
    color: #000c3f;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Show 2 testimonials per row on desktop/tablet */
.testimonials-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    background: #fff;
    border-radius: 16px;
    margin: 0;
    padding: 30px;
    text-align: left;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.04);
}

.stars {
    color: gold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Card text */
.card p {
    color: #666;
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Profile */
.profile {
    display: flex;
    align-items: center;
}

.profile img {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border-radius: 50%;
    margin-right: 15px;
}

.profile h4 {
    margin: 0;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: bold;
    color: #000c3f;
}

.profile span {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: #999;
}

/* Quote */
.quote {
    color: #00c27a;
    font-size: clamp(3rem, 15vw, 7rem);
    position: absolute;
    bottom: -58px;
    right: 26px;
    transform: scale(-1, 1);
}

/* Dots */
.dots {
    margin-top: 20px;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dots .active {
    background: #000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slider {
        flex-direction: column; /* stack cards vertically */
        gap: 20px; /* spacing between cards */
    }

    .testimonials-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*---------------------------------------
  FEATURE BLOCK
-----------------------------------------*/
.featured-block {
    text-align: center;
    transition: all 0.5s ease;
    min-height: 256px;
    padding: 15px;
}

.featured-block:hover {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.featured-block:hover .featured-block-image {
    transform: scale(0.75);
}

.featured-block-image {
    display: block;

    margin: auto;
    transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
    margin-top: 0;
}

.featured-block-text {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
    margin-top: 20px;
    transition: all 0.5s;
}

/*---------------------------------------
  ABOUT
-----------------------------------------*/
.about-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* .about-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 350px;
  height: 400px;
  object-fit: cover;
} */

.about-image {
    border-radius: 20px;
    display: block;
    max-width: 33rem;
}

.custom-text-block {
    padding: 60px 40px;
}

/*---------------------------------------
  COUNTER NUMBERS
-----------------------------------------*/
.counter-thumb {
    margin: 20px;
    margin-bottom: 0;
}

.counter-number,
.counter-text {
    color: var(--secondary-color);
    display: block;
}

.counter-number,
.counter-number-text {
    color: var(--primary-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
}

/*---------------------------------------
  VOLUNTEER
-----------------------------------------*/
.volunteer-section {
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.volunteer-section::after {
    content: "";
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -110px;
    right: -80px;
    width: 350px;
    height: 350px;
}

.volunteer-form {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

.volunteer-image {
    border-radius: 100%;
    display: block;
    margin: auto;
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.volunteer-section .custom-block-body {
    max-width: 440px;
    margin: 0 auto;
}

.volunteer-section .custom-block-body p {
    line-height: 1.7;
}

/*---------------------------------------
  DONATE
-----------------------------------------*/
.donate-section {
    background-image: url("../images/brochurebg2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 80px;
    padding-bottom: 100px;
}

.donate-form {
    background: #f3f0f0b3;
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 50px;
}

/*---------------------------------------
  NEWS
-----------------------------------------*/
.news-detail-header-section {
    background-image: url("../images/news/close-up-volunteer-oganizing-stuff-donation.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.news-block-top {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.news-block-two-col-image-wrap {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 150px;
    margin-right: 20px;
}

.news-category-block {
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
}

.news-category-block .category-block-link {
    color: var(--white-color);
    margin-right: 10px;
}

.news-block-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-block-title-link {
    color: var(--dark-color);
}

.news-detail-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-size: var(--h5-font-size);
    font-weight: var(--font-weight-semibold);
    color: var(--site-footer-bg-color);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 90px 50px 50px 50px;
    text-align: center;
}

blockquote::before {
    content: "“";
    color: var(--custom-btn-bg-color);
    font-size: 100px;
    line-height: 1rem;
    display: block;
}

.author-comment-link {
    font-size: var(--copyright-font-size);
    font-weight: var(--font-weight-semibold);
}

.search-form {
    margin-top: 20px;
}

.category-block,
.subscribe-form {
    margin-top: 40px;
    margin-bottom: 40px;
}

.category-block-link {
    font-size: var(--copyright-font-size);
    margin-top: 5px;
    margin-bottom: 5px;
}

.category-block-link:hover {
    color: var(--primary-color);
}

.badge {
    background: var(--secondary-color);
    border-radius: var(--border-radius-medium);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding-bottom: 2px;
}

.tags-block-link {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    display: inline-block;
    font-size: var(--copyright-font-size);
    line-height: normal;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 15px;
}

.tags-block-link:hover {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: -30px;
    margin: auto;
    width: 200px;
    height: 200px;
}

/* .cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
} */

.cta-section::after {
    content: "";
    /* border: 20px solid var(--custom-btn-bg-color); */
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -100px;
    right: 0;
    /* left: 0; */
    margin: auto;
    width: 198px;
    height: 186px;
}

/*---------------------------------------
  TESTIMONIAL CAROUSEL
-----------------------------------------*/
.testimonial-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.testimonial-section::before {
    content: "";
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: -30px;
    margin: auto;
    width: 250px;
    height: 250px;
}

.testimonial-section::after {
    content: "";
    background: var(--custom-btn-bg-color);
    background: #4043a9;
    /* #4043a9 */
    border-radius: 50%;
    position: absolute;
    bottom: -110px;
    right: -80px;
    width: 350px;
    height: 350px;
}

#testimonial-carousel .carousel-caption {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
}

#testimonial-carousel .carousel-title {
    background: var(--section-bg-color);
    line-height: normal;
    margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
    content: open-quote;
    color: var(--p-color);
    font-size: var(--h1-font-size);
    position: relative;
    top: 10px;
    right: 10px;
}

#testimonial-carousel .carousel-title::after {
    content: close-quote;
    color: var(--p-color);
    font-size: var(--h1-font-size);
    position: relative;
    top: 10px;
    left: 10px;
}

/* #testimonial-carousel .carousel-title {
    quotes: "“" "”" "‘" "’";
} */

#testimonial-carousel .carousel-name {
    background: var(--primary-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: auto;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
    font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
    position: relative;
    top: 150px;
    bottom: auto;
    margin-top: 50px;
    margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
    text-indent: inherit;
    background: transparent;
    margin: 0 10px;
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
    width: 45px;
    height: 45px;
}

#testimonial-carousel .carousel-indicators .avatar-image {
    width: 45px;
    height: 45px;
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
    background: transparent;
    width: 50px;
    height: 50px;
}

/*---------------------------------------
  CONTACT
-----------------------------------------*/
.contact-section {
    background: var(--white-color);
}

.contact-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 40px;
}

.contact-info-wrap {
    padding-top: 40px;
}

.contact-image-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    width: 100%;
}

/* MOBILE VIEW FIX — move image above the form */
@media (max-width: 768px) {
    /* Stack image first, form next */
    .contact-form-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important; /*  reverse order on mobile */
        align-items: center !important;
    }

    /* Make image visible and full width */
    .contact-form-wrapper .contact-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .contact-form-wrapper .contact-image img {
        width: 60% !important;
        height: auto !important;
    }

    /* Make form full width below the image */
    .contactform {
        width: 100% !important;
        padding: 20px !important;
    }

    /* Stack info and form sections vertically */
    .contact-container {
        display: block !important;
    }

    .contact-info {
        text-align: center !important;
    }
}

/*---------------------------------------
  CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
    background-color: #ffffffde;
    box-shadow: none;
    border: 0;
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
    border-color: var(--secondary-color);
}

.custom-form label {
    margin-bottom: 10px;
}

.custom-form .form-check-group {
    margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
    padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
    padding-right: 12px;
    padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
    font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
    position: relative;
    height: 100%;
    padding-left: 0;
}

.custom-form .input-group-text {
    background: var(--secondary-color);
    border: 0;
    color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.form-check-radio .form-check-input[type="radio"] {
    background-color: var(--section-bg-color);
    border-radius: 0.25rem;
    border: 0;
    box-shadow: none;
    outline: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 25px 50px;
    transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type="radio"] {
    background-image: none;
}

.form-check-radio .form-check-input:checked[type="radio"] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
    color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--white-color);
}

.input-group-file {
    border-radius: 0.25rem;
    padding: 13px 0.75rem;
}

.input-group-file input[type="file"] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
    padding: 0;
}

.input-group-file .input-group-text {
    background: transparent;
    color: inherit;
    margin-bottom: 0;
    padding: 0;
}

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s;
    margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
}

/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM
-----------------------------------------*/
.contact-form .form-control {
    background: var(--white-color);
}

.search-form {
    position: relative;
}

.search-form .form-control {
    padding-right: 50px;
}

.search-form button[type="submit"] {
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--p-color);
    width: 50px;
    padding: 12px;
}

.search-form button[type="submit"]:hover {
    background: transparent;
    color: var(--dark-color);
}

.subscribe-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 30px;
}

.subscribe-form .form-control {
    background: var(--white-color);
}

.donate-form .form-control {
    margin-bottom: 0;
}

/* Footer Base */
.footer {
    background:
        linear-gradient(
            267.38deg,
            rgb(255 255 255 / 76%) 5.92%,
            rgb(247 247 247 / 66%) 71.22%
        ),
        url(../img/footer-bg.jpg) center / cover no-repeat;
    padding: 50px 20px 20px;
    color: #333;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 220px;
    margin: 10px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
    /* Needed for ::after */
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1f5fff 0%, rgba(31, 95, 255, 0) 100%);
}

.footer-col p {
    font-size: 16px !important;
    color: #788094;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    color: #788094;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.footer-col ul li a {
    text-decoration: none;
    color: #788094;
    transition: 0.3s;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.footer-col ul li a:hover {
    color: #1e40af;
}

/* Contact Info */
.contact-info li {
    text-decoration: none;
    color: #788094;
    transition: 0.3s;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-align: left;
}

/* Social Links */
.social-links {
    display: flex; /* Make icons horizontal */
    justify-content: flex-start; /* Align icons left (or use center if needed) */
    align-items: center; /* Vertically center icons */
    gap: 10px; /* Add space between icons */
}
.social-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    font-size: 16px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: normal;
    text-align: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: #1e40af;
    color: #fff;
}

/* Newsletter */
.newsletter {
    display: flex;
    margin-top: 10px;
}

.newsletter input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.newsletter button {
    background: #1e40af;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: #0f235b;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #ddd;
    background: #050c14;
    text-align: center;
    /* margin-top: 20px; */
    /* padding-top: 15px; */
    padding: 12px 84px;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*---------------------------------------
  SOCIAL ICON
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--site-footer-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--copyright-font-size);
    /* display: block; */
    margin-right: 5px;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: normal;

    display: flex !important;
    align-items: center;
    justify-content: center;
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (min-width: 1600px) {
    .featured-block {
        min-height: inherit;
    }

    .volunteer-section::after {
        width: 450px;
        height: 450px;
    }

    .volunteer-image {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 1170px) {
    /* #hero-slide .carousel-image {
        height: 100%;
        object-fit: cover;
    } */
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    /* h4 {
        font-size: 28px;
    } */

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    /* .section-padding {
        padding-top: 20px;
        padding-bottom: 20px;
    } */

    .hero-form {
        padding-bottom: 40px;
    }

    .donate-form {
        padding: 35px;
    }

    .navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 30px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 8px 20px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        position: relative;
        margin-top: 5px;
        margin-bottom: 20px;
        left: 20px;
    }

    .site-header .social-icon {
        text-align: left;
        margin-top: 5px;
    }

    .hero-section-full-height {
        height: inherit;
    }

    .carousel:hover .carousel-control-next-icon,
    .carousel:hover .carousel-control-prev-icon {
        opacity: 1;
    }

    /* #hero-slide .carousel-item {
        height: inherit;
    } */

    .carousel-control-prev {
        left: 12px;
    }

    .carousel-control-next {
        right: 12px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        opacity: 1;
        width: 60px;
        height: 60px;
    }

    .news-detail-header-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .cta-section::before {
        width: 150px;
        height: 150px;
    }

    .cta-section::after {
        bottom: -60px;
        width: 100px;
        height: 100px;
    }

    .cta-section .row {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .volunteer-section::after {
        width: 300px;
        height: 300px;
    }

    .testimonial-section::before {
        width: 150px;
        height: 150px;
    }

    .testimonial-section::after {
        width: 200px;
        height: 200px;
    }

    #testimonial-carousel .carousel-caption {
        padding-top: 0;
    }

    blockquote {
        padding: 70px 30px 30px 30px;
    }

    /* .about-image {
        width: inherit;
        height: 450px;
    } */

    .volunteer-image {
        width: 250px;
        height: 250px;
        margin: 0;
    }

    .custom-text-block {
        padding: 20px 0 0 0;
    }

    .custom-text-box,
    .volunteer-form {
        padding: 30px;
    }

    .counter-number,
    .counter-number-text {
        font-size: var(--h2-font-size);
    }

    .contact-info-wrap {
        padding-top: 0;
    }

    .site-footer {
        padding-top: 50px;
    }

    .copyright-text-wrap {
        justify-content: center;
    }

    .site-footer-bottom {
        text-align: center;
        margin-top: 50px;
    }

    .site-footer-bottom .footer-menu {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 580px) {
    .hero-section-full-height,
    #hero-slide .carousel-item,
    .carousel-image {
        /* min-height: 520px; */
        /* min-height: 365px; */
        min-height: 300px;
    }

    #hero-slide .carousel-caption {
        clip-path: polygon(100% 100%, 100% 100px, 0 100%);
        padding-right: 50px;
        min-width: inherit;
        min-height: inherit;
    }

    #hero-slide h1 {
        font-size: 19px !important;
    }

    #hero-slide p {
        font-size: 11px !important;
    }

    h2 {
        text-align: center !important;
    }

    .about-image {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    /* h4 {
        font-size: 22px;
    } */

    h5 {
        font-size: 20px;
    }

    #hero-slide .carousel-caption {
        min-width: inherit;
        padding-bottom: 30px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 45px;
        height: 45px;
    }

    .volunteer-image {
        width: 150px;
        height: 150px;
    }

    .volunteer-section::after {
        width: 200px;
        height: 200px;
    }

    .testimonial-section::before {
        top: -50px;
        width: 100px;
        height: 100px;
    }

    .testimonial-section::after {
        bottom: -150px;
        width: 200px;
        height: 200px;
    }

    .social-share .tags-block {
        margin-bottom: 10px;
    }

    .donate-form {
        padding: 25px;
    }

    .site-footer-title {
        color: #e73738;
    }

    .certifications-scroll-wrapper {
        position: relative;
        overflow: hidden;
    }

    #certifications-carousel {
        display: flex;
        animation: scroll 30s linear infinite;
    }

    .cert {
        flex: 0 0 auto;
        width: 200px;
        /* Adjust size */
        margin-right: 20px;
        /* Adjust space between images */
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    /* Mobile Responsive Styles */
    @media (max-width: 767px) {
        /* Reduce the scrolling duration for smaller screens */
        .certifications-scroll {
            animation: scrollLeft 15s linear infinite;
            /* Faster scroll on mobile */
        }

        /* On mobile, show fewer items (e.g., 1 or 2 items visible) */
        .certifications-scroll .col-lg-2 {
            flex: 0 0 80%;
            /* Adjust item size */
            margin-right: 10px;
            /* Smaller margin between items */
        }

        /* Make images responsive on smaller screens */
        .certifications-scroll img {
            max-width: 100%;
            /* Ensure images fit within their container */
        }
    }

    /* Tablet (between 768px and 1024px) */
    @media (min-width: 768px) and (max-width: 1024px) {
        .certifications-scroll {
            animation: scrollLeft 18s linear infinite;
            /* Slightly faster scroll for tablets */
        }

        .certifications-scroll .col-lg-2 {
            flex: 0 0 45%;
            /* Show 2 items per row */
            margin-right: 15px;
        }
    }

    /* Desktop (larger screens) */
    @media (min-width: 1024px) {
        .certifications-scroll {
            animation: scrollLeft 20s linear infinite;
            /* Default scroll speed for desktop */
        }

        .certifications-scroll .col-lg-2 {
            flex: 0 0 20%;
            /* Default size for larger screens */
            margin-right: 15px;
        }
    }

    /* font-size: 33px; */
    .cta-section {
        padding: 60px 0;
        /* Standard padding */
        background-color: #f8f9fa;
        /* Section background */
    }

    .sign h2 {
        font-size: 40px;
        font-weight: 700;
        color: #333;
        text-align: center;
    }

    /* Responsive adjustments */
    @media (max-width: 1199px) {
        .cta-section {
            padding: 50px 0;
            /* Adjust padding for tablets and smaller screens */
        }

        .sign h2 {
            font-size: 36px;
            /* Reduce font size on medium screens */
        }
    }

    @media (max-width: 991px) {
        .cta-section {
            padding: 40px 0;
            /* Less padding for small tablets */
        }

        .sign h2 {
            font-size: 32px;
            /* Further reduce font size */
        }

        /* If you had buttons like "Make a donation" or "Become a volunteer",
           you can make them stack vertically on smaller screens */
        .col-lg-5 {
            text-align: center;
            margin-top: 20px;
        }

        .col-lg-5 a {
            display: block;
            margin-bottom: 15px;
            /* Space between buttons */
        }
    }

    @media (max-width: 767px) {
        .cta-section {
            padding: 30px 0;
            /* Less padding for smaller screens */
        }

        .sign h2 {
            font-size: 28px;
            /* Reduce font size further on small screens */
        }

        .container {
            padding-left: 15px;
            padding-right: 15px;
            /* Ensure proper padding for mobile screens */
        }

        /* Ensure the text aligns properly and takes up more space on small screens */
        .sign h2 {
            font-size: 26px;
            /* Adjust font size for readability */
            text-align: center;
            /* Center-align the text on very small screens */
        }
    }

    /* Optional: Button styling for small screens (if you un-commented the buttons) */
    .custom-btn {
        font-size: 16px;
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        text-align: center;
    }

    .custom-btn:hover {
        background-color: #0056b3;
    }

    .custom-text-block {
        padding: 20px;
        /* Default padding */
        background-color: #f9f9f9;
        /* Light background for readability */
        border-radius: 8px;
        /* Rounded corners for the block */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        /* Slight shadow for separation */
    }

    .custom-text-block h2 {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .custom-text-block p {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
    }

    .custom-text-block .text-muted {
        font-size: 14px;
        color: #777;
    }

    /* Responsive Styles */
    @media (max-width: 1199px) {
        .custom-text-block h2 {
            font-size: 28px;
            /* Adjust font size for medium screens */
        }

        .custom-text-block p {
            font-size: 15px;
            /* Slightly smaller font for paragraphs */
        }
    }

    @media (max-width: 991px) {
        .custom-text-block {
            padding: 15px;
            /* Reduce padding for small tablets */
        }

        .custom-text-block h2 {
            font-size: 24px;
            /* Reduce heading size */
        }

        .custom-text-block p {
            font-size: 14px;
            /* Further reduce paragraph font size */
        }
    }

    @media (max-width: 767px) {
        .custom-text-block {
            padding: 10px;
            /* Further reduce padding on mobile */
        }

        .custom-text-block h2 {
            font-size: 22px;
            /* Smaller heading on mobile */
        }

        .custom-text-block p {
            font-size: 14px;
            /* Ensure readability on mobile */
        }

        .custom-text-block .text-muted {
            font-size: 12px;
            /* Smaller subtitle for mobile */
        }
    }

    @media (max-width: 480px) {
        .custom-text-block h2 {
            font-size: 25px;
            /* Further reduce heading font size on very small screens */
        }

        .custom-text-block p {
            font-size: 13px;
        }

        .custom-text-block .text-muted {
            font-size: 15px;
            text-align: center;
            /* Even smaller subtitle */
        }
    }

    @media (max-width: 767px) {
        .contact-info-wrap,
        .custom-form {
            text-align: center;
        }

        .contact-image-wrap {
            justify-content: center;
        }

        .contact-info p {
            text-align: center;
        }

        .contact-info .custom-btn {
            margin: 0 auto;
        }
    }
}

/* new css */

:root {
    --light-green: #f0f8ff;
}

.featured-block {
    width: 100%;
    /* Ensures the block takes full width of the column */
    height: 190px;
    /* Set a fixed height for each block */
    overflow: hidden;
    /* Hide overflow if image is larger */
}

.featured-block img {
    max-height: 100%;
    /* Ensure the image does not exceed the block height */
    max-width: 100%;
    /* Ensure the image does not exceed the block width */
    object-fit: contain;
    /* Ensure image scales well within the div */
}

.col-lg-3 {
    width: 20% !important;
}

/* General styling for product container */

.social-icon-link {
    /* display: flex !important;
    align-items: center;
    justify-content: center; */
}

.pb-5 {
    padding: 5rem !important;
}

.certifications-scroll-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Hides the scrollbar */
    position: relative;
    width: auto;
    /* Ensure the wrapper takes full width */
}

.certifications-scroll {
    display: flex;
    scroll-behavior: smooth;
    /* Smooth scrolling effect */
    overflow-x: hidden;
    /* Hides horizontal scrollbar */
    width: 100%;
}

.certifications-scroll .cert {
    flex: 0 0 auto;
    width: 200px;
    /* Width of each certification image */
    margin: 10px;
}

/* .scroll-button {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.left-btn1 {
    left: 0;
}

.right-btn1 {
    right: 0;
} */

/* Style for product section */
.product-scroll-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.scrollable-product-container {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    /* Smooth scrolling effect */
}

.product-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    width: 30%;
    /* Ensures the container occupies 30% of the space */
    height: 300px;
    /* Fixed height for consistent size of the product container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    /* Adds space between product containers */

    animation: scrollLeft 20s linear infinite;
}

.product-container:hover {
    transform: translateY(-10px);
}

.product-image-container {
    position: relative;
    width: 100%;
    /* Ensures the container takes up the full width of its parent */
    height: 70%;
    /* Takes up 70% of the container's height */
    overflow: hidden;
    border-radius: 8px;
    /* Optional: rounded corners for the image */
}

.product-image {
    width: 100%;
    /* Makes sure the image fills the container */
    height: 100%;
    /* Ensures the image occupies the full height of its parent */
    object-fit: cover;
    /* Ensures the image scales nicely without distorting */
    transition: transform 0.3s ease-in-out;
}

.product-container:hover .product-image {
    transform: scale(1.1);
    /* Slight zoom effect on hover */
}

.product-info {
    padding: 10px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    line-height: 22px;
    font-family: "Outfit", sans-serif;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-top: 21px;
}

.product-title:hover {
    color: #007bff;
}

/* Adjustments for responsive design */
@media (max-width: 768px) {
    .product-container {
        width: 45%;
        /* Adjust product container width for medium screens */
        height: 250px;
        /* Smaller height for smaller screens */
    }
}

@media (max-width: 480px) {
    .product-container {
        width: 80%;
        /* Full width for very small screens */
        height: 200px;
        /* Smaller height for mobile devices */
    }

    .product-title {
        font-size: 14px;
        /* Smaller font size for mobile devices */
    }
}

.product-scroll-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrollable-product-container {
    display: flex;
    gap: 1rem;
    /* overflow-x: hidden; */
    scroll-snap-type: x mandatory;
    padding: 10px;
}

.product-container {
    scroll-snap-align: center;
    flex-shrink: 0;
}

.product-image {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.scroll-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.product-info {
    font-size: 1.1rem;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.left-btn {
    left: -25px;
}

.right-btn {
    right: -25px;
}

/* Button hover effect */
.scroll-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-container {
        min-width: 45%;
        /* Adjust the minimum width for smaller screens */
    }

    .product-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-container {
        min-width: 80%;
        /* Make items larger on very small screens */
    }

    .product-title {
        font-size: 12px;
    }
}

/* Scrolling animation keyframes */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.section-padding {
    /* padding: 60px 0; */
}

.section-bg {
    background-color: #f9f9f9;
}

.custom-text-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-text-box-image {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .custom-text-box {
        text-align: center;
    }

    .custom-text-box h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .custom-text-box h2 {
        font-size: 24px;
    }

    .custom-text-box p {
        font-size: 14px;
    }

    .mb-lg-0 {
        margin-bottom: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-section .carousel-image {
        height: 32vh !important;
    }

    .hero-section {
        height: 32vh !important;
    }
}

.carousel-caption {
    bottom: 20% !important;
    /* Adjust caption position */
}

h1 {
    font-size: 2rem !important;
    /* Adjust heading size */
}

p {
    font-size: 1rem !important;
    /* Adjust paragraph size */
}

.certifications-scroll-wrapper {
    overflow: hidden;
    position: relative;
}

.certifications-scroll {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.cert {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 10px;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.left-btn1 {
    left: 0;
}

.right-btn1 {
    right: 0;
}

.featured-block img {
    max-width: 100%;
    border-radius: 8px;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1750px);
        /* Adjusted for 7 slides at 250px each */
    }
}

/* Styling for Slider */
.slider {
    /* background: white; */
    /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */
    min-height: 180px;
    /* Adjust height for slider */
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    content: "";
    /* background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    ); */
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* Track for Slides */
.slide-track {
    animation: scroll 30s linear infinite;
    /* Animation applied here */
    display: flex;
    width: calc(250px * 14);
    /* Adjust width for sliding items */
    align-items: center;
}

/* Individual Slide */
.cert-slide {
    height: 80%;
    width: 80%;
    overflow: hidden;
}

.cert-slide img {
    border-radius: 8px;
    width: 180px;
}

.cert-section {
    padding: 20px;
}

@media (max-width: 768px) {
    .cert-slide {
        height: 18% !important;
        width: 80% !important;
    }

    .cert-slide img {
        height: 89px !important;
        width: 70% !important;
    }
}

.btn-white {
    background: white;
    color: #1f5fff;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 2px;
    border: none;
}

.btn-white:hover {
    background: white;
    color: #1f5fff;
}

.wishlist-btn.active {
    color: red;
}

.flash-messages {
    max-width: 350px;
    right: 20px;
    top: 20px;
}
