/* ============================================
   Shubh Puja Seva — Light Theme Design System
   Puja Services in Bangalore
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (Light Theme)
   ============================================ */
:root {
    /* --- Primary Colors --- */
    --clr-bg: #faf7f0;
    /* Warm cream background */
    --clr-bg-alt: #f3ede0;
    /* Slightly deeper cream */
    --clr-surface: #ffffff;
    /* Card/surface white */
    --clr-surface-alt: #fdf8ef;
    /* Warm off-white */
    --clr-primary: #e8740c;
    /* Saffron orange */
    --clr-primary-dark: #c45f00;
    /* Darker saffron */
    --clr-primary-light: #ffecd2;
    /* Light saffron wash */
    --clr-secondary: #c0392b;
    /* Soft vermillion/red */
    --clr-accent: #d4a937;
    /* Warm gold */

    /* --- Text Colors --- */
    --clr-text: #2c1810;
    /* Dark brown (body text) */
    --clr-text-mid: #5a4a3c;
    /* Medium brown */
    --clr-text-muted: #7a6b5d;
    /* Muted brown */
    --clr-text-light: #a89888;
    /* Light muted */
    --clr-heading: #1e0f06;
    /* Deep brown headings */
    --clr-white: #ffffff;

    /* --- Border & Shadow --- */
    --clr-border: #e8dcc8;
    /* Warm beige border */
    --clr-border-light: #f0e8d8;
    /* Even lighter border */
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.08);
    --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.10);
    --shadow-card: 0 4px 20px rgba(44, 24, 16, 0.07);
    --shadow-hover: 0 8px 30px rgba(232, 116, 12, 0.15);

    /* --- Typography --- */
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    --font-script: 'Poppins', 'Segoe UI', sans-serif;

    /* --- Transitions --- */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* --- Layout --- */
    --container-width: 1200px;
    --navbar-height: 72px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--clr-heading);
    line-height: 1.3;
    font-weight: 700;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header .subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--clr-primary);
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--clr-heading);
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    margin: 16px auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr-primary);
    font-size: 10px;
    background: var(--clr-bg);
    padding: 0 10px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(232, 116, 12, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 116, 12, 0.4);
    color: var(--clr-white);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1da851;
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-heading);
}

.nav-logo .logo-icon {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 50%;
}

.nav-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-heading);
    line-height: 1.2;
}

.nav-logo .logo-text span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-mid);
    position: relative;
}

.navbar:not(.scrolled) .nav-menu a {
    color: var(--clr-white);
}

.navbar:not(.scrolled) .nav-logo .logo-text {
    color: var(--clr-white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--clr-primary);
}

.navbar:not(.scrolled) .nav-menu a.active {
    color: var(--clr-primary-light);
}

.nav-cta {
    background: var(--clr-primary);
    color: var(--clr-white) !important;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--clr-primary-dark);
    color: var(--clr-white) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--clr-heading);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
    background: var(--clr-white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(30, 15, 6, 0.5) 0%,
            rgba(30, 15, 6, 0.4) 50%,
            rgba(30, 15, 6, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content .hero-subtitle {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--clr-primary-light);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--clr-white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--clr-primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--clr-white);
}

.hero-buttons .btn-outline:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* Hero Inner Layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: var(--container-width);
    width: 100%;
    padding: 0 20px;
}

.hero-inner .hero-content {
    flex: 1;
    text-align: left;
}

.hero-inner .hero-buttons {
    justify-content: flex-start;
}

/* Hero Form */
.hero-form-wrapper {
    flex: 0 0 400px;
    max-width: 400px;
}

.hero-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-white);
    text-align: center;
    margin-bottom: 4px;
}

.hero-form-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    margin-bottom: 20px;
}

.hero-form .form-group {
    margin-bottom: 14px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--clr-white);
    outline: none;
    transition: var(--transition);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.hero-form select option {
    background: #2c1810;
    color: var(--clr-white);
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    border-color: var(--clr-primary);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(232, 116, 12, 0.2);
}

.hero-form textarea {
    resize: vertical;
    min-height: 70px;
}

.hero-form-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator .mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator .mouse .wheel {
    width: 4px;
    height: 10px;
    background: var(--clr-primary);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

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

/* ============================================
   PAGE BANNER (Inner Pages)
   ============================================ */
.page-banner {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 15, 6, 0.55), rgba(30, 15, 6, 0.65));
}

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

.page-banner-content h1 {
    font-size: 2.8rem;
    color: var(--clr-white);
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--clr-primary);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ABOUT SECTION (Home)
   ============================================ */
.about-section {
    background: var(--clr-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--clr-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.4;
}

.about-text .subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--clr-primary);
    display: block;
    margin-bottom: 8px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--clr-text-mid);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--clr-primary-light);
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-heading);
}

.about-feature .icon {
    font-size: 1.3rem;
}

/* ============================================
   SERVICES SECTION (Home Preview)
   ============================================ */
.services-section {
    background: var(--clr-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-primary);
}

.service-card .card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: var(--clr-primary-light);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--clr-primary);
    transform: scale(1.05);
}

.service-card:hover .card-icon span {
    filter: brightness(10);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--clr-heading);
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS / PROCESS SECTION
   ============================================ */
.process-section {
    background: var(--clr-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.process-step .step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-primary);
    background: var(--clr-primary-light);
    border-radius: 50%;
    border: 2px solid var(--clr-primary);
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -14px;
    width: 28px;
    height: 2px;
    background: var(--clr-border);
}

/* ============================================
   EVENTS / WHY CHOOSE US
   ============================================ */
.events-section {
    background: var(--clr-bg-alt);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.event-card .event-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.event-card .event-date,
.event-card .event-meta {
    font-size: 0.85rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.event-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
    background: var(--clr-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(30, 15, 6, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: var(--clr-white);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--clr-white);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* ============================================
   CTA / DONATION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 30px;
}

.cta-section .btn {
    background: var(--clr-white);
    color: var(--clr-primary);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--clr-heading);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-heading);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.footer-col h3 {
    font-size: 1.15rem;
    color: var(--clr-white);
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--clr-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact .icon {
    font-size: 1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ABOUT PAGE - HISTORY
   ============================================ */
.history-section {
    background: var(--clr-bg);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-text h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.history-text p {
    color: var(--clr-text-mid);
    margin-bottom: 14px;
}

/* ============================================
   ABOUT PAGE - PRIESTS / PANDIT
   ============================================ */
.priests-section {
    background: var(--clr-bg-alt);
}

.priests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.priest-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    text-align: center;
    transition: var(--transition);
}

.priest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.priest-card .priest-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.priest-card .priest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.priest-card .priest-info {
    padding: 20px;
}

.priest-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.priest-card .title {
    color: var(--clr-primary);
    font-size: 0.88rem;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.priest-card p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
}

/* ============================================
   ABOUT PAGE - MISSION/VISION
   ============================================ */
.mission-section {
    background: var(--clr-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.mission-card {
    background: var(--clr-surface);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.mission-card .card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.mission-card p {
    color: var(--clr-text-mid);
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE - TIMELINE
   ============================================ */
.timeline-section {
    background: var(--clr-bg-alt);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--clr-border);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 40px;
    width: 50%;
    position: relative;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    justify-content: flex-start;
}

.timeline-item .timeline-content {
    background: var(--clr-surface);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    max-width: 340px;
    position: relative;
}

.timeline-item .timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--clr-primary);
    border-radius: 50%;
    border: 3px solid var(--clr-bg-alt);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -37px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -37px;
}

.timeline-content .year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--clr-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
}

/* ============================================
   SERVICES PAGE - DETAIL CARDS
   ============================================ */
.services-detail-section {
    background: var(--clr-bg);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-detail-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
    transition: var(--transition);
    cursor: pointer;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-primary);
}

.service-detail-card .card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-detail-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-detail-card:hover .card-image img {
    transform: scale(1.08);
}

.service-detail-card .card-body {
    padding: 24px;
}

.service-detail-card .card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-detail-card .card-body p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-detail-card .card-body .price {
    display: inline-block;
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
}

/* ============================================
   SERVICE MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    max-width: 560px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    transition: var(--transition);
    background: var(--clr-surface);
}

.modal-close:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-right: 40px;
}

.modal-content p {
    color: var(--clr-text-mid);
    margin-bottom: 14px;
    line-height: 1.7;
}

.modal-content .modal-meta {
    font-weight: 600;
    color: var(--clr-heading);
}

.modal-content .modal-meta span {
    color: var(--clr-primary);
}

.modal-content h4 {
    font-size: 1.05rem;
    margin: 18px 0 12px;
    color: var(--clr-primary);
}

.modal-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.modal-content ul li {
    padding: 8px 0;
    color: var(--clr-text-mid);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--clr-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-content ul li::before {
    content: '✦';
    color: var(--clr-primary);
    font-size: 0.7rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    background: var(--clr-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--clr-surface);
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-light);
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-heading);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--clr-text);
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(232, 116, 12, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .error-message {
    display: none;
    color: var(--clr-secondary);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--clr-secondary);
}

.form-group.error .error-message {
    display: block;
}

.form-success {
    display: none;
    text-align: center;
    padding: 16px;
    margin-top: 16px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--clr-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--clr-border-light);
}

.contact-info-card .icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--clr-primary-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
}

/* Map */
.map-placeholder {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 220px;
    border: 1px solid var(--clr-border);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   SERVICE AREAS / LOCATIONS
   ============================================ */
.locations-section {
    background: var(--clr-bg-alt);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--clr-surface);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--clr-border-light);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-heading);
    transition: var(--transition);
}

.location-tag:hover {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.location-tag .icon {
    color: var(--clr-primary);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(232, 116, 12, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {

    .services-grid,
    .events-grid,
    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--clr-surface);
        flex-direction: column;
        padding: 80px 30px 40px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.open {
        right: 0;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero {
        min-height: auto;
        padding-bottom: 50px;
    }

    .nav-menu a {
        font-size: 1rem;
        color: var(--clr-text) !important;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding-top: 100px;
    }

    .hero-inner .hero-content {
        text-align: center;
    }

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

    .hero-form-wrapper {
        flex: 0 0 auto;
        max-width: 420px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .about-grid,
    .history-grid,
    .contact-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .events-grid,
    .gallery-grid,
    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .page-banner {
        min-height: 240px;
    }

    .page-banner-content h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .timeline-item .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
    }

    .timeline-item .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -37px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-form {
        padding: 24px 20px;
    }

    .hero-form h3 {
        font-size: 1.3rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 24px;
    }
}