/* ============================================================
   PADiR Canva Theme — Main Stylesheet
   Version: 1.1.5
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    /* Brand colours (overridden by dynamic CSS from Customizer) */
    --pader-primary:        #4DA8A8;
    --pader-primary-rgb:    77,168,168;
    --pader-secondary:      #2D5A6E;
    --pader-secondary-rgb:  45,90,110;
    --pader-bg-soft:        #F5F3F0;
    --pader-text:           #333333;
    --pader-buttons:        #4DA8A8;

    /* Palette */
    --pader-dark:           #1E3A4A;
    --pader-white:          #FFFFFF;
    --pader-muted:          #6B7B8D;
    --pader-border:         #E2E8EE;
    --pader-accent-light:   #E8F5F5;
    --pader-teal-dark:      #3A8A8A;

    /* Typography */
    --pader-font-latin:     'Inter', system-ui, sans-serif;
    --pader-font-arabic:    'Cairo', 'Segoe UI', system-ui, sans-serif;
    --pader-font-body:      var(--pader-font-latin);
    --pader-font-heading:   var(--pader-font-latin);

    /* Spacing */
    --pader-section-py:     5rem;
    --pader-section-py-sm:  3rem;

    /* Shadows */
    --pader-shadow-sm:      0 2px 8px rgba(0,0,0,0.07);
    --pader-shadow:         0 4px 20px rgba(0,0,0,0.10);
    --pader-shadow-lg:      0 8px 40px rgba(0,0,0,0.14);
    --pader-shadow-hover:   0 12px 48px rgba(0,0,0,0.16);

    /* Radius */
    --pader-radius-sm:      6px;
    --pader-radius:         12px;
    --pader-radius-lg:      20px;
    --pader-radius-xl:      32px;
    --pader-radius-pill:    100px;

    /* Transitions */
    --pader-transition:     all 0.30s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --pader-transition-fast:all 0.18s ease;

    /* Logo defaults — actual values injected by dynamic CSS (wp_head priority 9999).
       Do NOT define --pader-logo-* here — theme.css loads at priority 8 and would
       override the dynamic inline <style> if both target :root.
       Instead, fallback values are specified inline in each var() usage below. */
}

/* RTL font switch */
html[dir="rtl"] {
    --pader-font-body:    var(--pader-font-arabic);
    --pader-font-heading: var(--pader-font-arabic);
}

/* ── Bootstrap overrides ────────────────────────────────────── */
:root {
    --bs-primary:           var(--pader-primary);
    --bs-body-font-family:  var(--pader-font-body);
    --bs-body-color:        var(--pader-text);
    --bs-body-line-height:  1.75;
    --bs-link-color:        var(--pader-primary);
    --bs-link-hover-color:  var(--pader-secondary);
    --bs-border-radius:     var(--pader-radius-sm);
}

/* ── Global Reset ───────────────────────────────────────────── */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--pader-font-body);
    color: var(--pader-text);
    background: var(--pader-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.content-wrap {
    padding-top: 0 !important;
}

/* Font Awesome — prevent body/heading font from overriding icon font */
.fa-solid,
.fa-regular,
.fa-brands,
.fa-classic,
.fas,
.far,
.fab,
.fa {
    font-family: var(--_fa-family, 'Font Awesome 7 Free') !important;
}
.fa-brands,
.fab {
    font-family: var(--_fa-family, 'Font Awesome 7 Brands') !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pader-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--pader-dark);
    margin-bottom: 1rem;
}

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

img {
    display: block;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ── Accessibility ──────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--pader-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
    background: var(--pader-buttons);
    border-color: var(--pader-buttons);
    color: #fff;
    font-weight: 600;
    border-radius: var(--pader-radius-sm);
    padding: 0.65rem 1.75rem;
    transition: var(--pader-transition);
    letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--pader-teal-dark);
    border-color: var(--pader-teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--pader-primary-rgb), 0.35);
}

.btn-outline-primary {
    border-color: var(--pader-primary);
    color: var(--pader-primary);
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: var(--pader-radius-sm);
    transition: var(--pader-transition);
}
.btn-outline-primary:hover {
    background: var(--pader-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--pader-secondary);
    border-color: var(--pader-secondary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--pader-radius-sm);
    padding: 0.65rem 1.75rem;
    transition: var(--pader-transition);
}
.btn-secondary:hover {
    background: var(--pader-dark);
    border-color: var(--pader-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light-primary {
    background: rgba(var(--pader-primary-rgb), 0.1);
    border: none;
    color: var(--pader-primary);
    font-weight: 600;
    border-radius: var(--pader-radius-sm);
    padding: 0.65rem 1.75rem;
    transition: var(--pader-transition);
}
.btn-light-primary:hover {
    background: var(--pader-primary);
    color: #fff;
}

/* ── Section Badges ─────────────────────────────────────────── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--pader-primary-rgb), 0.10);
    color: var(--pader-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--pader-radius-pill);
    margin-bottom: 1.25rem;
}
.section-badge::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pader-primary);
    flex-shrink: 0;
}

/* ── Section Headings ───────────────────────────────────────── */
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--pader-dark);
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--pader-muted);
    line-height: 1.75;
    max-width: 680px;
}

.section-heading-center {
    text-align: center;
    margin-bottom: 3rem;
}
.section-heading-center .section-subtitle {
    margin: 0 auto;
}

/* ── Cards ──────────────────────────────────────────────────── */
.pader-card {
    background: var(--pader-white);
    border: 1px solid var(--pader-border);
    border-radius: var(--pader-radius);
    padding: 2rem;
    transition: var(--pader-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.pader-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pader-primary), var(--pader-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
html[dir="rtl"] .pader-card::before { transform-origin: right; }
.pader-card:hover {
    box-shadow: var(--pader-shadow-hover);
    transform: translateY(-6px);
    border-color: transparent;
}
.pader-card:hover::before { transform: scaleX(1); }

.pader-card-icon {
    width: 64px; height: 64px;
    background: rgba(var(--pader-primary-rgb), 0.10);
    border-radius: var(--pader-radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--pader-primary);
    transition: var(--pader-transition);
}
.pader-card:hover .pader-card-icon {
    background: var(--pader-primary);
    color: #fff;
    transform: scale(1.1) rotate(0deg);
}
.pader-card-body { margin-top: 0.25rem; }
.pader-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pader-dark);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.pader-card-desc {
    font-size: 0.9rem;
    color: var(--pader-muted);
    line-height: 1.65;
    margin: 0;
}
.pader-card.text-center .pader-card-icon { margin-bottom: 1.25rem; }

/* ── Dividers ───────────────────────────────────────────────── */
.pader-divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--pader-primary), var(--pader-secondary));
    border-radius: 2px;
    margin: 1rem 0;
}
.section-heading-center .pader-divider { margin: 1rem auto; }

/* Force LTR for numbers/codes that must not reverse in RTL contexts (ISSN, phone, etc.) */
.pader-ltr-value {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

/* ══════════════════════════════════════════════════════════════
   HEADER — Flex layout override
   Canvas default: #logo has margin-right:auto (LTR) / margin-left:auto (RTL)
   which creates a large gap between logo and nav. We override to:
     logo = natural width  |  nav = flex-grow fills remaining  |  misc = natural width
   ══════════════════════════════════════════════════════════════ */
#header-wrap.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Logo — Customizer-driven height + padding
   Canvas sets: #header-wrap #logo img { height: var(--cnvs-header-height) }
   We must override with equal or higher specificity + !important. */
#logo {
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    padding-top:    var(--pader-logo-pad-top, 10px) !important;
    padding-right:  var(--pader-logo-pad-right, 0px) !important;
    padding-bottom: var(--pader-logo-pad-bottom, 10px) !important;
    padding-left:   var(--pader-logo-pad-left, 0px) !important;
    border: none !important;
}
#header-wrap #logo img,
#header #logo img,
#logo .logo-default {
    height: var(--pader-logo-height, 64px) !important;
    max-height: var(--pader-logo-height, 64px) !important;
    width: auto !important;
    display: block;
}
/* ── Mobile: logo height + padding from dedicated mobile variables ─── */
@media (max-width: 991.98px) {
    #header-wrap #logo img,
    #header #logo img,
    #logo .logo-default {
        height: var(--pader-logo-height-mobile, 48px) !important;
        max-height: var(--pader-logo-height-mobile, 48px) !important;
    }
    #logo {
        padding-top:    var(--pader-logo-pad-m-top, 8px) !important;
        padding-right:  var(--pader-logo-pad-m-right, 0px) !important;
        padding-bottom: var(--pader-logo-pad-m-bottom, 8px) !important;
        padding-left:   var(--pader-logo-pad-m-left, 0px) !important;
    }
}
#logo .site-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pader-dark);
    line-height: 1.25;
}

/* ── Mobile header layout ─────────────────────────────────────────
   Key insight: Flexbox + dir="rtl" auto-reverses the main axis.
   justify-content: space-between + only two items on the first line
   pushes logo and trigger to opposite edges automatically.

   RTL (Arabic):  logo → right edge,  trigger → left edge
   LTR (en/tr):   logo → left edge,   trigger → right edge

   .primary-menu and .header-misc wrap to the next row via flex-wrap
   so only #logo and .primary-menu-trigger occupy the first line.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Row: full width, items at opposite edges, allow wrapping */
    #header #header-wrap .header-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    /* Logo: inline-start edge (right in RTL, left in LTR) */
    #header #header-wrap #logo {
        order: 1 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    /* Language switcher: pushed toward inline-end, next to hamburger */
    #header #header-wrap .header-misc {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
    }

    /* Hamburger: inline-end edge (left in RTL, right in LTR) */
    #header #header-wrap .primary-menu-trigger {
        order: 3 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    /* Nav menu: wraps below on its own full-width row */
    #header #header-wrap .primary-menu {
        order: 10 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

/* Nav fills the remaining space between logo and misc */
.is-expanded-menu .primary-menu {
    flex: 1 1 auto !important;
    flex-grow: 1 !important;
}

/* Remove Canvas's logo vertical divider — border only, padding comes from Customizer */
.is-expanded-menu.full-header #logo,
.is-expanded-menu .full-header #logo {
    border-inline-end: none !important;
    border-right:  none !important;
    border-left:   none !important;
}

/* Header misc — fixed natural width at the end */
#header .header-misc {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    border: none !important;
    border-inline-start: none !important;
    padding-inline-start: 1rem;
}
#header .header-misc::before,
#header .header-misc::after {
    display: none !important;
}

/* Language switcher */
.lang-switcher .dropdown-toggle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pader-dark);
    background: none;
    border: 1.5px solid var(--pader-border);
    border-radius: var(--pader-radius-pill);
    padding: 0.35rem 0.85rem;
    display: flex; align-items: center; gap: 0.4rem;
    cursor: pointer;
    transition: var(--pader-transition-fast);
}
.lang-switcher .dropdown-toggle:hover {
    border-color: var(--pader-primary);
    color: var(--pader-primary);
}
.lang-switcher .dropdown-toggle::after { display: none; }
.lang-switcher .lang-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    object-fit: cover;
}
.lang-switcher .dropdown-menu {
    min-width: 140px;
    border-radius: var(--pader-radius);
    box-shadow: var(--pader-shadow-lg);
    border: none;
    padding: 0.5rem;
}
.lang-switcher .dropdown-item {
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--pader-radius-sm);
    display: flex; align-items: center; gap: 0.5rem;
}
.lang-switcher .dropdown-item.active {
    background: rgba(var(--pader-primary-rgb), 0.1);
    color: var(--pader-primary);
}
.lang-switcher .dropdown-item img {
    width: 20px; height: 14px;
    border-radius: 2px;
    object-fit: cover;
}


/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pader-dark) 0%, var(--pader-secondary) 50%, var(--pader-primary) 100%);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}
.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Decorative shapes */
.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    overflow: hidden;
}
.hero-shape-1 {
    width: 600px; height: 600px;
    top: -200px; right: -150px;
    background: rgba(77,168,168, 0.12);
    border: 1px solid rgba(77,168,168, 0.18);
}
.hero-shape-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -100px;
    background: rgba(255,255,255, 0.05);
    border: 1px solid rgba(255,255,255, 0.10);
}
html[dir="rtl"] .hero-shape-1 { right: auto; left: -150px; }
html[dir="rtl"] .hero-shape-2 { left: auto; right: -100px; }

.hero-content-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}
.hero-logo-wrap {
    margin-bottom: 1.25rem;
}
.hero-logo-wrap img {
    height: var(--pader-hero-logo-height, 80px);
    width: auto;
    object-fit: contain;
}
.hero-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: var(--pader-radius-pill);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pader-primary);
    flex-shrink: 0;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-title span {
    color: var(--pader-primary);
    display: block;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.hero-btn-primary {
    background: var(--pader-primary);
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--pader-primary);
    border-radius: var(--pader-radius-sm);
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--pader-transition);
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero-btn-primary:hover {
    background: var(--pader-teal-dark);
    border-color: var(--pader-teal-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(var(--pader-primary-rgb), 0.45);
}
.hero-btn-outline {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--pader-radius-sm);
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--pader-transition);
    display: inline-flex; align-items: center; gap: 0.6rem;
    backdrop-filter: blur(4px);
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}


/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    text-decoration: none;
    animation: scrollBounce 2s ease-in-out infinite;
    pointer-events: auto;
}
.hero-scroll i { font-size: 1.4rem; }
.hero-scroll:hover { color: #fff; }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════ */
.about-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-white);
    overflow: hidden;
}
.about-image-wrap {
    position: relative;
}
.about-image-main {
    border-radius: var(--pader-radius-lg);
    box-shadow: var(--pader-shadow-lg);
    width: 100%;
    object-fit: cover;
    min-height: 400px;
}
.about-badge-float {
    position: absolute;
    bottom: -1.5rem;
    right: 2rem;
    background: var(--pader-primary);
    color: #fff;
    border-radius: var(--pader-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--pader-shadow-lg);
    text-align: center;
    min-width: 120px;
}
html[dir="rtl"] .about-badge-float { right: auto; left: 2rem; }
.about-badge-float strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.about-badge-float span {
    font-size: 0.82rem;
    opacity: 0.85;
}
.about-content { padding-inline-start: 3rem; }
@media (max-width: 991.98px) { .about-content { padding-inline-start: 0; margin-top: 4rem; } }

/* ══════════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════════ */
.features-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-bg-soft);
}

/* ══════════════════════════════════════════════════════════════
   GOALS SECTION
   ══════════════════════════════════════════════════════════════ */
.goals-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-white);
}
.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--pader-white);
    border: 1px solid var(--pader-border);
    border-inline-start: 3px solid var(--pader-primary);
    border-radius: var(--pader-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--pader-shadow-sm);
    transition: var(--pader-transition);
    height: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.goal-item:hover {
    box-shadow: var(--pader-shadow-hover);
    border-color: transparent;
    border-inline-start-color: var(--pader-primary);
    transform: translateY(-4px);
}
.goal-number {
    min-width: 42px;
    height: 42px;
    background: var(--pader-primary);
    color: #fff;
    border-radius: var(--pader-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    line-height: 1;
}
.goal-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pader-dark);
    line-height: 1.65;
    margin: 0;
    flex: 1;
    min-width: 0;
}

/* ══════════════════════════════════════════════════════════════
   VISION & MISSION SECTION
   ══════════════════════════════════════════════════════════════ */
.vision-section {
    padding: var(--pader-section-py) 0;
    background: linear-gradient(135deg, var(--pader-dark) 0%, var(--pader-secondary) 100%);
    position: relative;
    overflow: hidden;
}
.vision-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(77,168,168,0.10);
    pointer-events: none;
}
html[dir="rtl"] .vision-section::before { right: auto; left: -100px; }

.vision-card, .mission-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--pader-radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    backdrop-filter: blur(12px);
    transition: var(--pader-transition);
}
.vision-card:hover, .mission-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.vision-card-icon {
    width: 64px; height: 64px;
    border-radius: var(--pader-radius);
    background: rgba(var(--pader-primary-rgb), 0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 1.25rem;
}
.vision-card-icon i { line-height: 1; }
.vision-card-badge {
    display: inline-block;
    background: var(--pader-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: var(--pader-radius-pill);
    margin-bottom: 1rem;
}
.vision-card h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}
.vision-card p, .mission-card p {
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    font-size: 0.95rem;
}
.vision-card-text {
    color: rgba(255,255,255,0.82) !important;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════
   JOURNAL SECTION
   ══════════════════════════════════════════════════════════════ */
.journal-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-bg-soft);
}
.journal-inner {
    background: #fff;
    border-radius: var(--pader-radius-xl);
    overflow: hidden;
    box-shadow: var(--pader-shadow-lg);
}
.journal-left {
    background: linear-gradient(160deg, var(--pader-dark) 0%, var(--pader-secondary) 100%);
    padding: 2.5rem 2.5rem 2.5rem 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
html[dir="rtl"] .journal-left {
    padding: 2.5rem 3rem 2.5rem 2.5rem;
}
.journal-left::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(77,168,168,0.12);
}
.journal-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: var(--pader-radius-pill);
    margin-bottom: 1.25rem;
    position: relative; z-index: 1;
    width: -moz-fit-content;
    width: fit-content;
}
.journal-title {
    font-size: clamp(1.3rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    position: relative; z-index: 1;
}
.journal-issn {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.4rem;
    position: relative; z-index: 1;
}
.journal-issn a {
    color: var(--pader-primary);
    text-decoration: none;
}
.journal-issn strong {
    color: var(--pader-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}
.journal-right {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.journal-desc {
    color: var(--pader-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.journal-availability {
    background: rgba(var(--pader-primary-rgb), 0.08);
    border-inline-start: 3px solid var(--pader-primary);
    border-radius: 0 var(--pader-radius-sm) var(--pader-radius-sm) 0;
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    color: var(--pader-secondary);
    margin-bottom: 1.25rem;
}
html[dir="rtl"] .journal-availability {
    border-radius: var(--pader-radius-sm) 0 0 var(--pader-radius-sm);
}
.journal-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ══════════════════════════════════════════════════════════════
   COUNTERS SECTION
   ══════════════════════════════════════════════════════════════ */
.counters-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-primary);
    position: relative;
    overflow: hidden;
}
.counters-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.counter-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}
.counter-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    display: block;
}
.counter-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}
.counter-number .prefix,
.counter-number .suffix {
    font-size: 1.4rem;
    font-weight: 600;
}
.counter-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   CPT SECTIONS (Programs, Research, Events)
   ══════════════════════════════════════════════════════════════ */
.cpt-section {
    padding: var(--pader-section-py) 0;
}
.cpt-section:nth-child(even) { background: var(--pader-bg-soft); }

.cpt-card {
    background: var(--pader-white);
    border-radius: var(--pader-radius);
    overflow: hidden;
    box-shadow: var(--pader-shadow-sm);
    transition: var(--pader-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pader-border);
}
.cpt-card:hover {
    box-shadow: var(--pader-shadow-hover);
    transform: translateY(-6px);
    border-color: transparent;
}
.cpt-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--pader-bg-soft);
}
.cpt-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cpt-card:hover .cpt-card-img img { transform: scale(1.07); }
.cpt-card-img .no-image {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: var(--pader-muted);
}
.cpt-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cpt-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.cpt-meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(var(--pader-primary-rgb), 0.10);
    color: var(--pader-primary);
    padding: 0.2rem 0.65rem;
    border-radius: var(--pader-radius-pill);
}
.cpt-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pader-dark);
    margin-bottom: 0.75rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cpt-card-excerpt {
    font-size: 0.88rem;
    color: var(--pader-muted);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cpt-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--pader-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.cpt-card-date {
    font-size: 0.82rem;
    color: var(--pader-muted);
    display: flex; align-items: center; gap: 0.4rem;
}
.cpt-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pader-primary);
    display: flex; align-items: center; gap: 0.4rem;
    text-decoration: none;
    transition: var(--pader-transition-fast);
}
.cpt-read-more:hover { color: var(--pader-secondary); }
html[dir="ltr"] .cpt-read-more i { transition: transform 0.2s; }
html[dir="ltr"] .cpt-read-more:hover i { transform: translateX(4px); }
html[dir="rtl"] .cpt-read-more i { transform: scaleX(-1); transition: transform 0.2s; }
html[dir="rtl"] .cpt-read-more:hover i { transform: scaleX(-1) translateX(-4px); }

/* Event card status */
.event-status {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.75rem; font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: var(--pader-radius-pill);
}
.event-status.upcoming { background: #EBF9F1; color: #1B7B40; }
.event-status.ended    { background: #F5F5F5; color: #888; }

/* ══════════════════════════════════════════════════════════════
   PARTNERS SECTION
   ══════════════════════════════════════════════════════════════ */
.partners-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-white);
}
.partners-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
}
.partner-logo {
    max-height: 70px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--pader-transition);
}
.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════════════════════ */
.team-section {
    padding: var(--pader-section-py) 0;
    background: var(--pader-bg-soft);
}
.team-card {
    background: var(--pader-white);
    border-radius: var(--pader-radius);
    overflow: hidden;
    box-shadow: var(--pader-shadow-sm);
    transition: var(--pader-transition);
    border: 1px solid var(--pader-border);
    text-align: center;
}
.team-card:hover {
    box-shadow: var(--pader-shadow-hover);
    transform: translateY(-6px);
    border-color: transparent;
}
.team-photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--pader-bg-soft);
}
.team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo .no-photo {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--pader-muted);
}
.team-card-body { padding: 1.5rem; }
.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pader-dark);
    margin-bottom: 0.35rem;
}
.team-position {
    font-size: 0.85rem;
    color: var(--pader-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.team-bio {
    font-size: 0.85rem;
    color: var(--pader-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.team-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.team-links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--pader-bg-soft);
    color: var(--pader-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: var(--pader-transition-fast);
    text-decoration: none;
}
.team-links a:hover { background: var(--pader-primary); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--pader-dark);
    color: rgba(255,255,255,0.75);
    padding-top: 5rem;
}
.footer-top { padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-logo img {
    height: var(--pader-footer-logo-height, 180px);
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}
.footer-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.5rem;
    max-width: 320px;
}
.footer-heading {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pader-primary);
    display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--pader-transition-fast);
    display: flex; align-items: center; gap: 0.5rem;
}
.footer-links a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pader-primary);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}
.footer-links a:hover { color: var(--pader-primary); padding-inline-start: 0.5rem; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.footer-contact-item .fc-icon {
    width: 36px; height: 36px;
    border-radius: var(--pader-radius-sm);
    background: rgba(var(--pader-primary-rgb), 0.15);
    color: var(--pader-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.footer-contact-item .fc-text {
    color: rgba(255,255,255,0.70);
    line-height: 1.55;
}
.footer-contact-item .fc-text a {
    color: rgba(255,255,255,0.70);
    text-decoration: none;
}
.footer-contact-item .fc-text a:hover { color: var(--pader-primary); }

/* Social links in footer */
.footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: var(--pader-transition-fast);
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--pader-primary);
    border-color: var(--pader-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 1.5rem;
}
.footer-bottom-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: var(--pader-transition-fast);
}
.footer-bottom-links a:hover { color: var(--pader-primary); }

/* ══════════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ══════════════════════════════════════════════════════════════ */
.floating-whatsapp {
    position: fixed;
    bottom: 5.5rem;
    right: 1.75rem;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 1000;
    text-decoration: none;
    transition: var(--pader-transition);
}
.floating-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
html[dir="rtl"] .floating-whatsapp { right: auto; left: 1.75rem; }

.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--pader-secondary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: var(--pader-shadow);
    z-index: 999;
    opacity: 0;
    transform: translateY(16px);
    transition: var(--pader-transition);
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--pader-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--pader-primary-rgb),0.4);
}
html[dir="rtl"] .back-to-top { right: auto; left: 1.75rem; }

/* ══════════════════════════════════════════════════════════════
   PAGE TITLE BAR
   ══════════════════════════════════════════════════════════════ */
.page-title-bar {
    background: linear-gradient(135deg, var(--pader-dark) 0%, var(--pader-secondary) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.page-title-bar::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(77,168,168,0.10);
    pointer-events: none;
}
.page-title-bar h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 0.5rem;
}
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item { font-size: 0.88rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.65); }
.breadcrumb-item.active { color: var(--pader-primary); }
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.35);
}
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { content: '\\'; }

.page-title-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

/* ── Page Title Bar — Dark (default) ─── */
.page-title-bar--dark {
    background: linear-gradient(135deg, var(--pader-dark) 0%, var(--pader-secondary) 100%);
}
.page-title-bar--dark h1 { color: #fff; }
.page-title-bar--dark .section-badge { color: var(--pader-primary); }
.page-title-bar--dark .breadcrumb-item a { color: rgba(255,255,255,0.65); }
.page-title-bar--dark .breadcrumb-item.active { color: var(--pader-primary); }
.page-title-bar--dark .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }
.page-title-bar--dark .page-title-subtitle { color: rgba(255,255,255,0.75); }

/* ── Page Title Bar — Light ─── */
.page-title-bar--light {
    background: linear-gradient(135deg, #f5f7f8 0%, #eef3f4 100%);
}
.page-title-bar--light h1 { color: #243845; }
.page-title-bar--light .section-badge { color: var(--pader-primary); }
.page-title-bar--light .breadcrumb-item a { color: rgba(36,56,69,0.55); }
.page-title-bar--light .breadcrumb-item.active { color: var(--pader-primary); }
.page-title-bar--light .breadcrumb-item + .breadcrumb-item::before { color: rgba(36,56,69,0.35); }
.page-title-bar--light .page-title-subtitle { color: rgba(36,56,69,0.7); }
.page-title-bar--light::before { background: rgba(77,168,168,0.06); }

/* ── Page Title Bar — Image ─── */
.page-title-bar--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-title-bar--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(36,56,69,0.65);
    z-index: 0;
}
.page-title-bar--image > .container { position: relative; z-index: 1; }
.page-title-bar--image h1 { color: #fff; }
.page-title-bar--image .section-badge { color: var(--pader-primary); }
.page-title-bar--image .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-title-bar--image .breadcrumb-item.active { color: #fff; }
.page-title-bar--image .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-title-bar--image .page-title-subtitle { color: rgba(255,255,255,0.85); }

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-page { padding: var(--pader-section-py) 0; }
.contact-info-card {
    background: var(--pader-dark);
    border-radius: var(--pader-radius-lg);
    padding: 2.5rem;
    height: 100%;
}
.contact-info-card .cic-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: var(--pader-radius);
    background: rgba(var(--pader-primary-rgb), 0.2);
    color: var(--pader-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-text strong {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.contact-info-text span, .contact-info-text a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.55;
}
.contact-info-text a:hover { color: var(--pader-primary); }

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--pader-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--pader-shadow);
    border: 1px solid var(--pader-border);
}
.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pader-dark);
    margin-bottom: 0.5rem;
}
.contact-form .form-control {
    border: 1.5px solid var(--pader-border);
    border-radius: var(--pader-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--pader-text);
    transition: var(--pader-transition-fast);
}
.contact-form .form-control:focus {
    border-color: var(--pader-primary);
    box-shadow: 0 0 0 3px rgba(var(--pader-primary-rgb), 0.12);
    outline: none;
}
.contact-form .required { color: #e74c3c; }
.contact-form .btn-submit {
    background: var(--pader-primary);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 2.5rem;
    border-radius: var(--pader-radius-sm);
    font-size: 1rem;
    transition: var(--pader-transition);
    display: inline-flex; align-items: center; gap: 0.6rem;
    cursor: pointer;
}
.contact-form .btn-submit:hover {
    background: var(--pader-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--pader-primary-rgb),0.4);
}
.contact-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.form-message {
    margin-top: 1.25rem;
    border-radius: var(--pader-radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: none;
}
.form-message.success {
    background: #EBF9F1;
    color: #1B7B40;
    display: block;
}
.form-message.error {
    background: #FEF0EF;
    color: #C0392B;
    display: block;
}

/* Map */
.contact-map-wrap {
    border-radius: var(--pader-radius-lg);
    overflow: hidden;
    box-shadow: var(--pader-shadow);
    margin-top: 3rem;
}
.contact-map-wrap iframe {
    display: block;
    width: 100%; height: 400px;
    border: none;
}

/* ══════════════════════════════════════════════════════════════
   BLOG / ARCHIVE
   ══════════════════════════════════════════════════════════════ */
.archive-section { padding: var(--pader-section-py) 0; }
.post-card {
    background: var(--pader-white);
    border-radius: var(--pader-radius);
    overflow: hidden;
    box-shadow: var(--pader-shadow-sm);
    border: 1px solid var(--pader-border);
    transition: var(--pader-transition);
    height: 100%;
    display: flex; flex-direction: column;
}
.post-card:hover {
    box-shadow: var(--pader-shadow-hover);
    transform: translateY(-5px);
    border-color: transparent;
}
.post-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.post-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.post-card:hover .post-thumb img { transform: scale(1.07); }
.post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    font-size: 0.8rem; color: var(--pader-muted);
    margin-bottom: 0.75rem;
}
.post-meta a { color: var(--pader-primary); text-decoration: none; }
.post-title {
    font-size: 1.05rem; font-weight: 700;
    color: var(--pader-dark); margin-bottom: 0.75rem; flex: 1;
}
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--pader-primary); }
.post-excerpt {
    font-size: 0.88rem; color: var(--pader-muted);
    line-height: 1.7; margin-bottom: 1.25rem;
}
.post-read-more {
    font-size: 0.88rem; font-weight: 700;
    color: var(--pader-primary); text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    align-self: flex-start;
    transition: var(--pader-transition-fast);
}
.post-read-more:hover { color: var(--pader-secondary); }

/* Pagination */
.pagination-wrap { margin-top: 3rem; }
.pagination .page-item .page-link {
    color: var(--pader-primary);
    border-color: var(--pader-border);
    border-radius: var(--pader-radius-sm) !important;
    margin: 0 0.2rem;
    font-weight: 600;
    transition: var(--pader-transition-fast);
}
.pagination .page-item .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--pader-primary);
    border-color: var(--pader-primary);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════════════════════ */
.single-content { padding: var(--pader-section-py) 0; }
.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.entry-meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    font-size: 0.88rem; color: var(--pader-muted);
    margin-bottom: 2rem;
}
.entry-meta a { color: var(--pader-primary); text-decoration: none; }
.entry-content {
    font-size: 1rem; line-height: 1.85; color: var(--pader-text);
}
.entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 2.5rem; margin-bottom: 1rem;
}
.entry-content ul, .entry-content ol { padding-inline-start: 1.5rem; }
.entry-content blockquote {
    border-inline-start: 4px solid var(--pader-primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--pader-bg-soft);
    border-radius: 0 var(--pader-radius) var(--pader-radius) 0;
    font-style: italic;
}
html[dir="rtl"] .entry-content blockquote {
    border-inline-start: none;
    border-inline-end: 4px solid var(--pader-primary);
    border-radius: var(--pader-radius) 0 0 var(--pader-radius);
}

/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */
.page-404 {
    min-height: calc(100vh - 160px);
    display: flex; align-items: center; justify-content: center;
    padding: 5rem 0;
    text-align: center;
}
.page-404 .error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--pader-primary), var(--pader-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}
.page-404 h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.page-404 p { color: var(--pader-muted); margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.theme-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.theme-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.theme-animate-delay-1 { transition-delay: 0.15s; }
.theme-animate-delay-2 { transition-delay: 0.30s; }
.theme-animate-delay-3 { transition-delay: 0.45s; }
.theme-animate-delay-4 { transition-delay: 0.60s; }

.theme-animate-fade {
    opacity: 0;
    transition: opacity 0.65s ease;
}
.theme-animate-fade.is-visible { opacity: 1; }

.theme-animate-zoom {
    opacity: 0;
    transform: scale(0.90);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-animate-zoom.is-visible { opacity: 1; transform: scale(1); }


/* ══════════════════════════════════════════════════════════════
   SEARCH FORM
   ══════════════════════════════════════════════════════════════ */
.search-form {
    display: flex;
    border: 1.5px solid var(--pader-border);
    border-radius: var(--pader-radius-sm);
    overflow: hidden;
    background: #fff;
}
.search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    outline: none;
    background: transparent;
}
.search-form button {
    background: var(--pader-primary);
    color: #fff;
    border: none;
    padding: 0 1.1rem;
    cursor: pointer;
    transition: var(--pader-transition-fast);
    font-size: 0.95rem;
}
.search-form button:hover { background: var(--pader-teal-dark); }

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.widget-area-inner {
    position: sticky;
    top: 100px;
}
/* Sidebar widgets — white card styling (scoped to sidebar only) */
.widget-area-inner .widget {
    background: var(--pader-white);
    border: 1px solid var(--pader-border);
    border-radius: var(--pader-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.widget-area-inner .widget:last-child { margin-bottom: 0; }

/* Footer widgets — reset Canvas white-card bleed; Canvas + theme dark styles apply */
#footer .widget {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    color: rgba(255,255,255,0.75);
}
#footer .widget h4 {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pader-primary);
    display: inline-block;
}
#footer .widget p,
#footer .widget address { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
#footer .widget a { color: rgba(255,255,255,0.68); transition: color 0.2s; }
#footer .widget a:hover { color: var(--pader-primary); }
#footer .widget .menu-container,
#footer .widget ul { list-style: none; padding: 0; margin: 0; }
#footer .widget .menu-container li,
#footer .widget ul li { margin-bottom: 0.7rem; padding: 0; }
#footer .widget .menu-container a,
#footer .widget ul a {
    font-size: 0.9rem;
    padding-inline-start: 0;
    display: inline-block;
    line-height: 1.7;
}
#footer .widget li::before,
#footer .widget li::after { content: none !important; display: none !important; }
#footer .widget abbr { text-decoration: none; }

.footer-bottom-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.footer-bottom-contact i { font-size: 0.8rem; }
#copyrights .middot { margin: 0 0.5rem; color: rgba(255,255,255,0.3); }

/* Widget title (sidebar) */
.widget-area-inner .widget-title,
.widget-area-inner .widget h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--pader-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pader-primary);
    display: block;
}
.widget-area-inner .widget ul { list-style: none; padding: 0; margin: 0; }
.widget-area-inner .widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--pader-border);
    font-size: 0.9rem;
}
.widget-area-inner .widget ul li:last-child { border-bottom: none; }
.widget-area-inner .widget ul li a { color: var(--pader-text); }
.widget-area-inner .widget ul li a:hover { color: var(--pader-primary); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    :root {
        --pader-section-py: 4rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --pader-section-py: 3.5rem;
    }
    .about-image-wrap { text-align: center; }
    .journal-left { padding: 2rem 1.75rem; }
    .journal-right { padding: 2rem 1.75rem; }
}

@media (max-width: 767.98px) {
    :root {
        --pader-section-py: 3rem;
    }
    .hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-actions { justify-content: flex-start; }
    .floating-whatsapp { width: 48px; height: 48px; font-size: 1.3rem; bottom: 5rem; right: 1.25rem; }
    .back-to-top { width: 44px; height: 44px; right: 1.25rem; bottom: 1.25rem; }
    html[dir="rtl"] .floating-whatsapp { left: 1.25rem; right: auto; }
    html[dir="rtl"] .back-to-top { left: 1.25rem; right: auto; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .goals-grid { grid-template-columns: 1fr; }
    .journal-inner { border-radius: var(--pader-radius); }
    .counters-section .counter-item { padding: 1.5rem 0.5rem; }
}

@media (max-width: 575.98px) {
    .hero-stats { gap: 1.25rem; }
    .hero-btn-primary, .hero-btn-outline { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   PADiR Overrides for Canvas Patterns
   Minimal customizations on top of Canvas source CSS
   ══════════════════════════════════════════════════════════════ */

/* Hero — edge-to-edge */
.home-page .content-wrap {
    padding-top: 0;
}

/* PADiR brand accent on heading blocks */
.heading-block .before-heading {
    color: var(--pader-primary);
}
.heading-block::after {
    display: none !important;
}

/* PADiR section backgrounds */
.section.dark {
    background-color: #1E3A4A;
}

/* Counter colors — PADiR palette */
.counter.counter-large {
    color: inherit;
}

/* Partner logos: grayscale by default, full color on hover (overrides Canvas default) */
.image-carousel .oc-item img {
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.image-carousel .oc-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Card hover effect - PADiR shadow */
.card-hover:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Card with PADiR brand left border (Canvas does not ship this modifier) */
.card-border {
    border-left: 3px solid var(--pader-primary);
}

/* No global overflow hidden — each section manages its own decorative overflow */
