:root {
    --primary: #5D5D5D;
    --white: #fff;
    --black: #1A1A18;
    --hover-bg: #f2f2f2;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
}

/* Heading style */
h1,
h2,
h3,
h4,
.heading {
    font-family: 'Montserrat', sans-serif;
}


.section-headinggg {
    font-size: 2.3rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    /* letter-spacing: 1px; */
    font-family: 'Poppins', sans-serif;
}

.section-headinggg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 80px;
    background: var(--primary);
    border-radius: 2px;
}

@media(max-width-600px) {
    .section-headinggg {
        font-size: 1.5rem !important;
        font-weight: 500;
        font-family: 'Poppins', sans-serif;
    }

}

/* BUTTON */
.btn-theme {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    /* Cube shape */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 59, 115, 0.15);
    font-family: 'Poppins', sans-serif;
}

.btn-theme:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}



.btn-for-nav {
    background-color: var(--primary);
    color: var(--white);
    /* padding: 5px; */
}



/* BUTTON */


/* Paragraphs and content */
body,
p,
span,
a,
li {
    font-family: 'Lora', serif;
}

/* icons */
/* whtsapp icon */
/* ✅ WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0px rgba(37, 211, 102, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.7);
    }
}

/* icons */




.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

.navbar{
    position: sticky;
}

.navbar-nav .nav-link {
    color: #000;
    padding: 12px 18px;
    font-weight: 550;
    position: relative;
    text-transform: uppercase;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary);
    color: var(--white);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--white);
    background-color: var(--primary);
}

/* Dropdown styling */
.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Mega Menu */
.mega-menu {
    width: 600px;
    padding: 20px;
}

.mega-links li {
    list-style: none;
    margin-bottom: 8px;
}

.mega-links li a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: 0.3s;
}

.mega-links li a:hover {
    color: var(--primary);
}

/* Hover dropdowns (desktop only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar-nav .mega-dropdown:hover>.mega-menu {
        display: block;
    }
}

/* Mobile view */
@media (max-width: 991px) {
    .mega-menu {
        width: 100% !important;
    }

    .mega-menu .col-md-8 {
        display: none !important;
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 13px 0;
    overflow: hidden;
    position: relative;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.offer-text {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 18s linear infinite;
}

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

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


/* Main header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: #000;
    padding: 12px 18px;
    font-weight: 550;
    text-transform: uppercase;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--white);
    background-color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

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

/* Mobile submenu click */
@media (max-width: 991px) {
    .dropdown-submenu>.dropdown-menu {
        left: 0;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
}

/* Submenu - desktop hover only */
@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}


/* @media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
} */



/* Navbar */
/* .navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-menu {
    margin-top: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
}

.dropdown-menu a {
    padding: 10px 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Mega Menu */
/* .mega-menu {
    width: 800px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    background: #fff;
    display: flex;
    gap: 30px;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
}

.mega-menu img {
    width: 100px;
    height: auto;
}

.nav-item.dropdown:hover .dropdown-mega {
    display: flex;
}

@media(max-width: 991px) {

    .dropdown-menu,
    .dropdown-mega {
        display: none !important;
    }
} */



/* enquiary button */
.enq-button {
    position: fixed;
    right: -65px;
    bottom: 200px;
    z-index: 9999;
    transform: rotate(270deg);



}


.enq-button a {
    text-decoration: none;
    background-color: var(--primary);
    color: white;
    padding: 10px 35px;
    border-radius: 10px;
}

.btn1 {
    background-color: var(--primary);
    color: white;
    padding: 10px;
    border: 2px solid white;
    transition: ease-in-out 0.4s;
}

.btn-close {
    margin-bottom: 25px;
}



.btn1:hover {
    background-color: var(--white);
    color: var(--primary);

    /* padding: 10px; */
    border: 2px solid var(--primary);
}

.contact-heading {
    color: var(--secondry-color);
}

#err31 {
    color: #de3f4e;
}

#err11 {
    color: #de3f4e;
}

#err21 {
    color: #de3f4e;
}



@media(max-width:550px) {
    .enq-button a {

        padding: 8px 8px;
    }

    .fixed-sticker {
        position: fixed;
        bottom: 10px;
        /* bottom se thoda upar */
        right: 20px;
        /* right side */
        width: 100px;
        /* size tu apne hisaab se adjust kar sakta hai */
        z-index: 9999;
        /* taaki sabke upar dikhe */
        cursor: pointer;
    }

    .enq-button {
        display: none;
    }
}

/* enquiary button */


/* sliders */
.slider-container {
    position: relative;
    width: 100%;
    /* Full width instead of max-width */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: var(--white);
}

.slide-content {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide h2 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
}



/* .slide h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
} */

.slide p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.slide-btn:hover {
    background-color: transparent;
    color: var(--white);
}

.slide-btn.light {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.slide-btn.light:hover {
    background-color: var(--white);
    color: var(--primary);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    border: none;
}

.nav-btn:hover {
    background-color: var(--primary);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wood-texture {
    z-index: 0;
}

.sliderr {
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .slides {
        height: 450px;
    }

    .slide-overlay {
        padding: 40px;
    }

    .slide h2 {
        font-size: 34px;
    }

    .slide p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .slides {
        height: 400px;
    }

    .slide-overlay {
        padding: 30px;
    }

    .slide h2 {
        font-size: 28px;
    }

    .slide p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .slide-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .slides {
        height: 350px;
    }

    .slide-overlay {
        padding: 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    }

    .slide h2 {
        font-size: 22px;
    }

    .slide h2::after {
        width: 60px;
        height: 3px;
    }

    .slide p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .slide-btn {
        padding: 8px 16px;
        font-size: 12px;
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .slide-btn.light {
        margin-left: 0;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .slider-controls {
        bottom: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .badge {
        padding: 4px 10px;
        font-size: 10px;
    }
}

/********       Slider End      ***********/



/* about us */
.about-section {
    background: url(../images/backgrounds/flower-background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* background: #f9f9f9; */
    padding: 60px 20px;
    text-align: center;
}

.about-container {
    max-width: 1150px;
    margin: 0 auto;
}

.about-container h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* .underline {
    width: 60px;
    height: 4px;
    background-color: #0071ce;
    margin: 0 auto 30px;
} */

.about-container p {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
}

.card-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card-box {
    position: relative;
    width: 500px;
    height: 270px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-box:hover {
    transform: scale(1.02);
}

.card-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* about us */



/* why choose */
.mission-section {
    background: linear-gradient(to bottom, #5d5d5de8, #292828);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.title {
    font-size: 32px;
    font-weight: 700;
}

.subtitle {
    margin-top: 10px;
    font-size: 18px;
    color: #cbe0ff;
    margin-bottom: 40px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.card {
    background: transparent;
    width: 220px;
    height: 280px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    position: relative;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    padding: 20px;
}

.card-front img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.card-front h3 {
    font-size: 18px;
    font-weight: 600;
}

.card-back {
    transform: rotateY(180deg);
    font-size: 15px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 80%;
    }
}

/* why choose */





/* products */
.product-slider-section {
    background-color: #f8f9fa;
}

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

.slider-containers {
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
}

.product-card {
    width: 360px;
    /* height: 360px; */
    flex: 0 0 auto;
    background: #fff;
    /* border-radius: 10px; */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* border-radius: 10px 10px 0 0; */
}

.product-card p {
    margin: 0;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 30px;
    padding: 5px 12px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.slider-arrow.left {
    left: -10px;
}

.slider-arrow.right {
    right: -10px;
}

/* Hide arrows on small devices */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}

/* products */











/* new section start */
.home-interiors .step-number {
    /* font-weight: bold; */
    font-size: 1.8rem;
    margin-right: 5px;
    color: var(--primary);
}

.home-interiors img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* new section start */







/* blog section */
.blog-section {
    background-color: #f9f9f9;
}

.blog-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h5 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--primary);
}

/* blog section */











/* TESTIMONIAL */
.testimonial-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.testimonial-section h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.client-role {
    font-size: 0.85rem;
    color: #777;
}

/* TESTIMONIAL */






.custom-footer {
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

.footer-logo {
    max-width: 140px;
}

.footer-text {
    font-size: 14px;
    color: var(--hover-bg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--hover-bg);
    padding-left: 5px;
}

.custom-footer h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.custom-footer p {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--hover-bg);
}

.social-icons a {
    font-size: 16px;
    color: var(--white);
    margin-right: 12px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--hover-bg);
    transform: scale(1.15);
}

hr {
    border-color: var(--hover-bg);
    opacity: 0.3;
}

@media (max-width: 767px) {

    .custom-footer .col-md-6,
    .custom-footer .col-lg-2,
    .custom-footer .col-lg-3 {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }
}




/* blog page css */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-img {
    overflow: hidden;
    height: 200px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

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

.blog-content {
    padding: 20px;
}

.blog-content h5 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.btn-read {
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    transition: 0.3s ease-in-out;
}

.btn-read:hover {
    background-color: var(--primary);
    color: #fff;
    padding: 5px;
}

/* contact us page start */
.form {
    border: 2px solid var(--primary);
    padding: 15px;
}

.contact-section h2 {
    color: var(--black);
}

form .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
}

form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

iframe {
    border-radius: 10px;
}

/* gallery page start */
/* Header Section */
.gallery-header h1 {
    font-size: 31px;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
}

.gallery-header p {
    font-size: 16px;
    color: var(--primary);
}

/* ===== Gallery Menu Styling ===== */
/* ===== Gallery Menu Styling ===== */
.gallery-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px;
}

.gallery-menu span {
    flex: 1 1 6;
    /* auto width on large */
    border: 2px solid #28a745;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    /* border-radius: 30px; */
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
}

/* Hover effect */
.gallery-menu span:hover {
    background: #4F642B;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Active tab */
.gallery-menu span.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Medium devices (tablet) = 3 per row */
@media (max-width: 992px) {
    .gallery-menu span {
        flex: 1 1 calc(33.33% - 12px);
    }
}

/* Small devices (mobile) = 2 per row */
@media (max-width: 576px) {
    .gallery-menu span {
        flex: 1 1 calc(50% - 12px);
    }
}

/* Cards */
.cctv-card {
    background: var(--white);
    /* border-radius: 15px; */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cctv-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cctv-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cctv-card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    /* text-align: center; */
}

.category {
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
}

.title {
    font-size: 17px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--black);
    line-height: 1.4;
}

.icons a {
    width: 38px;
    height: 38px;
    background: #25d366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-size: 16px;
    transition: 0.3s;
}

.icons a:hover {
    background: var(--green);
    color: var(--white);
}

/* Fullscreen Viewer */
#image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

#image-viewer.show {
    opacity: 1;
    pointer-events: auto;
}

#image-viewer img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

#image-viewer.show img {
    transform: scale(1);
}

#image-viewer .close {
    position: absolute;
    top: 30%px;
    right: 30px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

#image-viewer .close:hover {
    color: rgb(235, 68, 68);
}

.view-image:hover {
    background-color: #fff !important;
    color: #25d366 !important;
    font-weight: bold;
}


.btn-new-thm {
    background-color: var(--primary);
    color: #fff;
    padding: 8px;
    text-decoration: none;
    margin-top: 10px !important;
}