/* ===========================
   CUSTOM STYLES FOR NGO WEBSITE
   =========================== */

/* Root Variables */
:root {
    --primary-orange: #ff9933;
    --primary-maroon: #8b2635;
    --light-cream: #fff8f1;
    --light-orange: #fff5e6;
    --dark-maroon: #5a1a23;
    --footer-dark: #1a0a0f;
    --footer-mid: #2d0f15;
}

/* Global Reset for Box Sizing */
*,
::before,
::after {
    box-sizing: border-box;
}

.text-brand-maroon {
    color: var(--primary-maroon);
}

.text-brand-orange {
    color: var(--primary-orange);
}

.bg-brand-orange {
    background-color: var(--primary-orange);
}

.bg-brand-maroon {
    background-color: var(--primary-maroon);
}

.border-brand-orange {
    border-color: var(--primary-orange);
}

.border-brand-maroon {
    border-color: var(--primary-maroon);
}

.bg-gradient-brand {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
}

.bg-gradient-footer {
    background: linear-gradient(
        180deg,
        var(--footer-dark) 0%,
        var(--footer-mid) 30%,
        var(--dark-maroon) 70%,
        var(--primary-maroon) 100%
    );
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body & HTML Base */
html,
body {
    font-family: "Inter", sans-serif;
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
}

section {
    overflow-x: hidden;
    width: 100%;
}

/* ===========================
   DECORATIVE PATTERNS
   =========================== */

/* Mandala Pattern Background */
.pattern-mandala {
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 153, 51, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(139, 38, 53, 0.03) 0%,
            transparent 50%
        );
}

/* Dot Pattern */
.pattern-dots {
    background-image: radial-gradient(
        circle,
        rgba(255, 153, 51, 0.1) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
}

/* Geometric Pattern */
.pattern-geometric {
    background-image:
        linear-gradient(
            30deg,
            rgba(255, 153, 51, 0.02) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255, 153, 51, 0.02) 87.5%,
            rgba(255, 153, 51, 0.02)
        ),
        linear-gradient(
            150deg,
            rgba(255, 153, 51, 0.02) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255, 153, 51, 0.02) 87.5%,
            rgba(255, 153, 51, 0.02)
        ),
        linear-gradient(
            30deg,
            rgba(255, 153, 51, 0.02) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255, 153, 51, 0.02) 87.5%,
            rgba(255, 153, 51, 0.02)
        ),
        linear-gradient(
            150deg,
            rgba(255, 153, 51, 0.02) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255, 153, 51, 0.02) 87.5%,
            rgba(255, 153, 51, 0.02)
        );
    background-size: 80px 140px;
    background-position:
        0 0,
        0 0,
        40px 70px,
        40px 70px;
}

/* ===========================
   ANIMATIONS
   =========================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Float Animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Delay Classes */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* ===========================
   GLASSMORPHISM EFFECTS
   =========================== */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================
   GRADIENT OVERLAYS
   =========================== */

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 51, 0.1) 0%,
        rgba(139, 38, 53, 0.1) 100%
    );
    pointer-events: none;
}

/* ===========================
   CUSTOM SCROLLBAR
   =========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        to bottom,
        var(--primary-orange),
        var(--primary-maroon)
    );
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-maroon);
}

/* ===========================
   BUTTON EFFECTS
   =========================== */

.btn-gradient {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

/* ===========================
   CARD EFFECTS
   =========================== */

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===========================
   TEXT EFFECTS
   =========================== */

.text-gradient {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow-soft {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================
   DECORATIVE ELEMENTS
   =========================== */

.decorative-line {
    position: relative;
    padding-bottom: 15px;
}

.decorative-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-orange),
        transparent
    );
}

/* Om Symbol Decoration */
.om-decoration {
    position: relative;
}

.om-decoration::before {
    content: "ॐ";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: var(--primary-orange);
    opacity: 0.1;
    font-family: "Noto Serif Devanagari", serif;
}

/* ===========================
   FOOTER TEMPLE DESIGN
   =========================== */

.footer-temple-design {
    position: relative;
    overflow: hidden;
}

.footer-temple-silhouette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url("../assets/images/footer_art_homepage.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

/* ===========================
   FOOTER TEMPLE DESIGN
   =========================== */

.footer-temple-design {
    position: relative;
    overflow: hidden;
}

.footer-temple-silhouette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url("../assets/images/footer_art_homepage.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

/* Temple footer with proper spacing */
footer {
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

/* ===========================
   SECTION DIVIDERS
   =========================== */

.section-divider {
    position: relative;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-orange),
        transparent
    );
    margin: 40px 0;
}

.section-divider::before,
.section-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-orange);
    border-radius: 50%;
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

/* ===========================
   RESPONSIVE UTILITIES
   =========================== */

@media (max-width: 768px) {
    .animate-fadeInUp,
    .animate-slideInLeft,
    .animate-slideInRight {
        animation: fadeIn 0.6s ease-out forwards;
    }
}

/* ===========================
   LOADING STATES
   =========================== */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ===========================
   HOVER EFFECTS
   =========================== */

.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.5);
}

/* ===========================
   BORDER DECORATIONS
   =========================== */

.border-gradient {
    border: 2px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, var(--primary-orange), var(--primary-maroon));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* ===========================
   ICON ANIMATIONS
   =========================== */

.icon-bounce {
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ===========================
   PROGRESS BAR ANIMATIONS
   =========================== */

.progress-bar-animated {
    position: relative;
    overflow: hidden;
}

.progress-bar-animated::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* ===========================
   BADGE STYLES
   =========================== */

.badge-premium {
    background: linear-gradient(
        135deg,
        var(--primary-orange),
        var(--primary-maroon)
    );
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 153, 51, 0.3);
}

/* ===========================
   MOBILE MENU ANIMATION
   =========================== */

.mobile-menu-enter {
    animation: slideInRight 0.3s ease-out forwards;
}

.mobile-menu-exit {
    animation: slideInRight 0.3s ease-out reverse;
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */

.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-hidden.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ===========================
   BACKGROUND PATTERNS
   =========================== */

/* ===========================
   NEW COMPONENT CLASSES
   =========================== */

/* Brand Logo Circle */
.brand-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
}

.brand-logo-circle-lg {
    width: 56px;
    height: 56px;
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
}

.brand-logo-circle-md {
    width: 44px;
    height: 44px;
}

/* Footer Styles */
.footer-main {
    position: relative;
    padding-top: 40px;
    overflow: hidden;
    width: 100%;
}

.footer-dot-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.footer-akdm-watermark {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 800px;
    height: 400px;
    background-image: url("../assets/images/akdm-gray.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.05;
    pointer-events: none;
    filter: grayscale(100%) brightness(200%);
    z-index: 0;
}

/* Social Icon Button */
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 153, 51, 0.2);
    border: 1px solid rgba(255, 153, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-btn:hover {
    background: var(--primary-orange);
    transform: scale(1.1) rotate(5deg);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Link Utility */
.footer-link-item {
    color: #d1d5db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-link-item:hover {
    color: var(--primary-orange);
}

/* Section Header Styles */
.section-title {
    font-family: "Noto Serif Devanagari", serif;
    color: var(--primary-maroon);
}

.section-subtitle {
    font-family: "Inter", sans-serif;
    color: #4b5563;
}

/* Counter Styles */
.counter-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.counter-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Navigation Utilities */
.nav-link {
    font-size: 0.875rem;
    font-family: "Inter", sans-serif;
    color: #374151;
    /* gray-700 */
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link-active {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Feature/Program Card */
.feature-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 153, 51, 0.1);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* CTA Styles */
.section-cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 25, 25, 0.5) 0%,
        rgba(26, 25, 25, 0.5) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.pill-btn-primary {
    background: white;
    color: var(--primary-maroon);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pill-btn-primary:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pill-btn-outline {
    border: 2px solid white;
    color: white;
}

.pill-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Transparency Card */
.transparency-card {
    position: relative;
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 2;
}

.transparency-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.transparency-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.transparency-card:hover .transparency-icon {
    transform: scale(1.1);
}

/* Section Backgrounds */
.section-bg-pattern-light {
    position: relative;
    background-color: #fdfaf7;
    /* Subtle Cream */
}

.section-bg-pattern-white {
    position: relative;
    background-color: #ffffff;
    /* Pure White */
}

.section-bg-pattern-light::before,
.section-bg-pattern-white::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/pattern.jpg");
    background-size: 250px;
    background-repeat: repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.section-bg-pattern {
    position: relative;
    background-color: #fdfaf7;
}

.section-bg-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/pattern.jpg");
    background-size: 250px;
    background-repeat: repeat;
    opacity: 0.12;
    pointer-events: none;
}

/* Dark Section with Pattern */
.section-bg-maroon-pattern {
    position: relative;
    background-color: var(--primary-maroon);
    color: white;
}

.section-bg-maroon-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/pattern.jpg");
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.08;
    filter: invert(1);
    pointer-events: none;
    z-index: 0;
}

.section-bg-image {
    position: relative;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
}

.section-bg-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(253, 250, 247, 0.9);
}

.section-bg-image .container {
    position: relative;
    z-index: 2;
}

/* Floating Elements for Decorations */
.float-element {
    position: absolute;
    border: 2px solid rgba(255, 153, 51, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

/* ================= DOOR OVERLAY ================= */
.door-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    overflow: hidden;
    width: 100%;
}

.door {
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #4a1a00,
        #ff9933,
        #8b2635,
        #ff9933,
        #4a1a00
    );
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.75);
    transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.left-door.open {
    transform: translateX(-100%);
}

.right-door.open {
    transform: translateX(100%);
}

/* ================= CENTER TEXT ================= */
.intro-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffe6c7;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(
        180deg,
        rgba(139, 38, 53, 0.55),
        rgba(0, 0, 0, 0.45)
    );
    transition: opacity 1.2s ease;
    font-family: "Noto Serif Devanagari", serif;
}

.intro-text.hide {
    opacity: 0;
}

/* ================= HOME FADE UP ================= */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   BLOOM EDITOR CONTENT STYLES
   =========================== */

/* These styles apply to content rendered from the Bloom Editor */
/* Using !important to override Tailwind's prose class styles */
.dynamic-content ul,
.bloom-content ul,
.editor-content ul,
.update-content ul,
.prose.dynamic-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

/* List item styling */
.dynamic-content ul li,
.bloom-content ul li,
.editor-content ul li,
.update-content ul li,
.prose.dynamic-content ul li {
    position: relative;
    padding-left: 1.5rem !important;
    margin-bottom: 0.8rem;
}

/* Custom pointer with maroon color */
.dynamic-content ul li::before,
.bloom-content ul li::before,
.editor-content ul li::before,
.update-content ul li::before,
.prose.dynamic-content ul li::before {
    content: "✦" !important;
    /* Custom symbol */
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #8b2635 !important;
    /* Maroon (brand color) */
    font-size: 1.1rem;
    font-weight: bold;
}

/* Text styling for list items */
.dynamic-content ul li p,
.bloom-content ul li p,
.editor-content ul li p,
.update-content ul li p {
    margin: 0;
    font-size: 1.05rem;
    color: #374151;
    /* gray-700 */
    font-weight: 500;
    line-height: 1.6;
}

/* Nested lists */
.dynamic-content ul li ul,
.bloom-content ul li ul,
.editor-content ul li ul,
.update-content ul li ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   TABLE STYLES FOR BLOOM EDITOR
   =========================== */

/* Base table styling */
.dynamic-content table,
.bloom-content table,
.editor-content table,
.update-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Table header styling */
.dynamic-content table thead,
.bloom-content table thead,
.editor-content table thead,
.update-content table thead {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-maroon) 100%
    );
}

.dynamic-content table thead th,
.bloom-content table thead th,
.editor-content table thead th,
.update-content table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--primary-maroon);
}

/* Table body styling */
.dynamic-content table tbody tr,
.bloom-content table tbody tr,
.editor-content table tbody tr,
.update-content table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dynamic-content table tbody tr:hover,
.bloom-content table tbody tr:hover,
.editor-content table tbody tr:hover,
.update-content table tbody tr:hover {
    background-color: #fff8f1;
    transform: scale(1.01);
}

.dynamic-content table tbody tr:last-child,
.bloom-content table tbody tr:last-child,
.editor-content table tbody tr:last-child,
.update-content table tbody tr:last-child {
    border-bottom: none;
}

/* Table cell styling */
.dynamic-content table td,
.bloom-content table td,
.editor-content table td,
.update-content table td {
    padding: 1rem 1.5rem;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    border-right: 1px solid #f3f4f6;
}

.dynamic-content table td:last-child,
.bloom-content table td:last-child,
.editor-content table td:last-child,
.update-content table td:last-child {
    border-right: none;
}

/* Striped table rows (optional) */
.dynamic-content table tbody tr:nth-child(even),
.bloom-content table tbody tr:nth-child(even),
.editor-content table tbody tr:nth-child(even),
.update-content table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Table with borders variant */
.dynamic-content table.bordered,
.bloom-content table.bordered,
.editor-content table.bordered,
.update-content table.bordered {
    border: 2px solid var(--primary-orange);
}

.dynamic-content table.bordered td,
.bloom-content table.bordered td,
.editor-content table.bordered td,
.update-content table.bordered td,
.dynamic-content table.bordered th,
.bloom-content table.bordered th,
.editor-content table.bordered th,
.update-content table.bordered th {
    border: 1px solid #e5e7eb;
}

/* Responsive table */
@media (max-width: 768px) {
    .dynamic-content table,
    .bloom-content table,
    .editor-content table,
    .update-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .dynamic-content table thead th,
    .bloom-content table thead th,
    .editor-content table thead th,
    .update-content table thead th,
    .dynamic-content table td,
    .bloom-content table td,
    .editor-content table td,
    .update-content table td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}
