/* Custom Styles for IHS Mewat (Islahul Hayat Society) */

/* Project Funding & Progress Component */
.funding-progress-box {
    background: #fdfaf6;
    border: 1px solid #e9dfd4;
    border-radius: 12px;
    padding: 22px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.funding-progress-bar-wrap {
    height: 14px;
    background: #e2d7ca;
    border-radius: 7px;
    overflow: hidden;
    margin: 12px 0 15px 0;
    position: relative;
}

.funding-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #107249 0%, #17a066 100%);
    border-radius: 7px;
    transition: width 1s ease-in-out;
}

.funding-stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.funding-stat-item {
    flex: 1;
    min-width: 120px;
}

.funding-stat-label {
    font-size: 13px;
    color: #777;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.funding-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #107249;
}

.funding-stat-value.needed {
    color: #d9534f;
}

/* Bank Account & Payment Cards */
.donation-card-bank {
    background: #ffffff;
    border: 2px dashed #107249;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    position: relative;
}

.donation-badge-80g {
    display: inline-block;
    background: #e7f5ef;
    color: #107249;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-label {
    font-weight: 600;
    color: #444;
}

.bank-detail-val {
    color: #107249;
    font-weight: 700;
}

/* Document / Certificate Showcase Cards */
.doc-cert-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doc-cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.doc-cert-image {
    position: relative;
    background: #f7f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.doc-cert-image img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.doc-cert-card:hover .doc-cert-image img {
    transform: scale(1.04);
}

.doc-cert-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #107249;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.doc-cert-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doc-cert-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.doc-cert-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Video Card Styles */
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.video-thumb-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(16, 114, 73, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
}

.video-thumb-wrap:hover .video-play-btn {
    background: #107249;
    transform: translate(-50%, -50%) scale(1.15);
}

.video-card-body {
    padding: 20px;
}

/* Quick Copy Tooltip */
.copy-btn {
    cursor: pointer;
    background: #e7f5ef;
    color: #107249;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
}

.copy-btn:hover {
    background: #107249;
    color: #fff;
}

/* Feature Point List */
.ihs-check-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.ihs-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.ihs-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #107249;
    font-size: 14px;
}

/* Zakat Calculator Box */
.zakat-calc-box {
    background: #fdfaf6;
    border: 1px solid #e5dad0;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.calc-input-group {
    margin-bottom: 18px;
}

.calc-input-group label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.calc-result-box {
    background: #107249;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.calc-result-box h3 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    font-weight: 800;
}

/* ==========================================================================
   Bulletproof Navigation & Dropdown Styling
   ========================================================================== */
.main-header {
    position: relative !important;
    z-index: 99999 !important;
}

.main-header .header-upper {
    position: relative !important;
    z-index: 99999 !important;
    overflow: visible !important;
}

.main-header .header-upper .inner-container {
    overflow: visible !important;
}

.main-header .nav-outer {
    position: relative !important;
    z-index: 99999 !important;
    overflow: visible !important;
}

.main-header .main-menu {
    position: relative !important;
    z-index: 99999 !important;
    overflow: visible !important;
}

.main-header .main-menu .navigation {
    overflow: visible !important;
}

.main-header .main-menu .navigation > li {
    position: relative !important;
    display: inline-block !important;
    z-index: 99999 !important;
    margin-right: 25px !important;
}

.main-header .main-menu .navigation > li > a {
    position: relative !important;
    display: block !important;
    cursor: pointer !important;
    padding: 25px 0 !important;
}

/* Dropdown Menu on Desktop */
.main-header .main-menu .navigation > li > ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    background: #ffffff !important;
    border-top: 3px solid #107249 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 99999999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    transition: all 0.25s ease-in-out !important;
    pointer-events: none !important;
    display: block !important;
}

/* Dropdown Visible on Hover */
.main-header .main-menu .navigation > li:hover > ul,
.main-header .main-menu .navigation > li.dropdown:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown Sub-Items */
.main-header .main-menu .navigation > li > ul > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-align: left !important;
}

.main-header .main-menu .navigation > li > ul > li > a {
    display: block !important;
    padding: 10px 22px !important;
    color: #222222 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #f2f2f2 !important;
    cursor: pointer !important;
}

.main-header .main-menu .navigation > li > ul > li:last-child > a {
    border-bottom: none !important;
}

.main-header .main-menu .navigation > li > ul > li > a:hover {
    color: #107249 !important;
    background: #eef8f3 !important;
    padding-left: 28px !important;
}

/* Right-align last dropdowns so they don't go off-screen */
.main-header .main-menu .navigation > li:nth-last-child(-n+2) > ul {
    left: auto !important;
    right: 0 !important;
}

/* Hero Slider Animations */
@keyframes progressBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Spacing Across All Pages (At least 60px spacing above footer) */
main {
    display: block;
    width: 100%;
    clear: both;
}

.main-footer {
    position: relative !important;
    margin-top: 60px !important;
    clear: both !important;
}

.main-footer .inner-container {
    position: relative;
    padding: 80px 0px 50px !important;
}

@media only screen and (max-width: 767px) {
    .main-footer {
        margin-top: 50px !important;
    }
    .main-footer .inner-container {
        padding: 60px 0px 40px !important;
    }
}

/* Sharp High-Contrast Heading Typography Across All Pages */
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 700;
}

.sec-title h2,
.sec-title_heading,
.title,
.sub-title {
    color: #161515;
}

/* Ensure headings on dark backgrounds and banners stay clear white */
.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.footer-title,
.sec-title.light h1,
.sec-title.light h2,
.sec-title.light h3,
.sec-title.light .sec-title_heading,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.hero-slider-content h1,
.hero-slider-content h2,
.hero-slider-content h3,
.cta-two_heading {
    color: #ffffff !important;
}

/* ==========================================================================
   Universal Button Sizing, Equalization & Consistency
   ========================================================================== */

.theme-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    height: 54px !important;
    max-height: 54px !important;
    padding: 0 34px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 54px !important;
    border-radius: 8px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.slider-one .theme-btn {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 34px !important;
    line-height: 54px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.slider-one .theme-btn:first-child {
    margin-right: 18px !important;
}

.theme-btn .btn-wrap {
    display: inline-block !important;
    position: relative !important;
    height: 24px !important;
    line-height: 24px !important;
    overflow: hidden !important;
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin: 0 auto !important;
}

.theme-btn .btn-wrap .text-one,
.theme-btn .btn-wrap .text-two {
    display: block !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}

/* Style One: Islamic Emerald Green Primary */
.btn-style-one {
    background-color: #107249 !important;
    color: #ffffff !important;
    border: 2px solid #107249 !important;
    box-shadow: 0 4px 14px rgba(16, 114, 73, 0.25) !important;
}

.btn-style-one .btn-wrap .text-one,
.btn-style-one .btn-wrap .text-two {
    color: #ffffff !important;
}

.btn-style-one:hover {
    background-color: #0d5e3c !important;
    border-color: #0d5e3c !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 114, 73, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Style Two: Amber Gold High-Impact CTA (e.g. Hero Donate, Sponsor) */
.btn-style-two {
    background-color: #f59e0b !important;
    color: #0f172a !important;
    border: 2px solid #f59e0b !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30) !important;
}

.btn-style-two .btn-wrap .text-one {
    color: #0f172a !important;
}

.btn-style-two .btn-wrap .text-two {
    color: #ffffff !important;
}

.btn-style-two:hover {
    background-color: #107249 !important;
    border-color: #107249 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 114, 73, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-style-two:hover .btn-wrap .text-one,
.btn-style-two:hover .btn-wrap .text-two {
    color: #ffffff !important;
}

/* Style Three: High-Contrast Frosted Secondary/Outline (e.g. About, Calculate Zakat) */
.btn-style-three {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.70) !important;
    backdrop-filter: blur(8px) !important;
}

.btn-style-three .btn-wrap .text-one,
.btn-style-three .btn-wrap .text-two {
    color: #ffffff !important;
}

.btn-style-three:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #107249 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px) !important;
}

.btn-style-three:hover .btn-wrap .text-one,
.btn-style-three:hover .btn-wrap .text-two {
    color: #107249 !important;
}

/* Header Donate Button Polish */
.main-header .header_button-box {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}

.main-header .header_button-box .theme-btn {
    min-height: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
}

.main-header .header_button-box .theme-btn .btn-wrap,
.main-header .header_button-box .theme-btn .btn-wrap .text-one,
.main-header .header_button-box .theme-btn .btn-wrap .text-two {
    height: 20px !important;
    line-height: 20px !important;
    font-size: 14px !important;
}

/* Lightbox Animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modern Utility Class Fallbacks for Bootstrap 4 */
.overflow-hidden {
    overflow: hidden !important;
}

.start-0 {
    left: 0 !important;
}

.end-0 {
    right: 0 !important;
}

.top-0 {
    top: 0 !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

/* Flex Gap Fallbacks for Bootstrap 4 */
.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

/* ==========================================================================
   Enhanced Footer & NiyajTech Credit Responsive Polish (Crystal Clear Dark Theme)
   ========================================================================== */

.main-footer {
    background-color: #07160e !important;
    background-image: linear-gradient(180deg, #091c13 0%, #05120a 100%) !important;
    color: #f8fafc !important;
}

.main-footer .footer-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.main-footer .footer-widget p {
    color: #e2e8f0 !important;
}

.main-footer .footer-widget small,
.main-footer .footer-widget span {
    color: #cbd5e1 !important;
}

.main-footer .footer-widget ul li a {
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    transition: all 0.2s ease !important;
}

.main-footer .footer-widget ul li a:hover {
    color: #4ade80 !important;
    padding-left: 4px;
}

@media (max-width: 991px) {
    .main-footer .widgets-section {
        padding-top: 35px !important;
        padding-bottom: 25px !important;
    }

    .main-footer .footer-bottom {
        padding: 22px 0 !important;
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    .main-footer .footer-widget {
        margin-bottom: 25px;
    }

    .main-footer .footer-logo {
        text-align: left;
    }
}

/* ==========================================================================
   Complete Mobile, Tablet & Desktop Responsive Polish
   ========================================================================== */

/* Universal Overflow Protection to prevent horizontal screen shaking on mobile */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    position: relative;
}

/* Ensure all media stays within bounds */
img, video, iframe {
    max-width: 100%;
}

/* Mobile Optimizations (< 768px) */
@media (max-width: 767.98px) {
    .slider-one {
        min-height: 640px !important;
    }

    .main-slider-prev,
    .main-slider-next {
        display: none !important;
    }

    .slider-one .theme-btn {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }

    .page-title h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

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

    .lightbox-modal-prev,
    .lightbox-modal-next {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .form-control,
    .form-select {
        font-size: 16px !important;
    }

    .faq-accordion-wrap button {
        padding: 16px 14px !important;
    }
}

/* Tablet Optimizations (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .slider-one {
        min-height: 700px !important;
    }

    .main-slider-prev {
        left: 10px !important;
    }

    .main-slider-next {
        right: 10px !important;
    }
}

/* ==========================================================================
   About Section (welcome-one) Layout & Symmetry Fix
   Fixes off-center right pull caused by margin-right: -220px in style.css
   ========================================================================== */
.welcome-one .auto-container {
    max-width: 1260px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px;
    padding-right: 15px;
}

.welcome-one_image {
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

.welcome-one_image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.welcome-one_image-outer {
    padding-left: 20px !important;
    position: relative;
}

.welcome-one_content-outer {
    padding-right: 25px !important;
    position: relative;
}

.welcome-one_years {
    left: 20px !important;
    bottom: 0px !important;
    max-width: calc(100% - 30px);
}

@media (max-width: 991.98px) {
    .welcome-one_image-outer {
        padding-left: 0 !important;
        margin-top: 35px;
    }
    .welcome-one_content-outer {
        padding-right: 0 !important;
    }
    .welcome-one_years {
        left: 0px !important;
        font-size: 18px !important;
        padding: 12px 35px 12px 16px !important;
    }
}

@media (max-width: 767.98px) {
    .welcome-one {
        padding: 60px 0 40px !important;
    }
    .welcome-one_content {
        padding-left: 0 !important;
    }
    .welcome-one_content-image {
        position: relative !important;
        margin-bottom: 20px !important;
        display: inline-block !important;
    }
    .welcome-one_learn {
        padding-left: 70px !important;
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .welcome-one_learn-icon {
        width: 55px !important;
        height: 55px !important;
        line-height: 55px !important;
        font-size: 24px !important;
    }
    .welcome-one_years {
        left: 0px !important;
        font-size: 14px !important;
        padding: 10px 24px 10px 12px !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   Compact Testimonial Multi-Card Carousel (2 Full + 2 Half Side Peeks)
   ========================================================================== */
.testimonial-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.testimonial-compact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 215px;
}

.testimonial-compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 114, 73, 0.12);
    border-color: #86efac;
}

@media (min-width: 992px) {
    .testimonial-compact-card {
        flex: 0 0 calc(34% - 14px);
        min-width: calc(34% - 14px);
        max-width: calc(34% - 14px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .testimonial-compact-card {
        flex: 0 0 calc(44% - 10px);
        min-width: calc(44% - 10px);
        max-width: calc(44% - 10px);
        padding: 18px 20px;
        min-height: 220px;
    }
}

@media (max-width: 767.98px) {
    .testimonial-compact-card {
        flex: 0 0 82%;
        min-width: 82%;
        max-width: 82%;
        padding: 16px 18px;
        min-height: 205px;
    }
}


/* ==========================================================================
   Complete Mobile, Tablet & Desktop Responsive Polish
   ========================================================================== */

/* Universal Overflow Protection to prevent horizontal screen shaking on mobile */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    position: relative;
}

/* Ensure all media stays within bounds */
img, video, iframe {
    max-width: 100%;
}

/* Mobile Optimizations (< 768px) */
@media (max-width: 767.98px) {
    .slider-one {
        min-height: 640px !important;
    }

    .main-slider-prev,
    .main-slider-next {
        display: none !important;
    }

    .slider-one .theme-btn {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }

    .page-title h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

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

    .lightbox-modal-prev,
    .lightbox-modal-next {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .form-control,
    .form-select {
        font-size: 16px !important;
    }

    .faq-accordion-wrap button {
        padding: 16px 14px !important;
    }
}

/* Tablet Optimizations (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .slider-one {
        min-height: 700px !important;
    }

    .main-slider-prev {
        left: 10px !important;
    }

    .main-slider-next {
        right: 10px !important;
    }
}

/* ==========================================================================
   About Section (welcome-one) Layout & Symmetry Fix
   Fixes off-center right pull caused by margin-right: -220px in style.css
   ========================================================================== */
.welcome-one .auto-container {
    max-width: 1260px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px;
    padding-right: 15px;
}

.welcome-one_image {
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

.welcome-one_image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.welcome-one_image-outer {
    padding-left: 20px !important;
    position: relative;
}

.welcome-one_content-outer {
    padding-right: 25px !important;
    position: relative;
}

.welcome-one_years {
    left: 20px !important;
    bottom: 0px !important;
    max-width: calc(100% - 30px);
}

@media (max-width: 991.98px) {
    .welcome-one_image-outer {
        padding-left: 0 !important;
        margin-top: 35px;
    }
    .welcome-one_content-outer {
        padding-right: 0 !important;
    }
    .welcome-one_years {
        left: 0px !important;
        font-size: 18px !important;
        padding: 12px 35px 12px 16px !important;
    }
}

@media (max-width: 767.98px) {
    .welcome-one {
        padding: 60px 0 40px !important;
    }
    .welcome-one_content {
        padding-left: 0 !important;
    }
    .welcome-one_content-image {
        position: relative !important;
        margin-bottom: 20px !important;
        display: inline-block !important;
    }
    .welcome-one_learn {
        padding-left: 70px !important;
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .welcome-one_learn-icon {
        width: 55px !important;
        height: 55px !important;
        line-height: 55px !important;
        font-size: 24px !important;
    }
    .welcome-one_years {
        left: 0px !important;
        font-size: 14px !important;
        padding: 10px 24px 10px 12px !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   Compact Testimonial Multi-Card Carousel (2 Full + 2 Half Side Peeks)
   ========================================================================== */
.testimonial-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.testimonial-compact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 215px;
}

.testimonial-compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 114, 73, 0.12);
    border-color: #86efac;
}

@media (min-width: 992px) {
    .testimonial-compact-card {
        flex: 0 0 calc(34% - 14px);
        min-width: calc(34% - 14px);
        max-width: calc(34% - 14px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .testimonial-compact-card {
        flex: 0 0 calc(44% - 10px);
        min-width: calc(44% - 10px);
        max-width: calc(44% - 10px);
        padding: 18px 20px;
        min-height: 220px;
    }
}

@media (max-width: 767.98px) {
    .testimonial-compact-card {
        flex: 0 0 82%;
        min-width: 82%;
        max-width: 82%;
        padding: 16px 18px;
        min-height: 205px;
    }
}










