/* ========================================
   Karriya Landing Page — Enhanced Theme
   ======================================== */

:root {
    --k-primary: #17423b;
    --k-primary-light: rgba(23, 66, 59, 0.08);
    --k-primary-lighter: rgba(23, 66, 59, 0.04);
    --k-accent: #f4b826;
    --k-accent-light: rgba(244, 184, 38, 0.12);
    --k-green: #71c97c;
    --k-green-light: rgba(113, 201, 124, 0.12);
    --k-heading: #272727;
    --k-text: #555;
    --k-text-gray: #777a7d;
    --k-bg-gradient-start: #e8f5f1;
    --k-bg-gradient-end: #edf7f4;
    --k-bg-light: #f3f6fa;
    --k-white: #ffffff;
    --k-radius-card: 16px;
    --k-radius-pill: 100px;
    --k-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --k-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --k-font: "Mulish", "Public Sans", sans-serif;
    --k-transition: 0.3s ease;
}

/* ---- Reset & Base ---- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--k-font);
    font-weight: 500;
    font-size: 16px;
    color: var(--k-text);
    background: var(--k-white);
    overflow-x: hidden;
    margin: 0;
}

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

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

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

/* i18n fade transition */
[data-i18n] {
    transition: opacity 0.2s ease;
}

[data-i18n].i18n-fade {
    opacity: 0;
}

/* ---- Scroll Progress Bar ---- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--k-green), var(--k-accent));
    z-index: 1040;
    transition: none;
}

/* ---- Navbar ---- */

.navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--k-transition);
    z-index: 1030;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand-logo-image {
    display: block;
    height: 46px;   /* بدل 40 */
    width: auto;
    max-width: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--k-primary);
    color: var(--k-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.brand-icon--sm {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 8px;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--k-heading);
    letter-spacing: -0.5px;
}

/* Nav links with underline slide-in */
.navbar .nav-link {
    color: var(--k-text-gray);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px !important;
    border-radius: 0;
    transition: color var(--k-transition);
    position: relative;
    background: transparent !important;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--k-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--k-primary);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .nav-link.active {
    color: var(--k-primary);
    font-weight: 700;
}

.lang-dropdown .nav-link::after {
    display: none;
}

.lang-dropdown .dropdown-menu {
    min-width: 130px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: var(--k-shadow);
    padding: 6px;
}

.lang-dropdown .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    transition: all var(--k-transition);
}

.lang-dropdown .dropdown-item:hover {
    background: var(--k-primary-light);
    color: var(--k-primary);
}

.lang-dropdown .dropdown-item.active {
    background: var(--k-primary);
    color: var(--k-white);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---- Buttons with arrow slide-in ---- */

.btn {
    font-family: var(--k-font);
    font-weight: 700;
    border-radius: var(--k-radius-pill);
    padding: 12px 32px;
    font-size: 15px;
    transition: all var(--k-transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn-karriya-primary,
.btn-karriya-outline,
.btn-karriya-accent,
.btn-karriya-secondary {
    padding-right: 36px;
}

.btn-karriya-primary::after,
.btn-karriya-outline::after,
.btn-karriya-accent::after,
.btn-karriya-secondary::after {
    content: "\2192";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: right 0.3s ease, opacity 0.3s ease;
    font-size: 16px;
}

.btn-karriya-primary:hover::after,
.btn-karriya-outline:hover::after,
.btn-karriya-accent:hover::after,
.btn-karriya-secondary:hover::after {
    right: 16px;
    opacity: 1;
}

.btn-karriya-primary:hover,
.btn-karriya-outline:hover,
.btn-karriya-accent:hover,
.btn-karriya-secondary:hover {
    padding-right: 44px;
}

[dir="rtl"] .btn-karriya-primary::after,
[dir="rtl"] .btn-karriya-outline::after,
[dir="rtl"] .btn-karriya-accent::after,
[dir="rtl"] .btn-karriya-secondary::after {
    content: "\2190";
    right: auto;
    left: -20px;
}

[dir="rtl"] .btn-karriya-primary:hover::after,
[dir="rtl"] .btn-karriya-outline:hover::after,
[dir="rtl"] .btn-karriya-accent:hover::after,
[dir="rtl"] .btn-karriya-secondary:hover::after {
    right: auto;
    left: 16px;
}

[dir="rtl"] .btn-karriya-primary,
[dir="rtl"] .btn-karriya-outline,
[dir="rtl"] .btn-karriya-accent,
[dir="rtl"] .btn-karriya-secondary {
    padding-right: 32px;
    padding-left: 36px;
}

[dir="rtl"] .btn-karriya-primary:hover,
[dir="rtl"] .btn-karriya-outline:hover,
[dir="rtl"] .btn-karriya-accent:hover,
[dir="rtl"] .btn-karriya-secondary:hover {
    padding-right: 32px;
    padding-left: 44px;
}

.btn-karriya-primary {
    background: var(--k-primary);
    color: var(--k-white);
    border-color: var(--k-primary);
}

.btn-karriya-primary:hover {
    background: #1e5c52;
    border-color: #1e5c52;
    color: var(--k-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 66, 59, 0.3);
}

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

.btn-karriya-outline:hover {
    background: var(--k-primary);
    color: var(--k-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 66, 59, 0.3);
}

.btn-karriya-accent {
    background: var(--k-green);
    color: var(--k-white);
    border-color: var(--k-green);
}

.btn-karriya-accent:hover {
    background: #5bb868;
    border-color: #5bb868;
    color: var(--k-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 201, 124, 0.35);
}

.btn-karriya-secondary {
    background: var(--k-accent);
    color: var(--k-heading);
    border-color: var(--k-accent);
}

.btn-karriya-secondary:hover {
    background: #e0a820;
    border-color: #e0a820;
    color: var(--k-heading);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 184, 38, 0.35);
}

/* ---- Hero Section ---- */

.hero-section {
    background: linear-gradient(135deg, var(--k-bg-gradient-start) 0%, var(--k-bg-gradient-end) 60%, #f0faf6 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Dot grid pattern overlay */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(23, 66, 59, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    z-index: 1;
}

/* Animated floating blobs */
.hero-bg-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.blob--green {
    width: 400px;
    height: 400px;
    background: rgba(113, 201, 124, 0.35);
    top: -10%;
    left: -5%;
    animation: blobDrift1 14s ease-in-out infinite;
}

.blob--gold {
    width: 350px;
    height: 350px;
    background: rgba(244, 184, 38, 0.25);
    top: 20%;
    right: -5%;
    animation: blobDrift2 16s ease-in-out infinite;
}

.blob--teal {
    width: 300px;
    height: 300px;
    background: rgba(23, 66, 59, 0.15);
    bottom: -15%;
    left: 40%;
    animation: blobDrift3 18s ease-in-out infinite;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.05); }
    66% { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.08); }
    66% { transform: translate(20px, -30px) scale(0.92); }
}

@keyframes blobDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -20px) scale(1.04); }
    66% { transform: translate(-40px, -10px) scale(0.96); }
}

/* Hero badge chip */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(23, 66, 59, 0.08);
    border: 1px solid rgba(23, 66, 59, 0.15);
    color: var(--k-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--k-radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge i {
    font-size: 12px;
    color: var(--k-accent);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(23, 66, 59, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(23, 66, 59, 0); }
}

.min-vh-hero {
    min-height: 480px;
}

.hero-headline {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--k-heading);
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.7;
    color: var(--k-text-gray);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Hero Visual (Floating Cards) ---- */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 420px;
    margin: 0 auto;
}

/* Platform preview cards */
.hero-card {
    position: absolute;
    width: 240px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hero-card:hover {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-card--academy {
    top: 30px;
    left: 0;
    z-index: 1;
    transform: rotate(-4deg);
    animation: cardFloat 6s ease-in-out infinite;
}

.hero-card--academy:hover {
    transform: rotate(-4deg) translateY(-6px);
}

.hero-card--jobs {
    top: 80px;
    right: 0;
    z-index: 2;
    transform: rotate(3deg);
    animation: cardFloat 6s ease-in-out infinite 1.5s;
}

.hero-card--jobs:hover {
    transform: rotate(3deg) translateY(-6px);
}

@keyframes cardFloat {
    0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
    50% { transform: rotate(var(--r, 0deg)) translateY(-10px); }
}

.hero-card--academy { --r: -4deg; }
.hero-card--jobs { --r: 3deg; }

/* Card top bar */
.hero-card__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.6);
}

.hero-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-card__dot--green { background: #71c97c; }
.hero-card__dot--gold { background: #f4b826; }
.hero-card__dot--gray { background: #d1d5db; }

.hero-card__bar-title {
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--k-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .hero-card__bar-title {
    margin-left: 0;
    margin-right: 8px;
}

/* Card body */
.hero-card__body {
    padding: 20px 18px 22px;
}

.hero-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.hero-card__icon--green {
    background: var(--k-green-light);
    color: var(--k-green);
}

.hero-card__icon--gold {
    background: var(--k-accent-light);
    color: var(--k-accent);
}

.hero-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--k-heading);
    margin-bottom: 14px;
}

/* Skeleton-style rows */
.hero-card__rows {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
}

.hero-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card__row i {
    font-size: 10px;
    color: var(--k-green);
}

.hero-card--jobs .hero-card__row i {
    color: var(--k-accent);
}

.hero-card__row-text {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(23, 66, 59, 0.08), rgba(23, 66, 59, 0.04));
    width: 100%;
}

.hero-card__row-text--short {
    width: 55%;
}

.hero-card__row-text--med {
    width: 78%;
}

/* Mini CTA bar */
.hero-card__cta {
    height: 32px;
    border-radius: 8px;
    width: 100%;
}

.hero-card__cta--green {
    background: linear-gradient(90deg, var(--k-green), #5bb868);
    opacity: 0.85;
}

.hero-card__cta--gold {
    background: linear-gradient(90deg, var(--k-accent), #f09819);
    opacity: 0.85;
}

/* Central connector badge */
.hero-connector {
    position: absolute;
    top: 56%;
    left: 44%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.hero-connector__badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--k-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(23, 66, 59, 0.22), 0 0 0 6px rgba(255, 255, 255, 0.65);
    animation: connectorPulse 3s ease-in-out infinite;
}

.hero-connector__logo {
    width: 30px;
    height: 30px;
    display: block;
}

@keyframes connectorPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(23, 66, 59, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.7); }
    50% { box-shadow: 0 8px 32px rgba(23, 66, 59, 0.35), 0 0 0 12px rgba(255, 255, 255, 0.3); }
}

/* Floating decoration icons */
.hero-float {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 4;
    pointer-events: none;
}

.hero-float--star {
    top: 10px;
    right: 50px;
    background: rgba(244, 184, 38, 0.15);
    color: var(--k-accent);
    animation: floatBounce 4s ease-in-out infinite;
}

.hero-float--bolt {
    bottom: 30px;
    left: 20px;
    background: rgba(113, 201, 124, 0.15);
    color: var(--k-green);
    animation: floatBounce 5s ease-in-out infinite 0.8s;
}

.hero-float--sparkle {
    top: 60%;
    right: 10px;
    background: rgba(23, 66, 59, 0.1);
    color: var(--k-primary);
    animation: floatBounce 4.5s ease-in-out infinite 1.5s;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.1); }
}

/* AI notification pip */
.hero-notif {
    position: absolute;
    bottom: 45px;
    right: 30px;
    z-index: 5;
    background: var(--k-white);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(113, 201, 124, 0.2);
    animation: notifSlideIn 0.6s ease-out 1.5s both, notifPulse 3s ease-in-out 2.1s infinite;
}

.hero-notif i {
    font-size: 14px;
    color: var(--k-green);
}

.hero-notif span {
    font-size: 12px;
    font-weight: 700;
    color: var(--k-heading);
    white-space: nowrap;
}

@keyframes notifSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 8px 24px rgba(113, 201, 124, 0.2); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---- Section Titles ---- */

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--k-heading);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--k-text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Section Dividers ---- */

.section-divider {
    line-height: 0;
    overflow: hidden;
}

.section-divider svg {
    width: 100%;
    display: block;
}

.section-divider--curve {
    margin-top: -1px;
    background: var(--k-white);
}

.section-divider--curve svg {
    height: 60px;
}

.section-divider--slant {
    background: var(--k-bg-light);
    margin-top: -1px;
}

.section-divider--slant svg {
    height: 50px;
}

.section-divider--wave-footer {
    background: var(--k-white);
    margin-top: -1px;
}

.section-divider--wave-footer svg {
    height: 60px;
}

/* ---- About Section ---- */

.about-section {
    padding: 100px 0;
    background: var(--k-white);
    position: relative;
    overflow: hidden;
}

/* Background blob for glassmorphism to blur against */
.about-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113, 201, 124, 0.15) 0%, rgba(244, 184, 38, 0.08) 60%, transparent 80%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

/* Glassmorphism card */
.about-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--k-radius-card);
    padding: 60px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Gradient left border */
.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--k-green), var(--k-primary), var(--k-accent));
    border-radius: 5px 0 0 5px;
}

[dir="rtl"] .about-card::before {
    left: auto;
    right: 0;
    border-radius: 0 5px 5px 0;
}

.about-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--k-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-icon-wrapper i {
    font-size: 28px;
    color: var(--k-accent);
}

.about-card .section-title {
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--k-text);
    margin-bottom: 16px;
}

.about-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--k-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

/* ---- Offers Section ---- */

.offers-section {
    padding: 100px 0;
    background: var(--k-bg-light);
    position: relative;
    overflow: hidden;
}

/* Subtle concentric circle pattern */
.offers-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(113, 201, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(244, 184, 38, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.offer-card {
    background: var(--k-white);
    border-radius: var(--k-radius-card);
    padding: 48px 40px;
    height: 100%;
    box-shadow: var(--k-shadow);
    transition: transform var(--k-transition), box-shadow var(--k-transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--k-shadow-hover);
}

/* Gradient top border */
.offer-card--academy {
    border-image: linear-gradient(90deg, var(--k-green), #3aaf8e) 1;
    border-top: 4px solid;
}

.offer-card--jobs {
    border-image: linear-gradient(90deg, var(--k-accent), #f09819) 1;
    border-top: 4px solid;
}

.offer-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--k-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all var(--k-transition);
}

/* Icon pulse ring on hover */
.offer-card:hover .offer-card__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--k-green);
    animation: iconPulse 1s ease-out;
    opacity: 0;
}

.offer-card--jobs .offer-card:hover .offer-card__icon::after,
.offer-card:hover .offer-card__icon--jobs::after {
    border-color: var(--k-accent);
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.offer-card__icon i {
    font-size: 28px;
    color: var(--k-green);
}

.offer-card__icon--jobs {
    background: var(--k-accent-light);
}

.offer-card__icon--jobs i {
    color: var(--k-accent);
}

.offer-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--k-heading);
}

.offer-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--k-text-gray);
    margin-bottom: 24px;
}

.offer-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.offer-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--k-heading);
    margin-bottom: 14px;
    padding: 4px 0;
    transition: transform 0.2s ease, color 0.2s ease;
    border-radius: 6px;
}

.offer-card__features li:hover {
    transform: translateX(4px);
}

[dir="rtl"] .offer-card__features li:hover {
    transform: translateX(-4px);
}

.offer-card__features li i {
    color: var(--k-green);
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

.offer-card--jobs .offer-card__features li i {
    color: var(--k-accent);
}

/* ---- Team Section ---- */

.team-section {
    padding: 100px 0;
    background: var(--k-white);
    position: relative;
    overflow: hidden;
}

/* Radial gradient focal glow */
.team-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(23, 66, 59, 0.03) 0%, transparent 65%);
    pointer-events: none;
}

.team-card {
    text-align: center;
    background: var(--k-bg-light);
    border-radius: var(--k-radius-card);
    padding: 40px 30px;
    height: 100%;
    transition: transform var(--k-transition), box-shadow var(--k-transition);
    position: relative;
    overflow: hidden;
}

/* Gradient border reveal on hover */
.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--k-radius-card);
    padding: 2px;
    background: linear-gradient(135deg, var(--k-green), var(--k-primary), var(--k-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--k-shadow-hover);
}

.team-card:hover::before {
    opacity: 1;
}

.team-card__avatar {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Rotating gradient ring */
.avatar-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(var(--k-green), var(--k-accent), var(--k-primary), var(--k-green));
    animation: ringRotate 6s linear infinite;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .avatar-ring {
    opacity: 1;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--k-primary), #236e63);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--k-white);
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(23, 66, 59, 0.25);
    position: relative;
    z-index: 1;
}

.team-card__name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--k-heading);
}

.team-card__role {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--k-primary);
    margin-bottom: 4px;
}

.team-card__focus {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--k-text-gray);
    margin-bottom: 16px;
    font-style: italic;
}

.team-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--k-text);
    margin-bottom: 0;
}

/* ---- Footer ---- */

.site-footer {
    background: linear-gradient(135deg, var(--k-primary) 0%, #1e5c52 50%, #236e63 100%);
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 30px rgba(0, 0, 0, 0.15);
}

/* Footer logo */
.footer-logo-image {
    display: block;
    height: 34px;
    width: auto;
    max-width: 170px;

    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Subtle wave pattern overlay */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 30% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-brand .brand-icon--sm {
    background: rgba(255, 255, 255, 0.15);
}

.footer-brand .brand-text {
    color: var(--k-white);
    font-size: 20px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
}

.footer-links {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 14px;
    transition: color var(--k-transition);
}

.footer-links a:hover {
    color: var(--k-accent);
}

.footer-separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all var(--k-transition);
}

.footer-socials a:hover {
    background: var(--k-accent);
    color: var(--k-heading);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(244, 184, 38, 0.3);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* ---- RTL Overrides ---- */

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .hero-subheadline {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .hero-ctas {
    justify-content: flex-start;
}

[dir="rtl"] .text-lg-start {
    text-align: right !important;
}

[dir="rtl"] .text-lg-end {
    text-align: left !important;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

[dir="rtl"] .offer-card__features li {
    flex-direction: row;
}

[dir="rtl"] .footer-brand {
    justify-content: center;
}

[dir="rtl"] .navbar .nav-link::after {
    left: 16px;
    right: 16px;
}

/* ---- Responsive ---- */

@media (max-width: 1199px) {
    .hero-headline {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-headline {
        font-size: 34px;
    }

    .hero-subheadline {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-text-col {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

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

    .min-vh-hero {
        min-height: auto;
    }

    .about-card {
        padding: 40px 30px;
    }

    .offer-card {
        padding: 36px 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-section,
    .offers-section,
    .team-section {
        padding: 70px 0;
    }

    .blob--green { width: 280px; height: 280px; }
    .blob--gold { width: 240px; height: 240px; }
    .blob--teal { width: 200px; height: 200px; }

    .hero-visual {
        max-width: 400px;
        height: 360px;
    }

    .hero-card {
        width: 200px;
    }

    .hero-card__body {
        padding: 16px 14px 18px;
    }

    .hero-card__icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .hero-card__title {
        font-size: 14px;
    }

.hero-connector {
    top: 56%;
    left: 45%;
}

.hero-connector__badge {
    width: 44px;
    height: 44px;
}

.hero-connector__logo {
    width: 24px;
    height: 24px;
}

}

@media (max-width: 767px) {
    .hero-section {
        padding: 110px 0 60px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

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

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 15px;
    }

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

    .offer-card {
        padding: 30px 24px;
    }

    .offer-card__title {
        font-size: 19px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .section-divider--curve svg,
    .section-divider--slant svg,
    .section-divider--wave-footer svg {
        height: 35px;
    }

    .site-footer {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .about-section,
    .offers-section,
    .team-section {
        padding: 50px 0;
    }

    .blob--green { width: 200px; height: 200px; }
    .blob--gold { width: 180px; height: 180px; }
    .blob--teal { width: 150px; height: 150px; }

    .hero-visual {
        max-width: 340px;
        height: 320px;
        margin-top: 20px;
    }

    .hero-card {
        width: 180px;
    }

    .hero-card--academy {
        top: 20px;
        left: 0;
    }

    .hero-card--jobs {
        top: 60px;
        right: 0;
    }

    .hero-card__body {
        padding: 14px 12px 16px;
    }

    .hero-card__icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .hero-card__title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-card__row-text {
        height: 6px;
    }

    .hero-card__rows {
        gap: 7px;
        margin-bottom: 14px;
    }

    .hero-card__cta {
        height: 26px;
    }

    .hero-card__bar {
        padding: 7px 10px;
    }

    .hero-card__dot {
        width: 6px;
        height: 6px;
    }

    .hero-card__bar-title {
        font-size: 8px;
    }

.hero-connector {
    top: 59%;
    left: 42%;
}

.hero-connector__badge {
    width: 38px;
    height: 38px;
}

.hero-connector__logo {
    width: 21px;
    height: 21px;
}

    .hero-float {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .hero-notif {
        bottom: 20px;
        right: 10px;
        padding: 6px 12px;
        border-radius: 8px;
    }

    .hero-notif i { font-size: 11px; }
    .hero-notif span { font-size: 10px; }
}

@media (max-width: 575px) {
    .hero-headline {
        font-size: 24px;
    }

    .hero-subheadline {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .brand-logo-image {
        height: 38px;
    }

    .footer-logo-image {
        height: 30px;
    }

.hero-connector {
    top: 60%;
    left: 41%;
}

    .brand-text {
        font-size: 18px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .section-title {
        font-size: 22px;
    }

    .offer-card__title {
        font-size: 17px;
    }

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

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
    .blob,
    .avatar-ring,
    .hero-badge,
    .hero-card,
    .hero-float,
    .hero-connector__badge,
    .hero-notif {
        animation: none !important;
    }

    [data-i18n] {
        transition: none !important;
    }
}

/* ---- AOS animation overrides ---- */

[data-aos] {
    pointer-events: auto !important;
}
