:root {
    --primary-color: #722f37;
    /* Deep Maroon */
    --secondary-color: #d4af37;
    /* Metallic Gold */
    --accent-color: #2e8b57;
    /* Sea Green (Bihar's Bodhi Tree) */
    --bg-color: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #2c3e50;
    --text-muted: #576574;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(114, 47, 55, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    object-fit: contain;
}

.title-sub h1 {
    font-size: 1.25rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-sub p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a1e24 100%);
    color: var(--white);
    padding: 6rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Grid & Cards */
.section-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.alternate-bg {
    background-color: rgba(114, 47, 55, 0.03);
    padding: 4rem 1rem;
    border-radius: 2rem;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.badge {
    background: rgba(114, 47, 55, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.video-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(114, 47, 55, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    background: #000;
    cursor: pointer;
}

.card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-card:hover .card-thumb {
    opacity: 0;
}

.card-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover .card-preview {
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    flex: 2;
}

.btn-primary:hover {
    background: #5d252c;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-muted);
}

.btn-outline:hover {
    background: #f0f0f0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    animation: modalReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

@keyframes modalReveal {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-container {
    position: relative;
    padding-top: 56.25%;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.modal-info {
    padding: 2rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
    transform: translateY(0);
}

.modal-content.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.share-content {
    max-width: 500px;
    padding: 1rem;
}

.share-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.share-content p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.share-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    width: 110px;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.share-opt:hover {
    transform: translateY(-10px);
}

.share-opt i {
    font-size: 1.8rem;
}

.share-opt span {
    font-size: 0.8rem;
    font-weight: 600;
}

.share-opt.whatsapp {
    color: #25D366;
}

.share-opt.whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.share-opt.email {
    color: #EA4335;
}

.share-opt.email:hover {
    background: #EA4335;
    color: #fff;
}

.share-opt.copy {
    color: var(--primary-color);
}

.share-opt.copy:hover {
    background: var(--primary-color);
    color: #fff;
}

.link-display {
    background: #f1f2f6;
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    gap: 0.5rem;
    border: 1px solid #ddd;
}

.link-display input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 5rem 1rem 2rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-area img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-logo-area span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    color: #999;
    font-size: 0.9rem;
    max-width: 350px;
}

.footer-grid h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #25D366;
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
}

.pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}