/* ==========================================================================
   DRAVIDA TANTRA JYOTHISHAM - PREMIUM LUXURY BRAND SYSTEM (styles.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-maroon: #7E1E22;
    --secondary-burgundy: #5A1518;
    --accent-gold: #C89B3C;
    --accent-gold-hover: #e0b453;
    --warm-cream: #F8F4EC;
    --off-white: #FCF8F2;
    --dark-text: #2B1C1A;
    --muted-brown: #6D5B58;
    
    /* Glassmorphism Accents */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-hover: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.28);
    --glass-shadow: 0 12px 40px 0 rgba(90, 21, 24, 0.08);
    --glass-shadow-inset: inset 0 0 12px rgba(255, 255, 255, 0.2);
    
    /* Typography Fonts */
    --font-heading: 'Cormorant Garamond', 'Noto Serif Malayalam', serif;
    --font-body: 'Inter', sans-serif;
    --font-nav: 'Poppins', sans-serif;
    --font-malayalam: 'Noto Serif Malayalam', serif;

    /* Border Radius Specs */
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-xxl: 60px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Custom Cursor size */
    --cursor-size: 8px;
    --cursor-follower-size: 32px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--off-white);
    color: var(--dark-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Scroll progress */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-maroon), var(--accent-gold));
    width: 0%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-maroon);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Custom Interactive Cursor (hidden on mobile) */
.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.custom-cursor-follower {
    width: var(--cursor-follower-size);
    height: var(--cursor-follower-size);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s, height 0.3s;
}

/* Cursor hover states */
.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--primary-maroon);
}

.custom-cursor-follower.active {
    width: 50px;
    height: 50px;
    background-color: rgba(126, 30, 34, 0.05);
    border-color: var(--primary-maroon);
}

/* Noise overlay */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 Preserving visual quality%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
}

/* Mesh Glow Blobs */
.bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    mix-blend-mode: multiply;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-gold) 0%, rgba(252,248,242,0) 70%);
}

.blob-2 {
    top: 30%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-maroon) 0%, rgba(252,248,242,0) 70%);
}

.blob-3 {
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-gold) 0%, rgba(252,248,242,0) 70%);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.2;
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted-brown);
    margin-bottom: 1.5rem;
}

.font-malayalam {
    font-family: var(--font-malayalam) !important;
    line-height: 1.5 !important;
}

.gold-gradient {
    background: linear-gradient(135deg, #7E1E22 0%, #C89B3C 50%, #B68628 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-text {
    color: var(--accent-gold);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Grid / Flex Layout Helpers */
.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    z-index: 2;
}

.scroll-spy-section {
    scroll-margin-top: 110px;
}

/* Section Header */
.section-header-centered {
    margin-bottom: 60px;
    text-align: center;
}

.section-label {
    font-family: var(--font-nav);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-maroon), var(--accent-gold));
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
}

.accent-line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Border Radius Helpers */
.border-18 { border-radius: var(--radius-sm); }
.border-24 { border-radius: var(--radius-md); }
.border-30 { border-radius: var(--radius-lg); }
.border-40 { border-radius: var(--radius-xl); }
.border-60 { border-radius: var(--radius-xxl); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-nav);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}


.btn-primary {
    background-color: var(--primary-maroon);
    color: var(--warm-cream);
    box-shadow: 0 8px 24px rgba(126, 30, 34, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-burgundy);
    box-shadow: 0 12px 30px rgba(126, 30, 34, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-maroon);
    border: 1.5px solid var(--primary-maroon);
}

.btn-secondary:hover {
    background-color: rgba(126, 30, 34, 0.05);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow), var(--glass-shadow-inset);
    color: var(--primary-maroon);
}

.btn-glass:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(126, 30, 34, 0.4);
    transform: translateY(-2px);
}

/* Glassmorphism Containers */
.glass-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow), var(--glass-shadow-inset);
    transition: var(--transition-smooth);
    border-radius: var(--radius-md);
}

/* Image Placeholders with visual styling */
.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--warm-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(200, 155, 60, 0.25);
    transition: var(--transition-smooth);
}

.image-placeholder.bg-pattern-gold {
    background: radial-gradient(circle at 100% 100%, var(--warm-cream) 0%, rgba(200,155,60,0.1) 100%);
}

.image-placeholder.bg-pattern-maroon {
    background: radial-gradient(circle at 0% 0%, var(--warm-cream) 0%, rgba(126,30,34,0.06) 100%);
}

.placeholder-svg {
    width: 70%;
    height: 70%;
    max-height: 250px;
    border-radius: 50%;
    opacity: 0.85;
}

.placeholder-tag {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(43, 28, 26, 0.85);
    color: var(--warm-cream);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-family: var(--font-nav);
    border-radius: 30px;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    border: 1px solid rgba(200, 155, 60, 0.3);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-radius: 50px;
    background: rgba(252, 248, 242, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    transition: all .5s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.main-header.scrolled {
    top: 10px;
    width: calc(100% - 20px);
    background: rgba(126, 30, 34, 0.95);
    border: 1px solid rgba(126, 30, 34, 0.1);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.main-header.scrolled .brand-title, 
.main-header.scrolled .nav-link,
.main-header.scrolled .mobile-menu-toggle .bar {
    color: var(--warm-cream);
}

.main-header.scrolled .brand-subtitle {
    color: rgba(248, 244, 236, 0.7);
}

.main-header.scrolled .nav-link::after {
    background-color: var(--accent-gold);
}

.main-header.scrolled .nav-cta-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--warm-cream);
}

.main-header.scrolled .nav-cta-btn:hover {
    background: var(--accent-gold);
    color: var(--dark-text);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
    background-color: var(--warm-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-malayalam);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-maroon);
    transition: var(--transition-smooth);
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--muted-brown);
    font-family: var(--font-nav);
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    padding: 8px 4px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-maroon);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--primary-maroon);
    transition: var(--transition-smooth);
}

/* Drawer Menu (Mobile) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--off-white);
    z-index: 1100;
    box-shadow: -10px 0 40px rgba(90, 21, 24, 0.15);
    transition: var(--transition-smooth);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

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

.drawer-title {
    font-family: var(--font-nav);
    font-weight: 600;
    color: var(--primary-maroon);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--dark-text);
    cursor: pointer;
}

.drawer-nav {
    margin-bottom: auto;
}

.drawer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-family: var(--font-nav);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.drawer-link:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(248, 244, 236, 0.8) 0%, var(--off-white) 100%);
    padding-top: 100px;
}

.hero-fixed-decor1 {
    position: fixed;
    top: 40px;
    left: 0;
    width: 560px;
    height: 560px;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: multiply;
    filter: sepia(50%) contrast(1.1) brightness(0.95);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 155, 60, 0.2);
    transition: opacity 0.3s ease;
    animation: rotateInfinite 20s linear infinite;
    transform-origin: center;
}

.hero-fixed-decor2 {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 560px;
    height: 560px;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: multiply;
    filter: sepia(50%) contrast(1.1) brightness(0.95);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 155, 60, 0.2);
    transition: opacity 0.3s ease;
    animation: rotateInfinite 20s linear infinite;
    transform-origin: center;
}

@keyframes rotateInfinite {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(126, 30, 34, 0.05);
    border: 1px solid rgba(126, 30, 34, 0.1);
    border-radius: 30px;
    margin-bottom: 25px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2s infinite;
}

.badge-text {
    font-family: var(--font-nav);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-maroon);
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 620px;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(90, 21, 24, 0.02);
}

.stat-badge i {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-maroon);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--muted-brown);
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Side - Hero Graphic Collage */
.hero-graphic {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yantra-canvas-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.65;
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

.yantra-svg {
    width: 100%;
    height: 100%;
}

.stroke-gold {
    stroke: var(--accent-gold);
}
.stroke-gold-dashed {
    stroke: var(--accent-gold);
    opacity: 0.5;
}
.stroke-gold-thin {
    stroke: var(--accent-gold);
    opacity: 0.3;
}

/* Collage Shapes */
.organic-image-container {
    position: absolute;
    box-shadow: 0 20px 50px rgba(90, 21, 24, 0.15);
    overflow: hidden;
    z-index: 2;
    transition: var(--transition-smooth);
}

.circle-crop-large {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.7);
    left: -2%;
    top: 15%;
}

.circle-crop-medium {
    width: 45%;
    height: 45%;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    right: 0;
    bottom: 2%;
    z-index: 3;
}

.floating-badge-glass {
    position: absolute;
    top: 15%;
    left: 55%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    z-index: 4;
    border-radius: 50px;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-maroon);
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--muted-brown);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 5;
}

.scroll-mouse {
    width: 22px;
    height: 38px;
    border: 2px solid var(--muted-brown);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-maroon);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite;
}

.scroll-text {
    font-family: var(--font-nav);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-brown);
}

/* --------------------------------------------------------------------------
   6. ABOUT THE ASTROLOGER (DIAGONAL GRID)
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--warm-cream);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, var(--off-white) 49%, transparent 50%);
    /* z-index: 1; */
}

.diagonal-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.profile-card-container {
    perspective: 1000px;
}

.profile-glass-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-image-wrapper {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(90, 21, 24, 0.05);
}

.profile-name {
    font-size: 1.8rem;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.profile-title {
    font-family: var(--font-nav);
    font-size: 0.8rem;
    color: var(--muted-brown);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--primary-maroon);
    font-weight: 500;
    margin-bottom: 25px;
}

.features-list-about {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.features-list-about li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.features-list-about .list-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(200, 155, 60, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list-about .list-icon i {
    width: 14px;
    height: 14px;
    color: var(--primary-maroon);
}

.features-list-about span {
    font-size: 0.95rem;
    color: var(--dark-text);
}

/* --------------------------------------------------------------------------
   7. WHAT IS DRAVIDIAN TANTRA SECTION
   -------------------------------------------------------------------------- */
.tantra-section {
    background-color: var(--off-white);
}

.editorial-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.editorial-text-col {
    display: flex;
    flex-direction: column;
}

.section-paragraph {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    text-align: justify;
}

.features-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box-glass {
    padding: 25px;
    border-radius: var(--radius-md);
}

.feature-box-glass:hover {
    border-color: var(--accent-gold);
    background: var(--glass-bg-hover);
    transform: translateY(-5px);
}

.box-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--secondary-burgundy) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.box-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.box-title {
    font-size: 1.15rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.box-desc {
    font-size: 0.85rem;
    color: var(--muted-brown);
}

/* --------------------------------------------------------------------------
   8. FOUR PILLARS SECTION
   -------------------------------------------------------------------------- */
.pillars-section {
    background-color: var(--warm-cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pillar-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(126, 30, 34, 0.08);
    border-color: var(--accent-gold);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(200, 155, 60, 0.2));
    color: var(--accent-gold);
}

.pillar-title {
    font-size: 1.3rem;
    color: var(--primary-maroon);
    margin-bottom: 15px;
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--muted-brown);
}

/* --------------------------------------------------------------------------
   9. SHANKHA PRASHNAM SECTION
   -------------------------------------------------------------------------- */
.shankha-section {
    background-color: var(--off-white);
}

.shankha-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.shankha-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 1/1;
}

.sacred-geometry-circle {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-spin-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    opacity: 0.25;
    border-radius: 50%;
    border-style: dashed;
    animation: rotate 40s linear infinite;
}

.circle-spin-inner {
    position: absolute;
    width: 85%;
    height: 85%;
    border: 1.5px solid var(--accent-gold);
    opacity: 0.4;
    border-radius: 50%;
    animation: rotateBack 30s linear infinite;
}

.shankha-center-element {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(90, 21, 24, 0.1);
}

.circle-placeholder {
    border-radius: 50%;
}

.shankha-text {
    display: flex;
    flex-direction: column;
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--primary-maroon);
    margin-bottom: 20px;
}

.query-box {
    margin-top: 30px;
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.query-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--primary-maroon);
    margin-bottom: 20px;
}

.query-title i {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
}

.query-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.query-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.query-dot {
    font-size: 1rem;
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   10. SERVICES SECTION (MASONRY GRID)
   -------------------------------------------------------------------------- */
.services-section {
    background-color: var(--warm-cream);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.masonry-item {
    padding: 35px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: fit-content;
    break-inside: avoid;
}

.masonry-item:hover {
    transform: translateY(-8px) rotate(2deg);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(200, 155, 60, 0.15);
    background: var(--glass-bg-hover);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.service-title {
    font-size: 1.35rem;
    color: var(--primary-maroon);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--muted-brown);
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.service-action-btn i {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.service-action-btn:hover {
    color: var(--primary-maroon);
}

.service-action-btn:hover i {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   11. DRAVIDIAN DEITIES SECTION
   -------------------------------------------------------------------------- */
.deities-section {
    background-color: var(--off-white);
}

.deities-bubble-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.deity-bubble-wrapper {
    perspective: 1000px;
}

.deity-bubble {
    position: relative;
    padding: 16px 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    cursor: default;
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.deity-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 1.5px solid var(--accent-gold);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.deity-bubble:hover {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(200, 155, 60, 0.15);
}

.deity-bubble:hover .deity-halo {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.15);
}

.deity-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-maroon);
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   12. PITRU DOSHAM SECTION (DARK CARD)
   -------------------------------------------------------------------------- */
.pitru-section {
    background-color: var(--warm-cream);
}

.pitru-card {
    padding: 60px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0% 100%, rgba(126, 30, 34, 0.04) 0%, rgba(255,255,255,0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.pitru-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.pitru-info {
    display: flex;
    flex-direction: column;
}

.pitru-consequences {
    background-color: rgba(43, 28, 26, 0.95);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(43, 28, 26, 0.15);
    border: 1px solid rgba(200, 155, 60, 0.2);
}

.consequences-heading {
    font-size: 1.45rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    border-bottom: 1.5px solid rgba(200, 155, 60, 0.2);
    padding-bottom: 15px;
}

.consequences-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.consequence-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.consequence-num {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent-gold);
    background: rgba(200, 155, 60, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.consequence-text h4 {
    font-size: 1.1rem;
    color: var(--warm-cream);
    margin-bottom: 5px;
}

.consequence-text p {
    font-size: 0.85rem;
    color: rgba(248, 244, 236, 0.7);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. KALARI MARMA TREATMENT SECTION
   -------------------------------------------------------------------------- */
.kalari-section {
    background-color: var(--off-white);
}

.kalari-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.kalari-content {
    display: flex;
    flex-direction: column;
}

.marma-types {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    margin-top: 30px;
}

.marma-type-card {
    padding: 30px 25px;
    border-radius: var(--radius-md);
}

.marma-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.marma-type-card h4 {
    font-size: 1.1rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.marma-type-card p {
    font-size: 0.8rem;
    color: var(--muted-brown);
    margin-bottom: 0;
}

.marma-list-nested {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.marma-list-nested li {
    font-size: 0.85rem;
    color: var(--dark-text);
    position: relative;
    padding-left: 14px;
}

.marma-list-nested li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

.kalari-image {
    perspective: 1000px;
}

.kalari-image .image-placeholder {
    aspect-ratio: 3.5 / 4.5;
    box-shadow: 0 20px 45px rgba(90, 21, 24, 0.12);
}

/* --------------------------------------------------------------------------
   14. HISTORY TIMELINE SECTION
   -------------------------------------------------------------------------- */
.timeline-section {
    background-color: var(--warm-cream);
}

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

.timeline-path-svg-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 10px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.timeline-svg {
    width: 100%;
    height: 100%;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    padding-right: 50px;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
    margin-left: 50%;
}

.timeline-node {
    width: 16px;
    height: 16px;
    background-color: var(--off-white);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    right: -8px;
    top: 30px;
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-node {
    right: auto;
    left: -8px;
}

.timeline-node.active {
    background-color: var(--primary-maroon);
    box-shadow: 0 0 12px var(--accent-gold);
}

.timeline-content-card {
    padding: 30px;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--glass-shadow);
}

.timeline-content-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.timeline-year {
    font-family: var(--font-nav);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.timeline-card-title {
    font-size: 1.25rem;
    color: var(--primary-maroon);
    margin-bottom: 12px;
}

.timeline-card-desc {
    font-size: 0.85rem;
    color: var(--muted-brown);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
    background-color: var(--off-white);
}

.carousel-outer-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: auto;
    min-height: 380px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.testimonial-card {
    padding: 50px;
    border-radius: var(--radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 40px;
    color: var(--primary-maroon);
    opacity: 0.08;
    pointer-events: none;
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.rating-stars i {
    width: 18px;
    height: 18px;
    color: var(--accent-gold);
}

.rating-stars .fill-gold {
    fill: var(--accent-gold);
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary-maroon);
    color: var(--warm-cream);
    font-family: var(--font-nav);
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(126, 30, 34, 0.15);
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-text);
}

.author-tag {
    font-size: 0.75rem;
    color: var(--muted-brown);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--warm-cream);
    border: 1px solid rgba(200, 155, 60, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary-maroon);
}

.carousel-btn:hover {
    background-color: var(--primary-maroon);
    color: var(--warm-cream);
    border-color: var(--primary-maroon);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(109, 91, 88, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dots .dot.active {
    background-color: var(--primary-maroon);
    width: 24px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   16. BOOKING SECTION
   -------------------------------------------------------------------------- */
.booking-section {
    background-color: var(--warm-cream);
}

.booking-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.booking-title-area {
    margin-bottom: 40px;
}

.booking-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: var(--font-nav);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(200, 155, 60, 0.2);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-text);
    transition: var(--transition-smooth);
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    background-color: var(--off-white);
    border-color: var(--primary-maroon);
    box-shadow: 0 0 10px rgba(126, 30, 34, 0.05);
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
}

/* Custom Dropdown arrow for Select */
.select-group .input-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 52%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: var(--accent-gold);
    pointer-events: none;
}

.booking-success-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252, 248, 242, 0.98);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.booking-success-msg.open {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: rgba(168, 214, 57, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.success-icon-wrap i {
    width: 38px;
    height: 38px;
    color: #559632;
}

/* --------------------------------------------------------------------------
   17. CONTACT SECTION (SPLIT CARD)
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--off-white);
}

.contact-card-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.contact-details-side {
    padding: 60px;
    background-color: var(--warm-cream);
}

.center-name {
    font-size: 1.8rem;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.center-tag {
    font-family: var(--font-nav);
    font-size: 0.75rem;
    color: var(--muted-brown);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-maroon-light {
    background-color: rgba(126, 30, 34, 0.08);
    color: var(--primary-maroon);
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-text h4 {
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 5px;
    font-family: var(--font-nav);
    font-weight: 600;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--muted-brown);
    margin-bottom: 0;
}

.online-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 5px;
}

/* Action Bubbles */
.quick-actions-row {
    display: flex;
    gap: 15px;
}

.action-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--warm-cream);
    text-decoration: none;
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.bg-whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.bg-whatsapp:hover {
    background-color: #20ba59;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.bg-phone {
    background-color: var(--primary-maroon);
    box-shadow: 0 4px 15px rgba(126, 30, 34, 0.15);
}
.bg-phone:hover {
    background-color: var(--secondary-burgundy);
    box-shadow: 0 8px 20px rgba(126, 30, 34, 0.3);
}

.action-bubble i {
    width: 16px;
    height: 16px;
}

/* Right Side - Map mock */
.contact-map-side {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-map-side iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-placeholder-container {
    width: 100%;
    height: 100%;
    background-color: #2B1C1A;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--accent-gold);
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.map-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-ripple {
    animation: pulseRipple 3s infinite;
    transform-origin: center;
}

/* --------------------------------------------------------------------------
   18. FOOTER (LUXURY EDITORIAL)
   -------------------------------------------------------------------------- */
.luxury-footer {
    background-color: var(--secondary-burgundy);
    color: var(--warm-cream);
    position: relative;
    overflow: hidden;
}

.footer-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about-text {
    font-size: 0.9rem;
    color: rgba(248, 244, 236, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-cream);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--dark-text);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.social-icon i,
.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-col-title {
    font-family: var(--font-nav);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(248, 244, 236, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--accent-gold);
    padding-left: 6px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
}

.bottom-accent-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(200,155,60,0) 0%, rgba(200,155,60,0.3) 50%, rgba(200,155,60,0) 100%);
    margin-bottom: 30px;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 15px;
}

.developed-credits {
    font-family: var(--font-nav);
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   19. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-maroon);
    color: var(--warm-cream);
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(126, 30, 34, 0.2);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-gold);
    color: var(--dark-text);
    transform: translateY(-3px) scale(1.05);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 998;
    transition: var(--transition-smooth);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --------------------------------------------------------------------------
   20. ANIMATIONS KEYFRAMES & REVEAL SYSTEM
   -------------------------------------------------------------------------- */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateBack {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    70% { transform: translate(-50%, 12px); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes pulseRipple {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Reveal on Scroll styling */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.revealed,
.reveal-fade-left.revealed,
.reveal-fade-right.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger cards animation */
.reveal-fade-up[style*="--card-delay"] {
    transition-delay: var(--card-delay);
}

.reveal-scale[style*="--delay"] {
    transition-delay: var(--delay);
}

/* Glow animation for Kalari dots */
.pulse-dot {
    animation: pulse 1.5s infinite alternate;
}

/* Floating animation classes */
.floating-slow {
    animation: floatSlow 8s ease-in-out infinite alternate;
}

.floating-fast {
    animation: floatFast 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes floatFast {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-2deg); }
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

/* Large screens / Ultra Wide */
@media (min-width: 1400px) {
    .section-container {
        max-width: 1350px;
    }
}

/* Laptops / Desktops */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .diagonal-grid {
        gap: 40px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 991px) {
    /* Hide custom cursors */
    .custom-cursor,
    .custom-cursor-follower {
        display: none;
    }

    .section-container {
        padding: 70px 20px;
    }

    .scroll-spy-section, section[id] {
        scroll-margin-top: 90px;
    }

    .profile-card-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-paragraph {
        text-align: left;
    }

    .placeholder-tag {
        white-space: normal;
        text-align: center;
        width: 90%;
        max-width: 280px;
        bottom: 15px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
    }

    .hero-fixed-decor1, 
    .hero-fixed-decor2 {
        width: 100px;
        height: 100px;
        bottom: 80px;
        left: 20px;
        opacity: 0.1;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-graphic {
        max-width: 500px;
        margin: 0 auto;
    }

    .diagonal-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .editorial-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shankha-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .shankha-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .kalari-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .kalari-image {
        max-width: 450px;
        margin: 0 auto;
        order: -1;
    }

    .pitru-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 40px;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 40px;
        margin-left: 0;
    }

    .timeline-path-svg-wrapper {
        left: 20px;
        transform: none;
    }

    .timeline-node {
        left: 12px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-node {
        left: 12px;
    }

    .contact-card-split {
        grid-template-columns: 1fr;
    }

    .contact-map-side {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-menu, .nav-cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile Screens */
@media (max-width: 576px) {
    .scroll-spy-section, section[id] {
        scroll-margin-top: 80px;
    }

    .section-container {
        padding: 50px 16px;
    }

    .main-header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 5px 0;
    }

    .header-container {
        padding: 8px 15px;
    }

    .brand-title {
        font-size: 0.9rem;
    }

    .brand-subtitle {
        display: none;
    }

    .logo-wrapper {
        width: 36px;
        height: 36px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-graphic {
        max-width: 300px;
        margin: 0 auto;
    }

    .circle-crop-large {
        width: 65%;
        height: 65%;
    }

    .circle-crop-medium {
        width: 40%;
        height: 40%;
    }

    .floating-badge-glass {
        padding: 8px 12px;
        left: 40%;
        top: 10%;
        font-size: 0.75rem;
        white-space: normal;
        max-width: 170px;
    }

    .badge-icon {
        font-size: 1.1rem;
    }

    .badge-title {
        font-size: 0.75rem;
    }

    .badge-desc {
        font-size: 0.65rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 30px;
    }

    .stat-badge {
        padding: 8px 14px;
        gap: 8px;
    }

    .stat-num {
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .features-box-grid {
        grid-template-columns: 1fr;
    }

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

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

    .masonry-item {
        padding: 24px 16px;
    }

    .shankha-visual, .kalari-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

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

    .marma-types {
        grid-template-columns: 1fr;
    }

    .deities-bubble-grid {
        gap: 12px;
    }

    .deity-bubble {
        padding: 12px 24px;
        max-width: 100%;
    }

    .deity-name {
        font-size: 1rem;
    }

    .masonry-grid {
        gap: 20px;
    }

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

    .booking-panel {
        padding: 30px 20px;
    }

    .pitru-card {
        padding: 30px 16px;
    }

    .contact-details-side {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .carousel-container {
        height: auto;
        min-height: 420px;
    }

    .quick-actions-row {
        flex-direction: column;
    }

    .w-full-mobile {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .bottom-row {
        padding-bottom: 60px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float {
        bottom: 76px;
        right: 20px;
        left: auto;
        width: 44px;
        height: 44px;
    }
}

.luxury-footer .section-container {
    padding: 100px 24px 10px 24px;
}

/* --------------------------------------------------------------------------
   14. PRELOADER ANIMATION SYSTEM
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1e1110; /* Premium deep mahogany/burgundy background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Higher than header and custom cursor */
    overflow: hidden;
    /* clip-path starts fully visible (rectangle covering whole screen) */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: clip-path 0.75s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.75s;
}

.preloader.fade-out {
    /* Wipe from bottom-right to top-left:
       The polygon collapses — bottom-right corner stays, top-left shrinks to 100%,100% */
    clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
    visibility: hidden;
    pointer-events: none;
}

.preloader.fade-out .preloader-content {
    /* Fade content out faster than the wipe so logo vanishes cleanly */
    opacity: 0;
    transform: scale(0.85) translate(40px, 40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.preloader-logo-wrap {
    position: relative;
    width: min(80vw, 400px);
    height: min(80vw, 400px);
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(168deg, var(--accent-gold) 0%, #ffde95 50%, var(--accent-gold) 100%);
    box-shadow: 0 0 40px rgba(200, 155, 60, 0.4);
    animation: preloaderPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, preloaderPulse 2s ease-in-out infinite alternate 0.9s;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #1e1110;
}

.preloader-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 155, 60, 0.4) 0%, rgba(200, 155, 60, 0) 70%);
    animation: preloaderGlowPulse 1.5s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

/* Preloader Animations */
@keyframes preloaderPop {
    0% {
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 0 0 rgba(200, 155, 60, 0);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 40px rgba(200, 155, 60, 0.6);
    }
}

@keyframes preloaderPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

@keyframes preloaderGlowPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.35);
        opacity: 1;
    }
}

/* Body loading locks */
body.loading {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Custom utility classes */
.gold-symbol {
    color: var(--accent-gold);
}