  :root {
    --saffron: #FF6B1A;
    --deep-saffron: #E85D00;
    --gold: #C8960C;
    --gold-light: #F4C842;
    --maroon: #7B1A1A;
    --deep-maroon: #4A0E0E;
    --cream: #FDF5E4;
    --parchment: #F5E6C8;
    --earth: #8B6914;
    --forest: #2D5016;
    --sky: #1A4A6B;
    --dark-bg: #1C0F00;
    --text-dark: #2C1A00;
    --text-mid: #5C3A00;
    --text-light: #8B6914;
    --border-gold: rgba(200, 150, 12, 0.4);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: var(--dark-bg);
    color: var(--cream);
    overflow-x: hidden;
  }

  /* ===== HERO BANNER ===== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top:40px;
    align-items: center;
    padding-top: 20px;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center top, #3D1500 0%, #1C0F00 50%, #0A0500 100%);
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
      radial-gradient(circle at 20% 50%, rgba(200,150,12,0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(255,107,26,0.08) 0%, transparent 50%),
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8960C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }

  .mandala-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.04;
    animation: rotate-slow 60s linear infinite;
  }

  @keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
  }

  .om-symbol {
    font-size: 4rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px rgba(244,200,66,0.6);
    animation: pulse-glow 3s ease-in-out infinite;
  }

  @keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 40px rgba(244,200,66,0.4); }
    50% { text-shadow: 0 0 80px rgba(244,200,66,0.8), 0 0 120px rgba(255,107,26,0.4); }
  }

  .hero-subtitle-top {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--cream);
    text-shadow: 2px 2px 0 rgba(200,150,12,0.3);
    margin-bottom: 0.5rem;
  }

  .hero-title span {
    color: var(--gold-light);
    display: block;
  }

  .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 500px;
  }

  .hero-divider::before, .hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
  }

  .hero-divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    transform: rotate(45deg);
  }

  .hero-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--parchment);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    padding: 0 1rem;
  }

  .hero-quote cite {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    font-style: normal;
    font-family: 'Noto Sans Devanagari', sans-serif;
    margin-top: 0.5rem;
    font-weight: 500;
  }

  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    opacity: 0.7;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
  }

  /* ===== SECTION STYLES ===== */
  .section {
    padding: 5rem 2rem;
  }

  .container {
    max-width: 1300px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .section-badge {
    display: inline-block;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--saffron);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.3rem 1.2rem;
    border: 1px solid rgba(255,107,26,0.3);
    border-radius: 2px;
  }

  .section-title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .section-desc {
    font-size: 1rem;
    color: rgba(253,245,228,0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
  }

  /* ===== SUBJECTS DASHBOARD ===== */
  .subjects-section {
    background: linear-gradient(180deg, #0A0500 0%, #110800 50%, #0A0500 100%);
  }

  .subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .subject-card {
    background: linear-gradient(135deg, rgba(30,15,0,0.95) 0%, rgba(20,10,0,0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    display: block;
  }

  .subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
  }

  .subject-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(244,200,66,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .subject-card:hover {
    border-color: rgba(200,150,12,0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200,150,12,0.15), 0 4px 12px rgba(0,0,0,0.4);
  }

  .subject-card:hover::before { transform: scaleX(1); }
  .subject-card:hover::after { opacity: 1; }

  .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(244,200,66,0.3));
    transition: transform 0.3s ease;
  }

  .subject-card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
  }

  .card-category {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--saffron);
    font-family: 'Cinzel Decorative', cursive;
    margin-bottom: 0.5rem;
    display: block;
  }

  .card-title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .card-subtitle {
    font-size: 0.8rem;
    color: rgba(253,245,228,0.5);
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
  }

  .card-desc {
    font-size: 0.9rem;
    color: rgba(253,245,228,0.7);
    line-height: 1.7;
  }

  .card-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(200,150,12,0.1);
    border: 1px solid rgba(200,150,12,0.2);
    border-radius: 2px;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.1em;
  }

  /* Subject category groups */
  .category-group {
    margin-bottom: 4rem;
  }

  .category-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .category-label-text {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--saffron);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .category-label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255,107,26,0.4), transparent);
  }

  /* ===== FEATURED BANNER ===== */
  .banner-section {
    background: linear-gradient(135deg, var(--deep-maroon) 0%, #2D0A0A 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
  }

  .banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C8960C' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-5h-5v-5h5v-.5zm10 5.5V20H20v5h5v5h-5v5h20v-5h-5v-5h5v-5H30zM5 5H0V0h5v5zm10 0h-5V0h5v5zm10 0h-5V0h5v5zm10 0h-5V0h5v5zM5 15H0v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5zM5 25H0v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5zM5 35H0v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5zm10 0h-5v-5h5v5z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }

  .banner-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .banner-text {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--parchment);
    line-height: 1.9;
    margin-bottom: 1.5rem;
  }

  .banner-text strong {
    color: var(--gold-light);
    font-style: normal;
    font-weight: 600;
  }

  /* ===== DAILY ROUTINE ===== */
  .routine-section {
    background: linear-gradient(180deg, #0A0500 0%, #0F0800 100%);
  }

  .routine-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }

  .routine-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    transform: translateX(-50%);
  }

  .routine-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
  }

  .routine-item:nth-child(odd) .routine-content { grid-column: 1; grid-row: 1; text-align: right; }
  .routine-item:nth-child(odd) .routine-dot { grid-column: 2; grid-row: 1; }
  .routine-item:nth-child(odd) .routine-time { grid-column: 3; grid-row: 1; }

  .routine-item:nth-child(even) .routine-time { grid-column: 1; grid-row: 1; text-align: right; }
  .routine-item:nth-child(even) .routine-dot { grid-column: 2; grid-row: 1; }
  .routine-item:nth-child(even) .routine-content { grid-column: 3; grid-row: 1; }

  .routine-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--saffron));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(200,150,12,0.3);
    position: relative;
    z-index: 1;
  }

  .routine-content h3 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
  }

  .routine-content p {
    font-size: 0.85rem;
    color: rgba(253,245,228,0.6);
    line-height: 1.6;
  }

  .routine-time {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.7rem;
    color: var(--saffron);
    letter-spacing: 0.1em;
  }

  /* ===== FAQ ===== */
  .faq-section {
    background: linear-gradient(180deg, #0F0800 0%, #0A0500 100%);
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .faq-item {
    background: rgba(30,15,0,0.8);
    border: 1px solid rgba(200,150,12,0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s;
  }

  .faq-item:hover { border-color: rgba(200,150,12,0.5); }

  .faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    user-select: none;
  }

  .faq-question h3 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1rem;
    color: var(--parchment);
    line-height: 1.5;
    font-weight: 400;
  }

  .faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: rgba(200,150,12,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s, background 0.3s;
    margin-top: 0.1rem;
  }

  .faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: rgba(200,150,12,0.3);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .faq-item.open .faq-answer { max-height: 500px; }

  .faq-answer-inner {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.9rem;
    color: rgba(253,245,228,0.7);
    line-height: 1.8;
    border-top: 1px solid rgba(200,150,12,0.1);
    padding-top: 1rem;
  }

  /* ===== GURUKUL LIST ===== */
  .gurukul-list-section {
    background: linear-gradient(180deg, #0A0500 0%, #110800 100%);
  }

  .gurukul-table-wrap {
    overflow-x: auto;
    border-radius: 4px;
    border: 1px solid rgba(200,150,12,0.25);
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }

  thead {
    background: linear-gradient(90deg, var(--maroon), #5A1414);
  }

  thead th {
    padding: 1rem 1.2rem;
    text-align: left;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  tbody tr {
    border-bottom: 1px solid rgba(200,150,12,0.1);
    transition: background 0.2s;
  }

  tbody tr:hover { background: rgba(200,150,12,0.06); }

  tbody td {
    padding: 1rem 1.2rem;
    color: rgba(253,245,228,0.8);
    vertical-align: top;
    line-height: 1.6;
  }

  tbody td:first-child {
    color: var(--gold);
    font-weight: 600;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.85rem;
  }

  tbody td:nth-child(2) {
    color: var(--parchment);
    font-weight: 500;
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1rem;
  }

  /* ===== GREAT SOULS ===== */
  .souls-section {
    background: linear-gradient(135deg, #0F0800 0%, #150A00 100%);
  }

  .souls-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .soul-chip {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(30,15,0,0.9), rgba(20,10,0,0.95));
    border: 1px solid rgba(200,150,12,0.3);
    border-radius: 100px;
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1rem;
    color: var(--parchment);
    transition: all 0.3s;
  }

  .soul-chip:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(200,150,12,0.1);
    transform: translateY(-2px);
  }

  /* ===== FOOTER ===== */
  footer {
    background: #050200;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(200,150,12,0.2);
  }

  .footer-om {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .footer-links a {
    color: rgba(253,245,228,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--gold-light); }

  .footer-copy {
    font-size: 0.8rem;
    color: rgba(253,245,228,0.35);
  }

  /* ===== BACK TO TOP ===== */
  .back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--saffron));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(200,150,12,0.4);
    transition: transform 0.3s, opacity 0.3s;
    z-index: 100;
    opacity: 0;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
  }

  .back-top.visible { opacity: 1; }
  .back-top:hover { transform: scale(1.1) translateY(-2px); }

  /* ===== ORNAMENTAL DIVIDER ===== */
  .ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    opacity: 0.5;
  }

  .ornament-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
  }

  .ornament-line.rev { background: linear-gradient(to left, transparent, var(--gold)); }

  .ornament-center { font-size: 1.2rem; color: var(--gold); }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .routine-timeline::before { left: 24px; }
    .routine-item { grid-template-columns: 48px 1fr; gap: 1rem; }
    .routine-item:nth-child(odd) .routine-content,
    .routine-item:nth-child(even) .routine-content { grid-column: 2; grid-row: 1; text-align: left; }
    .routine-item:nth-child(odd) .routine-dot,
    .routine-item:nth-child(even) .routine-dot { grid-column: 1; grid-row: 1; }
    .routine-item:nth-child(odd) .routine-time,
    .routine-item:nth-child(even) .routine-time { grid-column: 2; grid-row: 2; text-align: left; display: none; }
    .faq-grid { grid-template-columns: 1fr; }
    .subjects-grid { grid-template-columns: 1fr; }
  }

  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Nav */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(12,6,0,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200,150,12,0.2);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-brand {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    text-decoration: none;
  }

  .nav-brand span { color: var(--saffron); }

  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.82rem;
    color: rgba(253,245,228,0.7);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    font-family: 'Noto Sans Devanagari', sans-serif;
  }

  .nav-links a:hover { color: var(--gold-light); }

  /* Stats */
  .stats-bar {
    background: linear-gradient(90deg, var(--maroon), #4A1515, var(--maroon));
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
  }

  .stat-item {
    text-align: center;
  }

  .stat-number {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.8rem;
    color: var(--gold-light);
    display: block;
  }

  .stat-label {
    font-size: 0.75rem;
    color: rgba(253,245,228,0.6);
    letter-spacing: 0.1em;
  }
  a{
      text-decoration: none;
  }