


/********** Template CSS **********/
:root{

/* Mallige Brand Colors */

--primary:#3DB54A;      /* logo green */
--secondary:#2F8F3C;    /* darker green */
--accent:#7ED957;       /* light fresh green */

--bg:#F6FFF7;
--text:#222222;

--card-bg:#ffffff;
--border:#E4F5E6;

}

/* DARK THEME */

body.dark-mode {
    --primary:#013220;
    --secondary:#3B5323;
    --accent:#FFC107;
    --bg:#0B1D0B;
    --text:#EAEAEA;

    background-color: var(--bg);
    color: var(--text);
}

body{
background:var(--bg);
color:var(--text);
font-family:'Poppins',sans-serif;
transition:0.3s ease;
}

h1,h2,h3,h4,h5{
font-family:'Merriweather',serif;
color:var(--text);
}

.btn-primary{
background:linear-gradient(45deg,#3DB54A,#7ED957);
color:#fff;
border:none;
border-radius:30px;
padding:10px 22px;
transition:0.3s;
}

.btn-primary:hover{
box-shadow:0 6px 18px rgba(61,181,74,0.35);
transform:translateY(-2px);
}

.btn-primary:hover{
box-shadow:0 0 10px var(--accent);
}

.btn-secondary{
background:var(--accent);
color:#1c1c1c;
border:none;
}

.btn-secondary:hover{
box-shadow:0 0 12px var(--accent);
}

.service-item,
.product-item,
.team-item,
.testimonial-item{
background:var(--card-bg);
border:none;
border-radius:12px;
box-shadow:0 5px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.service-item:hover,
.product-item:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.footer .btn-square,
.btn-outline-primary{

color:var(--primary);
border-color:var(--primary);
}

.footer .btn-square:hover,
.btn-outline-primary:hover{

background:var(--accent);
color:#000;
border-color:var(--accent);

}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/

.navbar{
background:#ffffff;
box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

.navbar .nav-link{
color:var(--text);
}

.navbar .nav-link:hover{
color:var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(img/frnt-page5.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--dark);
}


/*** Footer ***/
.footer{
background:linear-gradient(135deg,#2F8F3C,#3DB54A);
color:#f2f2f2;
padding-top:60px;
}

.footer h5{
color:var(--accent);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn-square{
background:#3DB54A;
border:none;
color:white;
transition:0.3s;
}

.footer .btn-square:hover{
background:#2F8F3C;
transform:translateY(-3px);
}

/* Product Card */
.product-item{
    background:#fff;
    overflow:hidden;
    transition:0.4s;
}

.product-item:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* Video Container */
.video-box{
    position:relative;
    overflow:hidden;
    cursor:pointer;
}

/* Video Style */
.product-video{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.4s;
}

/* Zoom effect */
.product-item:hover .product-video{
    transform:scale(1.08);
}

/* Play Button */
.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:60px;
    height:60px;
    background:#28a745;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:30px;
    transition:0.3s;
}

.play-btn:hover{
    background:#1e7e34;
}

/* Hide play button when playing */
.video-box.playing .play-btn{
    opacity:0;
}

/* Text area */
.product-item h5{
    font-weight:600;
}

.product-item span{
    font-size:16px;
}

.testimonial-text{
    font-size:14px;
    color:#666;
    margin-top:10px;
    line-height:1.6;
}

/* Overlay background */
.video-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

/* Smaller popup box */
.video-modal-content{
    position:relative;
    width:320px;   /* smaller popup */
    max-width:90%;
    background:#fff;
    padding:15px;
    border-radius:8px;
    box-shadow:0 8px 25px rgba(0,0,0,0.3);
}

/* Video */
#popupVideo{
    width:100%;
    border-radius:6px;
}

/* Close button */
.close-video{
    position:absolute;
    top:8px;
    right:10px;
    font-size:22px;
    font-weight:bold;
    color:#333;
    cursor:pointer;
}

.video-modal-content{
    animation: popIn 0.3s ease;
}

@keyframes popIn{
    from{
        transform:scale(0.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.owner-section img{
    max-width:300px;
}

.owner-section h3{
    font-weight:600;
}

.owner-section p{
    color:#666;
    line-height:1.7;
}
.testimonial-item p{
    font-style: italic;
    color:#666;
    line-height:1.7;
}

/* Default = LIGHT MODE (keep template as it is) */

/* Navbar */
body.dark-mode .navbar{
    background:#1c1f23;
}

/* Sections */
body.dark-mode .container,
body.dark-mode .container-xxl {
    background: transparent !important;
}

/* Cards */
body.dark-mode .team-item,
body.dark-mode .testimonial-item,
body.dark-mode .product-item{
    background:#1e2329;
    color:#e6e6e6;
}

/* Dropdown menu */
body.dark-mode .dropdown-menu{
    background:#1e2329;
}

/* Text */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode p{
    color:#e6e6e6;
}

/* Links */
body.dark-mode a{
    color:#e6e6e6;
}

/* Buttons */
body.dark-mode .btn{
    border-color:#e6e6e6;
}


.theme-btn{
    border:none;
    background:#f2f2f2;
    padding:6px 14px;
    border-radius:20px;
    cursor:pointer;
    font-size:15px;
}

body.dark-mode .theme-btn{
    background:#2a2f36;
    color:#fff;
}

.about-img img{
    border-radius:10px;
    transition:0.3s;
}

.about-img img:hover{
    transform:scale(1.03);
}

.about-experience{
    margin-top:-40px;
}

.about-img img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.about-experience{
    height:180px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.about-experience{
    height:180px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.about-img img{
    width:100%;
    height:180px;
    object-fit:cover;
}

/* Mallige brand colors for feature boxes */

.bg-primary{
background:#3DB54A !important;   /* Mallige logo green */
}

.bg-secondary{
background:#F4C430 !important;   /* premium yellow/gold */
}

/* Fix feature section overlap */

.container-xxl.py-5{
position: relative;
z-index: 2;
background: var(--bg);
}

.container-xxl.py-5 .rounded.overflow-hidden{
margin-top:40px;
}


/* ===== Catering Section Layout ===== */

.catering-image{
display:flex;
align-items:center;
justify-content:center;
}

.catering-img{
width:100%;
height:350px;
object-fit:cover;
border-radius:10px;
box-shadow:0 8px 25px rgba(0,0,0,0.15);
}


/* proper justified text */

.catering-text p{
text-align:justify;
line-height:1.8;
font-size:16px;
}

/* list styling */

.catering-list li{
margin-bottom:8px;
font-size:16px;
}

/* Premium banner text */

.banner-title{
font-size:34px;
font-weight:700;
line-height:1.4;
}

.banner-text{
font-size:18px;
line-height:1.8;
max-width:800px;
margin:auto;
text-align:justify;
}

.banner-tagline{
font-size:20px;
font-weight:600;
letter-spacing:1px;
}

/* dark overlay for readability */

.banner{
position:relative;
}

.banner::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.banner .container{
position:relative;
z-index:2;
}

/* Topbar styling */

.topbar{
background:#1B5E20; /* dark Mallige green */
}

.call-box{
background:#F4C430; /* premium yellow */
color:#222;
font-weight:600;
border-radius:4px;
}

.topbar .btn-link{
color:white;
transition:0.3s;
}

.topbar .btn-link:hover{
color:#F4C430;
}

.about-text{
text-align: justify;
line-height: 1.8;
font-size:16px;
}

/* Premium About Sections */

.about-premium-title{
font-size:26px;
font-weight:700;
color:#1B5E20;
margin-bottom:20px;
}

.about-premium-text{
text-align:justify;
line-height:1.8;
font-size:16px;
color:var(--text);
margin-bottom:15px;
}

.about-premium-img{
width:100%;
height:350px;
object-fit:cover;
border-radius:12px;
}

.about-badge{
margin-top:20px;
background:#3DB54A;
color:white;
padding:12px 20px;
display:inline-block;
border-radius:30px;
font-weight:500;
font-size:14px;
}

/* Premium Certificate Box */

.certificate-box{
background:var(--card-bg);
padding:35px;
border-radius:12px;
border:2px solid #F4C430;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.certificate-badge{
display:inline-block;
background:#F4C430;
color:#222;
font-weight:600;
padding:8px 18px;
border-radius:20px;
font-size:14px;
letter-spacing:1px;
}

.certificate-text{
margin-top:15px;
line-height:1.7;
text-align:justify;
color:var(--text);
}

.btn-certificate{
background:#3DB54A;
color:white;
border:none;
transition:0.3s;
}

.btn-certificate:hover{
background:#1B5E20;
transform:translateY(-2px);
}

.topbar{
background:#1B5E20;
}

.call-box{
background:#F4C430;
color:#222;
font-weight:600;
border-radius:4px;
}

.topbar .btn-link{
color:white;
}

.topbar .btn-link:hover{
color:#F4C430;
}

body{
transition: background 0.4s ease, color 0.4s ease;
}


body.dark-mode .navbar .nav-link{
color:#e6e6e6 !important;
}

body.dark-mode .dropdown-menu{
background:#1e2329;
}

/* About section icon size fix */

.about-icons img{
width:80px;
height:80px;
object-fit:contain;
display:block;
margin-bottom:12px;
}

.feature-icon{
width:70px;
height:70px;
object-fit:contain;
display:block;
margin-bottom:15px;
}

.stats-icon{
width:70px;
height:70px;
object-fit:contain;
display:block;
margin:0 auto 20px auto;
}

.stats-icon-big{
width:90px;
height:90px;
}

.stats-icon{
width:70px;
height:70px;
display:block;
margin:0 auto 20px auto;
object-fit:contain;
}

.stats-icon-large{
transform:scale(2.2);
}

.text-center.bg-primary,
.text-center.bg-secondary{
min-height:230px;
display:flex;
flex-direction:column;
justify-content:center;
}

.service-card{
    background:#ffffff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    height:100%;
    transition:0.3s;
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

.service-card h5{
margin-bottom:12px;
font-weight:600;
}

.service-img {
    width: 70%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;   /* centers the image */
}

.menu-img{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.event-img{
width:100%;
height:200px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.offer-img{
width:100%;
height:200px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.menu-img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.area-card{
background:#ffffff;
border:2px solid #e0a800;
border-radius:15px;
padding:18px;
margin-bottom:15px;
text-align:center;
font-size:18px;
font-weight:500;
color:#1b5e20;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
transition:0.3s;
}

.area-card:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.page-header.veg-header{
background: url(../img/veg-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.corporate-header{
background: url(../img/corporate-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.wedding-header{
background: url(../img/wedding-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.birthday-header{
background: url(../img/birthday-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.festival-header{
background: url(../img/festival-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.event-header{
background: url(../img/event-banner.png) center center no-repeat;
background-size: cover;
}

.page-header.housewarming-header{
background: url(../img/housewarming-banner.png) center center no-repeat;
background-size: cover;
}

.catering-paragraph{
text-align: justify;
line-height: 1.8;
}

.catering-section{
margin-bottom:120px;
}

.owner-section p{
    text-align: justify;
    line-height: 1.8;
}

.mb-7{
    margin-bottom:120px;
}

.about-premium-text{
    text-align: justify;
    line-height: 1.8;
    color:#555;
}

.justify-text{
    text-align: justify;
    line-height: 1.8;
}

.justify-heading{
    text-align: justify;
    line-height: 1.6;
}

.justify-text{
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
}

/* ===== Premium Gallery Section ===== */

.premium-gallery{
background:#f8fff9;
position:relative;
overflow:hidden;
}

.gallery-title{
font-size:36px;
font-weight:700;
color:#1B5E20;
margin-bottom:10px;
}

.gallery-subtitle{
color:#666;
font-size:17px;
}

/* Grid Layout */

.gallery-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

/* Card Style */

.gallery-card{
position:relative;
overflow:hidden;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
transition:all 0.4s ease;
}

/* Image */

.gallery-card img{
width:100%;
height:260px;
object-fit:cover;
transition:transform 0.6s ease;
}

/* Hover Animation */

.gallery-card:hover img{
transform:scale(1.15);
}

.gallery-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.18);
}

/* Overlay glow */

.gallery-card::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(transparent,rgba(0,0,0,0.4));
opacity:0;
transition:0.4s;
}

.gallery-card:hover::after{
opacity:1;
}

/* Floating animation */

.gallery-card{
animation:floatGallery 6s ease-in-out infinite;
}

.gallery-card:nth-child(2){
animation-delay:1s;
}

.gallery-card:nth-child(3){
animation-delay:2s;
}

.gallery-card:nth-child(4){
animation-delay:3s;
}

@keyframes floatGallery{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-8px);
}

100%{
transform:translateY(0px);
}

}

/* Responsive */

@media(max-width:992px){

.gallery-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:576px){

.gallery-grid{
grid-template-columns:1fr;
}

.gallery-card img{
height:220px;
}

}

/* ===== Premium Gallery ===== */

.gallery-grid{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
gap:20px;
}

.gallery-item{
position:relative;
overflow:hidden;
border-radius:12px;
cursor:pointer;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
transition:all 0.4s ease;
}

.gallery-item img{
width:100%;
height:100%;
object-fit:cover;
transition:transform 0.6s ease;
}

/* Hover Zoom */
.gallery-item:hover img{
transform:scale(1.12);
}

/* Overlay */
.gallery-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(transparent, rgba(0,0,0,0.7));
opacity:0;
display:flex;
align-items:flex-end;
padding:20px;
transition:all 0.4s ease;
}

.gallery-item:hover .gallery-overlay{
opacity:1;
}

.gallery-overlay span{
color:#fff;
font-weight:500;
font-size:16px;
letter-spacing:1px;
}

/* Floating Animation */
.gallery-item{
animation: floatImage 6s ease-in-out infinite;
}

.gallery-item:nth-child(2){
animation-delay:1s;
}
.gallery-item:nth-child(3){
animation-delay:2s;
}
.gallery-item:nth-child(4){
animation-delay:3s;
}

@keyframes floatImage{
0%{transform:translateY(0px)}
50%{transform:translateY(-8px)}
100%{transform:translateY(0px)}
}

/* ===== HERO CAROUSEL COMPACT SIZE ===== */

#header-carousel{
height:500px;
overflow:hidden;
}

#header-carousel .carousel-item{
height:500px;
}

#header-carousel img{
width:100%;
height:100%;
object-fit:cover;
}

/* Center caption */
#header-carousel .carousel-caption{
top:50%;
transform:translateY(-50%);
bottom:auto;
}

/* Mobile */
@media (max-width:768px){

#header-carousel{
height:350px;
}

#header-carousel .carousel-item{
height:350px;
}

}

/* Menu Card Styling */
.menu-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card h4 {
    padding: 15px;
    font-weight: 600;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Menu Sections */
.menu-section {
    padding: 60px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.menu-section h2 {
    margin-bottom: 20px;
    color: #2c5e1a;
}

/* Fix all text in dark mode */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li {
    color: #e6e6e6 !important;
}

/* Fix FAQ text */
body.dark-mode .accordion-button {
    background: #1c1f23;
    color: #fff;
}

body.dark-mode .accordion-body {
    background: #181b1f;
    color: #ddd;
}

.footer h5 {
    color: #ffffff;
}

.footer .btn-link {
    color: #cfd8dc;
}

.footer .btn-link:hover {
    color: #ffffff;
}

/* Footer links */
.footer a {
    color: #fff;
}

body.dark-mode .footer a {
    color: #fff;
}

/* ===== FIX BOOTSTRAP OVERRIDES ===== */

/* Background fixes */
body.dark-mode .bg-white,
body.dark-mode .bg-light {
    background-color: #1c1f23 !important;
}

/* Text fixes */
body.dark-mode .text-dark {
    color: #e6e6e6 !important;
}

/* Sections forcing white */
body.dark-mode .section-title.bg-white {
    background-color: transparent !important;
}


body {
    transition: background 0.3s ease, color 0.3s ease;
}

.footer {
    background: #3DB54A !important;
    color: #fff !important;
}

body.dark-mode .footer {
    background: #3DB54A !important;
    color: #fff !important;
}

body.dark-mode .navbar {
    background: #121417 !important;
}

body.dark-mode .nav-link {
    color: #fff !important;
}


#spinner {
    display: none !important;
}


/* Fix white backgrounds in dark mode */


body.dark-mode .service-item,
body.dark-mode .product-item,
body.dark-mode .team-item {
    background-color: #1c1f23 !important;
    color: #e6e6e6;
}



/* 🔒 LOCK TEXT COLOR INSIDE CARDS */
body.dark-mode .service-item .text-muted {
    color: #444 !important;
}

body.dark-mode .service-item p,
body.dark-mode .service-item h5,
body.dark-mode .service-item span {
    color: #222 !important;
}

/* 🔒 FORCE AFTER EVERYTHING LOADS */
body.dark-mode .service-item * {
    opacity: 1 !important;
    transition: none !important;
}


.menu-section {
    background: #fff;
    padding: 30px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.menu-section h2 {
    margin-bottom: 20px;
    color: #013220;
}

/* 3 COLUMN LAYOUT */
.menu-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* LIST STYLE */
.menu-columns ul {
    list-style: none;
    padding: 0;
}

.menu-columns li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}



/* DARK MODE */
body.dark-mode .menu-section {
    background: #1c1f23;
}

body.dark-mode .menu-columns li {
    color: #ddd;
}

.menu-section h2 {
    text-align: left;   /* instead of center */
    padding-left: 10px;
}

.menu-columns {
    text-align: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;   /* ensures all items align properly */
}

.sub-heading {
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #b8860b; /* golden touch */
}

/* Dark mode */
body.dark-mode .sub-heading {
    color: #ffd700;
}

.menu-section {
    max-height: 500px;   /* control height */
    overflow-y: auto;    /* enables vertical scroll */
    padding-right: 10px;
}


.menu-section::-webkit-scrollbar {
    width: 6px;
}

.menu-section::-webkit-scrollbar-thumb {
    background: #caa85c;
    border-radius: 10px;
}

.menu-flipbook-wrapper iframe {
  width: 100%;
  height: 100vh; /* full screen height */
  border: none;
}

/* QR Section */
.qr-box {
    max-width: 320px;
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* QR Image */
.qr-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.qr-img {
    width: 100%;
    display: block;
}

/* Animated Scan Line */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00c6ff, transparent);
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Download Button */
.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Floating Scan Badge */
.scan-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff7e5f, #ff3f81);
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: floatBadge 2s ease-in-out infinite;
}

/* Floating animation */
@keyframes floatBadge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Glow effect on QR */
.qr-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: 0.3s;
}

.qr-wrapper:hover {
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.6);
}

/* Smooth zoom */
.qr-img {
    width: 100%;
    transition: 0.4s;
}

.qr-wrapper:hover .qr-img {
    transform: scale(1.05);
}

/* Improved scan line */
.scan-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00c6ff, transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Popup Box */
.popup-content {
    position: relative;
    max-width: 350px;
    width: 90%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    animation: popupFade 0.4s ease;
}

/* Image */
.popup-img {
    width: 100%;
    display: block;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

/* Call Button */
.popup-call-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(45deg, #28a745, #218838);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Animation */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
