
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --saffron: #FF9933;
        --deep-saffron: #E67E22;
        --cream: #FFF8DC;
        --light-cream: #FFFEF7;
        --white: #FFFFFF;
        --dark-brown: #5D4037;
        --gold: #D4AF37;
        --shadow: rgba(0, 0, 0, 0.1);
    }

    body {
        font-family: 'Georgia', 'Times New Roman', serif;
        line-height: 1.6;
        color: var(--dark-brown);
        background: var(--light-cream);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Header & Navigation */
    header {
        background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
        color: var(--white);
        padding: 1rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px var(--shadow);
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo i {
        color: var(--gold);
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s;
        font-weight: 500;
    }

    .nav-links a:hover {
        color: var(--gold);
    }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(93, 64, 55, 0.7), rgba(230, 126, 34, 0.7)),
                    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23D4AF37" width="1200" height="600"/><path fill="%23FF9933" opacity="0.3" d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
        background-size: cover;
        background-position: center;
        color: var(--white);
        text-align: center;
        padding: 8rem 2rem;
        position: relative;
    }

    .hero::before {
        content: '🕉';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 4rem;
        opacity: 0.3;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .btn-group {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.8rem 2rem;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-block;
        font-weight: 600;
    }

    .btn-primary {
        background: var(--gold);
        color: var(--dark-brown);
    }

    .btn-primary:hover {
        background: var(--saffron);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .btn-secondary {
        background: transparent;
        color: var(--white);
        border: 2px solid var(--white);
    }

    .btn-secondary:hover {
        background: var(--white);
        color: var(--saffron);
    }

    /* Section Styles */
    section {
        padding: 4rem 0;
    }

    .section-title {
        text-align: center;
        font-size: 2.5rem;
        color: var(--saffron);
        margin-bottom: 3rem;
        position: relative;
        padding-bottom: 1rem;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: var(--gold);
    }

    /* Concept Cards */
    .cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .card {
        background: var(--white);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
    }

    .card-header {
        background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
        color: var(--white);
        padding: 2rem;
        text-align: center;
        position: relative;
    }

    .card-header i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    .card-body {
        padding: 1.5rem;
    }

    .card-body h3 {
        color: var(--saffron);
        margin-bottom: 1rem;
    }

    .card-body p {
        color: var(--dark-brown);
        line-height: 1.8;
    }

    /* Concept Detail Page */
    .concept-detail {
        background: var(--white);
        border-radius: 15px;
        padding: 3rem;
        margin: 2rem 0;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .concept-banner {
        width: 100%;
        height: 300px;
        background: linear-gradient(135deg, var(--saffron), var(--gold));
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
        position: relative;
        overflow: hidden;
    }

    .concept-banner::before {
        content: '🕉';
        font-size: 15rem;
        opacity: 0.1;
        position: absolute;
    }

    .concept-banner h1 {
        color: var(--white);
        font-size: 3rem;
        z-index: 1;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .concept-content {
        line-height: 2;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .concept-content h2 {
        color: var(--saffron);
        margin: 2rem 0 1rem;
    }

    /* PDF Section */
    .pdf-search {
        margin-bottom: 2rem;
        text-align: center;
    }

    .pdf-search input {
        padding: 1rem;
        width: 100%;
        max-width: 600px;
        border: 2px solid var(--saffron);
        border-radius: 50px;
        font-size: 1rem;
        outline: none;
    }

    .pdf-categories {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .category-btn {
        padding: 0.5rem 1.5rem;
        background: var(--cream);
        border: 2px solid var(--saffron);
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 600;
        color: var(--dark-brown);
    }

    .category-btn:hover,
    .category-btn.active {
        background: var(--saffron);
        color: var(--white);
    }

    .pdf-card {
        background: var(--white);
        border-radius: 15px;
        padding: 2rem;
        box-shadow: 0 5px 20px var(--shadow);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        transition: transform 0.3s;
        height: 100%;
    }

    .pdf-card:hover {
        transform: translateY(-5px);
    }

    .pdf-icon {
        font-size: 3rem;
        color: var(--saffron);
        margin-bottom: 0.5rem;
    }

    .pdf-info {
        flex: 1;
        width: 100%;
    }

    .pdf-info h3 {
        color: var(--saffron);
        margin-bottom: 0.5rem;
    }

    .pdf-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .read-btn {
        background: var(--white);
        color: var(--saffron);
        padding: 0.7rem 1.5rem;
        border: 2px solid var(--saffron);
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 600;
    }

    .read-btn:hover {
        background: var(--cream);
        transform: translateY(-2px);
    }

    .download-btn {
        background: var(--saffron);
        color: var(--white);
        padding: 0.7rem 1.5rem;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 600;
    }

    .download-btn:hover {
        background: var(--deep-saffron);
    }

    /* Video Section */
    .video-section {
        margin-bottom: 3rem;
    }

    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .video-card {
        background: var(--white);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-info {
        padding: 1rem;
    }

    .video-info h3 {
        color: var(--saffron);
        margin-bottom: 0.5rem;
    }

    /* Contact Form */
    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        background: var(--white);
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--dark-brown);
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid var(--cream);
        border-radius: 10px;
        font-size: 1rem;
        font-family: inherit;
        outline: none;
        transition: border-color 0.3s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--saffron);
    }

    .spiritual-quote {
        text-align: center;
        font-size: 1.2rem;
        font-style: italic;
        color: var(--saffron);
        margin-top: 2rem;
        padding: 1.5rem;
        background: var(--cream);
        border-radius: 10px;
    }

    /* Footer */
    footer {
        background: var(--dark-brown);
        color: var(--white);
        padding: 3rem 0 1rem;
        margin-top: 4rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        color: var(--gold);
        margin-bottom: 1rem;
    }

    .footer-section ul {
        list-style: none;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-section a:hover {
        color: var(--saffron);
    }

    .social-links {
        display: flex;
        gap: 1rem;
        font-size: 1.5rem;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
        }

        .nav-links {
            display: none;
            width: 100%;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem 0;
        }

        .nav-links.active {
            display: flex;
        }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

        .section-title {
            font-size: 2rem;
        }

        .concept-banner h1 {
            font-size: 2rem;
        }
    }

    .hidden {
        display: none;
    }


/* ===== Enhancements ===== */
.fade-in{animation:fadeIn 1.2s ease forwards}
@keyframes fadeIn{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}

#loader{
position:fixed;inset:0;
background:radial-gradient(#fff8dc,#ff9933);
display:none;
align-items:center;
justify-content:center;
flex-direction:column;
z-index:9999
}
.spinner{
width:60px;height:60px;
border:6px solid #fff;
border-top:6px solid #d4af37;
border-radius:50%;
animation:spin 1s linear infinite
}
@keyframes spin{to{transform:rotate(360deg)}}

.concept-image{
width:100%;
max-height:420px;
object-fit:cover;
border-radius:15px;
margin:2rem 0
}

.pdf-frame{
width:100%;
height:520px;
border:none;
border-radius:12px;
margin-bottom:1.5rem
}

.center-btns{
display:flex;
gap:1rem;
justify-content:center;
flex-wrap:wrap;
margin-top:2rem
}

/* Devotional Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.devotional-float {
    animation: float 6s ease-in-out infinite;
}

.hero-img-container {
    margin-top: 3rem;
    text-align: center;
}

.hero-img-container img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 153, 51, 0.4);
    border: 2px solid var(--gold);
}

/* 3D Book Modal */
#book-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.book-controls {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-book {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.close-book:hover {
    background: white;
    color: black;
}

.book-container {
    margin-top: 20px;
}

#flipbook {
    width: 800px;
    height: 500px;
    position: relative;
}

#flipbook .book-page {
    background-color: #fff;
    color: black;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensure PDF doesn't overflow */
    display: flex;
    justify-content: center;
    align-items: center;
}

#flipbook .book-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

#flipbook .hard {
    background: var(--saffron);
    color: white;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-content, .book-cover-content {
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
    border: 1px solid #eee;
}

/* Book Instructions */
.book-instructions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    pointer-events: none;
    z-index: 2001;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hand-anim {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--saffron);
    animation: swipeHint 2s infinite ease-in-out;
}

@keyframes swipeHint {
    0% { transform: translateX(30px); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateX(-30px); }
    100% { transform: translateX(-40px); opacity: 0; }
}

/* Landing Page */
#landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5D4037, #E67E22);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    transition: opacity 0.8s ease;
}

.landing-content img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    margin-bottom: 2rem;
    object-fit: cover;
}

.enter-btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background: var(--gold);
    color: var(--dark-brown);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.enter-btn:hover {
    transform: scale(1.1);
    background: var(--white);
    color: var(--saffron);
}
