/* ============================================================
   Gayapitramukti.com — Pixel Perfect Design (As per Screenshot)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #f0810f;
    /* Orange */
    --primary-hover: #d97005;
    --dark: #2a2522;
    /* Dark text */
    --gray: #666666;
    /* Light text */
    --bg-cream: #faf7f2;
    --bg-dark: #1f1b18;
    /* --font-heading: 'Playfair Display', 'Cinzel', serif; */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    --border-radius: 12px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--gray);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: 0.3s;
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.text-primary {
    color: var(--primary) !important;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--dark) !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.btn-outline i {
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}

/* Header */
.site-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: url('../uploads/hero_1.jpg') center/cover;
    /* Placeholder for diya icon */
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.8;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: #5a3f28;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--dark);
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.header-phone {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-phone i {
    font-size: 1.1rem;
}

/* Hero */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-mantra {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Features Strip */
.features-strip {
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.features-box {
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #eee;
}

.feature-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.feature-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.feature-text p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--gray);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 40px;
    height: 1px;
    background: #ddd;
}

.section-divider i {
    color: var(--primary);
    font-size: 0.8rem;
}

.text-justify {
    text-align: justify;
}

/* Pooja List */
.pooja-section {
    padding: 60px 0;
}

.pooja-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

.pooja-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.pooja-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pooja-info {
    padding: 20px;
}

.pooja-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    color: #000;
}

.pooja-info p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}

.pooja-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pooja-slider-wrap {
    position: relative;
    padding: 0 40px;
}

.pooja-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--dark);
    transition: 0.3s;
}

.pooja-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pooja-prev {
    left: -10px;
}

.pooja-next {
    right: -10px;
}

/* Counters */
.counter-section {
    margin: 40px 0;
}

.counter-box {
    background: #2b231d;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
}

.counter-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.counter-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(240, 129, 15, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
}

.counter-text h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
    font-family: var(--font-body);
}

.counter-text p {
    color: #aaa;
    font-size: 0.85rem;
    margin: 5px 0 0 0;
    line-height: 1.3;
}

/* About */
.about-section {
    padding: 60px 0;
}

.about-img-wrap {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-img {
    border-radius: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90%;
    height: 90%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.internal-banner {
    padding: 80px 0;
    min-height: 280px;
}

.pooja-grid-page {
    padding: 60px;
}

/* Gallery */
.gallery-section {
    padding: 60px 0;
    background: var(--bg-cream);
}

.gallery-swiper .swiper-slide {
    transition: 0.4s;
    transform: scale(0.8);
    opacity: 0.6;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--dark);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Process */
.process-section {
    padding: 60px 0;
    position: relative;
}

.process-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.process-line {
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 1px;
    border-top: 1px dashed #ccc;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    width: 18%;
    background: #fff;
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
}

.process-step h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.process-step p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Testimonials */
.testi-section {
    padding: 60px 0;
    background: var(--bg-cream);
}

.pooja-detail-content{
    padding: 60px 0;
}

.testi-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.quote-icon {
    color: rgba(240, 129, 15, 0.2);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.testi-text {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testi-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin: 0;
}

.user-loc {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}

.stars {
    color: #ffc107;
    font-size: 0.85rem;
}

/* CTA */
.cta-section {
    background: var(--bg-dark);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    opacity: 0.5;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.cta-text p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 250px;
}

.header-logo img{
 width:250px;
}

.footer-logo span {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

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

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

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
}

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

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Swiper Pagination Global */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 20px;
    border-radius: 10px;
}

/* Responsive adjustments */
@media(max-width: 991px) {
    .features-box {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 20px;
        gap: 20px;
    }

    .feature-item {
        width: 45%;
        flex: none;
        justify-content: flex-start;
    }

    .feature-item::after {
        display: none;
    }

    .counter-box {
        flex-wrap: wrap;
        padding: 20px;
        gap: 20px;
        border-radius: 12px;
    }

    .counter-item {
        width: 45%;
        border-right: none !important;
        padding: 0 !important;
    }

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

    .process-step {
        width: 45%;
    }

    .process-line {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        color: var(--dark);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media(max-width: 767px) {
    .feature-item {
        width: 100%;
    }

    .counter-item {
        width: 46%;
    }

    .counter-text h3 {
        font-size: 1.4rem;
    }

    .counter-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .process-step {
        width: 100%;
    }

    .hero {
        height: auto;
        padding: 50px 0 80px;
        text-align: center;
    }

    .hero::before {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgb(255 255 255 / 35%) 40%, transparent 100%);
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-img-wrap {
        padding: 0;
        margin-bottom: 30px;
    }

    .about-shape {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .pooja-slider-wrap {
        padding: 0;
    }

    .pooja-nav {
        display: none;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Internal Banner */
.internal-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.internal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(31, 27, 24, 0.75);
}

.internal-banner-content {
    position: relative;
    z-index: 2;
}

.internal-banner h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #ddd;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #aaa;
}

/* Pooja Grid Page Cards */
.pooja-grid-page {
    padding-bottom: 80px;
}

.pooja-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(240, 129, 15, 0.3);
}

.pooja-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.btn-sm-primary {
    background: var(--primary);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    transition: 0.3s;
}

.btn-sm-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

/* ============================================================
   About Page — Missing Styles Fix
   ============================================================ */

/* Utility */
.text-orange {
    color: var(--primary) !important;
}

.bg-cream {
    background-color: var(--bg-cream) !important;
}

/* About Page Details Section */
.about-page-details {
    padding: 80px 0;
}

.about-page-details .section-subtitle {
    display: block;
    margin-bottom: 10px;
}

.about-page-details .section-title.text-start {
    font-size: 2rem;
    line-height: 1.3;
}

.about-page-details .section-title span {
    color: var(--primary);
}

.about-page-details p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 12px;
}

/* Section Title Wrapper */
.section-title-wrapper {
    margin-bottom: 40px;
}

.section-title-wrapper .section-subtitle {
    display: block;
    margin-bottom: 10px;
}

.section-title-wrapper .section-title span {
    color: var(--primary);
}

.section-title-wrapper .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.section-title-wrapper .section-divider::before,
.section-title-wrapper .section-divider::after {
    content: '';
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary));
}

.section-title-wrapper .section-divider::after {
    background: linear-gradient(to left, transparent, var(--primary));
}

/* Sacred Legends / Sacred Geography Section */
.sacred-legends {
    padding: 80px 0;
}

/* Feature Icon Wrapper (used in legend cards) */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
}

.sacred-legends .card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.sacred-legends .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.sacred-legends .card h3 {
    color: var(--dark);
}

/* Testimonials Section */
.testimonial-section {
    padding: 80px 0;
    background: var(--bg-cream);
    overflow: hidden;
}

.testimonial-swiper {
    padding-bottom: 50px;
    overflow: visible;
}

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 22px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(240, 129, 15, 0.12);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.95rem;
}

.testimonial-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 3px 0;
}

.testimonial-author-city {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Swiper pagination dots for testimonials */
.testimonial-swiper .swiper-pagination {
    bottom: 0;
}

/* Responsive — About Page */
@media (max-width: 991px) {
    .about-page-details {
        padding: 60px 0;
    }
    .sacred-legends {
        padding: 60px 0;
    }
    .testimonial-section {
        padding: 60px 0;
    }
    .about-page-details .section-title.text-start {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .about-page-details {
        padding: 50px 0;
    }
    .about-page-details .section-title.text-start {
        font-size: 1.5rem;
        text-align: center !important;
    }
    .about-page-details .section-subtitle {
        text-align: center;
    }
    .about-page-details .row.mt-4 {
        justify-content: center;
    }
    .section-title-wrapper .section-title {
        font-size: 1.75rem;
    }
    .internal-banner h1 {
        font-size: 2rem;
    }
    .internal-banner {
        padding: 60px 0;
        min-height: 220px;
    }
}

/* ============================================================
   Gallery Grid Page
   ============================================================ */

.gallery-grid-page {
    padding: 80px 0 100px;
}

/* Responsive grid — 3 columns on desktop, 2 on tablet, 1 on mobile */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .gallery-masonry-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-grid-page {
        padding: 50px 0 70px;
    }
}

/* Individual card */
.gallery-grid-item {
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.gallery-grid-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}

.gallery-grid-thumb {
    position: relative;
    width: 100%;
    padding-top: 72%;   /* 4:3-ish ratio */
    overflow: hidden;
    background: #f0ece5;
}

.gallery-grid-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.gallery-grid-item:hover .gallery-grid-thumb img {
    transform: scale(1.08);
}

/* Hover overlay */
.gallery-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,27,24,0.82) 0%, rgba(31,27,24,0.25) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.gallery-grid-item:hover .gallery-grid-overlay {
    opacity: 1;
}

.gallery-overlay-inner {
    text-align: center;
    color: #fff;
}

.gallery-zoom-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.gallery-overlay-title {
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.92;
    line-height: 1.3;
}

/* ============================================================
   Lightbox
   ============================================================ */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 10, 0.93);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Prev / Next */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

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

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Image wrapper */
.lightbox-content {
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

/* Caption */
.lightbox-caption {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    margin-top: 14px;
    text-align: center;
    max-width: 600px;
    line-height: 1.4;
}

/* Counter */
.lightbox-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Loader spinner */
.lightbox-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.lightbox-loader span {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: lightboxSpin 0.7s linear infinite;
}

@keyframes lightboxSpin {
    to { transform: rotate(360deg); }
}

/* Mobile adjustments for lightbox */
@media (max-width: 575px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-nav { width: 42px; height: 42px; font-size: 1rem; }
    .lightbox-img { max-width: 95vw; max-height: 70vh; }
}