/* ==========================================
   1. Trust-Driven Variables & Resets
   ========================================== */
:root {
    --navy: #0A192F;         
    --navy-light: #112240;   
    --saffron: #FF6600;        /* Deep Temple Saffron */
    --saffron-hover: #E65C00;
    --white: #FFFFFF;
    --slate: #8892B0;        
    --bg-gray: #F8F9FA;      
    
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-hard: 0 10px 30px -10px rgba(10, 25, 47, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: var(--font-body);
    color: var(--navy);
    background-color: var(--bg-gray);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition);
}

/* ==========================================
   2. Utilities & Layout
   ========================================== */
.container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; /* Strict side margins for mobile breathing room */
}

.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-navy { background-color: var(--navy); }
.bg-gray { background-color: var(--bg-gray); }
.mt-4 { margin-top: 3rem; }
.w-100 { width: 100%; display: block; }

/* ==========================================
   3. Buttons
   ========================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--saffron);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    border: 2px solid var(--saffron);
}

.btn-primary:hover {
    background-color: var(--saffron-hover);
    border-color: var(--saffron-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3); /* Saffron glow */
}

.btn-video {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--white);
    border-radius: 4px;
}

.btn-video:hover {
    background-color: var(--white);
    color: var(--navy);
}

/* ==========================================
   4. Trust Alert Bar & Header
   ========================================== */
.alert-bar {
    background-color: var(--saffron);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 0;
}

.alert-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.trust-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
}

.logo {
font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--navy); /* #0A192F */
    text-decoration: none;
}

.logo span { color: var(--saffron); }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav a:hover, .nav a.active-link { color: var(--saffron); }

.btn-donate {
    background: var(--navy);
    color: white !important; /* Forces white text on navy button */
    padding: 10px 24px;
    border-radius: 6px;
    margin-left: 10px;
}
.btn-donate:hover {
    background: var(--saffron);
    transform: translateY(-2px);
}

/* ==========================================
   5. Hero Section & Slideshow
   ========================================== */
.hero {
    position: relative;
    padding: 10rem 0 8rem;
    background: var(--navy);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear; 
    mix-blend-mode: luminosity; 
    transform: scale(1.1);
}

.slide.active {
    opacity: 0.4; 
    transform: scale(1);
    z-index: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 2;
}

.hero-container { position: relative; z-index: 10; }

.hero-trust-name {
    display: inline-block;
    font-family: var(--font-head);
    color: var(--saffron);
    font-size: clamp(1.2rem, 3vw, 1.8rem); 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--saffron);
    padding-left: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); 
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    color: var(--bg-gray);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-actions { display: flex; gap: 1rem; }

/* ==========================================
   6. Divine Dedication Section
   ========================================== */
.divine-grace {
    padding: 4rem 0;
    border-bottom: 2px solid var(--saffron);
    background: radial-gradient(circle at center, var(--navy-light) 0%, var(--navy) 100%);
    position: relative;
    z-index: 15;
}

.grace-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.chant {
    text-align: center;
    flex: 1;
}

.chant h3 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.chant-wave {
    color: var(--saffron);
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.deities-wrapper {
    display: flex;
    gap: 3rem;
    flex: 2;
    justify-content: center;
}

.deity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.deity-frame {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FF9900 0%, #FF3300 100%);
    padding: 6px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
    margin-bottom: 1rem;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.deity-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--navy); 
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.deity-name {
    font-family: var(--font-head);
    font-weight: 700;
    color: #FFB84D;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* ==========================================
   7. Impact Stats Module
   ========================================== */
.impact-stats {
    background-color: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid #EAEAEA;
    transform: translateY(-40px);
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--shadow-hard);
    position: relative;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-plus { font-size: 3rem; font-weight: 800; color: var(--saffron); }

.stat-label {
    display: block;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ==========================================
   8. Active Campaign
   ========================================== */
.campaign-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.campaign-image { flex: 1; }
.campaign-image img { width: 100%; height: 100%; object-fit: cover; }

.campaign-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1); /* Saffron tint */
    color: var(--saffron);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.campaign-info h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.campaign-info p { color: #555; margin-bottom: 2rem; }

.progress-module { margin-bottom: 2rem; }
.progress-stats {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #EAEAEA;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--saffron);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

/* ==========================================
   9. Transparency Grid
   ========================================== */
.section-heading h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.section-heading p { color: var(--slate); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.focus-card {
    background: var(--navy-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.focus-card:hover {
    transform: translateY(-5px);
    border-color: var(--saffron);
}

.icon-circle {
    width: 60px; height: 60px;
    background: rgba(255, 102, 0, 0.1); /* Saffron tint */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.focus-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.focus-card p { color: var(--slate); }

/* ==========================================
   10. Inner Pages (About Us / Mission)
   ========================================== */
.inner-hero {
    background-color: var(--navy);
    padding: 6rem 0 4rem;
    position: relative;
    border-bottom: 4px solid var(--saffron);
}

.inner-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.inner-hero p {
    color: var(--slate);
    font-size: 1.2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.story-content .lead-text { font-size: 1.25rem; color: var(--navy-light); font-weight: 600; margin-bottom: 1.5rem; }
.story-content p { color: #444; margin-bottom: 1.2rem; }

.image-offset-frame {
    position: relative;
    padding: 1rem;
    z-index: 1;
}

.image-offset-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 3px solid var(--saffron);
    transform: translate(15px, 15px);
    z-index: -1;
    border-radius: 4px;
}

.image-offset-frame img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-hard);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background-color: var(--white);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-hard);
    border-top: 5px solid var(--saffron);
    transition: var(--transition);
}

.mv-card:hover { transform: translateY(-5px); }
.mv-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.mv-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.mv-card p { color: #555; font-size: 1.1rem; }

.action-banner {
    background-color: var(--saffron);
    padding: 5rem 0;
    color: var(--white);
}

.action-banner h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
.action-banner p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

/* ==========================================
   10.5 Directors Page Specifics
   ========================================== */
.directors-grid {
    display: grid;
    /* This automatically creates as many columns as will fit, shrinking to 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.director-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.director-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--saffron);
    box-shadow: 0 15px 40px rgba(10, 25, 47, 0.15);
}

.director-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Forces a perfect square */
    overflow: hidden;
    background-color: var(--navy-light);
}

.director-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focuses on the face */
    transition: transform 0.8s ease;
}

.director-card:hover .director-img img {
    transform: scale(1.05); /* Slow zoom effect on hover */
}

.director-info {
    padding: 2rem 1.5rem;
}

.director-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.director-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--saffron);
}
/* Styling for the Director's Location */
.director-location {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--slate);
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* ==========================================
   10.6 Members Section (Text-Only Cards)
   ========================================== */
.members-grid {
    display: grid;
    /* Fits more cards per row since they don't have large images */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.05);
    border-left: 4px solid var(--saffron);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateX(5px); /* Slides slightly to the right on hover */
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.1);
    border-left-color: var(--navy);
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.member-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--saffron);
    margin-bottom: 0.8rem;
}

.member-location {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--slate);
    font-weight: 500;
    background: var(--bg-gray);
    padding: 4px 10px;
    border-radius: 20px;
}
/* ==========================================
   12. Video Gallery Specifics
   ========================================== */
.video-grid {
 column-count: 2; /* Forces it into 2 columns */
    column-gap: 20px; /* Space between the left and right columns */
    width: 100%;
}

.video-card {
break-inside: avoid; /* MAGIC RULE: Prevents a card from being split across columns */
    margin-bottom: 20px; /* Space between stacked cards */
    display: inline-block; /* Helps maintain the block structure inside columns */
    width: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 100%;
    /* Modern way to keep 16:9 ratio */
    aspect-ratio: 16 / 9; 
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 2rem;
}

.video-info h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--slate);
    font-size: 0.95rem;
}
/* Instagram Specific Container */
.ig-container {
    width: 100%;
    background: var(--bg-gray);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

/* Override Instagram's forced styling so it fits our grid seamlessly */
.ig-container .instagram-media {
    min-width: 100% !important; 
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important; /* Removes IG's rounded corners to match our card edge */
    box-shadow: none !important;
}
/* Mobile Video Adjustments */
@media (max-width: 768px) {
    .video-grid {
       column-count: 1;
    }
}
/* ==========================================
   11. Masonry Gallery Specifics
   ========================================== */
.max-600 {
    max-width: 600px;
    margin: 1rem auto;
    color: var(--slate);
}

.legacy-badge {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--saffron);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.year-divider {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.year-divider span {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    background: var(--bg-gray);
    padding-right: 20px;
    z-index: 1;
}

.year-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #EAEAEA;
}

/* The Masonry Logic */
.masonry-wrapper {
    column-count: 3; /* 3 columns on desktop */
    column-gap: 1.5rem;
}

.masonry-item {
    display: inline-block; /* Crucial for masonry */
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--navy-light);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.img-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.img-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item:hover .img-overlay {
    opacity: 1;
}

.masonry-item:hover .img-overlay span {
    transform: translateY(0);
}

/* Mobile Gallery Adjustments */
@media (max-width: 992px) {
    .masonry-wrapper {
        column-count: 2; /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .masonry-wrapper {
        column-count: 1; /* 1 column on phones */
    }
    .year-divider span {
        font-size: 1.2rem;
    }
}
/* ==========================================
   11. High-Trust Footer
   ========================================== */
.footer {
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--saffron);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--white) !important;
}

.footer-brand .logo span { color: var(--saffron); }

.footer-mission {
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 320px;
}

.trust-badge-footer {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: var(--font-head);
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li { 
    margin-bottom: 0.8rem; 
    color: var(--slate); 
    font-size: 0.95rem; 
}

.footer ul li a:hover { color: var(--saffron); }

/* Contact Specific Alignment */
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.footer-contact ul li strong { 
    color: var(--saffron); 
    flex-shrink: 0;
    width: 25px;
    margin-right: 5px; 
}

/* Fixed Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1; 
    height: 45px;
    padding: 0 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--saffron); }

.newsletter-form .btn-primary {
    height: 45px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--slate);
    font-size: 0.85rem;
}
.footer-bottom p {
    margin: 0 auto;
    display: inline-block; /* Ensures the text behaves correctly for centering */
}
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a:hover { color: var(--saffron); }

/* ==========================================
   12. Global Animations
   ========================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================
   13. Responsive / Media Queries
   ========================================== */
.mobile-menu-btn { display: none; }

@media (max-width: 992px) {
    .campaign-card { flex-direction: column; }
    .stats-grid, .focus-grid, .story-grid, .mv-grid { grid-template-columns: 1fr; gap: 3rem; }
    .impact-stats { transform: translateY(0); width: 100%; box-shadow: none; padding: 3rem 0; border-radius: 0; }
    .campaign-info { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .image-offset-frame::before { transform: translate(10px, 10px); }
}

@media (max-width: 768px) {
    .alert-content { flex-direction: column; text-align: center; gap: 5px; }
    
    /* Fixed Vertical Centered Mobile Navigation */
    .nav {
        position: fixed;
        top: 90px; 
        left: -100%; 
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding-top: 0; 
        padding-bottom: 10vh;
        gap: 0.6rem;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav.active { left: 0; }
    .nav a { font-size: 1.0rem; }

    /* Animated Hamburger Icon */
    .mobile-menu-btn {
        display: flex; 
        flex-direction: column; 
        gap: 5px;
        background: none; 
        border: none; 
        width: 30px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-btn span { 
        width: 100%; height: 3px; background: var(--navy); 
        transition: var(--transition); border-radius: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--saffron); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--saffron); }

    .hero-actions { flex-direction: column; }
    
    /* Responsive Hero Text */
    .hero-trust-name {
        font-size: 1.1rem;
        letter-spacing: 1px;
        border-left: 4px solid var(--saffron);
        padding-left: 10px;
        margin-bottom: 1.2rem;
    }

    /* Divine Section Mobile Layout */
    .grace-container { flex-direction: column; gap: 3rem; }
    .deities-wrapper { flex-direction: column; gap: 2rem; order: -1; }
    .chant h3 { display: inline-block; br { display: none; } }

    /* Footer Mobile Adjustments */
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input, .newsletter-form .btn-primary { width: 100%; }
    .footer-bottom { text-align: center; /* This is the magic line */
    padding-top: 2rem;
    width: 100%; }
	.footer-bottom p {
    margin: 0 auto;
    display: inline-block; /* Ensures the text behaves correctly for centering */
}
}

/* ==========================================
   Video Gallery Layout & Cards
   ========================================== */
.video-grid {
	display: block; /* Removes the rigid grid */
    column-count: 3; /* 3 columns on desktop */
    column-gap: 2rem; /* Horizontal gap between columns */
}

.video-card {
    display: inline-block; /* Crucial: stops cards from breaking across columns */
    width: 100%;
    margin-bottom: 2rem; /* Vertical gap between videos */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-info {
    padding: 2rem;
    background-color: #ffffff;
}

.video-info h3 {
    font-size: 1.5rem;
    color: #0A192F;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #555;
    font-size: 0.95rem;
}

/* Instagram Specific Overrides */
.ig-container {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ig-container .instagram-media {
    min-width: 100% !important; 
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
/* Make it responsive for tablets and mobile */
@media (max-width: 992px) {
    .video-grid { column-count: 2; }
}

@media (max-width: 768px) {
    .video-grid { column-count: 1; }
}
/* ==========================================
   13. Donation Page Specifics
   ========================================== */
.donation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.impact-list { margin-top: 2rem; }

.impact-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--saffron);
}

.impact-icon { font-size: 2rem; }
.impact-item h4 { color: var(--saffron); font-size: 1.2rem; }
.impact-item p { font-size: 0.95rem; color: var(--slate); margin: 0; }

.payment-card {
    background: var(--navy);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-hard);
}

.bank-details {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.detail-row span { color: var(--slate); font-size: 0.9rem; }
.detail-row strong { color: var(--white); }

.qr-section { text-align: center; }
.qr-placeholder {
    background: var(--white);
    padding: 1rem;
    display: inline-block;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.qr-placeholder img { width: 200px; height: 200px; display: block; }
.upi-id { font-size: 0.9rem; color: var(--slate); }

/* Donation Page Payment Hub */
.payment-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.payment-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.bank-details-grid {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.detail-row:last-child { border-bottom: none; }
.detail-row span { color: #94a3b8; }
.detail-row strong { color: var(--white); }

/* The OR Divider */
.payment-divider {
    text-align: center;
    position: relative;
    margin: 2.5rem 0;
}

.payment-divider::before {
    content: "";
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.payment-divider span {
    position: relative;
    background: var(--navy);
    padding: 0 15px;
    color: var(--saffron);
    font-weight: 800;
    font-size: 0.9rem;
}

.report-note {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin-top: 5px;
}

/* Custom Select styling for the dark card */
.report-form select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    outline: none;
}
/* Mobile Adjustments */
@media (max-width: 992px) {
    .donation-layout { grid-template-columns: 1fr; gap: 3rem; }
    .payment-card { padding: 2rem 1.5rem; }
}
/* ==========================================
   14. Contact Page Specifics
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.location-card {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--saffron);
}

.loc-icon { font-size: 2.5rem; }
.loc-text h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 0.5rem; }
.loc-text p { font-size: 0.95rem; color: var(--slate); margin: 0; line-height: 1.6; }

.form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-hard);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--navy); }
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus { border-color: var(--saffron); outline: none; }

.google-map-dummy {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-weight: 700;
}

.social-btn {
    display: inline-block;
    padding: 8px 15px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 10px;
    transition: var(--transition);
}

.social-btn:hover { background: var(--saffron); }

/* Mobile View */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-wrapper { padding: 2rem 1.5rem; }
}
.section-intro {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8; /* Better spacing between sentences */
}

.loc-text p {
    margin-bottom: 0.3rem; /* Spacing between address lines */
}

.mt-2 {
    margin-top: 1rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}
/* --- Spacing for Contact Headings --- */

/* Adds space after "Our Locations" */
.contact-info-side h2 {
    margin-bottom: 1.8rem !important;
    font-weight: 800;
}

/* Adds space after "Send us a Message" */
.form-wrapper h3 {
    margin-bottom: 1.8rem !important;
    font-weight: 800;
    border-bottom: 2px solid var(--bg-gray); /* Optional: adds a subtle line */
    padding-bottom: 10px;
}

/* Fixes spacing between address sentences */
.loc-text p {
    margin-bottom: 0.5rem; 
    line-height: 1.6;
}

/* Success Page Elements */
.success-card {
    background: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top: 6px solid var(--saffron);
}

.success-icon {
    width: 80px; height: 80px;
    background: #4BB543;
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-box {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--navy);
    text-align: left;
}

.impact-mini-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.impact-mini-grid span {
    background: rgba(255, 102, 0, 0.1);
    color: var(--saffron);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}
/* --- Minimalist Footer Styles --- */
.footer-simple-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.footer-simple-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-simple-nav a:hover {
    color: var(--saffron);
}

.footer-brand .logo {
    font-size: 2rem;
}

/* Adjust for Mobile */
@media (max-width: 768px) {
    .footer-simple-nav {
        gap: 15px;
        flex-direction: column; /* Stack links on small phones */
    }
}
/* --- About Us Page Layout --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h1 { font-size: 3rem; color: var(--navy); }
.about-text p { color: var(--slate); line-height: 1.8; }

.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.trust-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--saffron);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Soft shadow */
    
    /* THE FIX */
    z-index: 50; /* A high number guarantees it sits on top */
}

/* --- Mobile Adjustments for the Orange Stat Card --- */
@media (max-width: 768px) {
    .trust-stat-card {
        padding: 10px 15px; /* Shrinks the size of the box */
        bottom: -30px;      /* Tucks it closer to the image edge */
        left: -10px;
        border-radius: 6px;
    }

    /* Shrinks the "20+" text */
    .trust-stat-card h3 {
        font-size: 1.5rem; 
        margin-bottom: 2px;
    }

    /* Shrinks the "Years of Seva" text */
    .trust-stat-card p {
        font-size: 0.85rem;
    }
}

/* Mission & Vision Cards */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.m-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    transition: 0.3s;
}

.m-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.m-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* Founder Card */
.founder-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: 8rem;
    color: var(--saffron);
    opacity: 0.2;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.saffron-line {
    width: 50px; height: 3px;
    background: var(--saffron);
    margin: 0 auto 15px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.v-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 102, 0, 0.1);
    margin-bottom: -20px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid, .mission-grid, .values-grid { grid-template-columns: 1fr; }
    .about-text h1 { font-size: 2.2rem; }
    .m-card { padding: 2rem; }
}
/* --- Pill Styling for "OUR LEGACY" --- */
.legacy-pill {
    display: inline-block; /* Essential for pill padding */
    background-color: #FDF2F0; /* Light pink/orange pill background */
    color: var(--saffron); /* Pill text color */
    padding: 10px 24px; /* Pill dimensions */
    border-radius: 50px; /* Pill corners */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
	margin-bottom: 1.5rem;
    display: inline-block;
}

/* --- Unified Founder Card --- */
.founder-card-unified {
    display: grid;
    grid-template-columns: 400px 1fr; /* Image takes 400px, text takes the rest */
    background: white; /* One shared background */
    border-radius: 20px;
    overflow: hidden; /* This clips the image to the card's rounded corners */
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    max-width: 1100px;
    margin: 0 auto;
}

.founder-image-side {
    height: 100%;
}

.founder-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the photo fills the space perfectly */
    display: block;
}

.founder-content-side {
    padding: 3.5rem;
    position: relative;
    color: var(--navy);
}

.founder-content-side h2 {
    color: var(--navy);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.founder-content-side p {
    color: var(--slate);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.quote-mark {
    font-size: 8rem;
    color: var(--saffron);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 40px;
    line-height: 1;
}

.founder-signature strong {
    display: block;
    font-size: 1.2rem;
    color: var(--navy);
}

.founder-signature span {
    color: var(--saffron);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.saffron-line {
    width: 40px;
    height: 3px;
    background: var(--saffron);
    margin-bottom: 10px;
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .founder-card-unified {
        grid-template-columns: 1fr; /* Stack vertically on phones */
    }
    
    .founder-image-side {
        height: 400px; /* Give the photo a set height on mobile */
    }
    
    .founder-content-side {
        padding: 2rem;
    }
}
/* --- Support Cards with Images --- */
.support-section {
    background-color: #0A192F; /* Deep Navy from your image */
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    background: #112240; /* Slightly lighter navy for cards */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.support-img-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for image consistency */
    overflow: hidden;
}

.support-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures photos aren't stretched */
    transition: transform 0.5s ease;
}

.support-card:hover .support-img-wrapper img {
    transform: scale(1.1);
}

.support-content {
    padding: 2rem;
}

.support-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.support-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #8892B0; /* Muted slate color for readability */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Scroll to Top Button --- */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 30px; /* Place at the bottom */
    right: 30px; /* Place 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--saffron); /* Saffron background */
    color: white; /* White arrow */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50%; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: var(--navy); /* Change to Navy on hover */
    transform: translateY(-5px); /* Subtle lift effect */
}

/* For Mobile: Move it slightly higher if you have a sticky footer/chat */
@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* --- Horizontal Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider cards for horizontal photos */
    gap: 20px;
    padding: 20px 0;
}
.gallery-section h2 {
    margin-bottom: 2.5rem; /* Adds space below the title */
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    /* This creates the landscape shape (3 units wide, 2 units high) */
    aspect-ratio: 3 / 2; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the box without stretching */
    transition: transform 0.5s ease;
    display: block;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Optional: Caption Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* One full-width photo per row on small phones */
    }
}
/* --- Horizontal Scroll Gallery --- */
.horizontal-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Enables horizontal scroll */
    scroll-snap-type: x mandatory; /* The magic for snapping */
    padding-bottom: 20px; /* Space for the scrollbar */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: var(--saffron) rgba(255,255,255,0.1);
}

/* Custom Scrollbar for Chrome/Safari */
.gallery-scroll-container::-webkit-scrollbar {
    height: 6px;
}
.gallery-scroll-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: var(--saffron);
    border-radius: 10px;
}

.gallery-item-horizontal {
    flex: 0 0 80%; /* Takes 80% of width on mobile */
    aspect-ratio: 16 / 9; /* Professional horizontal ratio */
    scroll-snap-align: center; /* Snaps to center when swiped */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* On Desktop, make items smaller so you can see multiple at once */
@media (min-width: 992px) {
    .gallery-item-horizontal {
        flex: 0 0 45%; /* Two and a half photos visible at once */
    }
}

.gallery-item-horizontal img {
    width: 100%;
    height: 100%;
    object-ratio: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-horizontal:hover img {
    transform: scale(1.05);
}
/* --- Year Filter Tabs --- */
.year-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
	margin-top: 1rem;
    margin-bottom: 4rem;
}

.year-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.year-btn.active, .year-btn:hover {
    background: var(--saffron);
    border-color: var(--saffron);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Hide content by default */
.year-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.year-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Container for the image and the watermark */
.watermark-container {
    position: relative !important; /* This acts as the "anchor" for the text */
    display: block;
    width: 100%;
    height: 100%;
}

.watermark-text {
    position: absolute !important;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
}
/* Stops the images from squishing inside the watermark wrapper */
.watermark-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* This is the magic rule */
    display: block;
}

/* --- Floating Audio Button (Top Right) --- */
.audio-toggle-btn {
    position: fixed;
    top: 135px; /* Sits just below your sticky white header */
    right: 30px; /* Placed on the right hand side */
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--saffron);
    border: 2px solid var(--saffron);
    cursor: pointer;
    z-index: 999; /* Keeps it above the photos and text */
    font-size: 1.8rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: attentionPulse 2s infinite;
}

/* The Pulse Animation (Unchanged) */
@keyframes attentionPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5); 
        transform: scale(1); 
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(255, 102, 0, 0); 
        transform: scale(1.05); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); 
        transform: scale(1); 
    }
}

/* When Playing (Unchanged) */
.audio-toggle-btn.playing {
    background-color: var(--saffron);
    color: var(--white);
    animation: none; 
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.6); 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .audio-toggle-btn {
        top: 95px; /* Tucked cleanly under the mobile header */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ==========================================
   Language Switcher Dropdown (UPDATED)
   ========================================== */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    padding-bottom: 10px; /* Bridges the invisible gap so the menu doesn't collapse! */
}

.lang-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.header-inner .lang-btn {
    color: var(--navy);
}

.lang-btn:hover {
    background: rgba(255, 102, 0, 0.1);
    color: var(--saffron);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0; /* Removed the bad margin */
}

.lang-dropdown a {
    color: var(--navy) !important;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.lang-dropdown a:hover {
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--saffron) !important;
}

/* Show dropdown when hovering over the container */
.lang-switcher:hover .lang-dropdown {
    display: block;
}
/* ==========================================
   MOBILE FIXES FOR LANGUAGE MENU & NAV
   ========================================== */
@media (max-width: 768px) {
    /* 1. Stop the menu from pushing "Home" upwards into the header */
    .nav {
        justify-content: flex-start !important; 
        padding-top: 50px !important; /* Starts the links safely below the top logo */
        padding-bottom: 60px !important; /* Gives extra space at the bottom to scroll */
        overflow-y: auto !important; /* Tells the phone to allow finger-scrolling */
    }

    /* 2. Language Switcher Mobile Layout */
    .lang-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        margin-top: 20px;
        padding-bottom: 0;
        width: 100%;
    }
    
    .lang-btn {
        justify-content: center;
        width: auto;
        min-width: 150px;
    }

    /* 3. Forces the dropdown to stack normally instead of overlapping */
    .lang-dropdown {
        position: static !important; 
        width: 100%;
        max-width: 150px; 
        box-shadow: none;
        border: 1px solid rgba(0,0,0,0.1);
        margin-top: 5px;
        text-align: center;
    }
    
    .lang-dropdown a {
        padding: 12px 15px; /* Makes the buttons taller so they are easy to tap */
    }
}
/* ==========================================
   TELUGU TYPOGRAPHY FIXES
   ========================================== */
/* Telugu font renders larger/wider. This scales it down slightly to match the other languages */

/* Shrink the Navigation Menu */
:lang(te) .nav a,
:lang(te) .lang-btn {
    font-size: 0.75rem !important; 
    letter-spacing: -0.2px;
}

/* Shrink the main Hero Heading */
:lang(te) .hero-content h1 {
    font-size: 3.2rem; /* Adjusts the massive hero text */
    line-height: 1.3;
}

/* Shrink the subheadings slightly */
:lang(te) h2 {
    font-size: 1.5rem; 
}

/* Fix mobile menu button text for Telugu */
@media (max-width: 768px) {
    :lang(te) .hero-content h1 {
        font-size: 2.2rem;
    }
}