/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #2E7D32;
    --secondary-color: #D32F2F;
    --accent-color: #FF9800;
    --light-color: #F5F5F5;
    --dark-color: #1B5E20;
    --text-color: #333333;
    --white: #FFFFFF;
    --gray: #757575;
    --light-gray: #EEEEEE;
    --gold-color: #f39c12;

    /* Admin Colors */
    --admin-success: #27AE60;
    --admin-danger: #E74C3C;
    --admin-warning: #F39C12;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a5276, #2980b9);
    --gradient-gold: linear-gradient(135deg, #f39c12, #e67e22);
    --gradient-green: linear-gradient(135deg, #2E7D32, #1B5E20);

    /* UI Properties */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans Devanagari', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f9f7f2 0%, #e8f4f8 100%);
    min-height: 100vh;
    direction: ltr;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700&display=swap');

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBanner {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpBanner {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--shadow) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 3px solid var(--gold-color) !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    min-width: 300px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
    flex-shrink: 0;
}

.logo-icon i {
    font-size: 24px;
    color: var(--white);
}

/* Unified Responsive logo text wrapping and font size for mobile */
.logo-text h1 {
    font-family: 'Philosopher', sans-serif;
    color: #236e9e;
    margin: 0 0 3px 0;
    line-height: 1.1;
    white-space: normal !important;
    word-break: break-word;
    font-size: 1.5em;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .schedule-modal {
        display: flex !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }

    .schedule-modal.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .logo-text h1 {
        font-size: 1.1em !important;
    }
}

@media (max-width: 600px) {
    .logo-text h1 {
        font-size: 1em !important;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 0.9em !important;
    }
}

@media (max-width: 414px) {
    .logo-text h1 {
        font-size: 0.85em !important;
    }
}

@media (max-width: 320px) {
    .logo-text h1 {
        font-size: 0.8em !important;
    }
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    display: block;
}

/* Navigation Container */
.nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links a {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #175983, #9d9c9c);
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 110px;
    gap: 5px;
    text-align: center;
    border: 2px solid transparent;

}

/* हवर पर पीला फॉन्ट कलर */
.nav-links a:hover, 
.nav-links a.active {
    background: linear-gradient(135deg, #357ab8, #2c5f99);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
    transform: translateY(-3px) scale(1.05);
    color: #FFD700 !important;
}

.nav-links a i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover i,
.nav-links a.active i {
    color: #FFD700;
    transform: scale(1.1);
}

.nav-links a.active {
    background: linear-gradient(135deg, #2E7D32, #4463bf);

}

/* Hover glow effect */
.nav-links a:hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--gradient-green);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
}

/* ========== HERO SLIDER FIXES ========== */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--primary-color);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    /* Fallback color */
}

.slide.active {
    opacity: 1;
}

/* Fixed Slide Backgrounds - Image won't be cut */
.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../images/slide_new_1.jpg');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../images/slide_new_2.jpg');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../images/about.jpeg');
}

/* Fallback background */
.slide {
    background-color: var(--primary-color);
}

/* IMAGE FALLBACK STYLES */
.slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* Slide Content - Fixed positioning */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 40px 20px 30px;
    text-align: center;
    z-index: 3;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Philosopher', sans-serif;
    line-height: 1.3;
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* Fixed Slider Controls */
.slider-controls {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-controls button:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Fixed Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ========== BANNER SECTION FIXES ========== */
.banner-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 20px 0 40px;
    background: var(--primary-color);
}

.banner-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('../images/about.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInBanner 1.5s ease-out;
}

.banner-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: slideUpBanner 1s ease-out;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Philosopher', sans-serif;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* ========== SECTIONS ========== */
.section {
    padding: 0 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Philosopher', sans-serif;
    background: linear-gradient(45deg, #1a5276, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== CARDS ========== */
.card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 30px;
    background: var(--gradient-green);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.card-header:before {
    content: '卐';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.1;
}

.card-body {
    padding: 40px;
}

/* Info Cards */
.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f0 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(46, 125, 50, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    min-height: auto;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    transition: var(--transition);
}

.card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    width: 100%;
}

.info-title h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}

.title-icon {
    font-size: 1.1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* ========== HIGHLIGHT BOXES ========== */
.highlight-box {
    background: linear-gradient(135deg, #fff9e6, #ffe6cc);
    border-left: 5px solid var(--gold-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.highlight-box:before {
    content: '✦';
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 3rem;
    color: rgba(243, 156, 18, 0.1);
}

.highlight-date {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 8px 0;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.3;
    word-break: break-word;
}

.compact-text {
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.info-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 8px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== BUTTONS ========== */
.btn,
.btn-spiritual {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-green);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-spiritual {
    border-radius: 50px;
    padding: 14px 32px;
}

.btn-spiritual: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.7s;
}

.btn-spiritual:hover:before {
    left: 100%;
}

.btn:hover,
.btn-spiritual:hover {
    background: linear-gradient(135deg, var(--dark-color), #1a5276);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: white;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
}

.btn-secondary:hover {
    background-color: #C2185B;
}

.helpline-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);
}

.helpline-btn:hover {
    background: #E64A19 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 87, 34, 0.4);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.required-star {
    color: var(--admin-danger);
    margin-left: 4px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

input[type="date"].form-control {
    position: relative;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Form Validation */
.validation-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    z-index: 10;
    display: none;
}

.validation-icon.valid {
    color: var(--admin-success);
    display: block;
}

.validation-icon.invalid {
    color: var(--admin-danger);
    display: block;
}

.error-message {
    color: var(--admin-danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-error .form-control {
    border-color: var(--admin-danger);
}

.form-group.has-success .form-control {
    border-color: var(--admin-success);
}

/* Tooltip */
.tooltip-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tooltip-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    cursor: help;
    z-index: 10;
}

.tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius);
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-text:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Photo Upload Styles */
.photo-upload-container {
    text-align: center;
}

.photo-preview {
    width: 150px;
    height: 180px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.photo-preview:hover {
    border-color: var(--primary-color);
}

.photo-preview.has-photo {
    border-style: solid;
    border-color: #28a745;
}

.photo-preview.invalid {
    border-color: #dc3545;
}

.photo-preview.valid {
    border-color: #28a745;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    padding: 20px;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #adb5bd;
}

.photo-validation {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.photo-preview.valid .photo-validation {
    display: flex;
}

.upload-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    font-size: 0.9rem;
}

.upload-btn:hover {
    background: var(--gradient-primary);
    ;
}

.upload-btn i {
    margin-right: 8px;
}

.photo-validation {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    display: none;
}

.photo-preview.has-photo .photo-validation {
    display: flex;
}

.photo-preview.valid .photo-validation {
    background-color: var(--admin-success);
    color: white;
}

.photo-preview.invalid .photo-validation {
    background-color: var(--admin-danger);
    color: white;
}
/* ========== Temple highlight start ========== */
.temple-highlight {
    position: relative;
    font-weight: 600;
    color: #c62828;
    padding-bottom: 8px;
    display: inline-block;
    overflow: hidden;
    line-height: 1.4;
}

/* Underline highlight */
.temple-highlight::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ffcc80, #ff9800);
    border-radius: 6px;
    z-index: -2;
    opacity: 0.6;
}

/* Moving shine effect */
.temple-highlight::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shineMove 4s infinite;
}

/* Animation */
@keyframes shineMove {
    0% { left: -75%; }
    100% { left: 125%; }
}

@media (max-width: 992px) {
    .temple-highlight {
        font-size: 15px;
        padding-bottom: 6px;
    }

    .temple-highlight::before {
        height: 5px;
    }

    .temple-highlight::after {
        width: 45%;
        animation-duration: 5s; /* slower for smoother feel */
    }
}

@media (max-width: 600px) {
    .temple-highlight {
        font-size: 14px;
        line-height: 1.5;
        padding-bottom: 5px;
    }

    .temple-highlight::before {
        height: 4px;
        bottom: 1px;
    }

    .temple-highlight::after {
        width: 55%;
        animation-duration: 6s; /* slower = premium look */
    }
}

@media (prefers-reduced-motion: reduce) {
    .temple-highlight::after {
        animation: none;
    }
}
/* ========== Temple highlight end ========== */

/* ========== REGISTRATION PROGRESS ========== */
.registration-progress,
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.registration-progress:before,
.registration-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--light-gray);
    z-index: 1;
}

.progress-step,
.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle,
.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    color: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.progress-step.active .step-circle,
.step.active .step-number {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.progress-step.completed .step-circle,
.step.completed .step-number {
    background-color: var(--accent-color);
    color: var(--white);
}

.step-title,
.step-label {
    font-weight: 500;
    color: var(--gray);
    font-size: 0.9rem;
}

.progress-step.active .step-title,
.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.registration-form-step,
.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.registration-form-step.active,
.step-content.active {
    display: block;
}

/* ========== MAIN CONTENT LAYOUT ========== */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.content-section {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}

.section-header h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    font-style: italic;
}

/* ========== EVENT TIMELINE ========== */
.event-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to right, rgba(46, 125, 50, 0.05), transparent);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.timeline-item:hover {
    background: linear-gradient(to right, rgba(46, 125, 50, 0.1), transparent);
    transform: translateX(5px);
}

.timeline-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.timeline-content h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========== SCHEDULE GRID ========== */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.schedule-card {
    padding: 20px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.schedule-card.morning {
    border-color: #FFD54F;
    background: linear-gradient(135deg, #FFF9C4, #FFF8E1);
}

.schedule-card.afternoon {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #C8E6C9, #E8F5E9);
}

.schedule-card.evening {
    border-color: #2196F3;
    background: linear-gradient(135deg, #B3E5FC, #E3F2FD);
}

.schedule-card.night {
    border-color: #673AB7;
    background: linear-gradient(135deg, #D1C4E9, #EDE7F6);
}

.schedule-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.schedule-card.morning .schedule-icon {
    background: #FFD54F;
    color: #5D4037;
}

.schedule-card.afternoon .schedule-icon {
    background: #4CAF50;
    color: var(--white);
}

.schedule-card.evening .schedule-icon {
    background: #2196F3;
    color: var(--white);
}

.schedule-card.night .schedule-icon {
    background: #673AB7;
    color: var(--white);
}

.schedule-details h5 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.time {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.schedule-list li:before {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}


.timeline-tabs.single-row .timeline-tab {
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    box-sizing: border-box;
}

.timeline-tab {
    border: none;
}

/* ========== CTA SECTION ========== */
.cta-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 152, 0, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(46, 125, 50, 0.1);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.cta-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-content p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-buttons .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cta-buttons .btn-secondary {
    background: var(--secondary-color);
    border: none;
}

.cta-buttons .btn-secondary:hover {
    background: #C2185B;
}

/* ========== INSTRUCTIONS PAGE ========== */
.instructions-container {
    max-width: 900px;
    margin: 0 auto;
}

.instruction-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
}

.instruction-card h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.instruction-list {
    list-style: none;
    counter-reset: instruction-counter;
}

.instruction-list li {
    counter-increment: instruction-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.instruction-list li:before {
    content: counter(instruction-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.contact-info-box {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 30px;
}

.contact-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info-box p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-info-box .phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 15px 0;
}

/* ========== ID CARD ========== */
.id-card-container {
    max-width: 600px;
    margin: 0 auto;
}

.id-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.id-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.id-header {
    text-align: center;
    margin-bottom: 30px;
}

.id-logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.id-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.id-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

.id-body {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.id-photo {
    flex: 0 0 150px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.9rem;
    height: 150px;
    overflow: hidden;
}

.id-photo-placeholder {
    text-align: center;
    padding: 10px;
}

.id-details {
    flex: 1;
}

.id-field {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.id-label {
    flex: 0 0 180px;
    font-weight: 600;
    color: var(--primary-color);
}

.id-value {
    flex: 1;
    color: var(--text-color);
}

.id-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
}

.qr-code {
    display: inline-block;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* ========== CONTACT PAGE STYLES ========== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--light-gray);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* Contact Details */
.contact-details {
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
}

.contact-details::-webkit-scrollbar {
    width: 4px;
}

.contact-details::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.contact-details::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-item {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 5px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 500;
    color: var(--gray);
    font-size: 0.85rem;
    flex: 0 0 70px;
}

.contact-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.email-text {
    font-size: 0.85rem;
    word-break: break-all;
}

.highlight-phone {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Timing Details */
.timing-details {
    margin-top: 10px;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 5px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    flex-wrap: wrap;
    gap: 5px;
}

.timing-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.timing-slot.morning {
    color: #FF9800;
}

.timing-slot.evening {
    color: #2196F3;
}

.timing-slot.always {
    color: #4CAF50;
}

.slot-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.timing-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    flex: 0 0 auto;
}

/* Map Card */
.map-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.map-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(255, 152, 0, 0.1));
    border-bottom: 2px solid var(--accent-color);
}

.map-header h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
}

.map-header p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-wrapper {
    position: relative;
    height: 400px;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    max-width: 250px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-card .card-header p {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
    font-style: italic;
    line-height: 1.3;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
}

.form-check-input {
    margin-top: 4px;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.3;
    flex: 1;
}

.form-submit {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-submit {
    background: var(--gradient-green);
    color: white;
    padding: 10px 25px;
    font-size: 0.95rem;
}

/* Committee Section */
.committee-section {
    margin: 30px 0;
}

.committee-section .section-header p {
    margin-top: 5px;
    font-size: 0.95rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.committee-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    min-height: 115px;
}

.committee-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.1);
    border-color: var(--accent-color);
}

.member-photo {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.member-details {
    flex: 1;
    min-width: 0;
}

.member-details h4 {
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 1.1rem;
    line-height: 1.2;
}

.member-position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.member-contact p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.member-bio {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.2;
}

/* Helpline Section */
.helpline-section {
    margin: 30px 0;
}

.helpline-card {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid var(--accent-color);
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.helpline-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.helpline-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.helpline-content {
    flex: 1;
    min-width: 0;
}

.helpline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
}

.helpline-description {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

.helpline-contact {
    margin: 15px 0;
}

.helpline-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.helpline-phone i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.phone-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    word-break: break-all;
}

.helpline-person {
    color: var(--gray);
    font-style: italic;
    margin-left: 45px;
    font-size: 0.9rem;
}

.helpline-timing {
    margin: 15px 0;
}

.helpline-timing p {
    color: var(--text-color);
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.helpline-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Quick Links */
.quick-links {
    margin: 30px 0;
}

.quick-links h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.quick-link {
    background: white;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    min-height: 70px;
}

.quick-link:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(46, 125, 50, 0.1);
}

.quick-link i {
    font-size: 1.3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.link-text {
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.5s ease;
}

.success-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.success-content {
    flex: 1;
    min-width: 0;
}

.success-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.success-content p {
    color: var(--text-color);
    margin: 3px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* ========== REGISTRATION SPECIFIC ========== */
/* Security Warning */
.security-warning-card {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease;
    border: 2px solid #FF9800;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.warning-box {
    animation: pulse 2s infinite;
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

/* Family Members */
.family-member-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.remove-member {
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-member:hover {
    background: #C2185B;
    transform: scale(1.1);
}

.add-member-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gradient-green);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.add-member-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

/* Masked Input */
.masked-input {
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.format-hint {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.format-hint i {
    color: var(--primary-color);
}

/* Download Links */
.download-links-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.download-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-link-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.download-link-text h4 {
    color: var(--primary-color);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.download-link-text p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-green);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.download-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--secondary-color), #C2185B);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin: 20px auto 0;
    transition: all 0.3s ease;
}

.download-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
}

.attractive-text {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
}

.attractive-text h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.attractive-text p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== SOCIAL SIDEBAR ========== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    padding: 15px 8px;
    border-radius: 25px 0 0 25px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-sidebar a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-sidebar a:hover {
    transform: translateX(5px) scale(1.1);
}

.social-sidebar a::after {
    content: attr(title);
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-sidebar a:hover::after {
    opacity: 1;
    visibility: visible;
    left: 55px;
}

/* ========== WHATSAPP HELP ========== */


/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links-footer {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.social-text {
    font-size: 0.7rem;
    opacity: 0;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 3px 8px;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.social-icon:hover .social-text {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========== DECORATIVE ELEMENTS ========== */
.mandala-decoration {
    position: fixed;
    width: 400px;
    height: 400px;
    pointer-events: none;
    opacity: 0.03;
    z-index: -1;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
}

.spiritual-text {
    font-family: 'Philosopher', sans-serif;
    font-style: italic;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.1rem;
    margin: 30px auto;
    max-width: 800px;
    padding: 15px;
    border-top: 2px solid rgba(26, 82, 118, 0.1);
    border-bottom: 2px solid rgba(26, 82, 118, 0.1);
}

.jain-quote {
    text-align: center;
    font-family: 'Philosopher', sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary-color);
    padding: 25px;
    margin: 15px auto;
    max-width: 800px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    border-right: 4px solid var(--accent-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.michhami-dukkadam {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.important-notice {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ========== FIXED MOBILE MENU ISSUES ========== */
/* Fix for menu items showing properly */
.nav-links a {
    white-space: normal !important;
    /* Allow text to wrap */
    word-break: break-word !important;
    line-height: 1.4 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
}

/* Mobile menu specific fixes */
/* ========== FIXED MOBILE MENU (SINGLE LINE ICON + TEXT) ========== */
@media (max-width: 768px) {
    .nav-container {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important; /* फुल स्क्रीन चौड़ाई */
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important; /* सफेद बैकग्राउंड */
        backdrop-filter: blur(10px) !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        padding-top: 80px !important;
        transition: right 0.3s ease !important;
        order: 2;
        overflow-y: auto !important;
    }

    .nav-container.active {
        right: 0 !important;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 20px !important;
        width: 100% !important;
    }

    /* SINGLE LINE: आइकन और टेक्स्ट एक लाइन में */
    .nav-links a {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #4a90e2, #357ab8) !important;
        color: white !important;
        flex-direction: row !important; /* यह लाइन जोड़ें - आइकन और टेक्स्ट एक लाइन में */
        justify-content: flex-start !important; /* यह लाइन जोड़ें - बाईं तरफ align */
        gap: 15px !important; /* यह लाइन जोड़ें - आइकन और टेक्स्ट के बीच गैप */
        min-height: 60px !important;
        text-align: left !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        border: 2px solid transparent !important;
    }

    /* आइकन स्टाइल */
    .nav-links a i {
        font-size: 1.4rem !important;
        margin-bottom: 0 !important; /* यह लाइन जोड़ें - मार्जिन हटाएं */
        flex-shrink: 0 !important; /* यह लाइन जोड़ें - आइकन का साइज न बदले */
        width: 30px !important; /* यह लाइन जोड़ें - फिक्स्ड चौड़ाई */
        text-align: center !important; /* यह लाइन जोड़ें - सेंटर align */
    }

    /* टेक्स्ट स्टाइल */
    .nav-links a .nav-label {
        font-size: 1rem !important;
        font-weight: 600 !important;
        flex: 1 !important; /* यह लाइन जोड़ें - बची हुई जगह ले ले */
        text-align: left !important;
    }

    /* हवर और एक्टिव स्टेट */
    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg, #357ab8, #2c5f99) !important;
        color: #FFD700 !important;
        transform: translateX(5px) !important;
        box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2) !important;
    }

    .nav-links a.active {
        background: linear-gradient(135deg, #2E7D32, #1B5E20) !important;
        border-color: #FF9800 !important;
    }

    /* मोबाइल मेनू बटन स्टाइल */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--gradient-green);
        color: white;
        border: none;
        cursor: pointer;
        z-index: 1001;
        font-size: 1.3rem;
        margin-left: auto;
        order: 3;
        margin-right: 0;
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        transform: rotate(90deg);
        background: linear-gradient(135deg, #1B5E20, #2E7D32);
    }

    /* मेनू ओवरले */
    .menu-overlay {
        display: none !important;
    }

    .menu-overlay.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 999 !important;
        backdrop-filter: blur(3px);
    }

    body.menu-open {
        overflow: hidden !important;
    }
}

/* ========== REGISTRATION FORM FIXES ========== */
/* Remove inline width from age fields */
.family-member-card input[type="number"],
.family-member-card .member-age {
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix spacing in "पिछला चरण" and "पंजीकरण जमा करें" buttons */
.form-submit {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-submit .btn {
    min-width: 200px;
    padding: 14px 30px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .form-submit {
        flex-direction: column;
        gap: 12px;
    }

    .form-submit .btn {
        width: 100%;
        min-width: unset;
    }
}

/* ========== SWEETALERT FIXES ========== */
.swal2-popup {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    border-radius: 12px !important;
    padding: 25px !important;
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

.swal2-title {
    font-size: 1.3rem !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.swal2-html-container {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    color: var(--text-color) !important;
    margin-top: 15px !important;
}

.swal2-confirm {
    background-color: var(--primary-color) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background-color: var(--dark-color) !important;
    transform: translateY(-2px) !important;
}

/* Mobile sweetalert fixes */
@media (max-width: 576px) {
    .swal2-popup {
        width: 95% !important;
        max-width: 350px !important;
        padding: 20px !important;
        margin: 10px !important;
    }

    .swal2-title {
        font-size: 1.2rem !important;
        padding: 0 10px !important;
    }

    .swal2-html-container {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
    }

    .swal2-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .swal2-confirm,
    .swal2-cancel {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1100px) {
    .nav-links a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 500px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-controls button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .banner-section {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .registration-progress:before,
    .registration-steps:before {
        left: 5%;
        right: 5%;
    }

    /* Fix info cards */
    .width-50 {
        width: 100% !important;
    }

    .info-card {
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Nav responsive for tablet */
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        padding: 12px 18px;
        min-width: 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .logo {
        min-width: auto;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.75rem;
    }

    .hero {
        height: 350px;
    }

    .slide-content {
        padding: 30px 15px 20px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .slide-content p {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.3;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }

    .banner-section {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 25px;
    }

    .registration-progress,
    .registration-steps {
        flex-direction: column;
        gap: 20px;
    }

    .registration-progress:before,
    .registration-steps:before {
        display: none;
    }

    .progress-step,
    .step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .step-circle,
    .step-number {
        margin: 0;
    }

    .id-body {
        flex-direction: column;
    }

    .id-photo {
        align-self: center;
        width: 150px;
    }

    .social-sidebar {
        display: none;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
        gap: 6px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    /* Contact Page Responsive */
    .map-wrapper {
        height: 350px;
    }

    .map-overlay {
        position: relative;
        top: 0;
        right: 0;
        max-width: 100%;
        margin: 10px;
    }

    .helpline-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .helpline-phone {
        justify-content: center;
    }

    .helpline-person {
        margin-left: 0;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }

    .committee-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        min-height: auto;
    }

    .form-submit {
        flex-direction: column;
    }

    .form-submit .btn {
        width: 100%;
    }

    .contact-item {
        flex-direction: column;
        gap: 2px;
    }

    .contact-label {
        flex: none;
        width: 100%;
    }

    .contact-value {
        flex: none;
        width: 100%;
    }

    .timing-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .timing-slot {
        justify-content: center;
    }

    .info-note {
        justify-content: center;
        text-align: center;
    }

    /* Info Cards */
    .info-card {
        padding: 15px;
        gap: 12px;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .info-title {
        justify-content: center;
    }

    /* Registration */
    .tooltip-text {
        width: 250px;
        font-size: 0.8rem;
    }

    .tooltip-icon {
        right: 35px;
    }

    .download-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .download-btn {
        align-self: flex-end;
    }

    /* Quick Links */
    .links-grid {
        grid-template-columns: 1fr;
    }

    /* Family member age field */
    .family-member-card .form-row {
        flex-direction: column !important;
    }

    .family-member-card .form-group {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 300px;
    }

    .slide-content {
        padding: 25px 10px 15px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .banner-section {
        height: 250px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }

    .section {
        padding: 10px 0;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .btn,
    .btn-spiritual {
        padding: 10px 24px;
        width: 100%;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .photo-preview {
        width: 150px;
        height: 180px;
    }

    .id-card {
        padding: 25px 20px;
    }

    .instruction-card {
        padding: 25px 20px;
    }

    .card-header,
    .card-body {
        padding: 20px;
    }

    .slider-controls {
        bottom: 15px;
        right: 15px;
        visibility: hidden;
    }

    .slider-indicators {
        bottom: 10px;
    }

    /* Contact Page */
    .contact-info {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 300px;
    }

    .helpline-actions {
        flex-direction: column;
    }

    .helpline-actions .btn {
        width: 100%;
    }

    .phone-number {
        font-size: 1.4rem;
    }

    .committee-card {
        padding: 15px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .info-title h3 {
        font-size: 1rem;
    }

    .contact-value,
    .email-text {
        font-size: 0.85rem;
    }

    .phone-number {
        font-size: 1rem;
    }

    /* Registration */
    .download-link {
        padding: 12px;
    }

    .download-link-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 250px;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .banner-section {
        height: 200px;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .nav-links a {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: 90px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .hero {
        height: 200px;
    }

    .slide-content h2 {
        font-size: 1.1rem;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ========== TOUCH SUPPORT FOR MOBILE ========== */
@media (hover: none) and (pointer: coarse) {
    .slider-controls button {
        min-width: 44px;
        min-height: 44px;
    }

    .indicator {
        min-width: 16px;
        min-height: 16px;
    }
}

/* ========== CRITICAL RESPONSIVE FIXES ========== */

/* Fix for tablet view (991px and below) */
@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .logo {
        min-width: auto !important;
        flex: 0 0 auto !important;
        margin-right: auto;
    }

    /* .logo-text h1 responsive handled above */

    .logo-text span {
        font-size: 0.75rem !important;
    }

    .nav-container {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: flex !important;
        position: static !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px !important;
        flex-direction: row !important;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        min-height: 40px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: auto !important;
    }

    .mobile-menu-btn {
        order: 2;
        margin-left: 15px;
        display: flex !important;
        /* visibility: hidden; */
    }
}

/* Fix for 768px breakpoint (shown in screenshot) */
@media (max-width: 768px) {
    .logo {
        min-width: 200px !important;
    }

    .logo-icon {
        width: 40px !important;
        height: 40px !important;
        margin-right: 10px !important;
    }

    .logo-icon i {
        font-size: 20px !important;
    }

    /* .logo-text h1 responsive handled above */

    .logo-text span {
        font-size: 0.7rem !important;
    }

    /* Fix temple name display */
    .hero h1,
    .banner-content h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        padding: 0 15px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .slide-content h2 {
        font-size: 1.3rem !important;
    }

    /* Fix navigation for mobile */
    .nav-container {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        padding-top: 80px !important;
        transition: right 0.3s ease !important;
        display: none !important;
    }

    .nav-container.active {
        right: 0 !important;
        display: block !important;
        max-height: 22rem;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 20px !important;
    }

    .nav-links a {
        width: 100% !important;
        text-align: left !important;
        padding: 12px 15px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        background: linear-gradient(135deg, #4a90e2, #357ab8) !important;
        white-space: normal !important;
    }

    .nav-links a:hover {
        color: #FFD700 !important;
        background: linear-gradient(135deg, #357ab8, #2c5f99) !important;
    }
}

/* Fix for 480px breakpoint */
@media (max-width: 480px) {
    .logo {
        min-width: 150px !important;
        margin-left: auto !important;

    }

    /* .logo-text h1 responsive handled above */

    .logo-text span {
        font-size: 0.6rem !important;
    }

    .nav-links {
        gap: 5px !important;
    }

    .nav-links a {
        font-size: 0.8rem !important;
        padding: 6px 8px !important;
        min-height: 36px !important;
    }

    /* Compact temple name for very small screens */
    .temple-name-compact {
        display: block;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .temple-location {
        font-size: 0.7rem;
    }

    .logo {
        max-width: 70%;
    }
}

/* Fix for 414px breakpoint */
@media (max-width: 414px) {
    .logo {
        min-width: 130px !important;
    }

    /* .logo-text h1 responsive handled above */

    .logo-text span {
        font-size: 0.55rem !important;
    }

    .nav-container.active {
        width: 250px !important;
    }
}

/* Fix for 320px breakpoint (very small phones) */
@media (max-width: 320px) {
    .logo {
        min-width: 120px !important;
    }

    /* .logo-text h1 responsive handled above */

    .logo-text span {
        font-size: 0.55rem !important;
    }

    .nav-links a {
        font-size: 0.75rem !important;
        padding: 6px 4px !important;
    }

    .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
}

/* Fix hero/banner text overflow */
.hero h1,
.banner-content h1,
.slide-content h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure temple name doesn't break layout */
.temple-name-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Fix for very long Hindi text */
.hindi-text-compact {
    font-size: 0.9em;
    line-height: 1.3;
    word-break: break-word;
}

/* ========== IMPROVED MOBILE MENU ========== */
@media (max-width: 768px) {
    .nav-container:not(.active) {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ========== LOGO RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
    .logo {
        flex-direction: row;
        align-items: center;
    }

    .logo-icon {
        flex-shrink: 0;
    }

    .logo-text {
        overflow: hidden;
    }

    .logo-text h1 {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ========== HEADER COMPACT MODE ========== */
@media (max-width: 480px) {
    .header {
        padding: 5px 0;
    }

    .navbar {
        padding: 5px 0;
    }

    /* Stack temple name vertically */
    .temple-name-vertical {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }
}

/* ========== WHATSAPP HELP (Simple Left Side) ========== */
.whatsapp-help {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.whatsapp-help.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #1BA85C);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

/* Desktop: Full text */
@media (min-width: 992px) {
    .whatsapp-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .whatsapp-text {
        display: inline-block;
        font-size: 0.95rem;
    }
    
    .whatsapp-btn i {
        font-size: 1.6rem;
    }
    
    .whatsapp-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    }
}

/* Tablet: Icon only */
@media (min-width: 768px) and (max-width: 991px) {
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn i {
        font-size: 1.8rem;
        margin: 0;
    }
    
    .whatsapp-btn:hover {
        transform: scale(1.1);
    }
}

/* Mobile: Icon only */
@media (max-width: 767px) {
    .whatsapp-help {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn i {
        font-size: 1.7rem;
        margin: 0;
    }
    
    .whatsapp-btn:hover {
        transform: scale(1.1);
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .header,
    .footer,
    .btn,
    .mobile-menu-btn,
    .slider-controls,
    .slider-indicators,
    .social-sidebar,
    .whatsapp-help {
        display: none !important;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .id-card {
        box-shadow: none;
        border: 2px solid #000;
        margin: 0;
        page-break-inside: avoid;
    }
}

/* NEW: Family member age field responsive fix */
.width-49 {
    width: 100% !important;
}

@media (min-width: 768px) {
    .width-49 {
        width: 49% !important;
    }
}

/* ========== MOBILE MODAL OVERRIDES ========== */
/* Ensure modal works properly on mobile */
@media (max-width: 768px) {
    .schedule-modal {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 99999 !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .schedule-modal.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .schedule-modal-content {
        background: #fff !important;
        border-radius: 18px !important;
        padding: 28px 18px 18px 18px !important;
        max-width: 95vw !important;
        width: 100% !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        box-shadow: 0 8px 40px rgba(52, 152, 219, 0.18) !important;
        position: relative !important;
        margin: 0 !important;
    }

    /* Make timeline tabs clickable on mobile */
    .timeline-tab {
        cursor: pointer !important;
        user-select: none !important;
    }

    /* Prevent any other styles from overriding modal */
    .schedule-modal * {
        box-sizing: border-box !important;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure modal appears above everything */
.schedule-modal {
    z-index: 99999 !important;
}

.schedule-modal-content {
    z-index: 100000 !important;
}

/* Fix for timeline tabs active state */
.timeline-tab.active {
    background: linear-gradient(145deg, #e8f4fc, #d4e7f7) !important;
    box-shadow: 0 25px 60px rgba(52, 152, 219, 0.25) !important;
    transform: translateY(-8px) !important;
    border-color: #e74c3c !important;
}

/* ========== TIMELINE MODAL ENHANCEMENTS ========== */
/* Ensure modal works on all devices */
body.modal-open {
    overflow: hidden !important;
}

/* Timeline layout for desktop - 2 rows of 3 boxes each */
@media (min-width: 993px) {
    .timeline-tabs-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .timeline-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }

    .timeline-tab {
        min-height: 240px !important;
    }
}

/* Tablet layout */
@media (max-width: 992px) and (min-width: 769px) {
    .timeline-tabs-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .timeline-row {
        display: contents !important;
    }
}

/* Mobile layout */
@media (max-width: 768px) {
    .timeline-tabs-container {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        gap: 15px !important;
        padding-bottom: 15px !important;
        margin-bottom: 20px !important;
    }

    .timeline-row {
        display: flex !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
    }

    .timeline-tab {
        min-width: 280px !important;
        flex-shrink: 0 !important;
    }
}

/* Enhanced modal appearance */
.schedule-modal .schedule-card {
    position: relative !important;
    overflow: hidden !important;
}

.schedule-modal .schedule-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, #FF9800, #FF5722) !important;
}

/* Click indicator animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(46, 125, 50, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(46, 125, 50, 0.8);
    }
}

.timeline-tab:hover .click-indicator {
    animation: pulseGlow 1.5s infinite !important;
}

/* =====================================================
   FOOTER EMAIL LOGO
===================================================== */

.footer-links.compact-list li {
    display: block;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links.compact-list li:has(.email-logo-container) {
    align-items: center;
}

/* Logo container */
.email-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Footer logo */
.footer-logo-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
    object-fit: contain;
    padding: 3px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* =====================================================
   RESPONSIVE LOGO SIZES
===================================================== */

@media (min-width: 1200px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 375px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .footer-logo-img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding-top: 70px !important;
    }
    
    .nav-links a {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        min-height: 55px !important;
        gap: 12px !important;
    }
    
    .nav-links a i {
        font-size: 1.2rem !important;
        width: 25px !important;
    }
    
    .nav-links a .nav-label {
        font-size: 0.9rem !important;
    }
    
    .mobile-menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    .nav-links a {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        min-height: 50px !important;
        gap: 10px !important;
    }
    
    .nav-links a i {
        font-size: 1.1rem !important;
        width: 22px !important;
    }
    
    .nav-links a .nav-label {
        font-size: 0.85rem !important;
    }
}
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
}
/* =====================================================
  LARGE ANDROID SAFETY FIX
===================================================== */

@media (max-width: 390px) {
    .footer-logo-img {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }
}

/* =====================================================
   FOOTER EMAIL ICON ALIGNMENT
===================================================== */

.footer-links.compact-list .fa-envelope {
    align-self: flex-start;
    margin-top: 3px;
}

/* Registration Callout Styles */
.registration-callout {
    background: linear-gradient(135deg,
            rgba(46, 125, 50, 0.05) 0%,
            rgba(27, 94, 32, 0.1) 100%);
    padding: 40px 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.registration-callout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 2px, transparent 3px),
        radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.3) 2px, transparent 3px),
        radial-gradient(circle at 40% 40%, rgba(211, 47, 47, 0.3) 2px, transparent 3px),
        radial-gradient(circle at 60% 60%, rgba(255, 152, 0, 0.3) 2px, transparent 3px);
    background-size: 200px 200px;
    animation: sparkleMove 7s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes sparkleMove {
    0% {
        background-position: 0 0, 100px 100px, 200px 200px, 300px 300px;
    }
    100% {
        background-position: 200px 200px, 300px 300px, 400px 400px, 500px 500px;
    }
}

.callout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.callout-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    animation: lotusFloat 4s ease-in-out infinite;
}

.callout-content h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.callout-content h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.callout-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.callout-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.callout-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
    position: relative;
    overflow: hidden;
}

.callout-btn: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: 0.5s;
}

.callout-btn:hover:before {
    left: 100%;
}

.callout-btn i {
    font-size: 20px;
}

.callout-btn {
    background: linear-gradient(135deg, var(--primary-color), #1B5E20);
    color: white;
    border: 2px solid var(--primary-color);
}

.callout-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.3);
    background: linear-gradient(135deg, #1B5E20, var(--primary-color));
}

.callout-btn.outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.callout-btn.outline:hover {
    background: var(--primary-color);
    color: white;
}

.callout-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decoration-item {
    position: absolute;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
}

.decoration-item:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.decoration-item:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 8%;
    animation: float 8s ease-in-out infinite reverse;
}

.decoration-item:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

@keyframes lotusFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-callout {
        padding: 30px 15px;
        margin: 30px 0;
    }

    .callout-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .callout-content h3 {
        font-size: 24px;
    }

    .callout-content p {
        font-size: 15px;
    }

    .callout-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .callout-actions {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .callout-actions {
        flex-direction: column;
        width: 63%; 
        max-width: 300px;
    }

    .callout-btn {
        width: 100%;
        justify-content: center;
    }

    .callout-content h3 {
        font-size: 17px;
    }
}

/* Countdown Timer Version (Optional) */
.registration-callout.with-timer {
    background: linear-gradient(135deg,
            rgba(46, 125, 50, 0.1) 0%,
            rgba(27, 94, 32, 0.15) 100%);
}

.countdown-timer {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    min-width: 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.countdown-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Schedule Grid Mobile Fix */
@media (max-width: 600px) {
    .schedule-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .schedule-card {
        align-items: center;
        text-align: center;
        padding: 12px 8px !important;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .schedule-icon {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


/* Picture-in-Picture Video Styles */
.pip-video-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 200px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    border: 2px solid #2E7D32;
}

.pip-video-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pip-player iframe {
    opacity: 0;
    transition: opacity 1s ease;
}

.pip-video-container.active .pip-player iframe {
    opacity: 1;
}

.pip-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pip-close-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.pip-player {
    width: 100%;
    height: 100%;
    background: #000;
}

.pip-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pip-video-container:hover .pip-controls {
    opacity: 1;
}

.pip-control-btn {
    width: 36px;
    height: 36px;
    background: rgba(46, 125, 50, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pip-control-btn:hover {
    background: #1B5E20;
    transform: scale(1.1);
}

/* Draggable area */
.pip-player {
    cursor: move;
}

@media (max-width: 768px) {
    .pip-video-container {
        width: 250px;
        height: 167px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .pip-video-container {
        width: 200px;
        height: 133px;
        bottom: 10px;
        right: 10px;
    }
    
    .pip-control-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
#unmuteOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

#unmuteOverlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.unmute-button {
    background: rgba(46, 125, 50, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #2E7D32;
    text-align: center;
    transition: all 0.3s ease;
}

.unmute-button:hover {
    background: rgba(46, 125, 50, 0.3);
    transform: scale(1.05);
}

.unmute-icon {
    font-size: 3rem;
    color: #2E7D32;
    margin-bottom: 10px;
}

.unmute-title {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.unmute-subtitle {
    color: #ddd;
    font-size: 0.9rem;
}

/* Animation for unmute overlay */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.unmute-pulse {
    animation: pulse 2s infinite;
}

.video-section {
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
}

.video-section .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: transform 0.3s ease;
}

.video-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.video-section .card-header {
    background: linear-gradient(135deg, #2E7D32, #1976D2);
    color: white;
    padding: 20px 25px;
    border-bottom: none;
}

.video-section .card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-section .card-header i {
    font-size: 1.5rem;
}

.video-container {
    padding: 20px;
    background: #f8f9fa;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Picture-in-Picture Video Styles - COMPLETE */
.pip-video-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 200px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    border: 2px solid #2E7D32;
}

.pip-video-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pip-player {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

.pip-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.pip-video-container.active .pip-player iframe {
    opacity: 1;
}

/* Close Button - VISIBLE NOW */
.pip-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.9);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pip-close-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220,53,69,0.4);
}

/* Controls */
.pip-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 15px 10px 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pip-video-container:hover .pip-controls {
    opacity: 1;
}

.pip-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(46, 125, 50, 0.9);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.pip-control-btn:hover {
    background: #1B5E20;
    transform: scale(1.1);
    border-color: white;
}

/* Draggable area */
.pip-player {
    cursor: move;
}

/* Unmute Overlay */
#unmuteOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unmute-button {
    background: rgba(46, 125, 50, 0.2);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #2E7D32;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 90%;
}

.unmute-button:hover {
    background: rgba(46, 125, 50, 0.3);
    transform: scale(1.05);
}

.unmute-icon {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 10px;
}

.unmute-title {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.unmute-subtitle {
    color: #ddd;
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
}

.video-section .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-section .card-header {
    background: linear-gradient(135deg, #2E7D32, #1976D2);
    color: white;
    padding: 20px 25px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .pip-video-container {
        width: 250px;
        height: 167px;
        bottom: 15px;
        right: 15px;
    }
    
    .pip-close-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 5px;
        right: 5px;
    }
    
    .pip-control-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pip-video-container {
        width: 200px;
        height: 133px;
        bottom: 10px;
        right: 10px;
    }
    
    .pip-close-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .pip-control-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}