/* Import Google Fonts and Box Icons */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");
@import url("https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css");

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #ff8c00;
    --primary-hover: #e67e00;
    --dark-bg: #111111;
    --text-dark: #333333;
    --text-muted: #777777;
    --peach-bg: #fff9f0;
    --light-bg: #f8f9fa;
    --border-color: #eee;
    --white: #ffffff;
    --black: #000000;

    /* Navbar variables */
    --color-white-100: hsl(220, 10%, 100%);
    --color-white-200: hsl(220, 10%, 95%);
    --color-white-300: hsl(220, 10%, 85%);
    --color-white-400: hsl(220, 10%, 65%);
    --color-white-500: hsl(220, 10%, 50%);

    --color-black-100: hsl(240, 5%, 15%);
    --color-black-200: hsl(240, 5%, 12%);
    --color-black-300: hsl(240, 5%, 9%);
    --color-black-400: hsl(240, 5%, 6%);
    --color-black-500: hsl(240, 5%, 3%);

    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========== RESET & BASE STYLES ========== */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

main,
section {
    overflow: hidden;
}

main {
    margin-top: 100px;
}

a,
button {
    cursor: pointer;
    border: none;
    outline: none;
    color: inherit;
    background: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 75rem;
    height: auto;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.text-primary-theme {
    color: var(--primary-color) !important;
}

.bg-primary-theme {
    background-color: var(--primary-color) !important;
    color: white;
}

.btn-theme {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-theme:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-theme {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-theme:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-darken {
    color: var(--color-white-100);
    background-color: var(--color-black-300);
    box-shadow: var(--shadow-medium);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.btn-darken:hover {
    background-color: var(--color-black-400);
    color: white;
    transform: translateY(-2px);
}

/* ========== TOP BAR ========== */
.top-bar {
    font-size: 0.85rem;
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
}

.top-bar a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* ========== HEADER & NAVBAR ========== */
/* Header section - exactly from snippet */
.site-logo {
    height: 93px;
    width: auto;
    margin-top: -7px;
    margin-left: 18px;
}

.footer-site-logo {
    height: 158px;
    width: auto;
    margin-top: 0px;
}

@media (max-width: 768px) {
    .site-logo {
        height: 57px;
        margin-top: -7px;
    }
}

.header {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 99;
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;
}

.header.is-sticky {
    top: 0;
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    max-width: calc(100vw - 3rem);
    height: 6rem;
    border-radius: 3rem;
    background-color: var(--color-white-100);
    box-shadow: var(--shadow-medium);
    margin: 0 auto;
}

.brand {
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--color-black-500);
}

.brand i {
    color: var(--primary-color);
}

.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 14dvh;
    background-color: var(--color-white-100);
    box-shadow: var(--shadow-medium);
    transition: all 0.35s ease;
}

.menu.is-active {
    right: 0;
}

.menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1.5rem;
    padding-left: 0px;
}

.menu-link {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--color-black-500);
    transition: all 0.3s ease;
}

.menu-link:hover {
    color: var(--primary-color);
}

.menu-block {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
}

/* Dropdown Styles - Custom for Puja categories */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* no gap */
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--color-white-100);
    border-radius: 1rem;
    padding: 0.75rem 0;
    box-shadow: var(--shadow-large);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    /* invisible bridge */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-black-500);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: var(--peach-bg);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Burger Menu - exactly from snippet */
.burger {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1rem;
    z-index: 99;
    visibility: visible;
    background: transparent;
}

.burger-line {
    position: absolute;
    right: 0;
    opacity: 1;
    width: 100%;
    height: 2px;
    line-height: 1.25;
    background-color: var(--color-black-500);
    transition: all 0.25s ease;
}

.burger-line:nth-child(1) {
    top: 0.25rem;
}

.burger-line:nth-child(2) {
    top: 0.75rem;
}

.burger.is-active .burger-line:nth-child(1) {
    top: 0.5rem;
    transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
    top: 0.5rem;
    transform: rotate(-135deg);
}

/* Responsive Media breakpoint - exactly from snippet */
@media only screen and (min-width: 48rem) {
    .menu {
        position: relative;
        top: initial;
        right: initial;
        width: auto;
        height: auto;
        padding: unset;
        margin-left: auto;
        background: unset;
        box-shadow: unset;
        transition: unset;
    }

    .menu-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 2rem;
        margin-inline: auto;
    }

    .menu-link {
        font-size: 1rem;
        text-transform: capitalize;
    }

    .burger {
        display: none;
        visibility: hidden;
    }
}

/* Mobile adjustments for dropdown */
@media (max-width: 48rem) {
    .header {
        top: 0;
    }

    .navbar {
        max-width: calc(100vw - 2rem);
        height: 3.5rem;
        margin-top: 12px;
    }

    .brand {
        font-size: 1.2rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        min-width: auto;
        background: transparent;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-item {
        text-align: center;
        white-space: normal;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-darken {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Fix dropdown visibility issue */
.navbar {
    overflow: visible;
}

.menu {
    overflow: visible;
}

/* Ensure dropdown shows above everything */
.dropdown-menu {
    z-index: 9999;
}

/* Desktop hover fix */
@media (min-width: 48rem) {
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

.menu-link,
.dropdown-item,
.brand,
.top-bar a {
    text-decoration: none !important;
}

.dropdown-menu {
    transform: translate(-50%, 10px);
}

.dropdown:hover .dropdown-menu {
    transform: translate(-50%, 0);
}

.dropdown-menu {
    transform: translate(0%, 0) !important;
}


.header,
.navbar,
.menu {
    overflow: visible !important;
}

/* Fix dropdown position */
.dropdown-menu {
    top: calc(100% + 10px);
    left: 0;
    transform: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    left: 50%;
    transform: translateX(0%);
}

@media (min-width: 768px) {
    .dropdown-menu {
        transform: translateX(-50%) !important;
    }
}

/* end header/navbar */

/* ========== BURGER MENU ========== */
.burger {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1rem;
    z-index: 99;
    background: transparent;
    padding: 0;
}

.burger-line {
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-black-500);
    transition: all 0.25s ease;
    border-radius: 2px;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 0.75rem;
}

.burger.is-active .burger-line:nth-child(1) {
    top: 0.5rem;
    transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
    top: 0.5rem;
    transform: rotate(-135deg);
}

/* ========== DESKTOP MEDIA QUERY ========== */
@media only screen and (min-width: 48rem) {
    .menu {
        position: relative;
        top: initial;
        right: initial;
        width: auto;
        height: auto;
        padding: unset;
        margin-left: auto;
        background: unset;
        box-shadow: unset;
        transition: unset;
        overflow: visible;
    }

    .menu-inner {
        flex-direction: row;
        column-gap: 2rem;
    }

    .menu-link {
        font-size: 1rem;
        text-transform: capitalize;
    }

    .burger {
        display: none;
    }
}

/* ========== MOBILE MEDIA QUERY ========== */
@media (max-width: 47.99rem) {
    .header {
        top: 0;
    }

    .navbar {
        max-width: calc(100vw - 2rem);
        height: 4rem;
        margin-top: 8px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0.5rem 0;
        display: none;
        transform: none !important;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    .dropdown-item {
        text-align: center;
        white-space: normal;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .btn-darken {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========== HERO CAROUSEL ========== */
.carousel-item {
    height: 75vh;
    min-height: 400px;
}

.carousel {
    margin-bottom: 80px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* ========== SEARCH BOX ========== */
.search-container {
    position: relative;
    margin-top: -120px;
    z-index: 20;
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-large);
}

.search-box h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.search-box .form-control,
.search-box .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.1);
}

/* ========== CATEGORY CARDS ========== */
.category-card {
    border: none;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

.category-card img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card .card-body {
    background: var(--white);
    padding: 15px;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.category-card h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.category-card a {
    text-decoration: none;
}

/* ========== FEATURED CARDS ========== */
.featured-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.featured-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-card .card-body {
    padding: 20px;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 10px 0;
}

.stars {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-section {
    background-color: var(--peach-bg, #fff5f0);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color, #ff6b4a);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted, #666);
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark, #333);
    margin-bottom: 5px;
}

/* Slider Styles */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-slider {
    display: none;
    animation: fadeEffect 0.5s;
}

.testimonial-slider.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Dots/Indicators */
.slider-dots {
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color, #ffb6a0);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    opacity: 0.5;
}

.dot.active-dot {
    background-color: var(--primary-color, #ff6b4a);
    opacity: 1;
    transform: scale(1.2);
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color, #ff6b4a);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.slider-btn:hover {
    background-color: var(--primary-dark, #e54b2a);
    opacity: 1;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }

    .testimonial-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

/* ========== TESTIMONIALS ENDS ========== */


/* ========== BLOG CARDS ========== */
.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* ========== ABOUT PAGE ========== */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SERVICES PAGE ========== */
.service-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ========== GALLERY PAGE ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: bottom 0.3s;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
    background-color: #2a2a2a;
    padding: 40px 0;
    color: white;
}

.newsletter-section h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.newsletter-section p {
    font-size: 0.9rem;
    color: #bbb;
    margin: 0;
}

.subscribe-input {
    border-radius: 50px 0 0 50px !important;
    border: none !important;
    padding: 12px 20px !important;
}

.subscribe-btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 30px;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

footer .contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons a {
    background: #333;
    color: white;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ========== FORM STYLES ========== */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./assets/images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: #ddd;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }

    .search-container {
        margin-top: -60px;
    }

    .search-box {
        padding: 20px;
    }

    .search-box h4 {
        font-size: 1rem;
    }

    .category-card img {
        height: 180px;
    }

    .page-header {
        padding: 60px 0;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-icons a {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-inline: 1rem;
    }

    .category-card img {
        height: 150px;
    }

    .featured-card img {
        height: 180px;
    }

    .blog-card img {
        height: 180px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}


/* Language Dropdown Styling - Complements your existing CSS */
.language-dropdown .dropdown-toggle {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.language-dropdown .dropdown-toggle:hover,
.language-dropdown .dropdown-toggle:focus,
.language-dropdown.show .dropdown-toggle {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.language-dropdown .dropdown-menu {
    min-width: 140px;
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow-large);
    padding: 0.5rem 0;
    margin-top: 10px;
    background: var(--color-white-100);
}

.language-dropdown .dropdown-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: var(--color-black-500);
}

.language-dropdown .dropdown-item:hover {
    background-color: var(--peach-bg);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

.language-dropdown .dropdown-item.active {
    background-color: var(--peach-bg);
    color: var(--primary-color);
    font-weight: 500;
}

/* Mobile language dropdown in menu */
.menu .dropdown-menu .dropdown-item.active {
    background-color: var(--peach-bg);
    color: var(--primary-color);
    font-weight: 500;
}

/* Ensure dropdown positioning works with your existing styles */
@media (min-width: 768px) {
    .language-dropdown .dropdown-menu {
        transform: translateX(0) !important;
        left: auto;
        right: 0;
    }
}

/* Adjust navbar padding for new elements */
.menu-block {
    gap: 0.75rem;
}

/* Make sure your existing dropdown styles don't conflict */
.language-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: none !important;
}

/* For the mobile language option in menu */
@media (max-width: 767px) {
    .menu .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
        transform: none !important;
        left: 0;
    }

    .menu .dropdown-item {
        text-align: left;
        white-space: normal;
    }
}


/* Gallery Page Additional Styles */

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.gallery-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 1.5s infinite;
}

/* Tooltip for gallery items */
.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    z-index: 10;
}

.gallery-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Print styles for gallery */
@media print {

    .filter-buttons,
    .search-gallery,
    .lightbox-modal,
    #loadMoreContainer,
    .gallery-overlay,
    .gallery-badge {
        display: none !important;
    }

    .gallery-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .filter-btn {
        border-width: 2px;
    }

    .filter-btn.active {
        background: black;
        border-color: black;
        color: white;
    }

    .gallery-overlay {
        background: black;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .gallery-item,
    .gallery-image,
    .gallery-overlay,
    .filter-btn,
    .lightbox-modal {
        transition: none !important;
        animation: none !important;
    }
}

/* ------------------ */
/* index page cards */
/* ------------------ */
/* puja category cards */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card img {
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card .card-body {
    background: white;
}

.badge {
    font-weight: normal;
    font-size: 0.7rem;
}

/* featured puja cards */
.puja-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    cursor: pointer;
}

.puja-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.puja-card img {
    transition: transform 0.3s ease;
}

.puja-card:hover img {
    transform: scale(1.05);
}

.puja-card .card-body {
    background: white;
}

.puja-card .card-footer {
    background: white;
}

.badge {
    font-weight: normal;
    font-size: 0.7rem;
    padding: 5px 8px;
    z-index: 1;
}


/*translator*/
