
:root {
    /* Primitive Color Tokens */
    --color-white: rgba(255, 255, 255, 1);
    --color-black: rgba(0, 0, 0, 1);
    --color-cream-50: rgba(252, 252, 249, 1);
    --color-cream-100: rgba(255, 255, 253, 1);
    --color-gray-200: rgba(245, 245, 245, 1);
    --color-gray-300: rgba(167, 169, 169, 1);
    --color-gray-400: rgba(119, 124, 124, 1);
    --color-slate-500: rgba(98, 108, 113, 1);
    --color-brown-600: rgba(94, 82, 64, 1);
    --color-charcoal-700: rgba(31, 33, 33, 1);
    --color-charcoal-800: rgba(38, 40, 40, 1);
    --color-slate-900: rgba(19, 52, 59, 1);
    --color-teal-300: rgba(50, 184, 198, 1);
    --color-teal-400: rgba(45, 166, 178, 1);
    --color-teal-500: rgba(33, 128, 141, 1);
    --color-teal-600: rgba(29, 116, 128, 1);
    --color-teal-700: rgba(26, 104, 115, 1);
    --color-teal-800: rgba(41, 150, 161, 1);
    --color-red-400: rgba(255, 84, 89, 1);
    --color-red-500: rgba(192, 21, 47, 1);
    --color-orange-400: rgba(230, 129, 97, 1);
    --color-orange-500: rgba(168, 75, 47, 1);
    
    /* RGB versions for opacity control */
    --color-brown-600-rgb: 94, 82, 64;
    --color-teal-500-rgb: 33, 128, 141;
    --color-slate-900-rgb: 19, 52, 59;
    --color-slate-500-rgb: 98, 108, 113;
    --color-red-500-rgb: 192, 21, 47;
    --color-red-400-rgb: 255, 84, 89;
    --color-orange-500-rgb: 168, 75, 47;
    --color-orange-400-rgb: 230, 129, 97;
    
    /* Background color tokens (Light Mode) */
    --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
    --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
    --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
    --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
    --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
    --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
    --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
    --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */
    
    /* Semantic Color Tokens (Light Mode) */
    --color-background: var(--color-cream-50);
    --color-surface: var(--color-cream-100);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);
    --color-primary: var(--color-teal-500);
    --color-primary-hover: var(--color-teal-600);
    --color-primary-active: var(--color-teal-700);
    --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
    --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
    --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
    --color-border: rgba(var(--color-brown-600-rgb), 0.2);
    --color-btn-primary-text: var(--color-cream-50);
    --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
    --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
    --color-error: var(--color-red-500);
    --color-success: var(--color-teal-500);
    --color-warning: var(--color-orange-500);
    --color-info: var(--color-slate-500);
    --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
    --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);
    
    /* Common style patterns */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    
    /* RGB versions for opacity control */
    --color-success-rgb: 33, 128, 141;
    --color-error-rgb: 192, 21, 47;
    --color-warning-rgb: 168, 75, 47;
    --color-info-rgb: 98, 108, 113;
    
    /* Typography */
    --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 30px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 550;
    --font-weight-bold: 600;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --letter-spacing-tight: -0.01em;
    
    /* Spacing */
    --space-0: 0;
    --space-1: 1px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-base: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    
    /* Animation */
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    }
    
    /* Dark mode colors */
    @media (prefers-color-scheme: dark) {
    :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;
    
    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);
    
    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    
    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
    }
    }
    
    /* Data attribute for manual theme switching */
    [data-color-scheme="dark"] {
    /* RGB versions for opacity control (dark mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;
    
    /* Colorful background palette - Dark Mode */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);
    
    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    
    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
    }
    
    [data-color-scheme="light"] {
    /* RGB versions for opacity control (light mode) */
    --color-brown-600-rgb: 94, 82, 64;
    --color-teal-500-rgb: 33, 128, 141;
    --color-slate-900-rgb: 19, 52, 59;
    
    /* Semantic Color Tokens (Light Mode) */
    --color-background: var(--color-cream-50);
    --color-surface: var(--color-cream-100);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);
    --color-primary: var(--color-teal-500);
    --color-primary-hover: var(--color-teal-600);
    --color-primary-active: var(--color-teal-700);
    --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
    --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
    --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
    --color-border: rgba(var(--color-brown-600-rgb), 0.2);
    --color-btn-primary-text: var(--color-cream-50);
    --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
    --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
    --color-error: var(--color-red-500);
    --color-success: var(--color-teal-500);
    --color-warning: var(--color-orange-500);
    --color-info: var(--color-slate-500);
    --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
    
    /* RGB versions for light mode */
    --color-success-rgb: var(--color-teal-500-rgb);
    --color-error-rgb: var(--color-red-500-rgb);
    --color-warning-rgb: var(--color-orange-500-rgb);
    --color-info-rgb: var(--color-slate-500-rgb);
    }
    
    /* Base styles */
    html {
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    }
    
    body {
    margin: 0;
    padding: 0;
    }
    
    *,
    *::before,
    *::after {
    box-sizing: inherit;
    }
    
    /* Typography */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: var(--letter-spacing-tight);
    }
    
    h1 {
    font-size: var(--font-size-4xl);
    }
    h2 {
    font-size: var(--font-size-3xl);
    }
    h3 {
    font-size: var(--font-size-2xl);
    }
    h4 {
    font-size: var(--font-size-xl);
    }
    h5 {
    font-size: var(--font-size-lg);
    }
    h6 {
    font-size: var(--font-size-md);
    }
    
    p {
    margin: 0 0 var(--space-16) 0;
    }
    
    a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
    }
    
    a:hover {
    color: var(--color-primary-hover);
    }
    
    code,
    pre {
    font-family: var(--font-family-mono);
    font-size: calc(var(--font-size-base) * 0.95);
    background-color: var(--color-secondary);
    border-radius: var(--radius-sm);
    }
    
    code {
    padding: var(--space-1) var(--space-4);
    }
    
    pre {
    padding: var(--space-16);
    margin: var(--space-16) 0;
    overflow: auto;
    border: 1px solid var(--color-border);
    }
    
    pre code {
    background: none;
    padding: 0;
    }
    
    /* Buttons */
    .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-standard);
    border: none;
    text-decoration: none;
    position: relative;
    }
    
    .btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    }
    
    .btn--primary {
    background: var(--color-primary);
    color: var(--color-btn-primary-text);
    }
    
    .btn--primary:hover {
    background: var(--color-primary-hover);
    }
    
    .btn--primary:active {
    background: var(--color-primary-active);
    }
    
    .btn--secondary {
    background: var(--color-secondary);
    color: var(--color-text);
    }
    
    .btn--secondary:hover {
    background: var(--color-secondary-hover);
    }
    
    .btn--secondary:active {
    background: var(--color-secondary-active);
    }
    
    .btn--outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    }
    
    .btn--outline:hover {
    background: var(--color-secondary);
    }
    
    .btn--sm {
    padding: var(--space-4) var(--space-12);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
    }
    
    .btn--lg {
    padding: var(--space-10) var(--space-20);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-md);
    }
    
    .btn--full-width {
    width: 100%;
    }
    
    .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    }
    
    
    
    /* --- Combined Logo Styling --- */

/* Parent wrapper for alignment */
.nav-brand .logo-link {
    display: flex; /* Makes the character and image sit side-by-side */
    align-items: center; /* Vertically centers the items */
    text-decoration: none;
}

/* Styling for the mystical character (Рюд) */
.logo-prefix {
    /* Retain original mystical text styling properties */
    font-size: 1.8rem; 
    font-weight: bold;
    margin-right: 5px; /* Spacing between character and image */
    
    /* Apply the Golden Glow/Coloring */
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Text shadow for glow */
}

/* Styling for the Image Logo */
.header-logo-img {
    height: 35px; /* Set height to align with character size */
    width: auto;
    display: block;
    
    /* Apply Glow/Shadow Filters for Mystical Look */
    filter: 
        drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)) 
        drop-shadow(0 0 5px rgba(220, 20, 60, 0.3)); 
    
    transition: all 0.3s ease;
}

.header-logo-img:hover,
.logo-prefix:hover {
    filter: drop-shadow(0 0 15px var(--mystical-gold));
    transform: scale(1.05); /* Apply transformation only on the image for the subtle effect */
}
    
    
    /* Form elements */
    .form-control {
    display: block;
    width: 100%;
    padding: var(--space-8) var(--space-12);
    font-size: var(--font-size-md);
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
    }
    
    textarea.form-control {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    }
    
    select.form-control {
    padding: var(--space-8) var(--space-12);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--select-caret-light);
    background-repeat: no-repeat;
    background-position: right var(--space-12) center;
    background-size: 16px;
    padding-right: var(--space-32);
    }
    
    /* Add a dark mode specific caret */
    @media (prefers-color-scheme: dark) {
    select.form-control {
    background-image: var(--select-caret-dark);
    }
    }
    
    /* Also handle data-color-scheme */
    [data-color-scheme="dark"] select.form-control {
    background-image: var(--select-caret-dark);
    }
    
    [data-color-scheme="light"] select.form-control {
    background-image: var(--select-caret-light);
    }
    
    .form-control:focus {
    border-color: var(--color-primary);
    outline: var(--focus-outline);
    }
    
    .form-label {
    display: block;
    margin-bottom: var(--space-8);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    }
    
    .form-group {
    margin-bottom: var(--space-16);
    }
    
    /* Card component */
    .card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-normal) var(--ease-standard);
    }
    
    .card:hover {
    box-shadow: var(--shadow-md);
    }
    
    .card__body {
    padding: var(--space-16);
    }
    
    .card__header,
    .card__footer {
    padding: var(--space-16);
    border-bottom: 1px solid var(--color-card-border-inner);
    }
    
    /* Status indicators - simplified with CSS variables */
    .status {
    display: inline-flex;
    align-items: center;
    padding: var(--space-6) var(--space-12);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    }
    
    .status--success {
    background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
    );
    color: var(--color-success);
    border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
    }
    
    .status--error {
    background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
    );
    color: var(--color-error);
    border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
    }
    
    .status--warning {
    background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
    );
    color: var(--color-warning);
    border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
    }
    
    .status--info {
    background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
    );
    color: var(--color-info);
    border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
    }
    
    /* Container layout */
    .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-16);
    padding-left: var(--space-16);
    }
    
    @media (min-width: 640px) {
    .container {
    max-width: var(--container-sm);
    }
    }
    @media (min-width: 768px) {
    .container {
    max-width: var(--container-md);
    }
    }
    @media (min-width: 1024px) {
    .container {
    max-width: var(--container-lg);
    }
    }
    @media (min-width: 1280px) {
    .container {
    max-width: var(--container-xl);
    }
    }
    
    /* Utility classes */
    .flex {
    display: flex;
    }
    .flex-col {
    flex-direction: column;
    }
    .items-center {
    align-items: center;
    }
    .justify-center {
    justify-content: center;
    }
    .justify-between {
    justify-content: space-between;
    }
    .gap-4 {
    gap: var(--space-4);
    }
    .gap-8 {
    gap: var(--space-8);
    }
    .gap-16 {
    gap: var(--space-16);
    }
    
    .m-0 {
    margin: 0;
    }
    .mt-8 {
    margin-top: var(--space-8);
    }
    .mb-8 {
    margin-bottom: var(--space-8);
    }
    .mx-8 {
    margin-left: var(--space-8);
    margin-right: var(--space-8);
    }
    .my-8 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
    }
    
    .p-0 {
    padding: 0;
    }
    .py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
    }
    .px-8 {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
    }
    .py-16 {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
    }
    .px-16 {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
    }
    
    .block {
    display: block;
    }
    .hidden {
    display: none;
    }
    
    /* Accessibility */
    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    }
    
    :focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    }
    
    /* Dark mode specifics */
    [data-color-scheme="dark"] .btn--outline {
    border: 1px solid var(--color-border-secondary);
    }
    
    @font-face {
    font-family: 'FKGroteskNeue';
    src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
    }
    
    /* END PERPLEXITY DESIGN SYSTEM */
    /* ashaastrology Website Styles - Red & Golden Theme */
    
    /* Base theme overrides for red & golden theme */
    :root {
    /* Red & Golden color palette */
    --mystical-deep-red: #8B0000;
    --mystical-crimson: #DC143C;
    --mystical-red: #B22222;
    --mystical-dark-red: #660000;
    --mystical-gold: #FFD700;
    --mystical-dark-gold: #DAA520;
    --mystical-bronze: #B8860B;
    --mystical-copper: #CD853F;
    --mystical-black: #1a0000;
    --mystical-dark-bg: #2d0a0a;
    
    /* Override design system for red & golden theme */
    --color-background: var(--mystical-black);
    --color-surface: var(--mystical-dark-bg);
    --color-primary: var(--mystical-gold);
    --color-primary-hover: var(--mystical-dark-gold);
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-border: rgba(255, 215, 0, 0.2);
    --color-card-border: rgba(255, 215, 0, 0.25);
    --color-accent-red: var(--mystical-crimson);
    }
    
    /* Base styles */
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    body {
    font-family: var(--font-family-base);
    background: linear-gradient(135deg, var(--mystical-black) 0%, var(--mystical-deep-red) 50%, var(--mystical-dark-bg) 100%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    }
    
    /* Scrollbar styling */
    ::-webkit-scrollbar {
    width: 8px;
    }
    
    ::-webkit-scrollbar-track {
    background: var(--mystical-black);
    }
    
    ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    border-radius: 4px;
    }
    
    /* Animations */
    @keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
    }
    
    @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    }
    
    @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
    }
    
    @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
    }
    
    @keyframes slideInUp {
    from {
    opacity: 0;
    transform: translateY(50px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }
    
    
    
    /* Let's define the clear fadeInBottom (or fadeInUp) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Subtle lift */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    
    @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
    }
    
    @keyframes goldShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
    }
    
    @keyframes calendarGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
    }
    
    @keyframes todayPulse {
    0%, 100% { 
    border-color: var(--mystical-gold);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% { 
    border-color: var(--mystical-crimson);
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
    }
    }
    
    /* Header */
    .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.95), rgba(45, 10, 10, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--mystical-gold);
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
    }
    
    .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    }
    
    .logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: -0.5px;
    }
    
    .nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    }
    
    .nav-link {
    color: var(--mystical-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    }
    
    .nav-link:hover {
    color: var(--color-text);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    }
    
    .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-crimson));
    transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
    width: 100%;
    }
    
    /* Hamburger menu */
    .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    }
    
    .bar {
    width: 25px;
    height: 3px;
    background: var(--mystical-gold);
    margin: 3px 0;
    transition: 0.3s;
    }
    
    /* Stars animation in header */
    .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    }
    
    .stars::before,
    .stars::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--mystical-gold);
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 10px var(--mystical-gold);
    }
    
    .stars::before {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
    }
    
    .stars::after {
    top: 60%;
    left: 85%;
    animation-delay: 1.5s;
    }
    
    /* Hero Slider - Fixed overlapping text issue */
    
    /* KEYFRAMES for Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Base Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
    /* Height will be determined by content or manually set, e.g., 80vh */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%; /* Should match .hero-slider height */
}


.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    visibility: hidden; 
    /*transition: opacity 1.2s ease-in-out, visibility 1.2s;*/
    z-index: 1; /* Default layer */
    /* Add background image styles here, e.g.: */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1; /* Fade in */
    visibility: visible;
    z-index: 2; /* Bring active slide to the front */
    animation: fadeIn 1.5s; /* Apply initial fade-in on activation */
}

/* NAVIGATION BUTTONS (Arrows) */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3; /* Above slides */
    background: rgba(220, 20, 60, 0.7); /* Mystical Crimson Translucent */
    color: var(--mystical-gold);
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-nav:hover {
    background: var(--mystical-crimson);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* INDICATORS (Dots) */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    padding: 10px;
    /*background: rgba(0, 0, 0, 0.4);*/
    border-radius: 20px;
}

.indicator {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--mystical-gold);
}

.indicator.active {
    background: var(--mystical-gold);
    box-shadow: 0 0 10px var(--mystical-gold);
    transform: scale(1.3);
}
    
    
    
    
    /*.hero-slider {*/
    /*position: relative;*/
    /*height: 100vh;*/
    /*overflow: hidden;*/
    /*}*/
    
    /*.slider-container {*/
    /*position: relative;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*}*/
    
    /*.slide {*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*opacity: 0;*/
    /*visibility: hidden;*/
    /*transition: all 1s ease-in-out;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*text-align: center;*/
    /*z-index: 1;*/
    /*}*/
    
    /*.slide.active {*/
    /*opacity: 1;*/
    /*visibility: visible;*/
    /*z-index: 2;*/
    }
    
    .slide[data-bg="mystical1"] {
    background: linear-gradient(135deg, var(--mystical-deep-red) 0%, var(--mystical-black) 50%, var(--mystical-dark-bg) 100%);
    }
    
    /*.slide[data-bg="mystical2"] {*/
    /*background: linear-gradient(135deg, var(--mystical-crimson) 0%, var(--mystical-deep-red) 50%, var(--mystical-black) 100%);*/
    /*}*/
    
    /*.slide[data-bg="mystical3"] {*/
    /*background: linear-gradient(135deg, var(--mystical-red) 0%, var(--mystical-dark-red) 50%, var(--mystical-deep-red) 100%);*/
    /*}*/
    
    .slide-content {
    max-width: 50%;
    padding: 2rem;
    position: relative;
    z-index: 3;
    }
    
    .slide-content.slide4 img{
        
        width:100%;
       object-fit: contain;
    }
    
    .slide.active {
   
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-around; /* Distribute space horizontally */
    text-align: left; /* Align text content to the left */
    
    

    flex-direction: row; 
}


.slide.active .slide-content {
    /* Removed max-width: 800px; */
    max-width: 50%; /* New: Allocate 50% of the space for content */
    padding: 5%;
    margin-right: 5%; /* Space between content and image */
    text-align: left; /* Keep text left-aligned */
}
    
    .slide.active .slide-content {
    /*animation: slideInUp 1s ease-out;*/
    }
    
    
  .slide.active  .hero-astrology-charts-container {
    
    position: relative; 
    width: 45%; 
    height: 50vh; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    
    /* Clear old positioning rules */
    top: auto; 
    right: auto;
    transform: none; 
    
    z-index: 2; 
    pointer-events: none;
    opacity: 1; /* Ensure full opacity when visible */
    animation: none; /* Stop pulse on container */
}
    
    .slide-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper), var(--mystical-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s ease-in-out infinite;
    }
    
    .slide-content .slide-titlesub{
         font-size: 1.5rem;
          margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper), var(--mystical-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s ease-in-out infinite;
    }
    
    
    /* --- New Image & Element Styles --- */

/* Additional style for the new subtitle */
.slide-titlesub {
    font-size: 1.8rem;
    color: var(--mystical-gold);
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Container for the two stacked images */
.hero-astrology-charts-container {
    position: absolute;
    top: 50%;
    right: 10%; /* Adjust as needed */
    transform: translateY(-50%) rotate(-5deg); /* Center vertically, tilt slightly */
    z-index: 2; /* Below slide-content, above background */
    pointer-events: none;
    display: flex; /* Use flexbox for vertical stacking */
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center horizontally within container */
    gap: 15px; /* Space between the two images */
    opacity: 0.8; /* Overall container opacity */
    /*transition: all 1s ease-in-out;*/
    /*animation: pulseGold 6s infinite ease-in-out; */
}

/* Individual image styling */
.hero-astrology-chart {
  
    height: 100%;
    max-width: 100%; /* Ensure responsiveness */
}

/* NEW: Lower opacity for the bottom chart */
.hero-astrology-chart.chart-bottom {
    opacity: 0.4; /* Adjust this value (e.g., 0.3, 0.5) to your preference */
}

/* Ensure the container fades in with the slide */
.slide:not(.active) .hero-astrology-charts-container {
    opacity: 0;
}

.chart-top{
    position: absolute;
   
    width: 70%;
    height: 70%;
  
}

.chart-bottom{
        width: auto;
}

@keyframes pulseGold {
    0% { filter: brightness(100%); }
    50% { filter: brightness(120%); }
    100% { filter: brightness(100%); }
}

/* --- Responsive Layout Adjustments --- */

@media (max-width: 992px) {
    
    .slide.active .hero-astrology-charts-container {
        
        width: 100%;
       

    }

.slide.active .slide-content {
    width: 100%;
    max-width: 100%;

}
    
    
    
    .slide {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px; /* Add space below header */
    }

    .hero-astrology-charts-container {
        opacity: 0.2; /* Make it more subtle in the background on mobile */
        
        /* MOBILE PLACEMENT (Top/Center) */
        top: 10%; 
        right: 50%; /* Center horizontally */
        transform: translateX(50%) rotate(0deg); /* Re-center */
        gap: 10px; /* Smaller gap for mobile */
    }
    
   
    /* Ensure bottom chart maintains lower opacity on mobile too */
    .hero-astrology-chart.chart-bottom {
        opacity: 0.4; /* Keep consistent or adjust for mobile */
    }
    
    .slide-content {
        z-index: 10; /* Ensure text is always above the images */
        padding: 1rem;
        max-width: 90%;
    }
}

@media (max-width: 756px) {
    .slide.active{
        flex-direction: column-reverse;
    }
    
}

@media (max-width: 600px) {
    .slide-titlesub {
        font-size: 1.4rem;
    }
    .hero-astrology-charts-container {
        top: 15%;
    }
    
    .slide.active  .hero-astrology-charts-container {
    
   
    height: 50vh; 
    }
    
    
    .slide {
        height: 90%;
    }
    .mystical5  .chart-bottom {
   
    object-fit: contain !important;
}
    
    .chart-bottom {
   
    object-fit: cover;
}


   
}
    
    .slide-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    }
    
    .prev-slide,
    .next-slide {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(220, 20, 60, 0.2));
    border: 2px solid var(--mystical-gold);
    color: var(--mystical-gold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    }
    
    .prev-slide:hover,
    .next-slide:hover {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-crimson));
    color: var(--mystical-black);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    }
    
    .slide-indicators {
    display: flex;
    gap: 0.5rem;
    }
    
    .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    }
    
    .indicator.active {
    background: var(--mystical-gold);
    border-color: var(--mystical-crimson);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
    
    /* Floating elements */
    .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    }
    
    .mystical-element {
    position: absolute;
    border-radius: 50%;
    }
    
    .moon {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--mystical-gold), var(--mystical-copper));
    top: 15%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    }
    
    .star-1 {
    width: 6px;
    height: 6px;
    background: var(--mystical-gold);
    top: 25%;
    left: 10%;
    animation: twinkle 2.5s infinite;
    box-shadow: 0 0 15px var(--mystical-gold);
    }
    
    .star-2 {
    width: 8px;
    height: 8px;
    background: var(--mystical-crimson);
    top: 75%;
    right: 25%;
    animation: twinkle 3.5s infinite 1.5s;
    box-shadow: 0 0 15px var(--mystical-crimson);
    }
    
    /* Buttons */
    .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-base);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    }
    
    .btn--primary {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    color: var(--mystical-black);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid transparent;
    }
    
    .btn--primary:hover {
    background: linear-gradient(45deg, var(--mystical-copper), var(--mystical-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    }
    
    .btn--outline {
    background: transparent;
    border: 2px solid var(--mystical-gold);
    color: var(--mystical-gold);
    }
    
    .btn--outline:hover {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-crimson));
    color: var(--mystical-black);
    transform: translateY(-2px);
    }
    
    .pulse {
    animation: pulse 2s infinite;
    }
    
    .animated-btn {
    position: relative;
    overflow: hidden;
    }
    
    .animated-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(220, 20, 60, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    }
    
    .animated-btn:hover::before {
    width: 300px;
    height: 300px;
    }
    
    /* Sections */
    .section-header {
    text-align: center;
    margin-bottom: 3rem;
    }
    
    .section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper), var(--mystical-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
    }
    
    .section-subtitle {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    }
    
    /* About Section */
    .about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mystical-dark-bg) 0%, var(--mystical-deep-red) 100%);
    position: relative;
    }
    
    .about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23FFD700' fill-opacity='0.05'%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") repeat;
    opacity: 0.1;
    pointer-events: none;
    }
    
    .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
    }
    
    .about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    }
    
    .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    }
    
    .feature-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(220, 20, 60, 0.08));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    }
    
    .feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    }
    
    .feature-card:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
    }
    
    .feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--mystical-gold);
    }
    
    .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    
    .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--mystical-gold);
    }
    
    .feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    text-align: center !important;
    }
    
    /* Services Section */
    .services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mystical-crimson) 0%, var(--mystical-deep-red) 50%, var(--mystical-black) 100%);
    }
    
    .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    }
    
    .service-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 215, 0, 0.25);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    }
    
    .service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25);
    border-color: var(--mystical-gold);
    }
    
    /*.service-icon {*/
    /*font-size: 3.5rem;*/
    /*margin-bottom: 1.5rem;*/
    /*display: block;*/
    /*filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));*/
    /*}*/
    
    
    
    
.service-icon {
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; 
    height: 60px; 
    margin: 0 auto 1.5rem auto; 
    
   
}


.service-img-icon {
    width: 100%; 
    height: 100%;
    object-fit: contain;
    
    
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) 
            drop-shadow(0 0 5px var(--mystical-crimson)); 
    
    transition: transform 0.3s ease;
}

.service-card:hover .service-img-icon {
    transform: scale(1.1); /* Small animated bump on hover */
}
    
    .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--mystical-gold);
    }
    
    .service-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    }
    
    /* Appointment Section */
    .appointment {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mystical-black) 0%, var(--mystical-dark-bg) 50%, var(--mystical-deep-red) 100%);
    }
    
    .astrologers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    }
    
    .astrologer-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(220, 20, 60, 0.05));
    border-radius: var(--radius-lg);
    border: 2px solid var(--mystical-gold);
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    
    
    
    display: flex; /* Or use display: grid; and grid-template-rows: auto 1fr; if you prefer grid */
    flex-direction: column;
    height: 100%;
    }
    
    .astrologer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.2);
    border-color: var(--mystical-copper);
    }
    
    .astrologer-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--mystical-gold), var(--mystical-copper));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--mystical-black);
    position: relative;
    overflow: hidden;
    }
    
    .astrologer-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    }
    
    .astrologer-card:hover .astrologer-image::before {
    left: 100%;
    }
    
    .astrologer-info {
    display: flex;
    flex-direction: column; /* Stacks the content vertically */
    flex-grow: 1; /* Key: Makes the info area take up all available vertical space */
    padding: 1.5rem;
   
    }
    
    .astrologer-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--mystical-gold);
    font-weight: 600;
    }
    
    .astrologer-specialization {
    color: var(--mystical-crimson);
    margin-bottom: 0.5rem;
    font-weight: 500;
    }
    
    .astrologer-experience {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    }
    
    .rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    }
    
    .stars-rating {
    color: var(--mystical-gold);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    }
    
    .astrologer-description {
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    }
    
    .astrologer-actions {
    margin-top: auto; 
    

    display: flex;
   
    gap: 10px; 
    padding-top: 15px; 
  
    }
    
    /* Modal Styles */
    .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
    }
    
    .modal.hidden {
    opacity: 0;
    pointer-events: none;
    }
    
    .modal-content {
    background: linear-gradient(135deg, var(--mystical-dark-bg), var(--mystical-deep-red));
    border-radius: var(--radius-lg);
    border: 2px solid var(--mystical-gold);
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 2rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    }
    
    .booking-modal {
    max-width: 950px;
    }
    
    .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--mystical-gold);
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    }
    
    .modal-close:hover {
    color: var(--mystical-crimson);
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(90deg);
    }
    
    .astrologer-detail {
    padding: 2.5rem;
    }
    
    .detail-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    }
    
    .detail-image {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--mystical-gold), var(--mystical-copper));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--mystical-black);
    border: 3px solid var(--mystical-crimson);
    }
    
    .detail-image img{
            object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 55%;
    }
    
    .astrologer-image .detail-image{
    border: none;
    }
    
    .detail-info h2 {
    color: var(--mystical-gold);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    }
    
    .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
    }
    
    .tag {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(220, 20, 60, 0.2));
    color: var(--mystical-gold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    border: 1px solid var(--mystical-gold);
    font-weight: 500;
    }
    
    .detail-section {
    margin-bottom: 2.5rem;
    }
    
    .detail-section h3 {
    color: var(--mystical-gold);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    }
    
    .detail-section ul {
    list-style: none;
    padding: 0;
    }
    
    .detail-section li {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 2rem;
    }
    
    .detail-section li::before {
    content: '⚡';
    color: var(--mystical-gold);
    position: absolute;
    left: 0;
    top: 0.5rem;
    }
    
    /* Booking Steps */
    .booking-content {
    padding: 2.5rem;
    }
    
    .booking-steps {
    margin-top: 2rem;
    }
    
    .step {
    display: none ;
    } 
    
    .step.active {
    display: block;
    animation: fadeIn 0.5s ease;
    }
    
    .step h3 {
    color: var(--mystical-gold);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
    }
    
    /* ENHANCED BEAUTIFUL CALENDAR STYLES */
    .calendar-container {
    margin-bottom: 2rem;
    background: #2a2a2a;
    border-radius: 20px;
    border: 3px solid var(--mystical-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2), 0 0 30px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(15px);
    animation: calendarGlow 4s ease-in-out infinite;
    overflow: hidden;
    }
    
    .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 1.8rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(220, 20, 60, 0.1));
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    }
    
    .calendar-header button {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    color: var(--mystical-black);
    border: none;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    
    .calendar-header button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, var(--mystical-copper), var(--mystical-crimson));
    }
    
    .calendar-header span {
    color: var(--mystical-gold);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
    }
    
    .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 1.5rem;
    background: #1a1a1a;
    }
    
    .calendar-day {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333333, #444444);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: var(--mystical-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    }
    
    /* Week headers styling */
    .calendar-day:nth-child(-n+7) {
    background: linear-gradient(135deg, var(--mystical-deep-red), var(--mystical-black));
    color: var(--mystical-gold);
    font-weight: bold;
    cursor: default;
    border-color: var(--mystical-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }
    
    /* Available dates (can be selected) */
    .calendar-day:not(:nth-child(-n+7)):not(.disabled):not(.other-month):not(.selected) {
    background: linear-gradient(135deg, #333, #4a4a4a);
    border: 2px solid rgba(255, 215, 0, 0.4);
    }
    
    .calendar-day:not(:nth-child(-n+7)):not(.disabled):not(.other-month):not(.selected):hover {
    background: linear-gradient(135deg, var(--mystical-dark-gold), var(--mystical-bronze));
    color: var(--mystical-black);
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    border-color: var(--mystical-gold);
    z-index: 10;
    }
    
    /* Selected date */
    .calendar-day.selected {
    background: linear-gradient(135deg, var(--mystical-crimson), var(--mystical-deep-red));
    color: var(--mystical-gold);
    border: 3px solid var(--mystical-gold);
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    z-index: 5;
    }
    
    /* Today's date with pulsing animation */
    .calendar-day.today {
    border: 3px solid var(--mystical-gold);
    animation: todayPulse 2s ease-in-out infinite;
    font-weight: bold;
    }
    
    /* Disabled/past dates */
    .calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: linear-gradient(135deg, #222, #333);
    border-color: rgba(100, 100, 100, 0.3);
    color: rgba(255, 255, 255, 0.3);
    }
    
    .calendar-day.disabled:hover {
    transform: none;
    box-shadow: none;
    }
    
    /* Other month dates */
    .calendar-day.other-month {
    opacity: 0.5;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: rgba(255, 215, 0, 0.4);
    }
    
    /* Time Slots - Enhanced Design */
    .time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(220, 20, 60, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    }
    
    .time-slot {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: var(--color-text);
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    }
    
    .time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
    }
    
    .time-slot:hover::before {
    left: 100%;
    }
    
    .time-slot:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(220, 20, 60, 0.1));
    border-color: var(--mystical-gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    }
    
    .time-slot.selected {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-copper));
    color: var(--mystical-black);
    border-color: var(--mystical-crimson);
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    }
    
    .time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(139, 0, 0, 0.1));
    border-color: rgba(220, 20, 60, 0.5);
    color: rgba(255, 255, 255, 0.6);
    }
    
    .time-slot.unavailable:hover {
    transform: none;
    box-shadow: none;
    }
    
    .time-slot.unavailable::before {
    display: none;
    }
    
    /* Form Styles - Fixed dropdown selection display */
    .form-group {
    margin-bottom: 1.8rem;
    }
    
    .form-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--mystical-gold);
    font-weight: 600;
    }
    
    .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-base);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(220, 20, 60, 0.05));
    color: var(--color-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    }
    
    .form-control:focus {
    outline: none;
    border-color: var(--mystical-gold);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.05));
    }
    
    /* Enhanced select styling to show selected value properly */
    select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    cursor: pointer;
    }
    
    select.form-control option {
    background: var(--mystical-dark-bg);
    color: var(--color-text);
    padding: 0.5rem;
    }
    
    select.form-control option:checked {
    background: var(--mystical-gold);
    color: var(--mystical-black);
    }
    
    .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    }
    
    .pricing-info {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(220, 20, 60, 0.1));
    border: 2px solid var(--mystical-gold);
    border-radius: var(--radius-base);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    }
    
    .price-display {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--mystical-gold);
    }
    
    /* Success Modal */
    .success-content {
    padding: 2.5rem;
    text-align: center;
    }
    
    .success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    }
    
    .success-content h2 {
    color: var(--mystical-gold);
    margin-bottom: 1.5rem;
    }
    
    /* Query Section */
    .query-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mystical-deep-red) 0%, var(--mystical-black) 100%);
    }
    
    .query-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    }
    
    .contact-info h3 {
    color: var(--mystical-gold);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    }
    
    .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
    }
    
    .contact-icon {
    font-size: 1.3rem;
    color: var(--mystical-gold);
    }
    
    .query-form {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(220, 20, 60, 0.08));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--mystical-gold);
    backdrop-filter: blur(10px);
    }
    
    /* Footer */
    .footer {
    background: var(--mystical-black);
    padding: 4rem 0 1rem;
    border-top: 3px solid var(--mystical-gold);
    }
    
    .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
    color: var(--mystical-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    }
    
    .footer-section h3 {
    font-size: 1.5rem;
    }
    
    .footer-section p,
    .footer-section li {
    color: var(--color-text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    }
    
    .footer-section ul {
    list-style: none;
    padding: 0;
    }
    
    .footer-section a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    }
    
    .footer-section a:hover {
    color: var(--mystical-gold);
    }
    
    .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    }
    
    .social-links a {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.1));
    border: 1px solid var(--mystical-gold);
    border-radius: var(--radius-base);
    transition: all 0.3s ease;
    
    }
    
    .social-links a:hover {
    background: linear-gradient(45deg, var(--mystical-gold), var(--mystical-crimson));
    color: var(--mystical-black);
    
    }
    
    .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
    .hamburger {
    display: flex;
    }
    
    .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.98), rgba(45, 10, 10, 0.98));
    width: 100%;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--mystical-gold);
    padding: 2rem 0;
    }
    
    .nav-menu.active {
    left: 0;
    }
    
    .nav-menu li {
    margin: 1.5rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    }
    
    .slide-title {
    font-size: 2.5rem;
    }
    
    .slide-description {
    font-size: 1.1rem;
    }
    
    .about-content,
    .query-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    }
    
    .feature-grid {
    grid-template-columns: 1fr;
    }
    
    .services-grid,
    .astrologers-grid {
    grid-template-columns: 1fr;
    }
    
    .detail-header {
    grid-template-columns: 1fr;
    text-align: center;
    }
    
    .detail-image {
    justify-self: center;
    }
    
    .form-actions {
    flex-direction: column;
    }
    
    /* Mobile Calendar Responsive */
    .calendar-container {
    border-radius: 15px;
    margin: 0 -0.5rem 2rem -0.5rem;
    }
    
    .calendar-header {
    padding: 1.2rem 1rem;
    }
    
    .calendar-header button {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    }
    
    .calendar-header span {
    font-size: 1.4rem;
    }
    
    .calendar {
    gap: 4px;
    padding: 1rem;
    }
    
    .calendar-day {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
    }
    
    .time-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    }
    
    .time-slot {
    padding: 1rem;
    font-size: 0.9rem;
    }
    
    .astrologers-grid {
    grid-template-columns: 1fr;
    }
    }
    
    @media (max-width: 480px) {
    .nav-container {
    padding: 1rem;
    }
    
    .slide-content {
    padding: 1rem;
    }
    
    .slide-title {
    font-size: 2rem;
    }
    
    .section-title {
    font-size: 2.2rem;
    }
    
    .modal-content {
    margin: 1rem;
    }
    
    .booking-content,
    .astrologer-detail {
    padding: 1.5rem;
    }
    
    /* Ultra mobile Calendar */
    .calendar-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    }
    
    .calendar-header span {
    font-size: 1.2rem;
    }
    
    .calendar-day {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
    }
    
    .calendar-day:nth-child(-n+7) {
    font-size: 0.7rem;
    }
    
    .time-slots {
    grid-template-columns: 1fr;
    }
    }
    
    /* Container utility */
    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    }
    
    @media (max-width: 768px) {
    .container {
    padding: 0 1rem;
    }
    }
    
    /* Utility classes */
    .text-center { text-align: center; }
    .hidden { display: none !important; }
    
    
    
    
    
    /* Package Selection Specific Styles */
    .package-selection-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-height: 55vh; /* To keep the modal scrollable on smaller screens */
    overflow-y: auto;
    padding: 0.5rem; /* For inner padding */
    border: 2px solid rgba(255, 215, 0, 0.1); /* Subtle border for container */
    border-radius: var(--radius-lg);
    }
    
    .package-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(220, 20, 60, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .package-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--mystical-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    }
    
    .package-card.selected {
    border-color: var(--mystical-crimson);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(220, 20, 60, 0.15));
    transform: scale(1.03);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.4);
    animation: pulsePackage 1.5s infinite alternate; /* Attractive Animation */
    }
    
    .package-card h4 {
    color: var(--mystical-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    }
    
    .package-price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mystical-gold);
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
    }
    
    .package-details {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--mystical-crimson);
    }
    
    .package-details strong {
    color: var(--color-text);
    }
    
    .package-highlight {
    color: var(--mystical-crimson);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
    }
    
    /* Checkmark overlay for selection */
    .package-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: var(--mystical-crimson);
    background: var(--mystical-gold);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: rotate(10deg);
    }
    
    /* Custom Animations */
    @keyframes pulsePackage {
    from { box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.4); }
    to { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.6); }
    }
    
    @media (max-width: 768px) {
    .package-selection-container {
    grid-template-columns: 1fr;
    max-height: 60vh;
    }
    }
    
    /* Update previous step buttons */
    #prevStep2 { /* Previous from Date/Time to Package */
    display: block;
    }
    #prevStep3 { /* Previous from Details to Date/Time */
    display: block;
    }
    


 #loginModal .query-form, #registerModal .query-form, #otpModal .query-form{


    border: none;
    background: transparent;
}





/* CSS to hide and show the content */
.about-text .hidden-content {
    /* Initially hide the content */
    max-height: 0; 
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease-out, opacity 0.5s ease-out;
}

.about-text .hidden-content.visible {
    /* When 'visible' class is added by JavaScript */
    /* Set max-height to a value large enough to fit all hidden content */
    /* Use a large number like 1000px so it works regardless of content length */
    max-height: 1000px; 
    opacity: 1;
    transition: max-height 0.7s ease-in, opacity 0.5s ease-in;
}

.about-content p{
    text-align: justify;
}

/* Style for the button (adjust based on your existing btn--secondary styles) */
#readMoreBtn {
    margin-top: 15px; /* Add some space below the visible text */
    cursor: pointer;
    display: block; /* Make the button take full width for better alignment */
    width: 150px; /* Adjust width as needed */
    text-align: center;
    padding: 10px 20px;
    border: 1px solid #dc143c; /* Example border color */
    background-color: transparent;
    color: #dc143c; /* Example text color */
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#readMoreBtn:hover {
    background-color: #dc143c;
    color: #fff;
}


/*------------Privacy Policy Css------------*/



 .privacy-section {
        padding: 8rem 0 4rem; /* Top padding to clear fixed header */
        min-height: 100vh;
        background: linear-gradient(135deg, var(--mystical-dark-bg) 0%, var(--mystical-deep-red) 100%);
    }

    .privacy-content-wrapper {
        margin-top: 30px;
    }

    .admin-card {
        /* Overrides the complex admin card background for better text contrast */
        background-color: var(--color-surface); /* Creamy background from root */
        color: var(--color-text); /* Dark text */
        border: 1px solid var(--mystical-gold);
        padding: 30px;
        margin-bottom: 25px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    
    .policy-heading {
        color:  #f3c50d !important;
        border-bottom: 2px solid var(--mystical-gold);
        padding-bottom: 5px;
        margin-bottom: 20px;
    }
    
    .policy-card p {
        color: var(--color-text-secondary);
        font-size: 1.05rem;
    }
    
    .data-storage-box {
        background-color: rgba(139, 0, 0, 0.05); /* Light red accent */
        border-left: 5px solid var(--mystical-crimson);
        padding: 15px;
        margin: 15px 0;
        border-radius: 4px;
    }

    .policy-highlight {
        color: var(--mystical-crimson);
        font-style: italic;
    }

    .data-use-list li {
        color: var(--color-text-secondary);
        margin-bottom: 8px;
        list-style-type: '⚡ '; /* Custom bullet point */
        padding-left: 5px;
    }
    
    .query-contact-box {
        text-align: center;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(220, 20, 60, 0.15));
        border: 2px dashed var(--mystical-gold);
    }
    
    .privacy-section p{
        text-align: justify;
    }
    
    .privacy-section p.section-subtitle{
        text-align: center;
    }
    
    .query-contact-box p{
        text-align: center;
    }
    
    /*------------Privacy Policy Css------------*/
    
    
    
    
    /*-----------Refund Policy Css---------------*/
    
      .policy-section {
        padding: 8rem 0 4rem;
        min-height: 100vh;
        background: linear-gradient(135deg, var(--mystical-dark-bg) 0%, var(--mystical-deep-red) 100%);
    }

    .policy-content-wrapper {
        margin-top: 30px;
    }

    .admin-card {
        background-color: var(--color-surface); /* Creamy surface */
        color: var(--color-text); /* Dark text */
        border: 1px solid var(--mystical-gold);
        padding: 30px;
        margin-bottom: 25px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    
    .policy-content-wrapper p{
        text-align: justify;
    }
    
    .policy-heading-alt {
        color: #f3c50d;
        border-bottom: 2px solid var(--mystical-gold);
        padding-bottom: 5px;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .policy-card p {
        color: var(--color-text-secondary);
        font-size: 1.05rem;
    }
    
    .data-use-list li {
        color: var(--color-text-secondary);
        margin-bottom: 8px;
        list-style-type: '⚡ ';
        padding-left: 5px;
    }
    
    /* Refund Box Styling for visual distinction */
    .refund-box {
        padding: 15px;
        margin: 15px 0;
        border-radius: 8px;
        border: 1px solid transparent;
    }
    
    .full-refund-box {
        background-color: rgba(40, 167, 69, 0.1); /* Light Green tint */
        border-color: #50C878;
    }

    .no-refund-box {
        background-color: rgba(220, 20, 60, 0.1); /* Light Red tint */
        border-color: var(--mystical-crimson);
    }
    
    .refund-box h4 {
        margin-top: 0;
        font-size: 1.2rem;
        font-weight: bold;
    }
    
    .query-contact-box {
        text-align: center;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(220, 20, 60, 0.15));
        border: 2px dashed var(--mystical-gold);
    }
    
    
        /*-----------Refund Policy Css---------------*/
        
        
        /*---------------Terms & Conditions-------------*/
        
        
     .section-title {
   
    color: var(--mystical-gold) !important;
}

.policy-content-wrapper {
    margin-top: 30px;
}


.admin-card {
    
    background-color: var(--color-surface); 
    color: var(--color-text); /* Light text */
    border: 1px solid var(--mystical-gold);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); 
}


.policy-heading-alt {
    color: #f3c50d;
    border-bottom: 2px solid var(--mystical-gold);
    padding-bottom: 8px;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
}

/* --- Content Formatting for Readability --- */

.policy-card p {
    /* Secondary text color for the body copy */
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7; /* Increased line height for easy reading of long blocks */
    margin-bottom: 15px; /* Ensure spacing between paragraphs */
    text-align: justify; /* Aligns text left and right for professional look */
}

/* Highlighted Sub-Headings (e.g., Your Warranties, KEY DISCLAIMER POINTS) */
.policy-sub-heading {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--mystical-gold); /* Gold color for sub-sections */
}

/* List Items (for the detailed points in section 4) */
.data-use-list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    color: var(--color-text-secondary);
}

.data-use-list li {
    margin-bottom: 8px;
    list-style-type: disc;
    line-height: 1.6;
}


.disclaimer-warning {
    
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), var(--color-surface)); /* Red accent tint */
    padding: 30px;
}

.disclaimer-warning h3 {
    color:  #f3c50d;
}

.disclaimer-warning h4 {
    color: var(--mystical-crimson);
}
    
            /*---------------Terms & Conditions-------------*/
            
            
            
            
            
            
            
            /*_____________Footer New Css___________*/
            
            .footer-content-three-col {
    display: grid;
    /* Forces 3 columns on large screens, automatically wrapping to 2 or 1 on small screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem 3rem; /* Vertical and horizontal gap */
    margin-bottom: 2rem;
    padding-top: 3rem;
}

.footer-section h4 {
    /* Enhanced styling for section titles */
    color: var(--mystical-gold);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--mystical-crimson);
    padding-left: 10px;
}

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

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

/*.footer-section a {*/
/*    color: var(--color-text-secondary);*/
/*    transition: color 0.3s ease;*/
/*    position: relative;*/
/*    padding-left: 0;*/
/*}*/

.footer-section a:hover {
    color: var(--mystical-gold);
    
}

/* Quote Box Styling */
.footer-quote-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(139, 0, 0, 0.1));
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-heading {
    color: var(--mystical-gold);
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

 
            /*_____________Footer New Css___________*/
            
            
            
            
            
            
            
            
            
            
            /* --- MYSTICAL CONSULTATION JOURNEY SECTION STYLING --- */

#consultation-journey {
    background: linear-gradient(180deg, var(--mystical-deep-red) 0%, var(--mystical-dark-bg) 100%);
    padding: 6rem 0 6rem;
    position: relative;
    color: var(--color-text-secondary);
}

.journey-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 70px;
    position: relative;
}

/* Base Card Styling (Angled for visual interest) */
.journey-step-card {
    background-color: var(--color-surface); /* Dark surface */
    border: 1px solid rgba(255, 215, 0, 0.2); /* Gold border */
    border-radius: 15px;
    padding: 30px 20px 20px 20px;
    width: 300px; 
    max-width: 100%;
    
    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Overlapping/Offset Effect */
    position: relative;
    transform: skewY(-1deg); /* Subtle angle */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.journey-step-card:hover {
    transform: translateY(-8px) scale(1.02) skewY(-1deg);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.25);
}

/* Connective Line between cards (Visible only on desktop/tablet) */
.journey-step-card:not(:nth-child(3n)):not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px; 
    top: 50%;
    width: 30px; 
    height: 3px;
    background: linear-gradient(to right, var(--mystical-crimson), var(--mystical-gold));
    z-index: 0;
    transform: translateY(-50%) skewY(1deg);
    display: block;
}


.step-icon-circle {
    width: 50px;
    height: 50px;
    line-height: 46px;
    border-radius: 50%;
    background: var(--mystical-crimson);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: -26px; 
    position: absolute;
    top: 0;
       border: 3px solid #da9931;
    box-shadow: 0 0 15px #e9b31a;
    transition: transform 0.3s ease;
}

.journey-step-card:hover .step-icon-circle {
     transform: scale(1.1) rotate(-5deg);
}


/* Content Styling */
.step-content {
    margin-top: 15px;
    z-index: 10;
}

.step-content h4 {
    color: var(--mystical-gold);
    font-size: 1.25rem;
    margin: 5px 0;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    font-style: italic;
}

.step-icon-large {
    font-size: 3rem;
    color: var(--mystical-crimson);
    margin-top: 15px;
    opacity: 0.6;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* Reset for single-column mobile view */
@media (max-width: 991px) {
    .journey-grid {
        gap: 50px;
    }
    
    .journey-step-card {
        width: 100%;
        max-width: 400px; /* Limit width on mid-size screens */
        transform: none; /* Remove skew on mobile for simplicity */
        margin-bottom: 20px;
        padding-top: 25px; /* Adjust padding due to icon position */
    }
    
    /* Remove all horizontal connectors on small screens */
    .journey-step-card::after {
        content: none !important; 
    }
    
    /* Reposition icon for cleaner vertical stack */
    .step-icon-circle {
        left: 20px; 
        top: -20px; 
        margin-top: 0;
    }
}


/**--------------Article page css--------------**/

/* --- Root Layout --- */
.luxury-article-container {
    background-color: var(--color-background);
    color: var(--color-text);
    overflow-x: hidden;
}

/* --- Editorial Header --- */
.editorial-header {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-box {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-parallax {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--color-background) 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 10vh;
}

.display-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-top: 1rem;
}

.gold-gradient-text {
    background: linear-gradient(45deg, var(--mystical-gold), #fff, var(--mystical-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s infinite linear;
}

/* --- Reading Canvas --- */
.reading-sanctuary {
    padding: 100px 0;
    position: relative;
}

.reading-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
}

.main-content-canvas {
    max-width: 800px;
}

.article-inner-text {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    font-family: 'FKGroteskNeue', serif;
}

.article-inner-text p {
    margin-bottom: 2.5rem;
    text-align: justify;
}

.article-inner-text h2 {
    color: var(--mystical-gold);
    font-size: 2.5rem;
    margin: 4rem 0 1.5rem;
    font-weight: 700;
}

/* Drop Cap Style */
.article-inner-text > p:first-of-type::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--mystical-gold);
    margin-right: 15px;
    margin-top: 5px;
}

/* --- Sidebar --- */
.sticky-meta {
    position: sticky;
    top: 150px;
}

.author-block {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.author-block .label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--mystical-crimson);
    margin-bottom: 5px;
}

.author-block .value {
    font-weight: 600;
    color: #fff;
}

.share-stack {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.share-icon {
    font-size: 1.2rem;
    color: var(--mystical-gold);
    transition: 0.3s;
}

.share-icon:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* --- Related Section --- */
.luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.luxury-card {
    border-top: 1px solid var(--mystical-gold);
    padding: 30px 0;
    display: block;
    transition: 0.3s;
}

.luxury-card:hover {
    padding-left: 20px;
    background: rgba(255, 215, 0, 0.03);
}

.luxury-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 15px 0;
}

.luxury-cta {
    color: var(--mystical-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Mobile Fixes --- */
@media (max-width: 991px) {
    .reading-grid {
        grid-template-columns: 1fr;
    }
    .reading-sidebar {
        display: none;
    }
    .display-title {
        font-size: 3rem;
    }
    .main-content-canvas {
        padding: 0 20px;
    }
}
    
    