/* ============================================================
   SiteBuilder V3 - Frontend Site Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --primary-rgb: 59, 130, 246;
    --secondary: #1E3A5F;
    --secondary-hover: #163152;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --dark: #1E3A5F;
    --dark-rgb: 30, 58, 95;
    --light: #EFF6FF;
    --white: #ffffff;
    --text: #1E3A5F;
    --text-muted: #64748B;
    --border-color: #BFDBFE;
    --font-heading: 'Cairo', 'Tajawal', 'Inter', sans-serif;
    --font-body: 'Cairo', 'Tajawal', 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
    --shadow-lg: 0 8px 30px rgba(37, 99, 235, 0.12);
    --transition: 0.3s ease;
    --container-max: 1200px;
    --section-padding: 80px;

    /* Light Blue Theme Colors */
    --bg-body: #F5F9FF;
    --bg-section: #F0F6FF;
    --bg-section-alt: #E8F1FF;
    --bg-card: #ffffff;
    --bg-header: rgba(245,249,255,0.97);
    --bg-topbar: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --bg-footer: #1E3A5F;
    --hero-bg: linear-gradient(135deg, #1E3A5F 0%, #2563EB 50%, #3B82F6 100%);
    --card-border: #D4E4FC;
    --card-shadow: 0 2px 12px rgba(59, 130, 246, 0.06);
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--dark);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin: 0 0 16px;
}

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

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Smart Image Enhancement - applies to all images site-wide */
.hero-slide { filter: brightness(1.03) contrast(1.05) saturate(1.08); }
.news-image, .gallery-item img, .content-text img, .ev-card img { filter: brightness(1.02) contrast(1.04) saturate(1.06); }
.team-photo { filter: brightness(1.05) contrast(1.08); }
img[loading="lazy"] { filter: brightness(1.01) contrast(1.03) saturate(1.04); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--bg-topbar);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid #60A5FA;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: #fff;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social {
    display: flex;
    gap: 8px;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.top-bar-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-switcher {
    position: relative;
}

.language-switcher select {
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 4px 28px 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23fff' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition);
}

.site-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Main navbar */
.navbar.sticky-top {
    padding: 8px 0;
    min-height: 64px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    position: relative;
}

.navbar-nav li > a,
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text, #1e293b);
    border-radius: var(--border-radius);
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.navbar-nav li > a:hover,
.navbar-nav li > a.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb, 59,130,246), 0.08);
}

/* Dropdown */
.navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
    z-index: 1050;
}

.navbar-nav li:hover > .navbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}

.navbar-dropdown li a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--text);
}

.navbar-dropdown li a:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}

/* Bootstrap dropdown overrides */
.navbar .dropdown-menu {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,.14);
    padding: 10px 0;
    min-width: 260px;
    animation: dropdownFadeIn 0.25s ease;
    margin-top: 8px;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
    padding: 12px 22px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #1e293b);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    border-radius: 0;
}

.navbar .dropdown-item:hover {
    background: rgba(var(--primary-rgb, 59,130,246), 0.08);
    color: var(--primary, #2563eb);
    padding-right: 18px;
}

.navbar .dropdown-item i {
    color: var(--primary, #2563eb);
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
    border-top-width: 5px;
    border-right-width: 5px;
    border-left-width: 5px;
}

/* Navbar brand */
.navbar-brand img {
    height: 44px !important;
}

/* Dark mode dropdown */
html.dark-mode .navbar .dropdown-menu {
    background: var(--bg-card, #1e293b);
    border-color: var(--card-border, #334155);
}

html.dark-mode .navbar .dropdown-item {
    color: var(--text-body, #e2e8f0);
}

html.dark-mode .navbar .dropdown-item:hover {
    background: rgba(255,255,255,.08);
    color: var(--primary);
}

/* Mega menu */
.navbar-mega {
    min-width: 600px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Mobile toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.25s;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--btn-radius, var(--border-radius));
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.site-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.site-section.bg-light {
    background: var(--light);
}

.site-section.bg-dark {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
}

.site-section.bg-dark h1,
.site-section.bg-dark h2,
.site-section.bg-dark h3,
.site-section.bg-dark h4 {
    color: #fff;
}

.site-section.bg-primary {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
}

.site-section.bg-primary h1,
.site-section.bg-primary h2,
.site-section.bg-primary h3 {
    color: #fff;
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--dark-rgb), 0.55);
    z-index: 1;
}

.site-section > .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 17px;
    margin: 0;
}

.section-header .section-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.section-hero {
    min-height: auto;
    height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg-screens.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Hero containers must not clip absolute screens */
.section-hero .container,
.section-hero .row,
.section-hero [class*="col-"] {
    position: static !important;
    overflow: visible !important;
}

/* Real screenshots floating in hero background */
.section-hero .hero-screen {
    position: absolute !important;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
    overflow: hidden;
    z-index: 1 !important;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}
.section-hero .hero-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}
/* Screen 1 - left, tilted */
.hero-screen-1 {
    width: 400px;
    height: 260px;
    top: 30px;
    left: 20px;
    transform: perspective(1200px) rotateY(20deg) rotateX(-3deg);
    opacity: 0.22;
}
/* Screen 2 - right, tilted */
.hero-screen-2 {
    width: 400px;
    height: 260px;
    top: 20px;
    right: 20px;
    transform: perspective(1200px) rotateY(-20deg) rotateX(-3deg);
    opacity: 0.22;
}
/* Screen 3 - bottom center-left */
.hero-screen-3 {
    width: 360px;
    height: 240px;
    bottom: 20px;
    left: 80px;
    transform: perspective(1200px) rotateY(15deg) rotateX(5deg);
    opacity: 0.15;
}
/* Mobile mockup frame */
.hero-screen-mobile {
    width: 150px;
    height: 280px;
    bottom: 20px;
    right: 100px;
    transform: perspective(1200px) rotateY(-12deg) rotateX(3deg);
    opacity: 0.2;
    border-radius: 24px;
    border: 3px solid rgba(255,255,255,0.12);
}
.hero-screen-mobile::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    z-index: 2;
}
@media (max-width: 992px) {
    .hero-screen-1 { width: 300px; height: 200px; left: -100px; opacity: 0.12; }
    .hero-screen-2 { width: 300px; height: 200px; right: -100px; opacity: 0.12; }
    .hero-screen-3 { display: none; }
    .hero-screen-mobile { display: none; }
}
@media (max-width: 576px) {
    .hero-screen { display: none; }
}

.section-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    z-index: 2;
}

.section-hero .hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.section-hero .hero-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: heroScroll 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
}

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

/* ============================================================
   2. FEATURES SECTION
   ============================================================ */
.section-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Unified Card Style - applies to all cards */
.feature-card,
.testimonial-card,
.team-card,
.news-card,
.pricing-card,
.event-card,
.stat-item {
    border-radius: 20px;
}

.section-features,
.section-testimonials,
.section-team,
.section-news,
.section-events,
.section-stats,
.section-pricing {
    /* Soft colored backgrounds for full-width sections */
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    padding: 40px 28px 36px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent, var(--secondary)));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon,
.feature-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--primary-rgb), 0.04));
    color: var(--primary);
    font-size: 28px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon,
.feature-card:hover .feature-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

.feature-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.feature-card .btn {
    margin-top: 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 28px;
}

/* ============================================================
   3. CONTENT SECTION
   ============================================================ */
.section-content .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.content-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.content-text h2 {
    margin-bottom: 16px;
}

.content-text p {
    color: var(--text-muted);
    font-size: 16px;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
}

.content-text ul li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   4. GALLERY SECTION
   ============================================================ */
.section-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--dark-rgb), 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 32px;
    color: #fff;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   5. CTA SECTION
   ============================================================ */
.section-cta {
    text-align: center;
}

.cta-banner,
.cta-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.section-cta h2 {
    color: inherit;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta .btn {
    border-radius: var(--btn-radius, 50px);
    font-weight: 700;
    padding: 14px 36px;
    font-size: 1rem;
    transition: all 0.3s;
}

.section-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   6. TESTIMONIALS SECTION
   ============================================================ */
.section-testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
    transition: all 0.35s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.testimonial-card::before {
    content: "\201C";
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(var(--primary-rgb), 0.15);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    margin-bottom: 2px;
    font-size: 16px;
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ============================================================
   7. TEAM SECTION
   ============================================================ */
.section-team .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    padding-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.team-card-image {
    position: relative;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.4s;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    transform: translateY(100%);
    transition: transform 0.3s;
}

.team-card:hover .team-card-social {
    transform: translateY(0);
}

.team-card-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    transition: all 0.2s;
}

.team-card-social a:hover {
    background: var(--primary);
    color: #fff;
}

.team-card-info {
    padding: 20px;
}

.team-card-info h4 {
    margin-bottom: 4px;
    font-size: 18px;
}

.team-card-info span {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================================
   8. PRICING SECTION
   ============================================================ */
.section-pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.pricing-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pricing-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.pricing-price .currency {
    font-size: 24px;
    vertical-align: super;
    font-weight: 600;
}

.pricing-price .period {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

/* ============================================================
   9. FAQ SECTION
   ============================================================ */
.section-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item.active {
    box-shadow: var(--shadow);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark);
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

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

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   10. CONTACT SECTION
   ============================================================ */
.section-contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
}

.contact-info-item .icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 20px;
}

.contact-info-item h5 {
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================================
   11. STATS SECTION
   ============================================================ */
.section-stats {
    background: var(--dark);
    color: #fff;
}

.section-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 28px 20px;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-number .counter-suffix {
    font-size: 2rem;
}

.stat-label {
    font-size: 15px;
    opacity: 0.85;
    font-weight: 500;
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--primary);
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-item.animated {
    animation: countUp 0.6s ease forwards;
}

/* ============================================================
   12. VIDEO SECTION
   ============================================================ */
.section-video .video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper .video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-play-btn i {
    font-size: 28px;
    color: var(--primary);
    margin-left: 4px;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   13. NEWS SECTION
   ============================================================ */
.section-news .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-card-body {
    padding: 24px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-card-meta i {
    margin-right: 4px;
}

.news-card-body h4 {
    margin-bottom: 10px;
    font-size: 19px;
}

.news-card-body h4 a {
    color: var(--dark);
}

.news-card-body h4 a:hover {
    color: var(--primary);
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-weight: 600;
    font-size: 14px;
}

/* ============================================================
   14. EVENTS SECTION
   ============================================================ */
.section-events .events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    align-items: center;
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateX(4px);
}

.event-date-box {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--border-radius);
    padding: 12px 8px;
}

.event-date-box .day {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.event-date-box .month {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 4px;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    margin-bottom: 6px;
    font-size: 18px;
}

.event-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.event-meta i {
    margin-right: 4px;
}

/* ============================================================
   15. TABLE SECTION
   ============================================================ */
.section-table .table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.section-table thead th {
    background: var(--dark);
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.section-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.section-table tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.03);
}

.section-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   16. MAP SECTION
   ============================================================ */
.section-map .map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.section-map .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.section-map.full-width .map-wrapper {
    border-radius: 0;
}

/* ============================================================
   17. TIMELINE SECTION
   ============================================================ */
.section-timeline .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

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

.timeline-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    width: 100%;
}

.timeline-content .timeline-date {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h4 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   18. COLUMNS SECTION
   ============================================================ */
.section-columns .columns-grid {
    display: grid;
    gap: 30px;
}

.section-columns .columns-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.section-columns .columns-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.section-columns .columns-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   19. TABS SECTION
   ============================================================ */
.section-tabs .tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    gap: 0;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-heading);
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

/* ============================================================
   20. CUSTOM SECTION
   ============================================================ */
.section-custom {
    /* Custom sections inherit base section styles */
}

.section-custom .custom-html {
    line-height: 1.7;
}

.section-custom .custom-html img {
    border-radius: var(--border-radius);
}

/* ============================================================
   ALIGNMENT HELPERS
   ============================================================ */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.align-h-left {
    display: flex;
    justify-content: flex-start;
}

.align-h-center {
    display: flex;
    justify-content: center;
}

.align-h-right {
    display: flex;
    justify-content: flex-end;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.6s ease forwards;
}

.animate-slideLeft {
    animation: slideLeft 0.6s ease forwards;
}

.animate-slideRight {
    animation: slideRight 0.6s ease forwards;
}

.animate-zoomIn {
    animation: zoomIn 0.5s ease forwards;
}

/* Scroll-triggered animation base */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fadeIn"] { opacity: 0; }
[data-animate="slideUp"] { transform: translateY(40px); }
[data-animate="slideLeft"] { transform: translateX(40px); }
[data-animate="slideRight"] { transform: translateX(-40px); }
[data-animate="zoomIn"] { transform: scale(0.85); }

[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 18px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.cookie-banner p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-accept-btn:hover {
    background: var(--primary-hover);
}

.cookie-decline-btn {
    padding: 10px 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-decline-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ============================================================
   POPUP OVERLAY
   ============================================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.popup-body {
    padding: 40px 32px;
}

.popup-image {
    width: 100%;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: block;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text);
    padding: 10px 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   SOCIAL SHARE BAR
   ============================================================ */
.social-share-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9980;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.social-share-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 18px;
    transition: all 0.2s;
    text-decoration: none;
}

.social-share-bar a:hover {
    width: 52px;
}

.social-share-bar .share-facebook { background: #1877f2; }
.social-share-bar .share-twitter { background: #1da1f2; }
.social-share-bar .share-linkedin { background: #0077b5; }
.social-share-bar .share-whatsapp { background: #25d366; }
.social-share-bar .share-email { background: #6c757d; }
.social-share-bar .share-pinterest { background: #e60023; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 60px 0 0;
}

/* Footer Dark */
.site-footer.footer-dark {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.site-footer.footer-dark h4,
.site-footer.footer-dark h5 {
    color: #fff;
}

.site-footer.footer-dark a {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer.footer-dark a:hover {
    color: #fff;
}

/* Footer Light */
.site-footer.footer-light {
    background: var(--light);
    color: var(--text);
}

.site-footer.footer-light a {
    color: var(--text-muted);
}

.site-footer.footer-light a:hover {
    color: var(--primary);
}

/* Footer Colored */
.site-footer.footer-colored {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.site-footer.footer-colored h4,
.site-footer.footer-colored h5 {
    color: #fff;
}

.site-footer.footer-colored a {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer.footer-colored a:hover {
    color: #fff;
}

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

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.footer-links li a:hover {
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.2s;
}

.site-footer.footer-dark .footer-social a {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
}

.site-footer.footer-dark .footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.site-footer.footer-light .footer-social a {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
}

.site-footer.footer-light .footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter button {
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.footer-newsletter button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.site-footer.footer-light .footer-bottom {
    border-top-color: var(--border-color);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }

    .section-hero .hero-content h1 {
        font-size: 42px;
    }

    /* Navbar mobile */
    .navbar-toggle {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 70px 20px 20px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1040;
    }

    .navbar-nav.open {
        right: 0;
    }

    .navbar-nav li > a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        background: var(--light);
    }

    .navbar-mega {
        grid-template-columns: 1fr;
        min-width: auto;
        padding: 8px;
    }

    .navbar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1035;
        display: none;
    }

    .navbar-nav.open ~ .navbar-backdrop {
        display: block;
    }

    /* Content sections */
    .section-content .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 52px;
        padding-right: 0;
    }

    .timeline-item::before,
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 12px;
        right: auto;
    }

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

    /* Social share bar */
    .social-share-bar {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
    }

    .social-share-bar a {
        flex: 1;
        height: 40px;
    }

    .social-share-bar a:hover {
        width: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .section-hero {
        min-height: auto;
        height: 480px;
    }

    .section-hero .hero-content h1 {
        font-size: 34px;
    }

    .section-hero .hero-content p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-pricing .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-testimonials .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        display: none;
    }

    .section-columns .columns-grid.cols-3,
    .section-columns .columns-grid.cols-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px;
    }

    .container {
        padding: 0 12px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 23px; }

    .section-hero .hero-content h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .pricing-price {
        font-size: 40px;
    }

    .section-columns .columns-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 60px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   ALL DAY/NIGHT COLORS ARE GENERATED BY GetThemeCSS
   Only static UI elements below
   ============================================================ */

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-toggle-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #FCD34D;
    transform: rotate(15deg);
}

/* Mobile dark menu now handled by GetThemeCSS */

/* ============================================================
   LANGUAGE SWITCHER (DB-driven from tbl_Languages, rendered as <a> in .lang-switcher)
   High-contrast yellow pills — always visible regardless of toolbar bg
   ============================================================ */
.lang-switcher{display:inline-flex;gap:4px;align-items:center;background:rgba(250,204,21,.10);border:1px solid rgba(250,204,21,.45);padding:3px;border-radius:999px;line-height:1}
.lang-switcher a{
    display:inline-block !important;
    padding:5px 12px !important;
    border-radius:999px !important;
    font-weight:700 !important;
    font-size:12px !important;
    text-decoration:none !important;
    color:#facc15 !important;
    background:transparent !important;
    border:0 !important;
    transition:all .15s !important;
    line-height:1.2 !important;
    letter-spacing:.3px !important;
}
.lang-switcher a + a{margin-left:0}
.lang-switcher a:hover{background:rgba(250,204,21,.18) !important;color:#fde047 !important}
.lang-switcher a.active{
    background:#facc15 !important;
    color:#0f172a !important;
    box-shadow:0 2px 6px rgba(250,204,21,.45) !important;
}
/* Hide any " | " separator text between links */
.lang-switcher{font-size:0}
.lang-switcher a{font-size:12px !important}

/* Light mode: amber instead of bright yellow for contrast on white toolbar */
html[data-theme="light"] .lang-switcher{background:rgba(217,119,6,.08);border-color:rgba(217,119,6,.40)}
html[data-theme="light"] .lang-switcher a{color:#b45309 !important}
html[data-theme="light"] .lang-switcher a:hover{background:rgba(217,119,6,.15) !important;color:#92400e !important}
html[data-theme="light"] .lang-switcher a.active{background:#d97706 !important;color:#fff !important}

/* ============================================================
   MOBILE NAVBAR FIX (Bootstrap 5 collapse compatibility)
   Older site.css rules positioned .navbar-nav fixed off-screen,
   which broke Bootstrap's data-bs-toggle="collapse" mechanism.
   These overrides restore Bootstrap-native mobile behavior.
   ============================================================ */
@media (max-width: 991.98px){
    /* Stop positioning the UL off-screen — let Bootstrap collapse handle visibility */
    .navbar-expand-lg .navbar-nav,
    .navbar .navbar-nav{
        position: static !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        padding: 16px 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        transition: none !important;
        z-index: auto !important;
        overflow-y: visible !important;
    }
    /* Make sure the Bootstrap collapse hides/shows properly */
    .navbar-collapse{
        background: #fff;
        padding: 0 16px;
        border-top: 1px solid #e5e7eb;
        margin-top: 8px;
    }
    html.dark-mode .navbar-collapse,
    html[data-theme="dark"] .navbar-collapse{
        background: #0f172a;
        border-top-color: rgba(255,255,255,.10);
    }
    /* Hamburger button — always clearly visible */
    .navbar-toggler{
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        border: 2px solid #d97706 !important;
        border-radius: 8px;
        background: rgba(217,119,6,.10) !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .navbar-toggler:focus{box-shadow: 0 0 0 3px rgba(217,119,6,.30) !important}
    .navbar-toggler-icon{
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23d97706' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
        width: 26px;
        height: 26px;
    }
    html.dark-mode .navbar-toggler,
    html[data-theme="dark"] .navbar-toggler{
        border-color: #facc15 !important;
        background: rgba(250,204,21,.12) !important;
    }
    html.dark-mode .navbar-toggler-icon,
    html[data-theme="dark"] .navbar-toggler-icon{
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23facc15' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
    /* Mobile dropdown menus expand inline */
    .navbar-nav .dropdown-menu{
        position: static !important;
        float: none;
        width: 100%;
        background: rgba(0,0,0,.03);
        border: 0;
        box-shadow: none;
        padding-left: 16px;
        margin: 4px 0 8px;
    }
    html.dark-mode .navbar-nav .dropdown-menu,
    html[data-theme="dark"] .navbar-nav .dropdown-menu{
        background: rgba(255,255,255,.04);
    }
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item{
        padding: 12px 14px !important;
        border-bottom: 1px solid rgba(0,0,0,.06);
    }
    html.dark-mode .navbar-nav .nav-link,
    html.dark-mode .navbar-nav .dropdown-item,
    html[data-theme="dark"] .navbar-nav .nav-link,
    html[data-theme="dark"] .navbar-nav .dropdown-item{
        border-bottom-color: rgba(255,255,255,.08);
        color: #f1f5f9;
    }
    /* Hide the off-canvas backdrop legacy rule */
    .navbar-backdrop{display: none !important}
}

/* ============================================================
   ENHANCED LIST STYLING (UL / OL / LI)
   Global polish for prose lists. Scoped via .prose-list and
   broad fallbacks for content sections so it does NOT touch
   navbar / dropdown / .list-unstyled.
   ============================================================ */

/* ---- Reset on Bootstrap utility lists ---- */
.list-unstyled, .navbar-nav, .dropdown-menu, .pagination, .breadcrumb{
  --no-prose: 1;
}

/* ---- Default UL inside prose / content sections ---- */
.section-content ul:not(.list-unstyled),
.vis-article ul:not(.list-unstyled),
.prose ul:not(.list-unstyled),
.about-content ul:not(.list-unstyled){
  list-style: none;
  padding-left: 0;
  margin: 14px 0;
  counter-reset: itm;
}

.section-content ul:not(.list-unstyled) > li,
.vis-article ul:not(.list-unstyled) > li,
.prose ul:not(.list-unstyled) > li,
.about-content ul:not(.list-unstyled) > li{
  position: relative;
  padding: 8px 0 8px 30px;
  color: #475569;
  font-size: .98rem;
  line-height: 1.7;
  transition: padding .15s ease, color .15s ease;
}

/* Custom gradient bullet — scoped to prose lists only */
.section-content ul:not(.list-unstyled) > li::before,
.vis-article ul:not(.list-unstyled) > li::before,
.prose ul:not(.list-unstyled) > li::before,
.about-content ul:not(.list-unstyled) > li::before{
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1e40af 0%,#3b82f6 100%);
  box-shadow: 0 0 0 4px rgba(30,64,175,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-content ul:not(.list-unstyled) > li:hover::before,
.vis-article ul:not(.list-unstyled) > li:hover::before,
.prose ul:not(.list-unstyled) > li:hover::before,
.about-content ul:not(.list-unstyled) > li:hover::before{
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(30,64,175,.20);
}

.section-content ul:not(.list-unstyled) > li:hover,
.vis-article ul:not(.list-unstyled) > li:hover,
.prose ul:not(.list-unstyled) > li:hover,
.about-content ul:not(.list-unstyled) > li:hover{
  padding-left: 36px;
  color: #0f172a;
}

/* ---- Nested UL — slightly smaller, indented ---- */
.section-content ul:not(.list-unstyled) ul,
.vis-article ul:not(.list-unstyled) ul,
.prose ul:not(.list-unstyled) ul{
  margin: 6px 0 6px 12px;
  padding-left: 0;
}
.section-content ul:not(.list-unstyled) ul > li::before,
.vis-article ul:not(.list-unstyled) ul > li::before,
.prose ul:not(.list-unstyled) ul > li::before{
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg,#94a3b8,#64748b);
  top: 18px;
}

/* ---- Ordered lists (OL) — gradient numbered circles ---- */
.section-content ol:not(.list-unstyled),
.vis-article ol:not(.list-unstyled),
.prose ol:not(.list-unstyled){
  list-style: none;
  counter-reset: ol-counter;
  padding-left: 0;
  margin: 16px 0;
}
.section-content ol:not(.list-unstyled) > li,
.vis-article ol:not(.list-unstyled) > li,
.prose ol:not(.list-unstyled) > li{
  position: relative;
  counter-increment: ol-counter;
  padding: 10px 0 10px 50px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  min-height: 36px;
}
.section-content ol:not(.list-unstyled) > li::before,
.vis-article ol:not(.list-unstyled) > li::before,
.prose ol:not(.list-unstyled) > li::before{
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#0c1e5a 0%,#1e40af 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(30,64,175,.30);
  transition: transform .2s ease;
}
.section-content ol:not(.list-unstyled) > li:hover::before,
.vis-article ol:not(.list-unstyled) > li:hover::before,
.prose ol:not(.list-unstyled) > li:hover::before{
  transform: scale(1.10) rotate(-8deg);
}

/* ---- CHECKLIST utility — add class="check-list" to UL ---- */
ul.check-list{
  list-style: none;
  padding-left: 0;
  margin: 14px 0;
}
ul.check-list > li{
  position: relative;
  padding: 10px 0 10px 38px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}
ul.check-list > li::before{
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg,#10b981,#059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(16,185,129,.30);
}

/* ---- CROSS / EXCLUDED utility — class="x-list" ---- */
ul.x-list{
  list-style: none;
  padding-left: 0;
  margin: 14px 0;
}
ul.x-list > li{
  position: relative;
  padding: 10px 0 10px 38px;
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1rem;
  line-height: 1.7;
}
ul.x-list > li::before{
  content: '\f00d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(239,68,68,.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ---- Definition list (DL/DT/DD) styling for FAQ-like content ---- */
.prose dl, .vis-article dl{
  margin: 16px 0;
}
.prose dl dt, .vis-article dl dt{
  font-weight: 700;
  color: #0c1e5a;
  font-size: 1.05rem;
  margin-top: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(30,64,175,.15);
}
.prose dl dd, .vis-article dl dd{
  margin: 8px 0 0 20px;
  color: #475569;
  line-height: 1.75;
  padding-bottom: 8px;
}

/* ---- RTL support: flip everything ---- */
[dir="rtl"] .section-content ul:not(.list-unstyled) > li,
[dir="rtl"] .vis-article ul:not(.list-unstyled) > li,
[dir="rtl"] .prose ul:not(.list-unstyled) > li{
  padding: 8px 30px 8px 0;
}
[dir="rtl"] .section-content ul:not(.list-unstyled) > li::before,
[dir="rtl"] .vis-article ul:not(.list-unstyled) > li::before,
[dir="rtl"] .prose ul:not(.list-unstyled) > li::before{
  left: auto;
  right: 4px;
}
[dir="rtl"] .section-content ul:not(.list-unstyled) > li:hover,
[dir="rtl"] .vis-article ul:not(.list-unstyled) > li:hover,
[dir="rtl"] .prose ul:not(.list-unstyled) > li:hover{
  padding-left: 0;
  padding-right: 36px;
}
[dir="rtl"] .section-content ol:not(.list-unstyled) > li,
[dir="rtl"] .vis-article ol:not(.list-unstyled) > li{
  padding: 10px 50px 10px 0;
}
[dir="rtl"] .section-content ol:not(.list-unstyled) > li::before,
[dir="rtl"] .vis-article ol:not(.list-unstyled) > li::before{
  left: auto;
  right: 0;
}
[dir="rtl"] ul.check-list > li,
[dir="rtl"] ul.x-list > li{
  padding: 10px 38px 10px 0;
}
[dir="rtl"] ul.check-list > li::before,
[dir="rtl"] ul.x-list > li::before{
  left: auto;
  right: 0;
}
[dir="rtl"] .section-content ul:not(.list-unstyled) ul,
[dir="rtl"] .vis-article ul:not(.list-unstyled) ul,
[dir="rtl"] .prose ul:not(.list-unstyled) ul{
  margin-left: 0;
  margin-right: 12px;
}
[dir="rtl"] .prose dl dd, [dir="rtl"] .vis-article dl dd{
  margin: 8px 20px 0 0;
}

/* ---- DARK MODE ---- */
html.dark-mode .section-content ul:not(.list-unstyled) > li,
html.dark-mode .vis-article ul:not(.list-unstyled) > li,
html.dark-mode .prose ul:not(.list-unstyled) > li,
html[data-theme="dark"] .section-content ul:not(.list-unstyled) > li,
html[data-theme="dark"] .vis-article ul:not(.list-unstyled) > li,
html[data-theme="dark"] .prose ul:not(.list-unstyled) > li{
  color: #cbd5e1;
}
html.dark-mode .section-content ul:not(.list-unstyled) > li:hover,
html.dark-mode .vis-article ul:not(.list-unstyled) > li:hover,
html.dark-mode .prose ul:not(.list-unstyled) > li:hover,
html[data-theme="dark"] .section-content ul:not(.list-unstyled) > li:hover,
html[data-theme="dark"] .vis-article ul:not(.list-unstyled) > li:hover,
html[data-theme="dark"] .prose ul:not(.list-unstyled) > li:hover{
  color: #f1f5f9;
}
html.dark-mode .section-content ul:not(.list-unstyled) > li::before,
html.dark-mode .vis-article ul:not(.list-unstyled) > li::before,
html.dark-mode .prose ul:not(.list-unstyled) > li::before,
html[data-theme="dark"] .section-content ul:not(.list-unstyled) > li::before,
html[data-theme="dark"] .vis-article ul:not(.list-unstyled) > li::before,
html[data-theme="dark"] .prose ul:not(.list-unstyled) > li::before{
  background: linear-gradient(135deg,#fde047 0%,#facc15 100%);
  box-shadow: 0 0 0 4px rgba(250,204,21,.15);
}
html.dark-mode .section-content ol:not(.list-unstyled) > li::before,
html.dark-mode .vis-article ol:not(.list-unstyled) > li::before,
html[data-theme="dark"] .section-content ol:not(.list-unstyled) > li::before,
html[data-theme="dark"] .vis-article ol:not(.list-unstyled) > li::before{
  background: linear-gradient(135deg,#facc15,#eab308);
  color: #0f172a;
  box-shadow: 0 6px 14px rgba(250,204,21,.30);
}
html.dark-mode ul.check-list > li,
html[data-theme="dark"] ul.check-list > li{color: #cbd5e1}
html.dark-mode ul.x-list > li,
html[data-theme="dark"] ul.x-list > li{color: #64748b}
html.dark-mode .prose dl dt,
html.dark-mode .vis-article dl dt,
html[data-theme="dark"] .prose dl dt,
html[data-theme="dark"] .vis-article dl dt{color: #facc15;border-bottom-color: rgba(250,204,21,.20)}
html.dark-mode .prose dl dd,
html.dark-mode .vis-article dl dd,
html[data-theme="dark"] .prose dl dd,
html[data-theme="dark"] .vis-article dl dd{color: #cbd5e1}

/* ---- Mobile tweaks ---- */
@media (max-width: 640px){
  .section-content ul:not(.list-unstyled) > li,
  .vis-article ul:not(.list-unstyled) > li,
  .prose ul:not(.list-unstyled) > li{
    padding-left: 24px;
    font-size: .95rem;
  }
  .section-content ol:not(.list-unstyled) > li,
  .vis-article ol:not(.list-unstyled) > li{
    padding-left: 44px;
  }
  .section-content ol:not(.list-unstyled) > li::before,
  .vis-article ol:not(.list-unstyled) > li::before{
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
