/* =============================================================
   TANTU Red River — Custom Overrides
   Created to modernize typography, spacing, and visual presentation
   without modifying the base template CSS (main.css).
   ============================================================= */

/* -----------------------------------------------
   1. GOOGLE FONTS — Inter (headings) + Nunito (body)
   ----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Nunito:wght@400;500;600;700;800&display=swap');

/* -----------------------------------------------
   2. CSS CUSTOM PROPERTIES
   ----------------------------------------------- */
:root {
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --tantu-olive: #6D7246;
    /* Official Olive Green from Logo */
    --tantu-olive-light: #8E9169;
    /* Light Sage from Logo Leaves */
    --tantu-red: #AF1D1D;
    /* Muted Red from Logo Petal */
    --tantu-red-dark: #7D130D;
    --tantu-yellow: #D4C48D;
    /* Muted Gold/Tan */
    --tantu-header: #2C241E;
    /* Deep Earthy Brown */
    --tantu-text: #4E4439;
    /* Muted Brown */
    --tantu-text-light: #7A6F62;
    --tantu-border: #DED6CC;
    --tantu-bg-light: #F5F2ED;
    /* Warm Beige */
    --tantu-radius: 12px;
    --tantu-shadow: 0 4px 24px rgba(44, 36, 30, 0.08);
    --tantu-shadow-hover: 0 8px 48px rgba(44, 36, 30, 0.12);
    --tantu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max-width: 1240px;

    /* Base Template Overrides */
    --theme-color: var(--tantu-olive);
    --theme-color-2: var(--tantu-olive-light);
}

/* -----------------------------------------------
   3. GLOBAL TYPOGRAPHY OVERRIDES
   ----------------------------------------------- */
html {
    scroll-behavior: smooth !important;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--tantu-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Fix sticky header jerk/jump */
.sticky {
    animation: none !important;
    -webkit-animation: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease-in-out !important;
}

/* Hardware acceleration for smooth animation performance */
.wow, .text-anim, .swiper-slide, .hero-content, .feature-box-items {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Global Container Normalization */
.container {
    max-width: var(--container-max-width);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--tantu-header);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

p {
    line-height: 1.75;
    color: var(--tantu-text);
}

/* Responsive typography */
@media (max-width: 1199px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }
}

/* -----------------------------------------------
   4. SECTION TITLE REFINEMENT
   ----------------------------------------------- */
.section-title {
    margin-bottom: 40px;
}

.section-title span {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tantu-olive);
}

.section-title h2 {
    margin-top: 8px;
}

.section-title p {
    margin-top: 12px;
    max-width: 600px;
    font-size: 16px;
    color: var(--tantu-text-light);
}

.section-title.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Consolidated Hero Rules moved to Section 38 */

/* -----------------------------------------------
   5.0 HEADER TOP REFINEMENT (SHRINK)
   ----------------------------------------------- */
/* 4. HEADER TOP BAR ENHANCEMENTS */
.header-top-section {
    background-color: rgba(109, 114, 70, 0.08) !important;
    /* Soft olive tint */
    padding: 5px 0 !important;
    /* Further reduced from 10px to make it thinner */
    border-bottom: 1px solid rgba(109, 114, 70, 0.1);
}

.header-top-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header-top-wrapper .header-contact-list li {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--tantu-header) !important;
}

.header-top-section .container {
    max-width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.header-contact-list {
    padding-left: 0 !important;
    margin: 0 !important;
    /* Ensure no margin */
}

.header-top-wrapper .header-contact-list li i {
    color: var(--tantu-olive) !important;
    margin-right: 8px;
    font-size: 16px !important;
    line-height: 1 !important;
}

.header-top-wrapper .head-right .social-icon {
    gap: 12px !important;
}

.header-top-wrapper .head-right .social-icon a {
    color: var(--tantu-olive) !important;
    transition: var(--tantu-transition);
    font-size: 16px !important;
    margin-left: 15px;
}

.header-top-wrapper .head-right .social-icon a:hover {
    color: var(--tantu-red) !important;
    transform: translateY(-2px);
}

/* -----------------------------------------------
   5.1 HEADER LOGO VISIBILITY
   ----------------------------------------------- */
.header-1 .top-logo img {
    height: 140px !important;
    /* Increased from 100px for better visibility */
    width: auto !important;
    margin-left: 0 !important;
    padding: 5px 0;
    /* Reduced padding to maximize logo area */
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.12)) brightness(1.05);
    /* Slightly enhanced shadow for depth */
    transition: var(--tantu-transition);
}

.header-1.sticky .top-logo img {
    height: 110px !important;
    /* For desktop */
}

@media (max-width: 991px) {
    .header-1.sticky .top-logo img {
        height: 50px !important;
        /* Keep it small on mobile when sticky */
    }

    .header-1.sticky .header-main {
        padding: 8px 0 !important;
        /* Tight padding for sticky mobile */
    }
}

@media (max-width: 991px) {
    .header-1 .top-logo img {
        height: 50px !important;
        /* Ensure consistency */
    }

    .header-main {
        padding: 8px 0 !important;
    }
}

.header-1 .mega-menu-wrapper {
    padding: 0 15px;
}

.header-main .main-menu ul li {
    margin-inline-end: 22px !important;
    /* Reduced from 35px for more items */
}

@media (max-width: 1399px) {
    .header-main .main-menu ul li {
        margin-inline-end: 15px !important;
    }

    .header-main .main-menu ul li a {
        font-size: 15px !important;
    }
}

/* Header Responsive Fixes */
@media (max-width: 991px) {
    .header-main .main-menu {
        display: none !important;
        /* Hide desktop menu */
    }

    .header-cta {
        display: none !important;
        /* Hide on mobile to save space, usually inside hamburger menu */
    }

    .header-1 .top-logo img {
        height: 50px !important;
        /* Shorter logo for mobile */
    }
}

@media (max-width: 575px) {
    .header-right .theme-btn {
        display: none !important;
        /* Always hide on very small screens to make room for hamburger */
    }
}


/* -----------------------------------------------
   5.2 PREMIUM PRODUCTS DROPDOWN - Desktop Only
   ----------------------------------------------- */
@media (min-width: 1200px) {
    .header-main .main-menu ul li .submenu {
        border-radius: 16px !important;
        background: #ffffff !important;
        padding: 16px !important;
        min-width: 260px !important;
        box-shadow: 0 10px 40px rgba(44, 36, 30, 0.12) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        margin-top: 5px !important;
    }

    .header-main .main-menu ul li .submenu li {
        margin-bottom: 8px !important;
    }

    .header-main .main-menu ul li .submenu li:last-child {
        margin-bottom: 0 !important;
    }

    .header-main .main-menu ul li .submenu li a {
        padding: 12px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: var(--tantu-header) !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        transition: var(--tantu-transition) !important;
        line-height: 1.4 !important;
        text-transform: none !important;
    }

    /* Hover Effect */
    .header-main .main-menu ul li .submenu li a:hover {
        background: rgba(74, 103, 65, 0.08) !important;
        /* Soft brand green bg */
        color: var(--tantu-olive) !important;
        padding-left: 20px !important;
    }

    /* Active State */
    .header-main .main-menu ul li .submenu li.active a,
    .header-main .main-menu ul li .submenu li a.active {
        color: var(--tantu-olive) !important;
        background: rgba(74, 103, 65, 0.05) !important;
        font-weight: 700 !important;
    }

    /* Arrow for dropdown items if any */
    .header-main .main-menu ul li .submenu li a i {
        margin-left: auto !important;
        font-size: 10px !important;
        opacity: 0.5;
    }
}

/* Mobile Dropdown (MeanMenu Overrides) */
.mean-container .mean-nav ul li li a {
    text-transform: none !important;
    font-size: 14px !important;
    padding: 12px 10% !important;
    color: var(--tantu-header) !important;
    /* Brand deep brown */
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.mean-container .mean-nav ul li li a.active {
    color: var(--tantu-olive) !important;
}

/* -----------------------------------------------
   6. FEATURE SECTION — Cleaner cards
   ----------------------------------------------- */
.feature-box-items {
    transition: var(--tantu-transition);
}

.feature-box-items:hover {
    transform: translateY(-4px);
}

/* -----------------------------------------------
   7. SWIPER PAGINATION REFINEMENT
   ----------------------------------------------- */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--tantu-olive);
    opacity: 0.3;
    transition: var(--tantu-transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.community-section .swiper-pagination {
    margin-top: 30px !important;
}

/* -----------------------------------------------
   8. COMMUNITY SLIDER REFINEMENT
   ----------------------------------------------- */
.community-slider-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    padding: 0;
    /* Removed padding to allow image to fill the card completely */
    box-shadow: var(--tantu-shadow);
}

.community-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    /* Consistent height for premium look */
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive Community Image Heights */
@media (max-width: 991px) {
    .community-image {
        height: 400px;
    }
}

@media (max-width: 575px) {
    .community-image {
        height: 320px;
    }
}

.community-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 45px 20px; /* Increased bottom padding for bullets */
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4; /* Tighter line height for captions */
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    word-wrap: break-word;
}

@media (max-width: 575px) {
    .community-caption {
        font-size: 14px; /* Slightly smaller for better fit */
        padding: 15px 25px 45px 25px; /* More side padding to avoid corner clipping */
        line-height: 1.3;
    }
}

.community-slider .swiper-pagination {
    bottom: 20px !important;
}

.community-slider .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.6;
}

.community-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--tantu-yellow) !important;
}

/* -----------------------------------------------
   9. ABOUT SLIDER REFINEMENT
   ----------------------------------------------- */
.about-slider {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.about-slider .swiper-pagination {
    bottom: 20px !important;
}

.about-slider .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.6;
}

.about-slider .swiper-pagination-bullet-active {
    background: var(--tantu-olive) !important;
    opacity: 1;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--tantu-text-light);
}

/* -----------------------------------------------
   7. ABOUT SECTION — Native CSS (replacing Tailwind)
   ----------------------------------------------- */
.tantu-about-section {
    padding: 80px 0;
}

.tantu-about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.tantu-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .tantu-about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.tantu-about-subtitle {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--tantu-olive);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.tantu-about-subtitle img {
    margin-right: 10px;
}

.tantu-about-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--tantu-header);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .tantu-about-title {
        font-size: 28px;
    }
}

.tantu-about-text {
    color: var(--tantu-text);
    margin-top: 20px;
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 16px;
}

.tantu-about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 575px) {
    .tantu-about-list {
        grid-template-columns: 1fr;
    }
}

.tantu-about-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tantu-about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--tantu-header);
}

.tantu-about-list li i {
    color: var(--tantu-olive);
    font-size: 14px;
    width: 24px;
    height: 24px;
    background: rgba(91, 140, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tantu-about-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.tantu-about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--tantu-radius);
    object-fit: cover;
    box-shadow: var(--tantu-shadow);
}

.tantu-phone-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tantu-phone-icon {
    width: 48px;
    height: 48px;
    background: var(--tantu-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tantu-phone-icon i {
    color: var(--tantu-olive-dark);
    font-size: 16px;
}

.tantu-phone-box p {
    font-size: 13px;
    color: var(--tantu-text-light);
    margin: 0;
    line-height: 1.2;
}

.tantu-phone-box a {
    font-size: 16px;
    font-weight: 700;
    color: var(--tantu-header);
}

.tantu-phone-box a:hover {
    color: var(--tantu-olive);
}

/* -----------------------------------------------
   8. SERVICE / SOLUTIONS TABS — Refined
   ----------------------------------------------- */
.service-section .section-title h2,
.service-section .section-title span {
    color: var(--tantu-header);
}

.service-wrapper .nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-content-area .content h3 a {
    font-size: 24px;
    font-weight: 700;
}

.service-content-area .content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--tantu-text);
}

/* -----------------------------------------------
   9. TEAM SECTION — Responsive Grid & Left Aligned
   ----------------------------------------------- */
.team-section {
    background-color: #fff;
    position: relative;
}

.team-section .container {
    max-width: 1240px;
    /* Centered container */
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.team-card .team-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-card .team-image::before {
    content: "";
    display: block;
    padding-top: 100%;
    /* Robust square fallback */
}

.team-card .team-image img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

/* Specific centering for Dhrishta if needed */
.team-card .team-image img.dhrishta {
    object-position: center top;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card .team-content {
    padding: 0 24px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card .team-content h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--tantu-header);
    text-align: center;
}

.team-card .team-content span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--tantu-olive);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
}

.team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    padding: 20px; /* Reduced from 25px */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.team-card .team-content h4 {
    margin-bottom: 5px;
    font-size: 18px; /* Slightly smaller for 4-col */
}

.team-card .team-content span {
    display: block;
    margin-bottom: 15px;
    font-size: 13px; /* Slightly smaller */
    color: #6D7246;
    font-weight: 600;
}

.team-card .team-content .team-bio {
    font-size: 14px; /* Reduced from 15px */
    line-height: 1.5;
    color: var(--tantu-text);
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    height: 65px; /* Adjusted height for 3 lines */
    transition: all 0.3s ease;
}

.team-card.is-expanded .team-content .team-bio {
    -webkit-line-clamp: unset;
    display: block;
    height: auto;
}

.team-card .email-link {
    margin-top: auto; /* Push to bottom */
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #6D7246;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    align-self: center;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.team-card.is-expanded {
    height: auto !important;
}

.team-card .team-content .email-link {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--tantu-border);
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.team-card .team-content .email-link a {
    color: var(--tantu-olive);
    transition: var(--tantu-transition);
}

.team-card .team-content .email-link a:hover {
    color: var(--tantu-header);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .team-card .team-image {
        padding: 10px;
    }
}




/* -----------------------------------------------
   10. GALLERY SECTION — Proper container
   ----------------------------------------------- */
.gallery-section .row {
    padding: 0 15px;
}

.gallery-image-items {
    border-radius: var(--tantu-radius);
    overflow: hidden;
    position: relative;
}

.gallery-image-items img {
    width: 100%;
    height: 300px;
    /* Consistent height for horizontal row */
    object-fit: cover;
    transition: var(--tantu-transition);
}

.gallery-image-items {
    border-radius: var(--tantu-radius);
    overflow: hidden;
    position: relative;
    transition: var(--tantu-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-image-items:hover {
    transform: scale(1.05);
    box-shadow: var(--tantu-shadow-hover);
    z-index: 2;
}

.gallery-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    /* Slightly smaller for premium look */
    opacity: 0.15;
    pointer-events: none;
    transition: var(--tantu-transition);
}

.gallery-image-items:hover .gallery-logo-overlay {
    opacity: 0.3;
}

/* Product Gallery Slider UI */
.product-gallery-slider-wrapper {
    position: relative;
    padding: 0 10px;
    margin-top: 40px;
}

.product-gallery-slider {
    padding-bottom: 60px !important;
    /* Space for pagination */
    overflow: visible !important;
    /* Allow hover scaling to show */
}

/* Custom Navigation Arrows */
.gallery-slider-navigation .swiper-button-prev,
.gallery-slider-navigation .swiper-button-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--tantu-transition);
    z-index: 10;
}

.gallery-slider-navigation .swiper-button-prev::after,
.gallery-slider-navigation .swiper-button-next::after {
    font-size: 18px;
    font-weight: 900;
    color: var(--tantu-olive);
}

.gallery-slider-navigation .swiper-button-prev:hover,
.gallery-slider-navigation .swiper-button-next:hover {
    background: var(--tantu-olive);
    transform: translateY(-2px);
}

.gallery-slider-navigation .swiper-button-prev:hover::after,
.gallery-slider-navigation .swiper-button-next:hover::after {
    color: #fff;
}

.gallery-slider-navigation .swiper-button-prev {
    left: -25px;
}

.gallery-slider-navigation .swiper-button-next {
    right: -25px;
}

@media (max-width: 1399px) {
    .gallery-slider-navigation .swiper-button-prev {
        left: 0;
    }

    .gallery-slider-navigation .swiper-button-next {
        right: 0;
    }
}

/* Pagination Dots */
.gallery-pagination.swiper-pagination {
    bottom: 0 !important;
}

.gallery-pagination .swiper-pagination-bullet {
    background: var(--tantu-olive) !important;
    opacity: 0.2;
}

.gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* Showcase Gallery Slider UI */
.showcase-gallery-slider-wrapper {
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
}

.showcase-gallery-slider {
    padding-bottom: 60px !important;
    overflow: visible !important;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--tantu-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.showcase-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: var(--tantu-transition);
    pointer-events: none;
}

.showcase-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

/* =============================================================
   11. MODULAR GALLERY SYSTEM — Scalable & Premium CSS Grid
   ============================================================= */

.tantu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .tantu-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .tantu-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Main Card Wrapper */
.tantu-gallery-card {
    display: block;
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
    border: 1px solid transparent;
}

.tantu-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Featured Minister Card Styling */
.featured-gallery-card {
    border: 2px solid rgba(74, 103, 65, 0.3);
    /* Premium accent border */
    box-shadow: 0 15px 40px rgba(74, 103, 65, 0.2);
    /* Slightly stronger shadow */
    transform: translateY(-2px);
    /* Slight elevation */
}

.featured-gallery-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 103, 65, 0.6);
    box-shadow: 0 25px 60px rgba(74, 103, 65, 0.3);
}

/* Aspect Ratio Control */
.tantu-gallery-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    /* Fill the card completely */
    overflow: hidden;
    background: var(--tantu-bg-light);
}

@media (max-width: 767px) {
    .tantu-gallery-image-wrap {
        height: 100%;
        /* Keep consistent on mobile to avoid empty spaces */
    }
}

/* Image Core Styling */
.tantu-gallery-image-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tantu-gallery-card:hover img {
    transform: scale(1.05);
    /* Smooth, elegant zoom on hover */
}

/* Premium Hover Overlay */
.tantu-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 79, 11, 0.2);
    /* Soft brand green tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.tantu-gallery-overlay i {
    color: #fff;
    font-size: 32px;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tantu-gallery-card:hover .tantu-gallery-overlay {
    opacity: 1;
}

.tantu-gallery-card:hover .tantu-gallery-overlay i {
    transform: scale(1);
}

/* Lightbox specific polish */
.mfp-bg {
    background: rgba(10, 20, 10, 0.95);
}

.mfp-image-holder .mfp-content {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom Navigation Arrows for Showcase */
.showcase-slider-navigation .swiper-button-prev,
.showcase-slider-navigation .swiper-button-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--tantu-transition);
    z-index: 20;
}

.showcase-slider-navigation .swiper-button-prev::after,
.showcase-slider-navigation .swiper-button-next::after {
    font-size: 18px;
    font-weight: 900;
    color: var(--tantu-olive);
}

.showcase-slider-navigation .swiper-button-prev:hover,
.showcase-slider-navigation .swiper-button-next:hover {
    background: var(--tantu-olive);
    transform: translateY(-2px);
}

.showcase-slider-navigation .swiper-button-prev:hover::after,
.showcase-slider-navigation .swiper-button-next:hover::after {
    color: #fff;
}

.showcase-pagination.swiper-pagination {
    bottom: 0 !important;
}

/* -----------------------------------------------
   12. CTA SECTION — Refined for balance & readability
   ----------------------------------------------- */
.cta-section {
    padding-top: 60px !important;
}

.cta-wrapper {
    background-position: center center !important;
    background-size: cover !important;
    border-radius: 24px !important;
    /* Consistent with other sections */
}

.cta-wrapper::before {
    display: none !important;
}

.cta-content {
    margin-left: 0 !important;
    /* Centered layout control */
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff !important;
    /* Pure white pop */
}

.cta-content .cta-text {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95) !important;
    /* High contrast off-white */
}

.tantu-cta-actions {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 0;
}

.tantu-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--tantu-olive);
    /* Solid brand green */
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(36, 79, 11, 0.3);
}

.tantu-cta-btn:hover {
    background-color: var(--tantu-header);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tantu-cta-phone .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tantu-cta-phone .icon-circle i {
    color: #ffffff;
}

.tantu-cta-phone .phone-text p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    margin: 0;
}

.tantu-cta-phone .phone-text a {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 800;
}

.tantu-cta-phone .phone-text a {
    font-size: 18px;
}

/* CTA Responsive fixes */
@media (max-width: 991px) {
    .cta-content {
        text-align: center;
    }

    .cta-content .cta-text {
        margin-left: auto;
        margin-right: auto;
    }

    .tantu-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .cta-content h2 {
        font-size: 30px;
    }

    .tantu-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------------------------
   13. CONTACT SECTION — Refined
   ----------------------------------------------- */
.contact-section .section-title h2 {
    font-size: 36px;
}

.contact-form-box .form-clt input,
.contact-form-box .form-clt textarea {
    font-family: var(--font-body);
    font-size: 15px;
}

/* -----------------------------------------------
   13. FOOTER — Premium Dark Green Design Restoration
   ----------------------------------------------- */
.footer-section {
    padding-top: 80px !important;
    position: relative;
    overflow: hidden;
    background-color: #55481e;
    /* Fallback dark green */
}

/* Texture overlay adjustment for footer.jpg */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 29, 1, 0.45) !important;
    /* Balanced overlay to keep texture visible */
    z-index: -1;
}

.footer-section::after {
    display: none;
    /* Removed the secondary overlay for cleaner look */
}

.footer-widgets-wrapper {
    position: relative;
    z-index: 3;
}

.footer-section .widget-head h5 {
    font-family: var(--font-heading);
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    /* Reduced from 25px */
}

.footer-widgets-wrapper {
    padding: 50px 0 30px !important;
    /* Reduced padding */
}

.footer-widget-items {
    margin-top: 10px !important;
    /* Reduced from 30px */
}

/* Contact List Restoration — Yellow Circular Icons */
.footer-section .contact-list li {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 12px !important;
    /* Reduced from 24px */
}

.footer-section .contact-list li .icon {
    background-color: var(--tantu-yellow) !important;
    /* Muted gold/yellow circle */
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.footer-section .contact-list li .icon i {
    color: #051D01 !important;
    /* Dark green icon on yellow */
    font-size: 18px !important;
    margin: 0 !important;
}

.footer-section .contact-list .content h5 {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
    opacity: 0.9;
}

.footer-section .contact-list .content p,
.footer-section .contact-list .content a {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* List Area (Quick Links & Products) */
.footer-section .list-area li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
    /* Reduced from 12px */
}

.footer-section .list-area li a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: var(--tantu-transition);
}

.footer-section .list-area li i {
    color: #ffffff !important;
    font-size: 12px !important;
    opacity: 0.8;
}

.footer-section .list-area li a:hover {
    color: var(--tantu-yellow) !important;
    padding-left: 5px;
}

/* Brand Column Adjustment */
.tantu-footer-brand .footer-tagline {
    color: #ffffff !important;
    opacity: 0.9;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin-top: 15px !important;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15) !important;
    position: relative;
    z-index: 3;
    padding: 0 !important;
}

.footer-bottom-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 0 !important;
    /* Reduced from 30px */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-bottom-wrapper p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* -----------------------------------------------
   6.0 SERVICE BOX / ICON CIRCLE IMPROVEMENTS
   ----------------------------------------------- */
/* -----------------------------------------------
   6.0 PREMIUM SERVICE CARDS & "CUTE" ICON CIRCLES
   ----------------------------------------------- */
.service-box-items-3 {
    background: #ffffff !important;
    border: 1px solid rgba(109, 114, 70, 0.08) !important;
    border-radius: 20px !important;
    /* Extra rounded for "cute" look */
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: visible !important;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03) !important;
    display: flex;
    flex-direction: column;
}

/* Cards WITH images (Materials page) — contain the image */
.service-box-items-3:has(.service-thumb) {
    overflow: hidden !important;
}

/* Cards WITHOUT images (Design Studio) — add top padding for the icon */
.service-box-items-3:not(:has(.service-thumb)) {
    padding-top: 45px !important;
}

/* Proper image containment for material cards */
.service-box-items-3 .service-thumb {
    width: 100% !important;
    height: 260px !important;
    min-width: 100% !important;
    margin-top: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    flex-shrink: 0;
}

.service-box-items-3 .service-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px 20px 0 0 !important;
    display: block;
}

.service-box-items-3 .service-content {
    padding: 30px !important;
    text-align: center !important;
    flex-grow: 1;
}

.service-box-items-3 .service-content .icon {
    background-color: var(--tantu-olive) !important;
    width: 90px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: -45px auto 20px !important;
    /* Centered and overlapping top */
    border-radius: 50% !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 20px rgba(109, 114, 70, 0.2) !important;
    border: 4px solid #ffffff !important;
    /* Clean white border */
    position: relative;
    z-index: 10;
}

/* Internal "cute" ring */
.service-box-items-3 .service-content .icon::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.service-box-items-3 .service-content .icon i {
    color: #ffffff !important;
    font-size: 42px !important;
    /* Larger for better visibility */
    line-height: 1 !important;
    margin: 0 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-box-items-3:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(109, 114, 70, 0.12) !important;
    border-color: rgba(109, 114, 70, 0.2) !important;
}

.service-box-items-3:hover .service-content .icon {
    background-color: var(--tantu-red) !important;
    transform: scale(1.1) rotate(8deg) !important;
    box-shadow: 0 10px 25px rgba(174, 38, 41, 0.3) !important;
}

.service-box-items-3 .service-content h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px !important;
    color: var(--tantu-header);
    margin-bottom: 15px !important;
    transition: var(--tantu-transition);
}

.service-box-items-3:hover .service-content h4 {
    color: var(--tantu-olive);
}

.service-box-items-3 .service-content p {
    font-size: 15.5px !important;
    color: var(--tantu-text);
    line-height: 1.7 !important;
    margin: 0 !important;
}


/* Hide any stray template elements that could cause offset */
.footer-bottom-wrapper .social-icon,
.footer-bottom-wrapper .bottom-img {
    display: none !important;
}




/* -----------------------------------------------
   14. CHOOSE US SECTION — Refined
   ----------------------------------------------- */
.choose-content-items .section-title h2,
.choose-us-content .section-title h2 {
    font-size: 36px;
    line-height: 1.25;
}

@media (max-width: 767px) {

    .choose-content-items .section-title h2,
    .choose-us-content .section-title h2 {
        font-size: 28px;
    }
}

.choose-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--tantu-text);
    margin-top: 16px;
    margin-bottom: 8px;
}

/* -----------------------------------------------
   14.1 SPLIT SECTIONS — Alignment Normalization
   ----------------------------------------------- */

/* Top-Baseline Alignment (e.g., Agricultural Waste Section) */
.choose-us-section .row,
.choose-us-section-3 .row {
    align-items: flex-start !important;
}

.choose-us-section .choose-content-items,
.choose-us-section-3 .choose-us-content {
    padding-top: 0 !important;
    margin-top: -8px;
    /* Offset to match image top exactly */
}

/* Vertical Centering (e.g., Contact Us Section) */
.contact-section .contact-wrapper .row {
    align-items: center !important;
}

.contact-section.section-padding {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* -----------------------------------------------
   15. ABOUT PAGE FEATURE SECTION
   ----------------------------------------------- */
.about-feature-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.about-feature-title {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .about-feature-img {
        height: 280px;
    }
    
    .about-feature-title {
        font-size: 24px;
    }
}

.contact-content .section-title span {
    margin-bottom: 12px !important;
    display: inline-block;
}

.contact-content .section-title h2 {
    margin-bottom: 30px !important;
}

.contact-form-box .form-clt {
    margin-bottom: 20px;
}

/* Adjust textarea specifically */
.contact-form-box textarea {
    margin-top: 15px !important;
}

/* Fix Button Spacing */
.contact-section .contact-button {
    margin-top: 30px !important;
}

@media (max-width: 991px) {
    .contact-section .contact-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

/* Image alignment normalization — Fixing clipping and shapes */
.choose-left-image-items,
.choose-us-image-items,
.contact-image {
    line-height: 0;
    font-size: 0;
    overflow: visible !important;
    /* Ensure image is not clipped by container */
    border-radius: 12px !important;
    /* Clean, simple rounded corners */
    clip-path: none !important;
    -webkit-clip-path: none !important;
    mask: none !important;
    background: transparent !important;
    position: relative;
    box-shadow: var(--tantu-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
    transition: var(--tantu-transition);
}

/* Remove any overlapping template shapes, pseudo-elements, or boxes */
.choose-left-image-items::before,
.choose-left-image-items::after,
.choose-us-image-items::before,
.choose-us-image-items::after,
.choose-us-wrapper::before,
.choose-us-wrapper::after,
.choose-us-wrapper-3::before,
.choose-us-wrapper-3::after,
.choose-us-section .shape-1,
.choose-us-section-3 .shape-1 {
    display: none !important;
    content: none !important;
    clip-path: none !important;
}

.choose-left-image-items img,
.choose-us-image-items img,
.contact-image img {
    width: 100% !important;
    height: 540px !important;
    /* Balanced height to prevent dominating the layout */
    object-fit: cover !important;
    display: block;
    transition: var(--tantu-transition);
    border-radius: 12px !important;
}

.choose-left-image-items:hover img,
.choose-us-image-items:hover img,
.contact-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {

    .choose-left-image-items img,
    .choose-us-image-items img,
    .contact-image img {
        height: 350px !important;
        /* Balanced height for mobile stacking */
    }

    .choose-us-section .choose-content-items,
    .choose-us-section-3 .choose-us-content {
        margin-top: 20px !important;
        /* Spacing between stacked items on mobile */
    }
}

/* -----------------------------------------------
   16. TECHNOLOGY PAGE — Advanced Tech Section
   ----------------------------------------------- */
.choose-us-section-5 {
    background-color: #fff;
}

.choose-us-wrapper-5 .choose-image-left-items {
    margin: 0 !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choose-us-wrapper-5 .choose-image-left-items img {
    margin: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    height: 500px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    /* PNG usually looks better without box radius if it has its own shape */
}

/* Hide background shapes as requested */
.choose-us-wrapper-5 .choose-image-left-items .choose-shape-1 {
    display: none !important;
}

.choose-us-wrapper-5 .choose-right-content {
    margin-left: 0 !important;
    padding-left: 40px;
}

.choose-us-wrapper-5 .row {
    align-items: center !important;
}

.choose-us-wrapper-5 .icon-items-area {
    margin-top: 40px !important;
    gap: 40px !important;
}

.choose-us-wrapper-5 .icon-items {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
}

.choose-us-wrapper-5 .list-items {
    margin-top: 40px !important;
    gap: 30px !important;
}

.choose-us-wrapper-5 .list-items ul li {
    font-size: 16px !important;
    color: var(--tantu-text) !important;
}

.choose-us-wrapper-5 .about-bottom-area {
    margin-top: 50px !important;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

@media (max-width: 991px) {
    .choose-us-wrapper-5 .choose-image-left-items img {
        height: 350px !important;
    }

    .choose-us-wrapper-5 .choose-right-content {
        padding-left: 0;
        margin-top: 40px !important;
    }
}

/* -----------------------------------------------
   15. BREADCRUMB — Refined
   ----------------------------------------------- */
.breadcrumb-wrapper .breadcrumb-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .breadcrumb-wrapper .breadcrumb-title {
        font-size: 32px;
    }
}

.breadcrumb-wrapper .breadcrumb-list li {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* -----------------------------------------------
   16. BUTTONS — Refined
   ----------------------------------------------- */
.theme-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    height: 54px;
    line-height: 54px;
    padding: 0 32px;
    border-radius: 50px;
}

@media (max-width: 575px) {
    .theme-btn {
        font-size: 14px;
        height: 48px;
        line-height: 48px;
        padding: 0 24px;
    }
}

/* -----------------------------------------------
   17. CONTACT INFO BOXES (inner pages)
   ----------------------------------------------- */
.contact-info-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 103, 65, 0.1);
    border-color: rgba(74, 103, 65, 0.1);
}

.contact-info-box .icon {
    width: 70px;
    height: 70px;
    background: rgba(91, 140, 81, 0.1);
    color: var(--tantu-olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-info-box:hover .icon {
    background: var(--tantu-olive);
    color: #fff;
    transform: scale(1.1);
}

.contact-info-box h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--tantu-header);
}

.contact-info-box p {
    font-size: 16px;
    color: var(--tantu-text);
    margin: 0;
    line-height: 1.6;
}

.contact-info-box p a {
    color: var(--tantu-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-info-box p a:hover {
    color: var(--tantu-olive);
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .contact-info-box {
        padding: 30px 20px;
    }

    .contact-info-box .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-info-box h3 {
        font-size: 20px;
    }

    .contact-info-box p {
        font-size: 15px;
    }
}

/* -----------------------------------------------
   18. SERVICE CARDS (inner pages)
   ----------------------------------------------- */

/* -----------------------------------------------
   19. CTA BANNER (service page)
   ----------------------------------------------- */
.cta-banner-5 {
    padding: 80px 0 !important;
    background-color: var(--bg);
    /* Standard light green/grey background */
}

.cta-banner-5 h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tantu-header);
    margin-bottom: 20px;
}

.cta-banner-5 p {
    color: var(--tantu-text);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .cta-banner-5 h2 {
        font-size: 30px;
    }
}

/* -----------------------------------------------
   20. SMOOTH SCROLLING & GLOBAL POLISH
   ----------------------------------------------- */
html {
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--tantu-olive);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================================
   21. IMAGE OPTIMISATION — Uniform sizing & border-radius
   ============================================================= */

/* Gallery images: uniform aspect ratio */
.gallery-section .gallery-image-items {
    border-radius: var(--tantu-radius);
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--tantu-transition);
    background: #fff;
}

.gallery-section .gallery-image-items:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.gallery-section .gallery-image-items img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-section .gallery-image-items:hover img {
    transform: scale(1.06);
}

/* Gallery images: uniform aspect ratio and overlay */
.gallery-section .gallery-image-items {
    border-radius: var(--tantu-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--tantu-shadow);
    transition: var(--tantu-transition);
    background: #fff;
    position: relative;
    height: 300px;
}

@media (max-width: 767px) {
    .gallery-section .gallery-image-items {
        height: 240px;
    }
}

.gallery-section .gallery-image-items:hover {
    transform: translateY(-8px);
    box-shadow: var(--tantu-shadow-hover);
}

.gallery-section .gallery-image-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-section .gallery-image-items:hover img {
    transform: scale(1.1);
}

.gallery-section .gallery-image-items .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transform: translateY(10px);
    transition: var(--tantu-transition);
    pointer-events: none;
}

.gallery-section .gallery-image-items:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section .gallery-image-items .content p {
    color: #fff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service tab images — constrained and centered */
.service-section .tab-content .row {
    align-items: center;
}

.service-image {
    border-radius: var(--tantu-radius);
    overflow: hidden;
    box-shadow: var(--tantu-shadow);
    max-height: 420px;
}

.service-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-content-area {
    padding: 30px 20px 30px 0;
}

@media (max-width: 991px) {
    .service-content-area {
        padding: 20px 0;
    }

    .service-image {
        max-height: 350px;
    }

    .service-image img {
        max-height: 350px;
    }
}

/* Contact section image fix */
.contact-section .contact-image {
    border-radius: var(--tantu-radius);
    overflow: hidden;
}

.contact-section .contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Choose-us section image */
.choose-left-image-items>img,
.choose-us-image-items>img,
.choose-image-left-items>img {
    border-radius: var(--tantu-radius);
    object-fit: cover;
}

/* CTA section image */
.cta-image img {
    border-radius: var(--tantu-radius);
}

/* About section image  */
.tantu-about-image {
    border-radius: var(--tantu-radius);
    overflow: hidden;
}

/* Service cards on inner pages — Fixing template-specific circular clips and negative margins */

/* =============================================================
   22. TESTIMONIAL SLIDER — Premium card layout
   ============================================================= */
.tantu-testimonial-section {
    padding: 100px 0;
    background: var(--tantu-bg-light);
    position: relative;
    overflow: hidden;
}

.tantu-testimonial-section {
    background: linear-gradient(180deg, #FDFBF7 0%, #FAFCF9 100%) !important;
    padding: 120px 0 !important;
    position: relative;
    overflow: hidden;
}

/* Subtle Background Blur Shapes */
.tantu-testimonial-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 140, 81, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    display: block !important;
}

.tantu-testimonial-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 196, 141, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    display: block !important;
}

.tantu-testimonial-section .container {
    position: relative;
    z-index: 1;
}

.tantu-testimonial-section .section-title span {
    color: var(--tantu-olive);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tantu-testimonial-section .section-title h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--tantu-header);
}

.tantu-testimonial-section .section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--tantu-text-light);
    font-size: 18px;
    line-height: 1.6;
}

.tantu-testimonial-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px !important;
    padding: 45px 35px 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 15px 10px !important;
}

.tantu-testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(74, 103, 65, 0.08) !important;
    background: #fff !important;
    border-color: rgba(74, 103, 65, 0.1) !important;
}

.tantu-testimonial-card .tantu-quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: rgba(91, 140, 81, 0.08);
    line-height: 1;
}

.tantu-testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.tantu-testimonial-stars i {
    color: #FFB800 !important;
    /* Premium Gold */
    font-size: 15px;
}

.tantu-testimonial-text {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: var(--tantu-header) !important;
    font-style: normal !important;
    margin-bottom: 30px !important;
    flex-grow: 1;
    font-weight: 500;
}

.tantu-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.tantu-testimonial-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800 !important;
    font-size: 20px !important;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
}

.tantu-testimonial-author-info h5 {
    font-family: var(--font-heading);
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--tantu-header) !important;
    margin-bottom: 4px !important;
}

.tantu-testimonial-author-info p {
    font-size: 14px !important;
    color: var(--tantu-text-light) !important;
    margin: 0;
    font-weight: 500;
}

/* Swiper pagination for testimonials */
.tantu-testimonial-section .swiper-pagination {
    position: relative;
    margin-top: 60px !important;
    bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tantu-testimonial-section .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(74, 103, 65, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    margin: 0 8px !important;
}

.tantu-testimonial-section .swiper-pagination-bullet-active {
    background: var(--tantu-olive) !important;
    width: 35px !important;
    border-radius: 10px !important;
}

/* Slider Navigation Arrows */
.testimonial-prev,
.testimonial-next {
    width: 50px !important;
    height: 50px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    color: var(--tantu-olive) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.testimonial-prev::after,
.testimonial-next::after {
    font-size: 18px !important;
    font-weight: 900 !important;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--tantu-olive) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.testimonial-prev {
    left: -70px !important;
}

.testimonial-next {
    right: -70px !important;
}

@media (max-width: 1350px) {
    .testimonial-prev {
        left: 10px !important;
    }

    .testimonial-next {
        right: 10px !important;
    }
}

@media (max-width: 991px) {

    .testimonial-prev,
    .testimonial-next {
        display: none !important;
    }
}

/* Testimonial responsive */
@media (max-width: 991px) {
    .tantu-testimonial-section {
        padding: 100px 0 !important;
    }

    .tantu-testimonial-section .section-title h2 {
        font-size: 38px;
    }
}

@media (max-width: 575px) {
    .tantu-testimonial-section {
        padding: 80px 0 !important;
    }

    .tantu-testimonial-card {
        padding: 35px 25px 25px !important;
    }

    .tantu-testimonial-section .section-title h2 {
        font-size: 32px;
    }
}

/* Section 23 Footer Overrides Consolidated into Section 13 */


/* =============================================================
   24. OVERALL SPACING & LAYOUT NORMALIZATION
   ============================================================= */

/* Consistent section padding */
.section-padding {
    padding: 100px 0 !important;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0 !important;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 60px 0 !important;
    }
}

/* Gallery section container alignment - now inside .container */

/* Fix section spacing where pt-0 causes cramming */
.cta-section {
    padding-top: 40px !important;
}

/* Team card spacing on mobile */
@media (max-width: 767px) {
    .team-card {
        margin-bottom: 24px;
    }
}

/* Team Slider Pagination */
.team-slider .swiper-pagination {
    position: relative;
    margin-top: 40px !important;
    bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-slider .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(74, 103, 65, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    margin: 0 6px !important;
}

.team-slider .swiper-pagination-bullet-active {
    background: var(--tantu-olive) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Insight Cards (Comparative Study) */
.insight-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.insight-card h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--tantu-header);
    font-size: 22px;
}

.insight-card .list-area li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--tantu-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.insight-card .list-area li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: var(--tantu-olive);
    font-size: 14px;
    margin-top: 4px;
}

.insight-card.design-insight {
    border-left: 6px solid var(--tantu-olive);
}

.insight-card.sustainability-insight {
    border-left: 6px solid #333;
}

@media (max-width: 991px) {
    .insight-card {
        padding: 25px;
    }
}

/* Contact info boxes consistent height */
.contact-info-box {
    height: 100%;
    border-radius: var(--tantu-radius);
}

/* Service box items consistent */

/* Choose-us section spacing fix */
.choose-us-section {
    padding-top: 100px !important;
}

@media (max-width: 991px) {
    .choose-us-section {
        padding-top: 80px !important;
    }
}

/* Feature section spacing */
.feature-section {
    padding: 80px 0 !important;
}

@media (max-width: 767px) {
    .feature-section {
        padding: 60px 0 !important;
    }
}

/* =============================================================
   25. FARMERS & WEAVERS SECTION ENHANCEMENT
   ============================================================= */
.farmers-weavers-section {
    background-color: rgba(91, 140, 81, 0.04);
    /* Subtle brand tint */
    padding: 140px 0 !important;
    border-top: 1px solid rgba(91, 140, 81, 0.08);
    border-bottom: 1px solid rgba(91, 140, 81, 0.08);
    position: relative;
    overflow: hidden;
}

.subtitle-mini {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--tantu-olive);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    opacity: 0.8;
}

.farmers-weavers-content .section-title h2 {
    font-size: 44px;
    font-weight: 800;
    margin-top: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.farmers-weavers-content p {
    font-size: 17.5px;
    line-height: 1.8;
    margin-top: 25px;
    margin-bottom: 30px;
    color: var(--tantu-text);
    max-width: 90%;
}

.farmers-weavers-content .list-area {
    list-style: none;
    padding: 0;
    margin-bottom: 45px;
}

.farmers-weavers-content .list-area li {
    margin-bottom: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--tantu-header);
    font-size: 15.5px;
}

.farmers-weavers-content .list-area li i {
    color: var(--tantu-olive);
    margin-right: 15px;
    font-size: 18px;
}

/* Asymmetric Image Composition */
.community-image-composition {
    position: relative;
    width: 100%;
    max-width: 420px;
    /* Reduced width for perfect balance with text column */
    margin-bottom: 20px;
    z-index: 1;
}

.community-image-composition::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: rgba(91, 140, 81, 0.03);
    /* Subtle background tint depth */
    border-radius: 20px;
    z-index: -1;
}

.main-image {
    position: relative;
    border-radius: 16px;
    /* Slightly more sophisticated radius */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    /* Very soft, diffused shadow */
    z-index: 1;
}

.main-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.secondary-image {
    position: absolute;
    bottom: 15px;
    /* Anchored properly at bottom-right */
    right: 15px;
    width: 28%;
    /* Reduced size by ~15% for better proportion */
    border-radius: 8px;
    /* Slightly reduced radius */
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    /* Soft diffused shadow */
    border: none;
    /* Removed border for seamless anchoring */
    z-index: 2;
    transition: var(--tantu-transition);
}

.secondary-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.community-image-composition:hover .secondary-image {
    transform: translateY(-5px);
}

.image-composition-caption {
    font-size: 13.5px;
    color: var(--tantu-header);
    margin-top: 15px;
    /* Added proper spacing from image */
    opacity: 0.8;
    /* Increased contrast slightly */
    font-weight: 500;
    line-height: 1.4;
    font-style: normal;
    /* Removed heavy italic feel */
}

/* Enhanced CTA Area */
.community-cta-area {
    margin-top: 30px;
}

.cta-note {
    font-weight: 600;
    margin-bottom: 8px;
    /* Moved closer to CTA button */
    color: var(--tantu-header);
    font-size: 14.5px;
    opacity: 0.8;
    letter-spacing: 0;
    /* Reduced letter spacing */
}

.btn-community {
    height: 62px !important;
    line-height: 62px !important;
    padding: 0 45px !important;
    font-size: 16px !important;
    background-color: var(--tantu-olive) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(91, 140, 81, 0.15);
    transition: var(--tantu-transition) !important;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-community:hover {
    background-color: var(--tantu-olive-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(91, 140, 81, 0.25);
}

/* Quick Contact Info */
.community-quick-contact {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.community-quick-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tantu-header);
    font-weight: 600;
    font-size: 14.5px;
}

.community-quick-contact .contact-item i {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tantu-olive);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-size: 14px;
}

.community-quick-contact .contact-item a {
    color: inherit;
    transition: color 0.2s;
}

.community-quick-contact .contact-item a:hover {
    color: var(--tantu-olive);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .farmers-weavers-section {
        padding: 100px 0 !important;
    }

    .farmers-weavers-content {
        padding-left: 0 !important;
    }

    .community-image-composition {
        padding: 0;
        margin: 40px auto 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }

    .main-image img {
        height: 350px;
    }

    .secondary-image {
        position: static;
        width: 100%;
        border: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .secondary-image img {
        height: 220px;
    }

    .image-composition-caption {
        text-align: center;
    }

    .community-quick-contact {
        flex-direction: column;
        gap: 15px;
    }
}


@media (max-width: 575px) {
    .farmers-weavers-section {
        padding: 60px 0 !important;
    }

    .btn-community {
        width: 100% !important;
        max-width: 300px !important; /* Cap width for better aesthetics */
        margin: 0 auto !important;
        justify-content: center !important;
        display: flex !important;
    }
}

/* Hero Heading Casing Overrides */
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content span {
    text-transform: none !important;
}

/* Craftsmanship Section Styling */
.craftsmanship-section {
    padding: 140px 0 !important;
    background-color: rgba(91, 140, 81, 0.015);
    /* Even more subtle background tint */
    position: relative;
    z-index: 1;
}

.craftsmanship-image img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.craftsmanship-content .list-area li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--tantu-text);
    font-weight: 500;
    font-size: 16px;
}

.craftsmanship-content .list-area li i {
    color: var(--tantu-olive);
    font-size: 18px;
    margin-top: 3px;
}

@media (max-width: 991px) {
    .craftsmanship-section {
        padding: 80px 0 !important;
    }

    .craftsmanship-content {
        padding-left: 0 !important;
        margin-bottom: 50px;
    }
}

/* --- Modern Contact Section --- */
.contact-section.modern-design {
    background-color: var(--tantu-bg-light);
    position: relative;
    overflow: hidden;
}

.contact-section.modern-design .section-title span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--tantu-olive);
    margin-bottom: 15px;
}

.contact-section.modern-design .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--tantu-brown);
    margin-bottom: 10px;
}

.contact-section.modern-design .section-title p.subtext {
    color: var(--tantu-text-light);
    font-size: 16px;
    margin: 0 auto 40px;
    max-width: 600px;
}

.modern-contact-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(74, 103, 65, 0.08);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Decorative Green Elements */
.modern-contact-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--tantu-olive) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.2;
    z-index: -1;
}

.modern-contact-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--tantu-beige);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

.contact-form-box.modern-style .form-clt {
    margin-bottom: 0;
}

.contact-form-box.modern-style input,
.contact-form-box.modern-style textarea {
    width: 100%;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 15px;
    color: var(--tantu-brown);
    transition: all 0.3s ease;
}

.contact-form-box.modern-style input:focus,
.contact-form-box.modern-style textarea:focus {
    border-color: var(--tantu-olive);
    background: #fff;
    box-shadow: 0 5px 15px rgba(74, 103, 65, 0.05);
    outline: none;
}

.contact-form-box.modern-style textarea {
    height: 150px;
    resize: none;
}

.contact-form-box.modern-style .theme-btn {
    background: var(--tantu-olive);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: auto;
    line-height: normal;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form-box.modern-style .theme-btn:hover {
    background: #3a5234;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 82, 52, 0.2);
    color: #fff !important;
}

.footer-note {
    font-size: 13px;
    color: var(--tantu-text-light);
    margin-top: 20px;
}

@media (max-width: 768px) {
    .modern-contact-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .contact-section.modern-design .section-title h2 {
        font-size: 30px;
    }
}

/* Home Furnishings Enhancements */
.collection-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--tantu-olive);
}

.collection-card .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: #f0f4f0;
    color: var(--tantu-olive);
    border-radius: 50%;
    font-size: 32px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.collection-card:hover .icon {
    background: var(--tantu-olive);
    color: #fff;
}

.feature-box-dark {
    background: #1a2b16;
    color: #fff;
    padding: 60px;
    border-radius: 15px;
    margin-top: 40px;
}

.feature-box-dark h3 {
    color: #fff;
    margin-bottom: 20px;
}


/* =============================================================
   26. HOME FURNISHINGS RESPONSIVE OVERRIDES
   ============================================================= */

@media (max-width: 991px) {

    /* Introduction Section */
    .about-section {
        padding: 60px 0 !important;
    }

    .about-section .about-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .about-section .about-image img {
        height: 380px !important;
        width: 100% !important;
    }

    /* Collections Grid */
    .collection-card {
        padding: 30px 20px;
    }

    /* Features Section */
    .feature-box-dark {
        padding: 40px 20px !important;
        margin-top: 20px;
    }

    .feature-box-dark h3 {
        font-size: 28px;
        text-align: center;
    }

    .feature-box-dark p {
        text-align: center;
    }

    .feature-box-dark .feature-item-light {
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .feature-box-dark img {
        height: 300px !important;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .about-section .about-image img {
        height: 300px !important;
    }

    .collection-card .icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }

    .feature-box-dark h3 {
        font-size: 24px;
    }

    .cta-banner-5 h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 24px;
    }

    .feature-box-dark {
        padding: 30px 15px !important;
    }
}

/* --- Premium Contact Section --- */
.contact-section.modern-design {
    background-color: #ffffff !important;
    position: relative;
    overflow: hidden;
    padding: 120px 0 !important;
}

/* Subtle Background Blur Shapes for Contact */
.contact-section.modern-design::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91, 140, 81, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    display: block !important;
}

.contact-section.modern-design::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212, 196, 141, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    display: block !important;
}

.contact-section.modern-design .section-title span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--tantu-olive);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-section.modern-design .section-title h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--tantu-header);
    margin-bottom: 15px;
    line-height: 1.1;
}

.contact-section.modern-design .section-title p.subtext {
    color: var(--tantu-text-light);
    font-size: 18px;
    margin: 0 auto 60px;
    max-width: 600px;
}

.modern-contact-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 70px 80px !important;
    box-shadow: 0 30px 70px rgba(74, 103, 65, 0.08) !important;
    max-width: 850px !important;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Subtle Eco Pattern */
.modern-contact-card::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--tantu-olive) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
}

.contact-form-box.modern-style .form-clt {
    margin-bottom: 25px;
}

.contact-form-box.modern-style label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--tantu-header);
    transition: color 0.3s ease;
}

.contact-form-box.modern-style input,
.contact-form-box.modern-style textarea {
    width: 100%;
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    font-size: 16px;
    color: var(--tantu-header);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-box.modern-style input::placeholder,
.contact-form-box.modern-style textarea::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.contact-form-box.modern-style input:hover,
.contact-form-box.modern-style textarea:hover {
    border-color: #D1D5DB;
}

.contact-form-box.modern-style input:focus,
.contact-form-box.modern-style textarea:focus {
    background: #fff;
    border-color: var(--tantu-olive) !important;
    box-shadow: 0 0 0 4px rgba(74, 103, 65, 0.1) !important;
    outline: none;
}

.contact-form-box.modern-style textarea {
    height: 160px !important;
    resize: none;
}

.contact-form-box.modern-style .theme-btn {
    background: var(--tantu-olive) !important;
    color: #fff !important;
    border: none;
    border-radius: 100px;
    padding: 22px 55px !important;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: auto;
    line-height: normal;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(74, 103, 65, 0.2) !important;
    transition: all 0.3s ease !important;
}

.contact-form-box.modern-style .theme-btn i {
    transition: transform 0.3s ease;
}

.contact-form-box.modern-style .theme-btn:hover {
    background: var(--tantu-red) !important;
    transform: scale(1.02) translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(175, 29, 29, 0.3) !important;
}

.contact-form-box.modern-style .theme-btn:hover i {
    transform: translate(3px, -3px);
}

.trust-signals {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-signals span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.trust-signals i {
    color: var(--tantu-olive);
}

@media (max-width: 991px) {
    .modern-contact-card {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .contact-section.modern-design {
        padding: 80px 0;
    }

    .contact-section.modern-design .section-title h2 {
        font-size: 36px;
    }

    .modern-contact-card {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .contact-form-box.modern-style .theme-btn {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------------------------
   11. HOME FURNISHINGS PAGE STYLES
   ----------------------------------------------- */
.product-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.product-image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--tantu-transition);
}

.lead-text {
    font-size: 1.1rem;
    color: var(--tantu-header);
    font-weight: 500;
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Furnishing Collection Cards */
.furnishing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: var(--tantu-transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
}

.furnishing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tantu-shadow-hover);
}

.furnishing-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 103, 65, 0.1);
    color: var(--tantu-olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px;
    transition: var(--tantu-transition);
}

.furnishing-card:hover .card-icon {
    background: var(--tantu-olive);
    color: #fff;
}

.furnishing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Feature Dark Card */
.feature-dark-card {
    background: var(--tantu-header);
    color: #fff;
    border-radius: 24px;
}

.feature-image {
    height: 100%;
    min-height: 400px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--tantu-transition);
}

.feature-pill i {
    color: var(--tantu-yellow);
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.cta-content-box {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .feature-image {
        min-height: 300px;
    }

    .product-info-content {
        text-align: center;
    }

    .product-info-content .section-title {
        margin-bottom: 25px;
    }

    .action-btns {
        justify-content: center;
    }
}

/* =============================================================
   30. GLOBAL HORIZONTAL OVERFLOW FIXES
   ============================================================= */

html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Ensure all containers are strictly constrained */
.container,
.container-fluid {
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .container {
        max-width: var(--container-max-width) !important;
    }
}

/* Fix for large images and media */
img,
video,
canvas,
svg {
    max-width: 100% !important;
    height: auto !important;
}

/* Fix for Bootstrap rows causing overflow due to negative margins */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.col,
[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Offcanvas Sidebar Width Fix for Mobile */
@media (max-width: 575px) {
    .offcanvas__info {
        width: 280px !important;
        max-width: 85vw !important;
    }
}

/* Fix for Swiper/Slider Overflow */
.swiper-container,
.swiper {
    max-width: 100%;
}

/* Remove any VW based widths that cause issues with scrollbars */
.full-width,
.w-100vw {
    width: 100% !important;
}

/* Responsive Header Fixes */
@media (max-width: 1199px) {

    .header-main,
    .mega-menu-wrapper,
    .header-1 {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

/* Team section responsive column fix */
@media (max-width: 767px) {
    .team-card {
        width: 100% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 30px;
    }

    .team-card .team-image {
        padding: 10px !important;
    }

    .team-card .team-content {
        padding: 0 15px 25px !important;
    }

    /* Reposition back-to-top to avoid overlapping content */
    .back-to-top {
        right: 15px !important;
        bottom: 15px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }
}

/* =============================================================
   31. GALLERY IMPROVEMENTS
   ============================================================= */
.gallery-card {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    /* Crops bottom watermark */
    display: block;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.gallery-card:hover::after {
    opacity: 1;
}

/* Responsive fix for gallery cards */
@media (max-width: 768px) {
    .gallery-card {
        height: 350px;
    }
}

/* =============================================================
   32. FEATURE SECTION SHADOW REMOVAL
   ============================================================= */
.feature-box-items,
.feature-icon,
.feature-img,
.feature-box img,
.icon-wrapper {
    box-shadow: none !important;
    background: transparent !important;
}

.feature-icon::before,
.feature-icon::after {
    display: none !important;
}

.feature-icon img {
    filter: none !important;
    transition: transform 0.3s ease;
}

.feature-icon:hover img {
    transform: scale(1.05);
}

/* =============================================================
   33. FARMERS & WEAVERS IMAGE FIXES
   ============================================================= */
.community-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 4 / 3;
    background: transparent;
    /* Remove any grey empty space */
}

.community-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease;
}

.community-image:hover img {
    transform: scale(1.05);
}

.community-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 16px 16px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    text-align: center;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .community-image {
        aspect-ratio: 4 / 3;
    }
}

/* =============================================================
   34. PREMIUM PHONE UI IN CTA
   ============================================================= */
.phone-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-icon {
    width: 48px;
    height: 48px;
    background: #e6d25a;
    /* soft yellow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tantu-header);
    /* match CTA text or keep dark */
    font-size: 18px;
}

.phone-text {
    text-align: left;
}

.phone-text small {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    margin-bottom: 2px;
}

.phone-text strong {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.phone-text strong a {
    color: #ffffff;
    transition: 0.3s;
}

.phone-text strong a:hover {
    color: #e6d25a;
}

/* Align properly inside the CTA section */
.tantu-cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Mobile responsive */
@media (max-width: 575px) {
    .tantu-cta-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .phone-box {
        margin-top: 10px;
    }
}

/* =============================================================
   35. HEADER & NAVBAR STANDARDIZATION
   ============================================================= */
.header-1 .container,
.mega-menu-wrapper {
    max-width: 100% !important;
}

.mega-menu-wrapper {
    padding-left: 24px;
    padding-right: 24px;
}

.top-logo {
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.top-logo img {
    height: auto !important;
    max-height: 100px !important;
    width: auto !important;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 100px;
    /* Ensure enough vertical space for the logo */
}

.header-cta {
    background: var(--tantu-olive);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--tantu-red);
    color: #fff;
}

/* Ensure mobile header stays balanced */
@media (max-width: 991px) {
    .mega-menu-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-logo {
        margin-left: 0;
    }

    .header-cta {
        display: none;
        /* Hide on mobile to save space, usually inside hamburger menu */
    }
}

/* =============================================================
   36. CONTACT FORM RESPONSIVENESS FIX
   ============================================================= */
@media (max-width: 991px) {
    .modern-contact-card {
        padding: 40px 30px !important;
        max-width: 100% !important;
        margin: 0 15px;
    }
}

@media (max-width: 767px) {
    .modern-contact-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
        margin: 0 10px;
    }

    .contact-form-box.modern-style .form-clt {
        margin-bottom: 20px !important;
    }

    .contact-form-box.modern-style input,
    .contact-form-box.modern-style textarea {
        width: 100% !important;
        padding: 14px 18px !important;
        font-size: 15px !important;
    }

    .contact-form-box.modern-style label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .trust-signals {
        gap: 15px !important;
        margin-top: 25px !important;
    }

    .trust-signals span {
        font-size: 12px !important;
    }
}

/* Fix for potential grid overflow on small devices */
.modern-contact-card .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.modern-contact-card [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* =============================================================
   37. FOOTER & OFFCANVAS CONTACT ICON STYLING
   ============================================================= */
.contact-list li {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.contact-list li .icon {
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0 !important;
    /* Prevent squashing from long text */
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    position: relative;
}

.footer-widget-items .contact-list li .icon:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--tantu-yellow) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-list li .icon a {
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
}

.contact-list li .icon i {
    transition: transform 0.3s ease;
    font-size: 18px;
    margin: 0 !important;
}

.contact-list li .icon:hover i {
    transform: scale(1.1);
}

/* =============================================================
   38. HERO SECTION & BUTTONS RESPONSIVENESS (CONSOLIDATED)
   ============================================================= */
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-1 .hero-bg {
    background-position: center top !important;
}

.hero-1 .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-1 .hero-height {
    padding: 150px 0 120px !important;
}

/* Desktop Fix: Balanced "Medium" Heading sizes */
.hero-1 .hero-content h1 {
    font-size: 80px !important;
    font-weight: 700 !important;
    /* Reduced from 900 */
    line-height: 1.1 !important;
    margin-top: 15px !important;
}

.hero-1 .hero-content h2 {
    font-size: 40px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}

@media (max-width: 1399px) {
    .hero-1 .hero-content h1 {
        font-size: 70px !important;
    }

    .hero-1 .hero-content h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 1199px) {
    .hero-1 .hero-content h1 {
        font-size: 60px !important;
    }

    .hero-1 .hero-content h2 {
        font-size: 32px !important;
    }
}

@media (max-width: 991px) {
    .hero-1 {
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .hero-1 .hero-bg,
    .hero-1 .banner-active,
    .hero-1 .hero-height {
        border-radius: 0 !important;
    }

    .hero-1 .hero-content h1 {
        font-size: 48px !important;
        line-height: 1.2 !important;
    }

    .hero-1 .hero-content h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 767px) {
    .hero-1 .hero-height {
        padding: 100px 0 80px !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-1 .container,
    .hero-1 .row,
    .hero-1 .col-lg-12 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-1 .hero-content {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 40px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-1 .hero-content h1 {
        font-size: 30px !important; /* Slightly smaller for very narrow screens */
        margin: 15px auto 0 !important;
        line-height: 1.3 !important; /* Increased line-height */
        text-align: center !important;
        width: 100% !important;
        word-wrap: break-word !important;
    }

    .hero-1 .hero-content h2 {
        font-size: 22px !important;
        margin: 10px auto 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hero-1 .hero-content span {
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .hero-1 .hero-content span img {
        height: 16px !important;
        width: auto !important;
        margin: 0 10px 0 0 !important;
        float: none !important;
    }

    .hero-1 .hero-button {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        margin: 30px auto 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
    }

    .hero-1 .hero-button .theme-btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        height: 50px !important;
        line-height: 50px !important;
        font-size: 14px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    .hero-1 .hero-bg,
    .hero-1 .banner-active {
        border-radius: 0 !important;
    }
}

/* =============================================================
   39. GLOBAL BUTTON REFINEMENTS (PREMIUM INTERACTION)
   ============================================================= */
.theme-btn,
.header-cta,
.tantu-cta-btn,
.contact-form-box.modern-style .theme-btn {
    position: relative;
    background: var(--tantu-olive) !important;
    color: #fff !important;
    border: 1px solid #fff !important; /* Added white border */
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 4px 15px rgba(109, 114, 70, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: 1 !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    overflow: hidden;
    z-index: 1;
    text-transform: capitalize !important;
}

/* Shine effect using ::before */
.theme-btn::before,
.header-cta::before,
.tantu-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transition: none !important;
    z-index: 2;
    display: block !important;
    pointer-events: none;
}

.theme-btn:hover::before,
.header-cta:hover::before,
.tantu-cta-btn:hover::before {
    left: 100%;
    transition: all 0.6s ease-in-out !important;
}

/* Remove template overlays */
.theme-btn::after {
    display: none !important;
}

.theme-btn:hover,
.header-cta:hover,
.tantu-cta-btn:hover,
.contact-form-box.modern-style .theme-btn:hover {
    background: #5A5F3A !important;
    /* Deeper olive */
    color: #fff !important;
    border: 1px solid #fff !important; /* Added white border on hover */
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Secondary Button Style (Transparent/Outlined) */
.theme-btn.secondary-btn,
.theme-btn.style-2 {
    background: transparent !important;
    border: 2px solid var(--tantu-olive) !important;
    color: var(--tantu-olive) !important;
    box-shadow: none !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.theme-btn.secondary-btn:hover,
.theme-btn.style-2:hover {
    background: var(--tantu-olive) !important;
    color: #fff !important;
    border-color: var(--tantu-olive) !important;
    box-shadow: 0 10px 20px rgba(109, 114, 70, 0.2) !important;
}

/* Icon Animation */
.theme-btn i,
.header-cta i,
.tantu-cta-btn i {
    margin-left: 12px !important;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.theme-btn:hover i,
.header-cta:hover i,
.tantu-cta-btn:hover i {
    transform: translateX(6px);
}

/* Banner specific button sizes */
.hero-1 .hero-button .theme-btn {
    min-height: 48px !important;
    padding: 0 32px !important;
    font-size: 15px !important;
}

@media (max-width: 767px) {
    .theme-btn {
        min-height: 50px !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    .hero-1 .hero-button .theme-btn {
        min-height: 50px !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-1 .hero-content h1 {
        font-size: 28px !important;
        margin-top: 10px !important;
    }

    .hero-1 .hero-content h2 {
        font-size: 18px !important;
    }

    .hero-1 .hero-height {
        padding: 80px 0 60px !important;
    }
}

/* =============================================================
   40. GALLERY CARD REFINEMENTS (MEDIUM SIZE)
   ============================================================= */
.gallery-image-box-3 {
    height: 380px !important;
    margin-top: 25px !important;
    transition: var(--tantu-transition);
}

.gallery-image-box-3 img {
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 1399px) {
    .gallery-image-box-3 {
        height: 340px !important;
    }
}

@media (max-width: 991px) {
    .gallery-image-box-3 {
        height: 300px !important;
    }
}

@media (max-width: 767px) {
    .gallery-image-box-3 {
        height: 260px !important;
        border-radius: 20px !important;
    }

    .gallery-image-box-3 img {
        border-radius: 20px !important;
    }

    .gallery-image-box-3 .content {
        padding: 12px 16px !important;
        left: 15px !important;
        bottom: 15px !important;
    }

    .gallery-image-box-3 .content h3 {
        font-size: 16px !important;
    }

    .gallery-image-box-3 .content p {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }
}

/* -----------------------------------------------
   40. SHOWCASE GALLERY CAPTION STYLING
   ----------------------------------------------- */
.tantu-gallery-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 36, 30, 0.85);
    /* Deep earthy brown with opacity */
    padding: 15px 20px;
    transition: var(--tantu-transition);
    transform: translateY(0);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.caption-text {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-family: var(--font-body);
    font-weight: 500;
}

.tantu-gallery-card:hover .tantu-gallery-caption-overlay {
    background: rgba(74, 103, 65, 0.9);
    /* Brand green on hover */
}

@media (max-width: 767px) {
    .tantu-gallery-caption-overlay {
        padding: 10px 15px;
    }

    .caption-text {
        font-size: 12px !important;
    }
}

/* Mobile Logo Resize Override */
@media (max-width: 991px) {
    .top-logo img {
        height: 85px !important;
        max-height: 100px !important;
    }

    .header-main {
        min-height: 80px;
    }
}

/* -----------------------------------------------
   41. CONTACT INFO CARDS REFINEMENT
   ----------------------------------------------- */
.contact-info-section {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
    background-color: #fafafa !important;
    /* Extremely subtle background to make cards pop */
}

.contact-info-box {
    background: #fff !important;
    padding: 45px 30px !important;
    border-radius: 24px !important;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 15px 45px rgba(44, 36, 30, 0.04) !important;
    border: 1px solid rgba(109, 114, 70, 0.08) !important;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(44, 36, 30, 0.1) !important;
    border-color: var(--tantu-olive) !important;
}

/* Sublte accent line on top */
.contact-info-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--tantu-olive);
    transition: width 0.4s ease;
}

.contact-info-box:hover::after {
    width: 100%;
}

.contact-info-box .icon {
    width: 76px;
    height: 76px;
    background: rgba(109, 114, 70, 0.07) !important;
    color: var(--tantu-olive) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-info-box:hover .icon {
    background: var(--tantu-olive) !important;
    color: #fff !important;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-box .icon a {
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-info-box h3 {
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 18px !important;
    color: var(--tantu-header) !important;
    font-family: var(--font-heading);
}

.contact-info-box p {
    font-size: 16px !important;
    color: var(--tantu-text-light) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    font-family: var(--font-body);
}

.contact-info-box p a {
    color: var(--tantu-text);
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-info-box p a:hover {
    color: var(--tantu-red);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-info-box {
        padding: 40px 20px !important;
        margin-bottom: 20px;
    }
}

/* Hide Get in Touch button in mobile views to prevent overlap with logo/hamburger */
@media (max-width: 991px) {
    .header-cta {
        display: none !important;
    }
}

/* ============================================================
   MATERIALS PAGE — Mobile Responsive Fixes
   ============================================================ */

/* Tablet adjustments */
@media (max-width: 991px) {
    .service-box-items-3 .service-thumb {
        height: 220px !important;
    }

    .service-box-items-3 .service-content {
        padding: 24px 20px !important;
    }

    .service-box-items-3 .service-content .icon {
        width: 75px !important;
        height: 75px !important;
        margin: -38px auto 15px !important;
    }

    .service-box-items-3 .service-content .icon i {
        font-size: 34px !important;
    }

    .service-box-items-3 .service-content h4 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .service-box-items-3 .service-content p {
        font-size: 14.5px !important;
    }
}

/* Mobile phone adjustments */
@media (max-width: 575px) {
    .materials-section .row.g-4>[class*="col-"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .service-box-items-3 {
        border-radius: 16px !important;
        margin-bottom: 10px;
    }

    .service-box-items-3 .service-thumb {
        height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .service-box-items-3 .service-thumb img {
        border-radius: 16px 16px 0 0 !important;
    }

    .service-box-items-3 .service-content {
        padding: 20px 16px 24px !important;
    }

    .service-box-items-3 .service-content .icon {
        width: 65px !important;
        height: 65px !important;
        margin: -33px auto 12px !important;
        border-width: 3px !important;
    }

    .service-box-items-3 .service-content .icon i {
        font-size: 28px !important;
    }

    .service-box-items-3 .service-content h4 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .service-box-items-3 .service-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Application section mobile fix */
    .application-image img {
        border-radius: 12px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Small phone adjustments */
@media (max-width: 400px) {
    .service-box-items-3 .service-thumb {
        height: 180px !important;
    }

    .service-box-items-3 .service-content {
        padding: 16px 14px 20px !important;
    }

    .service-box-items-3 .service-content h4 {
        font-size: 17px !important;
    }

    .service-box-items-3 .service-content p {
        font-size: 13.5px !important;
    }
}

/* ============================================================
   FOOTER — Background Color Override
   ============================================================ */
.footer-section {
    background-color: #676b49 !important;
}

.footer-section::before {
    background: rgba(103, 107, 73, 0.85) !important;
    z-index: -1 !important;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

/* ============================================================
   BUTTONS — Prevent Text Wrapping
   ============================================================ */
.theme-btn {
    white-space: nowrap !important;
}

/* ============================================================
   HERO BUTTONS — White Gray Theme (High Specificity)
   ============================================================ */
.hero-1 .hero-button .theme-btn {
    background-color: #F4F4F4 !important;
    color: #6D7246 !important; /* Tantu Olive */
    border-color: #F4F4F4 !important;
}

.hero-1 .hero-button .theme-btn.style-2 {
    background-color: transparent !important;
    color: #F4F4F4 !important; /* White Gray Text for outline */
    border-color: #F4F4F4 !important;
}

.hero-1 .hero-button .theme-btn:hover,
.hero-1 .hero-button .theme-btn.style-2:hover {
    background-color: #6D7246 !important; /* Tantu Olive */
    color: #F4F4F4 !important; /* White Gray */
    border-color: #6D7246 !important;
}

/* Remove gradient indicator if any */
.hero-1 .hero-button .theme-btn::before,
.hero-1 .hero-button .theme-btn.style-2::before {
    display: none !important;
}

/* ============================================================
   CTA SECTION — Match Tantu Logo Color
   ============================================================ */
.cta-wrapper.bg-cover {
    background: #676b49 !important; /* Solid Footer Color */
    background-image: none !important;
}

.cta-wrapper .tantu-cta-btn {
    background-color: #F4F4F4 !important; /* White Gray */
    color: var(--tantu-olive) !important;
    border-color: #F4F4F4 !important;
}
.cta-wrapper .tantu-cta-btn:hover {
    background-color: #E2E6EA !important;
    color: #505e4c !important;
}

/* ==========================================================
   HERO SECTION DOT
   ============================================================ */
.title-dot {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #8f9b6c; /* Light green inner */
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    border: 6px solid rgba(143, 155, 108, 0.2); /* Translucent outer border */
    background-clip: padding-box;
}