/* CSS Variables */
:root {
    /* Sacred Colors */
    --sacred-green: #1B5E20;
    --sacred-green-light: #4CAF50;
    --sacred-white: #FFFFFF;
    --sacred-white-off: #FAFAFA;
    --sacred-blue: #0D47A1;
    --sacred-blue-light: #2196F3;
    --sacred-yellow: #F57F17;
    --sacred-yellow-light: #FFC107;
    --sacred-red: #C62828;
    --sacred-red-light: #F44336;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--sacred-green), var(--sacred-blue));
    --gradient-secondary: linear-gradient(135deg, var(--sacred-yellow), var(--sacred-red));
    --gradient-nature: linear-gradient(135deg, #81C784, #4CAF50, #2E7D32);
    --gradient-sky: linear-gradient(135deg, #81D4FA, #2196F3, #0D47A1);
    --gradient-spiritual: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(13, 71, 161, 0.1));

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Lora', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --container-max-width: 1400px;

    /* Animation */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.25);

    /* Z-index */
    --z-navbar: 1000;
    --z-modal: 9000;
    --z-preloader: 10000;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: #333;
    background: var(--sacred-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* .custom-marker{

    display: -webkit-inline-box;
    letter-spacing: 0cqb;
    font-size: large;

} */

.section-subtitle {
    display: inline-block;
    color: var(--sacred-green);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    margin-top: 3rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    color: #535353;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-description {
    max-width: none;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Button ripple effect */
.btn-primary::before,
.btn-secondary::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.submit-btn:hover::before {
    left: 100%;
}

/* ================================
   PRELOADER
   ================================ */

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: var(--z-navbar);
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--sacred-green);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 0.8rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--sacred-green);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(27, 94, 32, 0.4),
            rgba(13, 71, 161, 0.3),
            rgba(245, 127, 23, 0.2));
}

.spiritual-pattern {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatPattern 20s linear infinite;
}

.pattern-1 {
    top: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.pattern-2 {
    top: 60%;
    right: 15%;
    width: 100px;
    height: 100px;
    animation-delay: -7s;
}

.pattern-3 {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: -14s;
}

@keyframes floatPattern {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: titleReveal 1.5s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--sacred-yellow-light);
    text-shadow: 1px 1px 10px rgba(201, 201, 201, 0.3);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.9;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 0 auto 1rem;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {

    0%,
    20% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

.scroll-indicator p {
    font-size: 0.9rem;
    margin: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 40%;
    left: 15%;
    animation-delay: 3s;
}

.element-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ================================
   SACRED COLORS SECTION
   ================================ */
.sacred-colors {
    padding: var(--section-padding);
    background: var(--sacred-white-off);
    position: relative;
    overflow: hidden;
}

.sacred-colors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234CAF50' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.colors-container {
    position: relative;
    z-index: 2;
    margin-bottom: 6rem;
}

.color-strip {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 2rem auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    cursor: pointer;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.color-strip:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.color-strip.green {
    background: linear-gradient(135deg, var(--sacred-green), var(--sacred-green-light));
}

.color-strip.white {
    background: linear-gradient(135deg, #FFFFFF, #F5F5F5);
    border: 2px solid rgba(27, 94, 32, 0.1);
}

.color-strip.blue {
    background: linear-gradient(135deg, var(--sacred-blue), var(--sacred-blue-light));
}

.color-strip.yellow {
    background: linear-gradient(135deg, var(--sacred-yellow), var(--sacred-yellow-light));
}

.color-strip.red {
    background: linear-gradient(135deg, var(--sacred-red), var(--sacred-red-light));
}

.color-content {
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.color-strip.white .color-content {
    color: #4b4b4b;
}

.color-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.color-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.color-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 500;
}

.color-details {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.color-strip.white .color-details {
    background: rgba(0, 0, 0, 0.05);
}

.color-strip:hover .color-details {
    opacity: 1;
    transform: translateY(0);
}

.sacred-symbol {
    text-align: center;
    margin-top: 4rem;
}

.symbol-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.symbol-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.sijou-symbol {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: symbolRotate 20s linear infinite;
}

@keyframes symbolRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.symbol-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--sacred-yellow);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(245, 127, 23, 0.5);
}

.sijou-symbol img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.symbol-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.petal {
    position: absolute;
    width: 20px;
    height: 40px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform-origin: center bottom;
}

.petal-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    background: var(--sacred-green);
}

.petal-2 {
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(72deg);
    background: var(--sacred-blue);
}

.petal-3 {
    bottom: 20px;
    right: 30%;
    transform: rotate(144deg);
    background: var(--sacred-red);
}

.petal-4 {
    bottom: 20px;
    left: 30%;
    transform: rotate(216deg);
    background: var(--sacred-white);
    border: 2px solid #ddd;
}

.petal-5 {
    top: 50%;
    left: 10px;
    transform: translateY(-50%) rotate(288deg);
    background: var(--sacred-yellow);
}

.symbol-container h3 {
    color: var(--sacred-green);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.symbol-container p {
    color: #666;
    font-style: italic;
}

/* ================================
   TEMPLES MAP SECTION
   ================================ */
.temples-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 0.9));
}

.map-controls {
    margin-bottom: 3rem;
    text-align: center;
}

.search-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.search-container input {
    width: 400px;
    max-width: 90vw;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(27, 94, 32, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    outline: none;
}

.search-container input:focus {
    border-color: var(--sacred-green);
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sacred-green);
    font-size: 1.1rem;
}

.map-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--sacred-green);
    background: transparent;
    color: var(--sacred-green);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--sacred-green);
    color: white;
    transform: translateY(-2px);
}

.map-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#temples-map {
    height: 600px;
    width: 100%;
}

.map-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sacred-green);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* ================================
   TEACHINGS SECTION
   ================================ */
.teachings-section {
    padding: var(--section-padding);
    background: var(--gradient-spiritual);
    position: relative;
    overflow: hidden;
}

.teachings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232196F3' fill-opacity='0.02'%3E%3Cpath d='m0 40l40-40h-20l-20 20v20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.teachings-slider-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.teachings-swiper {
    padding: 2rem 0 4rem;
}

.teaching-card {
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.teaching-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.nature-bg {
    background: linear-gradient(135deg, #81C784, #4CAF50);
    animation: waveAnimation 8s ease-in-out infinite;
}

.peace-bg {
    background: linear-gradient(135deg, #81D4FA, #2196F3);
    animation: rippleAnimation 6s ease-in-out infinite;
}

.unity-bg {
    background: linear-gradient(135deg, #FFB74D, #FF9800);
    animation: pulseAnimation 4s ease-in-out infinite;
}

.purity-bg {
    background: linear-gradient(135deg, #E1BEE7, #9C27B0);
    animation: shimmerAnimation 5s ease-in-out infinite;
}

.service-bg {
    background: linear-gradient(135deg, #FFAB91, #FF5722);
    animation: glowAnimation 7s ease-in-out infinite;
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes rippleAnimation {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes pulseAnimation {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes shimmerAnimation {

    0%,
    100% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes glowAnimation {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.teaching-card h3 {
    color: var(--sacred-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.teaching-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
}

.teaching-quote {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 40px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.teaching-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 40px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-display);
}

.card-footer {
    text-align: center;
}

.teaching-category {
    display: inline-block;
    background: rgba(27, 94, 32, 0.1);
    color: var(--sacred-green);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--sacred-green) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--sacred-green);
    color: white !important;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--sacred-green);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* ============================================
   ADD THIS CSS TO YOUR styles.css FILE
   ============================================ */

/* Colors Grid Container */
.colors-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Color Cards */
.color-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.color-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FFC107, #FF5722);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.color-card:hover::before {
    transform: scaleX(1);
}

.color-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.color-card-inner {
    position: relative;
    z-index: 1;
}

.color-card .color-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.color-card h3 {
    font-size: 1.8rem;
    margin: 15px 0 10px;
    color: #2c3e50;
    font-weight: 700;
}

.color-card .color-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-weight: 500;
}

.color-card .card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.color-card .color-details {
    margin-top: 15px;
    line-height: 1.6;
}

.color-card .color-details span {
    color: #555;
    font-size: 0.95rem;
}

/* Center the fifth card */
.color-card-centered {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Hover animation for cards */
.color-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(66, 153, 225, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.color-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Sacred Symbol Enhanced Styles */
.sacred-symbol-enhanced {
    margin-top: 80px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.symbol-container-enhanced {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.symbol-visual {
    flex: 0 0 400px;
}

.sijou-symbol-large {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sijou-symbol-large .symbol-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.sijou-symbol-large .symbol-petals {
    position: relative;
    width: 100%;
    height: 100%;
}

.sijou-symbol-large .petal {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50% 50% 0 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    opacity: 0.8;
    animation: petalPulse 3s ease-in-out infinite;
}

@keyframes petalPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.sijou-symbol-large .petal-1 { 
    transform: rotate(0deg) translate(-50%, -50%); 
    background: linear-gradient(135deg, #4CAF50, #45a049); 
}

.sijou-symbol-large .petal-2 { 
    transform: rotate(72deg) translate(-50%, -50%); 
    background: linear-gradient(135deg, #ffffff, #e0e0e0); 
}

.sijou-symbol-large .petal-3 { 
    transform: rotate(144deg) translate(-50%, -50%); 
    background: linear-gradient(135deg, #2196F3, #1976D2); 
}

.sijou-symbol-large .petal-4 { 
    transform: rotate(216deg) translate(-50%, -50%); 
    background: linear-gradient(135deg, #FFC107, #FFA000); 
}

.sijou-symbol-large .petal-5 { 
    transform: rotate(288deg) translate(-50%, -50%); 
    background: linear-gradient(135deg, #FF5722, #E64A19); 
}

.symbol-content {
    flex: 1;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.symbol-content h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.symbol-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-style: italic;
}

.symbol-description {
    line-height: 1.8;
}

.symbol-description p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #34495e;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .colors-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .color-card-centered {
        grid-column: 1;
    }

    .symbol-container-enhanced {
        flex-direction: column;
        gap: 40px;
    }

    .symbol-visual {
        flex: 0 0 auto;
    }

    .sijou-symbol-large {
        width: 250px;
        height: 250px;
    }

    .symbol-content h2 {
        font-size: 2rem;
    }
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-section {
    padding: var(--section-padding);
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(27, 94, 32, 0.03);
    border-radius: 20px;
    border-left: 4px solid var(--sacred-green);
}

.feature-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.feature-content h4 {
    color: var(--sacred-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--sacred-green);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    position: absolute;
    left: -120px;
    top: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--sacred-green);
}

.timeline-content h4 {
    color: var(--sacred-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* ================================
   GALLERY SECTION
   ================================ */
.gallery-section {
    padding: var(--section-padding);
    background: var(--sacred-white-off);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(27, 94, 32, 0.8),
            rgba(13, 71, 161, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
}

.lightbox-info {
    background: white;
    padding: 2rem;
    border-radius: 0 0 15px 15px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

/* ================================
   EVENTS SECTION
   ================================ */
.events-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.05), rgba(13, 71, 161, 0.05));
}

.events-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    gap: 2rem;
}

.event-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--sacred-green);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.event-card h3 {
    color: var(--sacred-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.events-calendar {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.calendar-nav {
    background: var(--sacred-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.calendar-nav:hover {
    background: var(--sacred-green-light);
    transform: scale(1.1);
}

.calendar-title {
    font-size: 1.3rem;
    color: var(--sacred-green);
    margin: 0;
    font-family: var(--font-display);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.calendar-day:hover {
    background: rgba(27, 94, 32, 0.1);
}

.calendar-day.today {
    background: var(--sacred-green);
    color: white;
    font-weight: 600;
}

.calendar-day.has-event {
    background: rgba(245, 127, 23, 0.2);
    color: var(--sacred-yellow);
    font-weight: 600;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sacred-yellow);
    border-radius: 50%;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--sacred-white-off);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--sacred-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.social-links {
    margin-top: 3rem;
    text-align: center;
}

.social-links h4 {
    color: var(--sacred-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #F58529, #E1306C);
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

.contact-form {
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    border: 2px solid rgba(27, 94, 32, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sacred-green);
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus+label,
.form-group select:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:not([value=""])+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--sacred-green);
    font-weight: 600;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.form-group input:focus~.form-line,
.form-group select:focus~.form-line,
.form-group textarea:focus~.form-line {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--gradient-primary);
    color: white;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
}

.footer-logo .logo-main {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-sub {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-description {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links-bottom {
    display: flex;
    gap: 2rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-bottom a:hover {
    color: white;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ================================
   ANIMATIONS & KEYFRAMES
   ================================ */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        transform: rotate(-180deg) scale(0.8);
        opacity: 0;
    }

    to {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Large Tablets */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-menu {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero-actions {
        gap: 1rem;
    }

    .colors-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto 6rem;
    }

    .color-strip {
        width: 100%;
        height: 350px;
        margin: 0;
    }

    .about-content {
        gap: 4rem;
    }

    .contact-content {
        gap: 4rem;
    }

    .events-container {
        gap: 3rem;
    }

    .map-stats {
        flex-direction: column;
        gap: 1rem;
        right: 10px;
        top: 10px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .hero {
        min-height: 100vh;
        text-align: center;
    }

    .hero-video {
        background-attachment: scroll;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .colors-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .color-strip {
        height: 300px;
    }

    .color-content {
        padding: 2rem 1.5rem;
    }

    .search-container input {
        width: 100%;
    }

    .map-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .map-stats {
        position: static;
        margin-top: 1rem;
        justify-content: center;
        background: white;
        border-radius: 15px;
        padding: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-date {
        left: -80px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .events-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
        --container-padding: 0 10px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .color-strip {
        height: 280px;
    }

    .color-content {
        padding: 1.5rem 1rem;
    }

    .color-content h3 {
        font-size: 1.4rem;
    }

    .color-icon {
        font-size: 3rem;
    }

    .teaching-card {
        height: 450px;
    }

    .card-content {
        padding: 2rem 1.5rem;
    }

    .teaching-card h3 {
        font-size: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .timeline-date {
        left: -70px;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .event-card {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.2rem 0.8rem 0.4rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .nav-logo {
        font-size: 1rem;
    }

    .logo-main {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .color-strip {
        height: 250px;
    }

    .teaching-card {
        height: 400px;
    }

    .card-content {
        padding: 1.5rem 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }

    .preloader-content h3 {
        font-size: 1.2rem;
    }

    .sijou-loader {
        width: 60px;
        height: 60px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-video {
        background-image: url('https://bathouthanshalikokrajhar.org/images/bathou_main_gate.jpg');
    }
}

/* Dark Mode Preferences */
@media (prefers-color-scheme: dark) {
    :root {
        --sacred-white: #1a1a1a;
        --sacred-white-off: #2a2a2a;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .back-to-top,
    .floating-elements,
    .preloader {
        display: none !important;
    }

    .hero {
        background: white !important;
        color: black !important;
        height: auto !important;
        min-height: auto !important;
    }

    .hero-background {
        display: none;
    }

    * {
        box-shadow: none !important;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

.transition {
    transition: var(--transition-smooth);
}

.transition-fast {
    transition: var(--transition-fast);
}

.transition-slow {
    transition: var(--transition-slow);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: 10px;
}

.rounded-lg {
    border-radius: 20px;
}

.rounded-full {
    border-radius: 50%;
}

.gradient-primary {
    background: var(--gradient-primary);
}

.gradient-secondary {
    background: var(--gradient-secondary);
}

.text-primary {
    color: var(--sacred-green);
}

.text-secondary {
    color: var(--sacred-blue);
}

.text-accent {
    color: var(--sacred-yellow);
}

/* ================================
   PERFORMANCE OPTIMIZATIONS
   ================================ */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-acceleration {
    transform: translateZ(0);
}

/* Lazy loading placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Smooth scrolling enhancement */
html {
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--sacred-green);
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background: var(--sacred-green);
    color: white;
}

::-moz-selection {
    background: var(--sacred-green);
    color: white;
}



.section-description-container { 
    max-width: none;
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-description-container p {
    text-align: justify;
}

.sacred-colors .section-header {
    max-width: 100%;
}

.section-description-hidden { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s ease, opacity 0.6s ease, padding 0.6s ease; padding: 0; }
.section-description-hidden.active { max-height: 1200px; opacity: 1; padding: 1.5rem 0; }
.read-more-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; margin-top: 1.5rem; background: var(--sacred-green); color: white; border: none; border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow-md); }
.read-more-btn:hover { background: var(--sacred-green-light); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.read-more-btn i { transition: transform 0.3s ease; }
.read-more-btn.active i { transform: rotate(180deg); }
@media (max-width: 768px) { .read-more-btn { width: 100%; justify-content: center; } }