/* <!-- Google Fonts for Beautiful Hindi and Modern Typography -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link
        href="https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap"
        rel="stylesheet">

    <!-- FontAwesome for Icons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> */

/* CSS RESET & VARIABLES */
:root {
    --primary-maroon: #720917;
    --primary-maroon-hover: #56050f;
    --primary-gold: #d4af37;
    --primary-gold-hover: #c5a02e;
    --light-gold: #f6dfab;
    --accent-gold: #e5b565;
    --bg-cream: #fbf8f3;
    --bg-card: #ffffff;
    --text-dark: #2d2d2d;
    --text-muted: #666666;
    --text-light: #ffffff;
    --border-color: #e5cc9c;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(114, 9, 23, 0.08);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-hindi: "Mukta", sans-serif;
    --font-english: "Poppins", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-hindi);
    background-color: var(--bg-cream);
    color: var(--text-dark);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* NAVIGATION HEADER */
header {
    background-color: var(--bg-cream);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-maroon);
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-maroon);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.logo-icon i {
    color: var(--primary-maroon);
    font-size: 22px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0.5px 0.5px 0px rgba(0, 0, 0, 0.1);
}



.btn-registration-list {
    background-color: var(--primary-maroon);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    font-family: var(--font-hindi);
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(114, 9, 23, 0.15);
}

.btn-registration-list:hover {
    background-color: var(--primary-maroon-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(114, 9, 23, 0.25);
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-maroon);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 50px 20px;
    background-image:
        linear-gradient(rgba(45, 1, 5, 0.85), rgba(45, 1, 5, 0.85)),
        url("file:///Users/tiyahans/.gemini/antigravity/brain/41a97093-9490-4247-a8c2-df1b0b4dd7d0/media__1782637475182.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--primary-gold);
    overflow: hidden;
}

/* Ambient light aura behind text */
.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container-new {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Desktop: portraits wrapper position absolute to keep content centered */
.hero-portraits-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Arched portrait frame */
.hero-portrait-wrapper {
    pointer-events: auto;
    flex-shrink: 0;
    width: 230px;
    height: 370px;
    border-radius: 120px 120px 16px 16px;
    border: 4px solid var(--primary-gold);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(212, 175, 55, 0.35);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    background-color: #1a0205;
}

.hero-portrait-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #fff9ed;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(212, 175, 55, 0.5);
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-portrait-wrapper:hover .hero-portrait-img {
    transform: scale(1.06);
}

.portrait-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 60%);
    color: #ffe6bd;
    text-align: center;
    padding: 20px 10px 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-hindi);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-content-new {
    flex-grow: 1;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff9ed;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.hero-separator {
    width: 150px;
    height: auto;
    margin: 15px auto;
    display: block;
}

.hero-subtext {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffe6bd;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-mantra {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    margin-top: 15px;
}

/* Mobile portrait adjustments */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 40px 15px;
    }

    .hero-container-new {
        flex-direction: column;
        gap: 25px;
    }

    .hero-portraits-container {
        position: static;
        transform: none;
        width: auto;
        justify-content: center;
        gap: 20px;
        pointer-events: auto;
        margin-bottom: 10px;
    }

    .hero-portrait-wrapper {
        width: 180px;
        height: 280px;
        border-radius: 90px 90px 12px 12px;
    }
}

@media (max-width: 480px) {
    .hero-portraits-container {
        gap: 12px;
    }

    .hero-portrait-wrapper {
        width: 140px;
        height: 220px;
        border-radius: 70px 70px 10px 10px;
        border-width: 3px;
    }

    .portrait-caption {
        font-size: 11px;
        padding: 12px 5px 5px;
    }
}

/* SECTION HEADER DECORATION */
.section-title-wrapper {
    text-align: center;
    margin: 50px 0 35px;
    position: relative;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding: 0 40px;
    background: linear-gradient(
        to right,
        var(--primary-maroon),
        #b81d33,
        var(--primary-maroon)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--primary-gold);
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

/* CARD CAROUSEL / GRID */
.sadhanas-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sadhana-card {
    background-color: var(--bg-card);
    border-radius: 140px 140px 16px 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    background: linear-gradient(180deg, #ffffff 0%, #fffefb 100%);
}

.sadhana-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 15px 35px rgba(114, 9, 23, 0.15),
        0 0 15px rgba(212, 175, 55, 0.25);
    border-color: var(--primary-gold);
}

.card-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 130px 130px 0 0;
    margin: 12px 12px 0 12px;
    border: 3px solid var(--primary-gold);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.sadhana-card:hover .card-image {
    transform: scale(1.06);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary-gold),
        transparent
    );
}

.card-description {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-details {
    background-color: var(--primary-maroon);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    font-family: var(--font-hindi);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-details:hover {
    background-color: var(--primary-maroon-hover);
}

.btn-enroll {
    background-color: var(--accent-gold);
    color: var(--primary-maroon);
    border: 1px solid var(--primary-gold);
    padding: 10px 15px;
    font-family: var(--font-hindi);
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-enroll:hover {
    background-color: var(--primary-gold);
    color: var(--text-light);
}

/* QUOTE SECTION */
.quote-section {
    background-color: #f7eed9;
    border: 2px solid var(--border-color);
    border-left: 0;
    border-right: 0;
    padding: 40px 20px;
    margin-bottom: 50px;
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.quote-icon {
    font-size: 50px;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.quote-content {
    text-align: center;
}

.quote-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-maroon);
    line-height: 1.5;
    margin-bottom: 10px;
}

.quote-subtext {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--primary-gold);
    color: var(--primary-maroon);
    transform: scale(1.1);
}

/* DIALOG / MODAL CUSTOM STYLES */
dialog {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 90%;
    margin: auto;
    padding: 0;
    background-color: var(--bg-card);
    overflow: hidden;
    animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

dialog::backdrop {
    background: rgba(43, 8, 12, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header1 {
    background-color: var(--bg-cream);
    border-bottom: 1.5px solid var(--border-color);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header1 h3 {
    color: var(--primary-maroon);
    font-size: 20px;
    font-weight: 700;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    color: var(--primary-maroon);
    transform: rotate(90deg);
}

/* FORM STYLING */
.modal-body1 {
    padding: 14px 16px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-body1 {
    overflow-y: auto;
    overflow-x: visible;
    max-height: 70vh;
}



.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group label span {
    color: #d93025;
    font-weight: bold;
}

.form-control {
    width: 100%;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: var(--font-hindi);
    font-size: 15px;
    background-color: #fafbfc;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}



.btn-submit-form {
    background-color: var(--primary-maroon);
    color: var(--text-light);
    border: none;
    width: 100%;
    padding: 12px;
    font-family: var(--font-hindi);
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(114, 9, 23, 0.15);
}

.btn-submit-form:hover {
    background-color: var(--primary-maroon-hover);
    box-shadow: 0 6px 12px rgba(114, 9, 23, 0.25);
}

/* REGISTRATION LIST MODAL WIDE VIEW */
dialog.wide-dialog {
    max-width: 900px;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

th {
    background-color: var(--bg-cream);
    color: var(--primary-maroon);
    font-weight: 700;
    padding: 12px 15px;
    border-bottom: 2px solid var(--border-color);
    font-size: 15px;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: rgba(246, 223, 171, 0.1);
}

.badge-sadhana {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    color: var(--primary-maroon);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

.btn-delete {
    background: none;
    border: none;
    color: #d93025;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-delete:hover {
    background-color: rgba(217, 48, 37, 0.1);
    transform: scale(1.1);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    font-weight: 500;
}

/* CUSTOM TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #1e7e34;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.4s ease;
    pointer-events: none;
    border: 2px solid var(--primary-gold);
}

.toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 18px;
    color: var(--light-gold);
}

/* SADHANA DETAIL MODAL CONTENTS */
.detail-sadhana-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.detail-list {
    list-style: none;
    margin-top: 15px;
}

.detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.detail-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 13px;
}

.clear-all-btn {
    background-color: #d93025;
    color: white;
    border: none;
    padding: 8px 15px;
    font-family: var(--font-hindi);
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin-top: 10px;
    transition: var(--transition-smooth);
}

.clear-all-btn:hover {
    background-color: #b52016;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
    .sadhanas-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .sadhanas-container {
        grid-template-columns: repeat(1, 1fr);
    }
}


