/* ==========================================================================
   Dr. Melvin D'Lima - Mobile-First Responsive Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    /* Fonts */
    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Lato', sans-serif;
    
    /* Layout Constants */
    --container-width: 1200px;
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Light Theme (Default) */
    --color-teal-rgb: 1, 200, 180;
    --color-primary-teal: hsl(174, 99%, 39%);
    --color-primary-blue: hsl(232, 53%, 26%);
    --color-accent: hsl(38, 95%, 55%);
    --color-bg-body: hsl(220, 20%, 97%);
    --color-bg-card: rgba(255, 255, 255, 0.85);
    --color-text-main: hsl(232, 30%, 15%);
    --color-text-muted: hsl(232, 15%, 45%);
    --color-border: rgba(31, 41, 102, 0.08);
    --color-navbar-bg: rgba(255, 255, 255, 0.8);
    --box-shadow-main: 0 10px 25px -5px rgba(31, 41, 102, 0.06);
    --box-shadow-hover: 0 20px 35px -10px rgba(31, 41, 102, 0.12);
    --backdrop-blur: blur(20px);
}

body.theme-dark {
    /* Dark Theme Override */
    --color-teal-rgb: 3, 222, 200;
    --color-primary-teal: hsl(174, 99%, 44%);
    --color-primary-blue: hsl(232, 45%, 42%);
    --color-accent: hsl(38, 100%, 60%);
    --color-bg-body: hsl(232, 50%, 6%);
    --color-bg-card: rgba(16, 21, 51, 0.7);
    --color-text-main: hsl(220, 20%, 92%);
    --color-text-muted: hsl(220, 10%, 68%);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-navbar-bg: rgba(16, 21, 51, 0.8);
    --box-shadow-main: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --box-shadow-hover: 0 20px 35px -10px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   1. Core Reset & Global Mobile-First Settings
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent; /* Smooth mobile tap experience */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Mobile-First Containers */
.container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-main);
}

/* Typography Resizing (Mobile-First Defaults) */
h1 { font-size: 2.2rem; letter-spacing: -0.03em; }
h2 { font-size: 1.8rem; letter-spacing: -0.02em; }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; }

a {
    color: var(--color-primary-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

/* Base Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-teal), var(--color-primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-main);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(var(--color-teal-rgb), 0.1);
    color: var(--color-primary-teal);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(var(--color-teal-rgb), 0.15);
}

/* Mobile-First Large Target Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Full-width buttons on mobile for easy tapping */
    padding: 16px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-teal), var(--color-primary-blue));
    color: white;
    box-shadow: 0 6px 18px -4px rgba(var(--color-teal-rgb), 0.35);
}

.btn-secondary {
    background-color: var(--color-bg-card);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
}

.btn-text {
    background: none;
    color: var(--color-primary-teal);
    padding: 10px 0;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.btn-text i {
    transition: transform var(--transition-fast);
}

.btn-text:hover i {
    transform: translateX(4px);
}

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

.section-center-header .subtitle, .section-header .subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-teal);
    display: block;
    margin-bottom: 0.4rem;
}

.section-center-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 0.8rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.text-center { text-align: center; }
.d-none { display: none !important; }

/* ==========================================================================
   2. Sticky Mobile-First Navigation Header
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-navbar-bg);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
    padding: 14px 0;
    transition: padding var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--box-shadow-main);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
}

/* Full Screen Slide-Down Mobile Drawer Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    z-index: 1009;
    transition: right var(--transition-smooth);
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.nav-link.active, .nav-link:hover {
    color: var(--color-primary-teal);
}

.nav-link.contact-btn {
    border: 2px solid var(--color-primary-teal);
    border-radius: var(--border-radius-sm);
    color: var(--color-primary-teal);
    margin-top: 15px;
    padding: 12px;
}

.nav-link.contact-btn:hover {
    background-color: var(--color-primary-teal);
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1011;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--color-text-main);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.menu-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.menu-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   3. Mobile-First Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 110px 0 50px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: radial-gradient(circle, rgba(var(--color-teal-rgb), 0.15) 0%, rgba(var(--color-teal-rgb), 0) 70%);
    filter: blur(50px);
    z-index: -1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.hero-visual {
    order: -1; /* Official Headshot is FIRST element seen on Mobile */
    max-width: 280px;
    margin: 0 auto;
}

.visual-card {
    position: relative;
}

.hero-img {
    border-radius: 50%; /* Gorgeous modern circular headshot for mobile profile layout */
    border: 4px solid var(--color-bg-card);
    box-shadow: var(--box-shadow-hover);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.experience-card {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-main);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary-teal);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: left;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   4. Mobile Swiper Quick Information Banner
   ========================================================================== */
.quick-info-banner {
    padding: 24px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
}

.banner-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 44px;
    height: 44px;
    background-color: rgba(var(--color-teal-rgb), 0.1);
    color: var(--color-primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
}

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

.info-text .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.info-text .value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* ==========================================================================
   5. About Section
   ========================================================================== */
.about-section {
    padding: 60px 0;
    background-color: var(--color-bg-body);
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-image-wrapper {
    display: none; /* Hide decorative duplicates on mobile to save vertical space */
}

.about-content .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
    text-align: justify;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 2rem 0;
}

.grid-item {
    display: flex;
    gap: 14px;
}

.grid-item i {
    color: var(--color-primary-teal);
    font-size: 1.1rem;
    margin-top: 3px;
}

.grid-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.grid-item p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--box-shadow-main);
}

.social-links a:active {
    background-color: var(--color-primary-teal);
    color: white;
    border-color: var(--color-primary-teal);
}

/* ==========================================================================
   6. Services Section (Premium Mobile Dashboard UI)
   ========================================================================== */
.services-section {
    padding: 60px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    box-shadow: var(--box-shadow-main);
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2rem;
    color: var(--color-primary-teal);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Testimonial Showcase Styling */
.testimonials-container {
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}

.testimonials-title {
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--box-shadow-main);
}

.testimonial-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.testimonial-user strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.testimonial-user span {
    font-size: 0.75rem;
    color: var(--color-primary-teal);
    font-weight: 700;
}

.t-link {
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==========================================================================
   7. Events & Mobile-first Anxiety scale Calculator
   ========================================================================== */
.events-section {
    padding: 60px 0;
    background-color: var(--color-bg-body);
}

.events-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.news-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 2px;
    height: calc(100% - 12px);
    background: linear-gradient(180deg, var(--color-primary-teal), var(--color-border));
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -24px;
    width: 6px;
    height: 6px;
    background-color: var(--color-bg-body);
    border: 3px solid var(--color-primary-teal);
    border-radius: 50%;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    display: block;
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.partner-logos-showcase h5 {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    border-radius: var(--border-radius-sm);
}

/* Premium Mobile Anxiety Form */
.anxiety-calculator-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--box-shadow-main);
    backdrop-filter: var(--backdrop-blur);
}

.calc-header i {
    font-size: 2rem;
    color: var(--color-primary-teal);
    margin-bottom: 12px;
}

.calc-header h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.calc-header p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.mdas-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.mdas-q {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.mdas-q label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* Touch-optimized options stack for mobile screens */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    gap: 12px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.radio-label input[type="radio"] {
    accent-color: var(--color-primary-teal);
    width: 18px;
    height: 18px;
}

.radio-label.checked {
    background-color: rgba(var(--color-teal-rgb), 0.1);
    border-color: var(--color-primary-teal);
    color: var(--color-primary-teal);
}

.mdas-result {
    text-align: center;
    padding: 16px 0;
}

.result-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-teal);
    margin: 12px 0;
}

.mdas-result p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   8. Poems Section
   ========================================================================== */
.poems-section {
    padding: 60px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.poems-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.poem-card {
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    box-shadow: var(--box-shadow-main);
    text-align: center;
}

.poem-icon {
    font-size: 1.8rem;
    color: var(--color-primary-teal);
    margin-bottom: 12px;
    display: inline-block;
}

.poem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.poem-excerpt {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================================================
   9. Blogs Section
   ========================================================================== */
.blogs-section {
    padding: 60px 0;
    background-color: var(--color-bg-body);
}

.blog-filters-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary-teal);
}

.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto; /* Swipe-to-filter capability on mobile */
    padding-bottom: 6px;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbars */
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
    scroll-snap-align: start;
}

.chip.active {
    background-color: var(--color-primary-teal);
    border-color: var(--color-primary-teal);
    color: white;
}

.blogs-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-main);
    display: flex;
    flex-direction: column;
}

.blog-image {
    position: relative;
    height: 180px;
}

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

.blog-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-primary-teal);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    display: block;
}

.blog-body h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.blog-body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */
.contact-section {
    padding: 60px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.method-card {
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.method-card .icon-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.method-card h5 {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.method-card a, .method-card p {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
    word-break: break-all; /* Prevent email wrap issues */
}

.contact-form-panel {
    background-color: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--box-shadow-main);
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-teal);
}

.contact-success {
    text-align: center;
    padding: 24px 0;
}

.contact-success i {
    font-size: 3rem;
    color: var(--color-primary-teal);
    margin-bottom: 16px;
}

.contact-success h3 {
    font-size: 1.4rem;
}

.contact-success p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   11. Footer Layout
   ========================================================================== */
.footer {
    background-color: hsl(232, 50%, 8%);
    color: hsl(220, 10%, 80%);
    padding: 50px 0 0 0;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 44px;
    align-self: flex-start;
}

.brand-desc {
    font-size: 0.85rem;
    color: hsl(220, 10%, 70%);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: hsl(220, 10%, 70%);
    font-size: 0.85rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    font-size: 0.85rem;
    display: flex;
    gap: 10px;
    color: hsl(220, 10%, 70%);
}

.footer-contact i {
    color: var(--color-primary-teal);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-bottom .copyright {
    font-size: 0.75rem;
    color: hsl(220, 10%, 60%);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.legal-links a {
    color: hsl(220, 10%, 60%);
    font-size: 0.75rem;
}

/* ==========================================================================
   12. Premium Mobile-First Bottom-Sheet Reader Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-end; /* Mobile Bottom-Sheet Positioning */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-height: 92vh; /* Tall sliding card sheet */
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(100%); /* Slides up from bottom beautifully */
    transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-scroll-content {
    overflow-y: auto;
    max-height: 92vh;
}

.modal-header-image {
    position: relative;
    height: 180px;
    width: 100%;
}

.modal-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-blog-tag {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background-color: var(--color-primary-teal);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.modal-body-content {
    padding: 24px 20px;
    background-color: var(--color-bg-body);
}

.modal-blog-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.modal-body-content h2 {
    font-size: 1.45rem;
    margin-bottom: 16px;
}

.modal-blog-body {
    font-size: 0.9rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

.modal-blog-body p {
    margin-bottom: 14px;
}

.modal-blog-body h3, .modal-blog-body h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.modal-blog-body ul, .modal-blog-body ol {
    margin-left: 20px;
    margin-bottom: 14px;
}

.modal-blog-body li {
    margin-bottom: 6px;
}

/* Poem Custom Modal Styles */
.poem-modal-icon {
    font-size: 2rem;
    color: var(--color-primary-teal);
    margin-bottom: 12px;
    display: inline-block;
}

.poem-title-styled {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.poem-body-styled {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    white-space: pre-line;
}


/* ==========================================================================
   13. Tablet Breakpoint & Upward Scaling (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Container settings */
    .container {
        width: 85%;
    }
    
    /* Typography */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Global Elements */
    .btn {
        width: auto; /* Inline buttons for larger screens */
    }
    
    /* Navigation Adjustments */
    .menu-hamburger {
        display: none; /* Hide drawer toggle on tablet/desktop */
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        padding: 0;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-text-muted);
        padding: 6px 0;
        border-bottom: none;
        width: auto;
    }
    
    .nav-link.active, .nav-link:hover {
        color: var(--color-primary-teal);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary-teal), var(--color-primary-blue));
        transition: width var(--transition-fast);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
    
    .nav-link.contact-btn {
        border: 1px solid var(--color-primary-teal);
        border-radius: var(--border-radius-sm);
        padding: 8px 16px;
        margin-top: 0;
    }
    
    .nav-link.contact-btn::after {
        display: none;
    }
    
    /* Hero section grid */
    .hero-section {
        padding: 140px 0 70px 0;
    }
    
    .hero-container {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        text-align: left;
        align-items: center;
    }
    
    .hero-bg-gradient {
        width: 60%;
        height: 80%;
        top: -10%;
        right: -10%;
        filter: blur(80px);
    }
    
    .hero-visual {
        order: 1; /* Reset headshot order for desk layout */
        max-width: 100%;
    }
    
    .hero-img {
        border-radius: var(--border-radius-lg); /* Rounded box profile framing on desktop */
    }
    
    .experience-card {
        left: -20px;
        bottom: 20px;
        transform: none;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    /* Quick info banner slider converts to horizontal grid row */
    .banner-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    /* About image returns on larger viewports */
    .about-container {
        display: grid;
        grid-template-columns: 0.95fr 1.05fr;
        gap: 50px;
        align-items: center;
    }
    
    .about-image-wrapper {
        display: block;
    }
    
    
    .about-img {
        border-radius: var(--border-radius-lg);
        box-shadow: var(--box-shadow-main);
    }
    
    .about-content .section-header {
        text-align: left;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 20px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    /* Services layouts scale up */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    /* Timeline expands spacing */
    .news-timeline {
        padding-left: 24px;
    }
    .timeline-item::before {
        left: -28px;
    }
    
    /* Calculator stack layout */
    .events-layout-grid {
        display: grid;
        grid-template-columns: 1fr 1.05fr;
        gap: 40px;
        align-items: start;
    }
    
    .options-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    
    .radio-label {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 0.72rem;
        padding: 10px 4px;
    }
    
    .radio-label input[type="radio"] {
        margin: 0;
    }
    
    /* Poems Section Grid styling */
    .poems-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    /* Blogs & Filter systems */
    .blog-filters-bar {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .blogs-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Contact Page layouts */
    .contact-container {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        gap: 40px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    /* Footer elements scaling */
    .footer-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
        gap: 30px;
    }
    
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Modals convert from bottom drawers into elegant centered floating sheets */
    .modal-overlay {
        align-items: center; /* Center sheet */
    }
    
    .modal-card {
        max-width: 780px;
        max-height: 85vh;
        border-radius: var(--border-radius-md);
        box-shadow: var(--box-shadow-hover);
        transform: translateY(30px);
    }
    
    .modal-overlay.active .modal-card {
        transform: translateY(0);
    }
    
    .modal-scroll-content {
        max-height: 85vh;
    }
    
    .modal-header-image {
        height: 260px;
    }
    
    .modal-body-content {
        padding: 36px 44px;
    }
    
    .modal-body-content h2 {
        font-size: 1.8rem;
    }
    
    .modal-blog-body {
        font-size: 1rem;
    }
}

/* ==========================================================================
   14. Ultra Premium Large Desktop Enhancements (min-width: 1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    .container {
        width: 90%;
        max-width: var(--container-width);
    }
    
    /* Desktop typography scale boost */
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.3rem; }
    h3 { font-size: 1.6rem; }
    
    .hero-section {
        padding: 160px 0 90px 0;
    }
    
    .hero-container {
        gap: 60px;
    }
    
    .hero-img {
        max-height: 480px;
        width: 100%;
        object-fit: cover;
    }
    
    .experience-card {
        left: -35px;
        bottom: 30px;
        padding: 16px 24px;
    }
    
    .exp-number {
        font-size: 2.2rem;
    }
    
    .exp-text {
        font-size: 0.85rem;
    }
    
    .quick-info-banner {
        padding: 30px 0;
    }
    
    .about-section {
        padding: 100px 0;
    }
    
    .about-container {
        gap: 80px;
    }
    
    .about-text {
        font-size: 1.05rem;
    }
    
    .services-section {
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .testimonials-container {
        padding-top: 60px;
        margin-top: 60px;
    }
    
    .testimonials-grid {
        gap: 32px;
    }
    
    .testimonial-card {
        padding: 32px;
    }
    
    .events-section {
        padding: 100px 0;
    }
    
    .events-layout-grid {
        gap: 64px;
    }
    
    .anxiety-calculator-card {
        padding: 40px;
    }
    
    .poems-section {
        padding: 100px 0;
    }
    
    .poems-layout {
        gap: 32px;
    }
    
    .poem-card {
        padding: 40px;
    }
    
    .blogs-section {
        padding: 100px 0;
    }
    
    .blogs-grid {
        gap: 32px;
    }
    
    .blog-image {
        height: 230px;
    }
    
    .blog-body {
        padding: 32px;
    }
    
    .blog-body h3 {
        font-size: 1.3rem;
    }
    
    .contact-section {
        padding: 100px 0;
    }
    
    .contact-container {
        gap: 64px;
    }
    
    .contact-form-panel {
        padding: 48px;
    }
}

/* ==========================================================================
   15. Floating WhatsApp Widget with Concentric Pulse Animations
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1999;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Concentric Pulse Rings */
.whatsapp-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transform: scale(1);
    animation: whatsappPulse 2.4s cubic-bezier(0.25, 0, 0, 1) infinite;
}

.whatsapp-pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

.whatsapp-pulse-ring:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .whatsapp-widget {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
}

/* Digital Ticking & Moving Border Animation for the Events menu link */
.events-link-ticking {
    position: relative;
    padding: 6px 14px !important;
    margin: 0 4px;
    z-index: 1;
    animation: digitalTick 1s infinite;
}

.events-link-ticking::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    /* Dual background clipping: inner content fills with nav background, border glows with moving gradient */
    background: linear-gradient(var(--color-navbar-bg), var(--color-navbar-bg)) padding-box,
                linear-gradient(135deg, #FF6B00 0%, transparent 35%, #FF6B00 50%, transparent 85%, #FF6B00 100%) border-box;
    background-size: 100% 100%, 200% 200%;
    pointer-events: none;
    z-index: -1;
    animation: borderGradientMove 2s linear infinite, digitalTickBorder 1s infinite;
}

@keyframes borderGradientMove {
    0% {
        background-position: 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 200% 200%;
    }
}

@keyframes digitalTickBorder {
    0%, 49.9% {
        opacity: 0;
    }
    50%, 100% {
        opacity: 1;
    }
}

@keyframes digitalTick {
    0%, 49.9% {
        /* Keep default theme/hover color during first half-second */
        text-shadow: none;
    }
    50%, 100% {
        color: #FF6B00 !important;
        text-shadow: 0 0 8px rgba(255, 107, 0, 0.8);
    }
}

/* ==========================================================================
   X. Video Advert Widget Styling (Responsive Dual Mode)
   ========================================================================== */
.video-advert-widget {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0 auto;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-main);
    backdrop-filter: var(--backdrop-blur);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), box-shadow var(--transition-smooth);
    z-index: 100;
    opacity: 1;
}

.video-advert-widget.dismissed {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9) translateY(20px);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    background-color: #ffffff;
}

.widget-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-badge i {
    font-size: 0.85rem;
}

.widget-close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.widget-close-btn:hover {
    color: #DC2626;
    transform: scale(1.1);
}

.widget-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.widget-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widget-mute-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
}

.widget-mute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
}

.widget-body {
    padding: 14px 16px;
}

.widget-body h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--color-text-main);
}

.widget-body p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin: 0;
}

/* Slide in animation for desktop floating view */
@keyframes slideInLeft {
    from {
        transform: translateX(-120%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Desktop Styles - Reflow to Floating Card */
@media (min-width: 768px) {
    .video-advert-widget {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 310px;
        margin: 0;
        z-index: 999;
        box-shadow: var(--box-shadow-hover);
        animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
    
    .video-advert-widget:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 45px -12px rgba(31, 41, 102, 0.2);
    }
    
    .video-advert-widget.dismissed {
        transform: translateX(-350px) scale(0.9) !important;
    }
}

/* ==========================================================================
   BLOG ADMIN BACKEND STYLES (Dr. Melvin D'Lima Portal)
   ========================================================================== */

/* Body & Layout */
.admin-body {
    background-color: #080c16;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Helper Utilities */
.d-none { display: none !important; }
.req { color: #ef4444; }

/* Auth Overlay Screen */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #111827 0%, #030712 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.auth-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #01dfc9, #0284c7);
    color: #080c16;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.auth-brand h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px 0;
}

.auth-brand p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.auth-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-footer p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

.auth-footer code {
    background: rgba(255, 255, 255, 0.1);
    color: #01dfc9;
    padding: 2px 6px;
    border-radius: 4px;
}

.back-link {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #01dfc9;
}

/* Admin Container & Sidebar */
.admin-app-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #0b1120;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #01dfc9;
}

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

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #f8fafc;
}

.brand-title {
    font-size: 0.75rem;
    color: #01dfc9;
    font-weight: 500;
}

.sidebar-nav {
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, rgba(1, 223, 201, 0.15), rgba(2, 132, 199, 0.15));
    color: #01dfc9;
    border-left: 3px solid #01dfc9;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.user-info strong {
    display: block;
    color: #f8fafc;
}

.user-info small {
    color: #64748b;
}

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 30px;
    max-width: 1200px;
}

/* Topbar Header */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-title h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.bg-navy { background: linear-gradient(135deg, #1e293b, #0f172a); }
.bg-emerald { background: linear-gradient(135deg, #059669, #10b981); }
.bg-gold { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-purple { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }

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

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Panels & Cards */
.panel {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.5);
}

.panel-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0;
}

.panel-body {
    padding: 24px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.col-4 { flex: 4; }
.col-6 { flex: 6; }
.col-8 { flex: 8; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-control {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #01dfc9;
    box-shadow: 0 0 0 3px rgba(1, 223, 201, 0.15);
}

.form-hint {
    font-size: 0.75rem;
    color: #64748b;
}

/* Image Dropzone & Preview */
.image-upload-wrapper {
    background: #1e293b;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.upload-dropzone {
    cursor: pointer;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: #01dfc9;
    background: rgba(1, 223, 201, 0.05);
}

.upload-icon {
    font-size: 2.2rem;
    color: #01dfc9;
    margin-bottom: 10px;
}

.upload-dropzone p {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.upload-hint {
    font-size: 0.75rem;
    color: #64748b;
}

.upload-preview-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.upload-preview-container img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-preview-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.img-filename {
    font-family: monospace;
    font-size: 0.85rem;
    color: #01dfc9;
}

/* Editor Toolbar */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #1e293b;
    padding: 8px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.toolbar-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toolbar-btn:hover {
    background: #01dfc9;
    color: #080c16;
}

.code-editor {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Buttons */
.btn-block { width: 100%; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; border-radius: 6px; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; border-radius: 8px; }

.btn-primary {
    background: linear-gradient(135deg, #01dfc9, #0284c7);
    color: #080c16;
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(1, 223, 201, 0.4);
}

.btn-secondary {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-secondary:hover { background: #334155; }

.btn-outline-danger {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    cursor: pointer;
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: #fff;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Admin Tables */
.table-responsive { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.admin-table th {
    background: rgba(30, 41, 59, 0.5);
    color: #94a3b8;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.table-thumb {
    width: 50px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}

.table-excerpt-preview {
    font-size: 0.78rem;
    color: #64748b;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-gold { background: rgba(212, 175, 55, 0.15); color: #f39c12; border: 1px solid rgba(212, 175, 55, 0.3); }
.badge-navy { background: rgba(30, 58, 138, 0.3); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }

.action-btn-group {
    display: flex;
    gap: 6px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-toast {
    background: #0f172a;
    border-left: 4px solid #01dfc9;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    color: #f8fafc;
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.toast-success { border-left-color: #10b981; }
.toast-danger { border-left-color: #ef4444; }
.toast-warning { border-left-color: #f59e0b; }
.toast-info { border-left-color: #01dfc9; }

/* Strategy Callout Box in Blog Articles */
.strategy-callout-box {
    background: linear-gradient(135deg, rgba(1, 223, 201, 0.08), rgba(2, 132, 199, 0.08));
    border-left: 4px solid #01dfc9;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.strategy-callout-box h4 {
    margin: 0 0 6px 0;
    color: #01dfc9;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .admin-sidebar { width: 70px; }
    .brand-text, .sidebar-nav span, .user-info div { display: none; }
    .admin-main { margin-left: 70px; padding: 16px; }
    .form-row { flex-direction: column; }
}


