/* Heritage Marketing Custom Carousel Styles */

/* Add Golden Border to Navbar */
.header-navigation {
    border-bottom: 4px solid #bfa37c;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Split layout carousel - content left, image right */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgb(85 85 85 / 5%);
    z-index: 10;
}

.hero-post-slider-two {
    position: relative;
    width: 100%;
    transition: opacity 0.3s ease;
}

.hero-post-slider-two .single-hero-slide {
    position: relative;
    min-height: 600px;
    display: flex !important;
    align-items: center;
    background: transparent;
    /* Removed background */
    width: 100%;
    transition: transform 0.1s ease-out;
}

/* Overlay for Carousel Background */


.hero-post-slider-two .hero-wrapper-two {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 60px 0;
    background-color: #f8f3ef;
    /* Cream Background Base */
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensure pseudo doesn't spill */
}

/* Parallax Background via Pseudo-element for Opacity Control */
.hero-post-slider-two .hero-wrapper-two::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg/carousel-bg-transparent.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax Effect */
    opacity: 0.05;
    /* More Transparent */
    z-index: -1;
    /* Behind content */
    pointer-events: none;
}

.hero-post-slider-two .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-post-slider-two .hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-post-slider-two .hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px 0;
    text-align: left;
}

.hero-post-slider-two .hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    transition: transform 0.1s ease-out;
}

.hero-post-slider-two .hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1),
        opacity 0.6s ease,
        box-shadow 0.4s ease;
}

/* Text Animations */
.hero-post-slider-two .slick-active .hero-content .tag-line {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-post-slider-two .slick-active .hero-content h1 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-post-slider-two .slick-active .hero-content p {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-post-slider-two .slick-active .hero-content .product-features {
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.hero-post-slider-two .slick-active .hero-content .theme-btn {
    animation: fadeInUp 0.6s ease-out 1s both;
}

/* Image Animations */
.hero-post-slider-two .slick-active .hero-image {
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

/* Additional image pulse animation */
.hero-post-slider-two .slick-active .hero-image img {
    animation: imagePulse 0.8s ease-out 0.5s both;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes imagePulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating animation for images */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-post-slider-two .slick-active .hero-image img {
    animation: imagePulse 0.8s ease-out 0.5s both, float 3s ease-in-out 1.5s infinite;
}

/* Hover effect on image */
.hero-post-slider-two .hero-image:hover img {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 50px rgba(191, 163, 124, 0.25);
}

/* Typography */
.hero-post-slider-two .hero-content h1 {
    color: #1a1a1a;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-post-slider-two .hero-content p {
    color: #666;
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-post-slider-two .hero-content .tag-line {
    color: #bfa37c;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.hero-post-slider-two .hero-content .tag-line i {
    color: #bfa37c;
    font-size: 12px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-post-slider-two .hero-content .tag-line b {
    color: #1a1a1a;
    font-weight: 600;
}

/* Product Features List */
.hero-post-slider-two .product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.hero-post-slider-two .product-features li {
    color: #444;
    font-size: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-post-slider-two .product-features li i {
    color: #bfa37c;
    font-size: 14px;
    flex-shrink: 0;
    animation: checkPop 0.3s ease-out both;
}

.hero-post-slider-two .slick-active .product-features li:nth-child(1) i {
    animation-delay: 0.9s;
}

.hero-post-slider-two .slick-active .product-features li:nth-child(2) i {
    animation-delay: 1.0s;
}

.hero-post-slider-two .slick-active .product-features li:nth-child(3) i {
    animation-delay: 1.1s;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation Arrows */
.hero-post-slider-two .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 50px;
    height: 50px;
    border: none;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.hero-post-slider-two .slick-arrow:hover {
    background: #bfa37c;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(191, 163, 124, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.hero-post-slider-two .slick-arrow i {
    font-size: 20px;
}

.hero-post-slider-two .slick-prev {
    left: 30px;
}

.hero-post-slider-two .slick-next {
    right: 30px;
}

.hero-post-slider-two .slick-arrow:before {
    display: none;
}

/* Slick dots styling */
.hero-section .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-section .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.hero-section .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    background: #bfa37c;
    border-radius: 50%;
    opacity: 0.3;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.hero-section .slick-dots li button:before {
    display: none;
}

.hero-section .slick-dots li.slick-active button {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Slick slider fixes */
.hero-post-slider-two .slick-list {
    overflow: hidden;
}

.hero-post-slider-two .slick-track {
    display: flex;
    align-items: stretch;
}

.hero-post-slider-two .slick-slide {
    height: auto;
    float: none;
    display: flex;
    align-items: center;
}

.hero-post-slider-two .slick-slide>div {
    width: 100%;
}

/* Reset animations for non-active slides */
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-content .tag-line,
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-content h1,
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-content p,
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-content .product-features,
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-content .theme-btn,
.hero-post-slider-two .slick-slide:not(.slick-active) .hero-image {
    opacity: 0;
}


/* Simple WhatsApp Button - Same as Get Quote but Green */
.whatsapp-btn-simple {
    background: #25D366 !important;
}

.whatsapp-btn-simple:hover {
    background: #20BA5A !important;
}

.whatsapp-btn-simple i {
    margin-right: 6px;
}


/* WhatsApp Button - Simple Green */
.whatsapp-btn-green {
    background: #25D366 !important;
}

.whatsapp-btn-green:hover {
    background: #20BA5A !important;
}

.whatsapp-btn-green i {
    margin-right: 6px;
}

/* WhatsApp Button - Simple Green - Final */
.nav-right-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-btn-green {
    background: #25D366 !important;
    font-weight: 700 !important;
}


.whatsapp-btn-green:hover {
    background: #20BA5A !important;
}

.whatsapp-btn-green,
.whatsapp-btn-green i,
.whatsapp-btn-green .fab {
    color: #ffffff !important;
}

.whatsapp-btn-green i {
    margin-right: 6px;
    font-weight: normal;
}


/* HM Logo Loader Animation */
.preloader .loader {
    text-align: center;
    position: relative;
}

.hm-loader-logo {
    width: 120px;
    height: auto;
    animation: dopePulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(184, 134, 11, 0.3));
}

@keyframes dopePulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 5px rgba(184, 134, 11, 0.2));
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(184, 134, 11, 0.6));
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 5px rgba(184, 134, 11, 0.2));
    }
}



/* Intro Section Styling */
.intro-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    /* overflow: hidden; Removed to show shadow */
    box-shadow: 0 20px 40px rgb(85 85 85 / 5%);
    z-index: 5;
    /* Ensure it sits above other elements */
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, rgba(191, 163, 124, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(191, 163, 124, 0.02) 25%, transparent 25%);
    background-size: 40px 40px;
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-heading {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.intro-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #bfa37c, transparent);
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .intro-heading {
        font-size: 32px;
    }

    .intro-text {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .intro-heading {
        font-size: 26px;
    }

    .intro-text {
        font-size: 15px;
    }

    .intro-section {
        padding: 60px 0 !important;
        box-shadow: 0 20px 40px rgb(85 85 85 / 5%);
    }
}


/* What We Offer Section */
.what-we-offer-section {
    background: #ffffff;
}

.offer-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 163, 124, 0.05), transparent);
    transition: left 0.6s ease;
}

.offer-card:hover::before {
    left: 100%;
}

.offer-card:hover {
    border-color: #bfa37c;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(191, 163, 124, 0.15);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #bfa37c 0%, #d4b896 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.offer-card:hover .offer-icon {
    transform: scale(1.1) rotate(5deg);
}

.offer-icon i {
    font-size: 36px;
    color: #ffffff;
}

.offer-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.offer-card:hover .offer-content h4 {
    color: #bfa37c;
}

.offer-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.offer-tagline {
    margin-top: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #bfa37c;
}

.offer-tagline p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

@media (max-width: 991px) {
    .offer-card {
        padding: 30px 25px;
    }

    .offer-icon {
        width: 70px;
        height: 70px;
    }

    .offer-icon i {
        font-size: 30px;
    }

    .offer-content h4 {
        font-size: 20px;
    }

    .offer-tagline p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .offer-card {
        margin-bottom: 30px;
    }

    .offer-content h4 {
        font-size: 18px;
    }

    .offer-content p {
        font-size: 15px;
    }

    .offer-tagline p {
        font-size: 16px;
    }
}


/* Center icons in offer cards */
.offer-card .offer-icon {
    margin-left: auto;
    margin-right: auto;
}


/* Reduce tagline spacing */
.offer-tagline {
    margin-top: 20px !important;
}

/* Redesigned Tagline - Modern & Clean */
.offer-tagline {
    margin-top: 30px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.offer-tagline p {
    font-size: 22px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
    padding: 0 40px;
}

.offer-tagline p::before,
.offer-tagline p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #bfa37c, transparent);
}

.offer-tagline p::before {
    left: 0;
}

.offer-tagline p::after {
    right: 0;
    background: linear-gradient(90deg, transparent, #bfa37c);
}

@media (max-width: 991px) {
    .offer-tagline p {
        font-size: 19px !important;
        padding: 0 30px;
    }

    .offer-tagline p::before,
    .offer-tagline p::after {
        width: 20px;
    }
}

@media (max-width: 767px) {
    .offer-tagline p {
        font-size: 17px !important;
        padding: 0 20px;
    }

    .offer-tagline p::before,
    .offer-tagline p::after {
        display: none;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, rgba(191, 163, 124, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(191, 163, 124, 0.02) 25%, transparent 25%);
    background-size: 40px 40px;
    pointer-events: none;
}

.why-choose-list {
    position: relative;
    z-index: 1;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #bfa37c;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.why-choose-item:hover::before {
    transform: scaleY(1);
}

.why-choose-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-choose-item .content-box p {
    font-size: 15px;
}

/* Update Why Choose Us for Grid Layout */
.why-choose-item {
    height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.why-choose-item:hover {
    transform: translateY(-10px);
}

.why-choose-item .content-box {
    width: 100%;
}

/* Process Timeline Layout - Horizontal */
.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0 10%, #e0e0e0 90%, transparent);
    z-index: 0;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 50px;
    height: 50px;
    background: #fff5e6;
    border: 2px solid #bfa37c;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #bfa37c;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.process-icon i {
    font-size: 28px;
    color: #666;
    transition: color 0.3s ease;
}

.process-item:hover .process-icon {
    background: linear-gradient(135deg, #bfa37c 0%, #d4b896 100%);
    border-color: #bfa37c;
    transform: scale(1.1);
}

.process-item:hover .process-icon i {
    color: #ffffff;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.process-item:hover h4 {
    color: #bfa37c;
}

.process-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 991px) {
    .process-timeline::before {
        display: none;
    }

    .process-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .process-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .process-icon {
        width: 55px;
        height: 55px;
    }

    .process-icon i {
        font-size: 24px;
    }

    .process-item h4 {
        font-size: 17px;
    }

    .process-item p {
        font-size: 14px;
    }
}

/* Clean Strength Items - No Timeline */
.strength-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s ease;
}

.strength-icon {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.strength-icon i {
    font-size: 32px;
    color: #666;
    transition: color 0.3s ease;
}

.strength-item:hover .strength-icon {
    background: linear-gradient(135deg, #bfa37c 0%, #d4b896 100%);
    border-color: #bfa37c;
    transform: translateY(-5px);
}

.strength-item:hover .strength-icon i {
    color: #ffffff;
}

.strength-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.strength-item:hover h4 {
    color: #bfa37c;
}

.strength-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Top Clients Section */
.brand-section .client-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-section .client-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #bfa37c;
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonial Section */
.expanded-testimonial {
    background-color: #fdfbf7;
}

.testimonial-wrapper-two {
    position: relative;
    z-index: 1;
}

.testimonial-item.style-two {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 15px;
}

.testimonial-content p {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.author-info h5 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-info .position {
    font-size: 14px;
    color: #bfa37c;
    font-weight: 600;
    text-transform: uppercase;
}

.ratings.rating5 li i {
    color: #bfa37c;
}

/* Browse Top Category Section - Square, Rounded, Text Left/View Right */
.hm-category-card {
    position: relative;
    border-radius: 15px;
    /* Rounded corners are back */
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    /* Make it square-ish */
    height: 0;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
}

.hm-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(191, 163, 124, 0.2);
    /* Golden shadow on hover */
}

/* Image Layer - Absolute to fill the square */
.hm-category-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hm-category-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hm-category-card:hover .card-image img {
    transform: scale(1.1);
}

/* Overlay - Gradient for text readability */
.hm-category-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.hm-category-card:hover .card-overlay {
    opacity: 0.9;
}

/* Content Layer - Flexbox for Left/Right layout */
.hm-category-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: space-between;
    /* Text Left, Button Right */
}

/* Category Title (Left) */
.hm-category-card .card-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    color: #bfa37c;
    /* Golden Text */
    margin: 0;
    line-height: 1.2;
    text-align: left;
    max-width: 70%;
    /* Leave space for button */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* View Button (Right) */
.hm-category-card .card-content .link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(191, 163, 124, 0.5);
    border-radius: 50%;
    /* Circular button */
    color: #bfa37c;
    transition: all 0.3s ease;
    font-size: 0;
    /* Hide text "View" if present, show only icon */
}

.hm-category-card .card-content .link-btn i {
    font-size: 16px;
    margin: 0;
    /* Reset margin */
}

.hm-category-card:hover .card-content .link-btn {
    background: #bfa37c;
}


/* Custom Column Width for 5 items per row - Restored */
@media (min-width: 992px) {
    .col-lg-custom-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}


/* =========================================
   Catalog Floating Button & Modal
   ========================================= */

.view-catalog-btn {
    position: fixed;
    bottom: 30px;
    right: 100px;
    /* Positioned left of the back-to-top button */
    z-index: 990;
    /* Just below modal z-index */
    background: #bfa37c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.view-catalog-btn:hover {
    background: #1a1a1a;
    color: #bfa37c;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.view-catalog-btn i {
    font-size: 18px;
}

/* Catalog Modal */
.catalog-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.catalog-modal.show {
    display: flex;
    opacity: 1;
}

.catalog-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1600px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    animation: zoomIn 0.3s ease-out;
}

.catalog-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.catalog-close-btn:hover {
    color: #bfa37c;
    border-color: #bfa37c;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================
   WhatsApp Floating Button (Mobile Only)
   ========================================= */

.whatsapp-float-btn {
    position: fixed;
    bottom: 160px;
    /* Above catalog button */
    right: 20px;
    z-index: 990;
    background: #25D366;
    /* WhatsApp green */
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    background: #128C7E;
    /* Darker WhatsApp green */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float-btn i {
    font-size: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {

    /* Show WhatsApp button on mobile */
    .whatsapp-float-btn {
        display: flex;
    }

    .view-catalog-btn {
        right: 20px;
        bottom: 90px;
        /* Stack above back-to-top on mobile */
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .view-catalog-btn span {
        display: none;
        /* Hide text on small screens, show only icon */
    }

    .view-catalog-btn i {
        font-size: 20px;
    }

    /* Align back-to-top button */
    .back-to-top {
        right: 20px !important;
        bottom: 20px !important;
    }

    .catalog-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .catalog-close-btn {
        top: 10px;
        right: 10px;
        z-index: 10000;
        /* Ensure over iframe if overlapping */
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.footer-social-links a:hover {
    background: #bfa37c;
    border-color: #bfa37c;
    color: #fff;
    transform: translateY(-3px);
}

.footer-social-links a i {
    font-size: 16px;
}

/* Adjust contact list icons */
.footer-widget .ct-info-list li span i {
    color: #bfa37c;
    width: 20px;
}

.footer-widget .ct-info-list li {
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-widget .widget-menu li a::before {
    content: "\f105";
    /* FontAwesome Angle Right */
    font-family: "Font Awesome 5 Pro";
    margin-right: 8px;
    color: #bfa37c;
    font-weight: 900;
}

/* Carousel Dots Spacing */
.hero-post-slider-two {
    position: relative;
}


/* Extend background to cover dots using padding on the wrapper */
.hero-post-slider-two .hero-wrapper-two {
    padding-bottom: 80px !important;
}

.hero-post-slider-two .slick-dots {
    bottom: 20px !important;
}

@media (max-width: 991px) {
    .hero-post-slider-two .hero-wrapper-two {
        padding-bottom: 60px !important;
    }

    .hero-post-slider-two .slick-dots {
        bottom: 20px !important;
    }
}

/* Sticky Header Adjustments */
.header-navigation.sticky {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header-navigation.sticky .brand-logo img {
    width: 170px !important;
    /* Resizing to a 'normal' sticky size */
    transition: width 0.3s ease;
}

/* WhatsApp Button - Icon Only */
.whatsapp-btn-green {
    padding: 15px !important;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn-green i {
    margin-right: 0 !important;
}

/* Hide WhatsApp text in navigation, show in modal */
.nav-right-item .whatsapp-btn-green {
    font-size: 0 !important;
    margin-left: 15px !important;
}

.nav-right-item .whatsapp-btn-green i {
    font-size: 20px !important;
    margin-right: 0 !important;
}

/* Show text in modal */
.modal .whatsapp-btn-green {
    font-size: inherit !important;
}

.modal .whatsapp-btn-green i {
    font-size: 20px !important;
}

/* =========================================
   Mobile Responsiveness & Aesthetics
   ========================================= */

/* Elegant Crystal Background for Hero Sections */
.page-banner {
    position: relative;
    background-image: url('../images/bg/carousel-bg-transparent.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    /* Dark overlay for text readability */
    backdrop-filter: blur(2px);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

/* Navbar Responsiveness */
@media (max-width: 991px) {
    .header-navigation .brand-logo img {
        width: 180px !important;
    }

    .nav-right-item.style-one {
        gap: 8px;
    }

    .nav-right-item .theme-btn {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }

    /* Ensure buttons stay visible on tablet */
    .nav-right-item .whatsapp-btn-green {
        padding: 10px 15px !important;
    }
}

/* Tablet specific adjustments */
@media (max-width: 768px) {
    .header-navigation .brand-logo img {
        width: 160px !important;
    }

    .nav-right-item.style-one {
        gap: 6px;
    }

    .nav-right-item .theme-btn {
        padding: 9px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 575px) {
    .header-navigation .brand-logo img {
        width: 140px !important;
    }

    /* Show Get Quote text, hide WhatsApp text */
    .nav-right-item .whatsapp-btn-green {
        font-size: 0 !important;
        padding: 12px 15px !important;
        min-width: auto !important;
    }

    .nav-right-item .whatsapp-btn-green i {
        font-size: 18px !important;
        margin-right: 0 !important;
    }

    /* Keep Get Quote button visible with text */
    .nav-right-item .theme-btn:not(.whatsapp-btn-green) {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}

/* Carousel Responsiveness (Hero Section) */
@media (max-width: 991px) {
    .hero-post-slider-two .hero-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .hero-post-slider-two .hero-content,
    .hero-post-slider-two .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-post-slider-two .single-hero-slide {
        min-height: 500px;
    }

    .hero-post-slider-two .hero-wrapper-two {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-post-slider-two .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .hero-post-slider-two .hero-content p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    .hero-post-slider-two .hero-image img {
        height: 350px !important;
    }

    .hero-post-slider-two .hero-wrapper-two {
        min-height: auto;
        padding: 40px 0 !important;
    }

    .hero-post-slider-two .single-hero-slide {
        min-height: auto;
    }

    .hero-post-slider-two .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-post-slider-two .slick-prev {
        left: 10px;
    }

    .hero-post-slider-two .slick-next {
        right: 10px;
    }
}

/* Footer Responsiveness */
@media (max-width: 767px) {
    .footer-widget-area {
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
        margin-bottom: 30px;
    }

    .ct-info-list li {
        justify-content: center;
    }

    .footer-widget.about-company-widget p {
        margin: 0 auto 25px;
        max-width: 300px;
    }

    .widget-menu li a::before {
        display: none;
    }
}

/* Mobile Footer - Hide Explore and Product Categories */
@media (max-width: 767px) {

    .footer-explore-column,
    .footer-categories-column {
        display: none !important;
    }

    .footer-widget-area .row>div:not(.footer-explore-column):not(.footer-categories-column) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ct-info-list li {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        gap: 5px;
    }

    .ct-info-list li span,
    .ct-info-list li a {
        text-align: center !important;
    }
}

/* WhatsApp Button Visibility Management */
.mobile-whatsapp-menu {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile-whatsapp-menu {
        display: block !important;
    }

    .mobile-whatsapp-menu a {
        color: #25D366 !important;
        font-weight: 600;
    }

    .mobile-whatsapp-menu a i {
        margin-right: 8px;
        font-size: 18px;
    }

    .desktop-whatsapp-btn {
        display: none !important;
    }
}

/* Carousel Features - Hide on Mobile */
@media (max-width: 767px) {
    .hero-post-slider-two .product-features {
        display: none !important;
    }

    .hero-post-slider-two .hero-content p {
        margin-bottom: 25px !important;
    }

    .hero-post-slider-two .hero-content .theme-btn {
        display: inline-block !important;
        margin-top: 10px;
    }
}

/* Fix Carousel Image Display on Mobile */
@media (max-width: 767px) {
    .hero-post-slider-two .hero-image {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-post-slider-two .hero-content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .hero-post-slider-two .hero-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: contain;
        margin: 0 auto;
    }
}

/* Hide Contact Title and Underline on Mobile */
@media (max-width: 767px) {
    .footer-widget .widget-title {
        display: none !important;
    }

    .footer-widget.about-company-widget .widget-title {
        display: none !important;
    }

    /* Remove any underline decorations */
    .footer-widget::before,
    .footer-widget::after {
        display: none !important;
    }
}