/* ==========================================
   Al-Enaya for Access Care — Styling System v3.0
   Warm, Human-Centered Universal Accessibility Identity
   Mobile-first, app-like interaction patterns
   ========================================== */

:root {
    --enaya-blue: #1d4ed8;
    --enaya-blue-dark: #17399e;
    --enaya-blue-light: #eef4ff;
    --enaya-teal: #0d9488;
    --enaya-teal-dark: #0b7a70;
    --enaya-teal-light: #ecfdf9;
    --enaya-coral: #f97316;
    --enaya-coral-light: #fff4ec;
    --enaya-red: #dc2626;
    --enaya-red-dark: #991b1b;
    --enaya-red-light: #fef2f2;

    --dark: #0f172a;
    --dark-muted: #475569;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e6ebf2;

    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.14);
    --shadow-glow-blue: 0 12px 30px rgba(29, 78, 216, 0.22);
    --shadow-glow-red: 0 12px 30px rgba(220, 38, 38, 0.22);
    --shadow-glow-teal: 0 12px 30px rgba(13, 148, 136, 0.22);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --action-bar-h: 68px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'El Messiri', 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #fafbfc;
    overflow-x: hidden;
    direction: rtl;
}

html[lang="en"] body {
    font-family: 'Roboto', sans-serif;
    direction: ltr;
}

img { display: block; max-width: 100%; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Navigation Bar
   ========================================== */
.enaya-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

.enaya-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
}

.enaya-navbar .container {
    max-width: 1560px;
    width: 100%;
    padding: 0 32px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-area img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-area:hover img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--enaya-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--enaya-teal);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

html[lang="en"] .nav-link::after {
    right: auto;
    left: 0;
}

/* Sibling brand link to Sawas Industrial */
.nav-sawas-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #b48c36 !important;
    font-weight: 700 !important;
    background: rgba(212, 175, 55, 0.08);
    padding: 6px 14px !important;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: var(--transition);
}

.nav-sawas-link:hover {
    background: rgba(212, 175, 55, 0.18);
    color: #8c6a20 !important;
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.4);
}

.nav-sawas-link::after {
    display: none !important;
}

/* Group Main Portal Chip */
.portal-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--enaya-blue) !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
    transition: var(--transition);
}

.portal-chip-link:hover {
    background: var(--enaya-blue);
    color: var(--white) !important;
    border-color: var(--enaya-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Primary Audit CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    color: var(--white) !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: var(--transition);
    border: none;
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 7px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    background: var(--enaya-blue);
    color: var(--white);
    border-color: var(--enaya-blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

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

.mobile-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav-menu-overlay {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Hero Section — Warm Human-Centered
   ========================================== */
.enaya-hero {
    position: relative;
    min-height: 88vh;
    padding-top: 110px;
    padding-bottom: 60px;
    background:
        radial-gradient(circle at 85% 10%, rgba(13, 148, 136, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(249, 115, 22, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 60% 40%, rgba(29, 78, 216, 0.07) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--enaya-teal-light);
    color: var(--enaya-teal-dark);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 22px;
    border: 1px solid rgba(13, 148, 136, 0.18);
}

.hero-badge-pill i { color: var(--enaya-teal); }

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.28;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--enaya-blue) 0%, var(--enaya-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--dark-muted);
    line-height: 1.85;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    min-height: 52px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--enaya-blue) 0%, var(--enaya-blue-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(29, 78, 216, 0.32); }

.btn-red {
    background: linear-gradient(135deg, var(--enaya-red) 0%, var(--enaya-red-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow-red);
}

.btn-red:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(220, 38, 38, 0.32); }

.btn-outline {
    background: var(--white);
    color: var(--dark);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    background: var(--enaya-teal-light);
    color: var(--enaya-teal-dark);
    border-color: var(--enaya-teal);
}

/* Hero Stats */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.hero-stat-item h4 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--enaya-blue);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-item p {
    font-size: 0.82rem;
    color: var(--gray);
    font-weight: 600;
    line-height: 1.4;
}

/* Hero Image Card Showcase */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 1px solid var(--border);
}

.hero-visual-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.86) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: var(--white);
}

.hero-visual-overlay h3 { font-size: 1.35rem; margin-bottom: 8px; }
.hero-visual-overlay p { font-size: 0.92rem; opacity: 0.9; }

.hero-floating-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

html[lang="en"] .hero-floating-badge { right: auto; left: 22px; }

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--enaya-teal-light);
    color: var(--enaya-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.badge-text strong { display: block; font-size: 0.92rem; color: var(--dark); }
.badge-text span { font-size: 0.78rem; color: var(--gray); }

/* ==========================================
   Section Headers
   ========================================== */
section { padding: 84px 0; }

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

.section-tag {
    display: inline-block;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.tag-blue { background: var(--enaya-blue-light); color: var(--enaya-blue); }
.tag-red { background: var(--enaya-red-light); color: var(--enaya-red); }
.tag-teal { background: var(--enaya-teal-light); color: var(--enaya-teal-dark); }

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.32;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--gray);
    line-height: 1.85;
}

/* ==========================================
   About Feature Cards
   ========================================== */
.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.about-feature-card {
    background: var(--white);
    padding: 34px 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
}

.about-feature-icon.icon-blue { background: var(--enaya-blue-light); color: var(--enaya-blue); }
.about-feature-icon.icon-red { background: var(--enaya-red-light); color: var(--enaya-red); }
.about-feature-icon.icon-teal { background: var(--enaya-teal-light); color: var(--enaya-teal-dark); }
.about-feature-icon.icon-coral { background: var(--enaya-coral-light); color: var(--enaya-coral); }

.about-feature-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 800;
}

.about-feature-card p {
    color: var(--gray);
    font-size: 0.94rem;
    line-height: 1.75;
}

/* ==========================================
   Pillars & Solutions Cards (Swipeable on Mobile)
   ========================================== */
.pillars-viewport {
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--pillar-color, var(--enaya-blue));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.pillar-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.pillar-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--pillar-bg, var(--enaya-blue-light));
    color: var(--pillar-color, var(--enaya-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pillar-title-group h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.35;
}

.pillar-title-group span {
    font-size: 0.85rem;
    color: var(--pillar-color, var(--enaya-blue));
    font-weight: 700;
}

.pillar-desc {
    color: var(--dark-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.pillar-features { list-style: none; margin-bottom: 26px; flex: 1; }

.pillar-features li {
    position: relative;
    padding-inline-start: 28px;
    margin-bottom: 12px;
    color: var(--dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pillar-features li i {
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--pillar-color, var(--enaya-blue));
}

html[lang="en"] .pillar-features li i { right: auto; left: 0; }

.pillar-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.pillar-card-footer a {
    color: var(--pillar-color, var(--enaya-blue));
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.pillar-card-footer a:hover { gap: 14px; }

.swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 700;
}

.swipe-hint i { animation: swipeNudge 1.6s ease-in-out infinite; color: var(--enaya-teal); }

@keyframes swipeNudge {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-6px); opacity: 1; }
}

html[lang="en"] .swipe-hint i { animation-name: swipeNudgeLtr; }
@keyframes swipeNudgeLtr {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
}

/* ==========================================
   Project Showcase Gallery — Bento on Desktop
   ========================================== */
.projects-section { background: #f1f5f9; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 20px;
}

.projects-grid .project-item-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.projects-grid .project-item-card:nth-child(4) { grid-column: span 2; }

.project-item-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-item-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    flex: 1;
    min-height: 110px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    inset: 0;
}

.project-item-card:hover .project-img-wrapper img { transform: scale(1.08); }

.project-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.82);
    color: var(--white);
    padding: 5px 13px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    z-index: 2;
}

html[lang="en"] .project-category-badge { right: auto; left: 14px; }

.project-body {
    padding: 18px 20px;
    background: var(--white);
}

.project-item-card:nth-child(1) .project-body,
.project-item-card:nth-child(4) .project-body { padding: 22px 24px; }

.project-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.4;
}

.project-item-card:nth-child(1) .project-body h4,
.project-item-card:nth-child(4) .project-body h4 { font-size: 1.2rem; }

.project-body p {
    font-size: 0.86rem;
    color: var(--gray);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-item-card:nth-child(1) .project-body p,
.project-item-card:nth-child(4) .project-body p { -webkit-line-clamp: 3; font-size: 0.92rem; }

/* ==========================================
   Partners Section
   ========================================== */
.partners-section { background: var(--white); }

.partners-category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-muted);
    text-align: center;
    margin-bottom: 24px;
}

.partners-category-title::before,
.partners-category-title::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--border);
}

.partners-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 46px;
}

.partner-card-box {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    height: 76px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.partner-card-box img {
    max-height: 50px;
    max-width: 116px;
    object-fit: contain;
    filter: grayscale(85%);
    opacity: 0.8;
    transition: var(--transition);
}

.partner-card-box:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--enaya-teal);
}

.partner-card-box:hover img { filter: grayscale(0); opacity: 1; }

/* ==========================================
   Audit & Contact Form
   ========================================== */
.audit-form-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(13, 148, 136, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(29, 78, 216, 0.18) 0%, transparent 45%),
        linear-gradient(135deg, #0f172a 0%, #101a2e 100%);
    color: var(--white);
    position: relative;
}

.audit-card-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.form-header-box { text-align: center; max-width: 700px; margin: 0 auto 40px; }

.form-header-box h2 { font-size: 2.2rem; font-weight: 800; color: var(--white); margin: 14px 0 12px; }

.form-header-box p { font-size: 1.05rem; color: #cbd5e1; }

.enaya-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.form-group { display: flex; flex-direction: column; }

.form-group label { font-size: 0.92rem; font-weight: 600; margin-bottom: 9px; color: #e2e8f0; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 52px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--enaya-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.28);
    background: rgba(15, 23, 42, 0.85);
}

.form-group select option { background: #0f172a; color: var(--white); }

.form-full-col { grid-column: 1 / -1; }

.form-submit-row { grid-column: 1 / -1; text-align: center; margin-top: 14px; }

/* WhatsApp Submission Feedback Box */
.enaya-wa-feedback-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(18, 140, 63, 0.18) 100%);
    border: 1.5px solid #25D366;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    animation: waSlideDown 0.4s ease-out forwards;
}

@keyframes waSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.feedback-body {
    flex: 1;
    text-align: right;
}

html[lang="en"] .feedback-body {
    text-align: left;
}

.feedback-body h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 700;
}

.feedback-body p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 14px;
    line-height: 1.6;
}

.enaya-wa-launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.enaya-wa-launch-btn:hover {
    background: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

@media (max-width: 768px) {
    .enaya-wa-feedback-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 14px;
    }
    .feedback-body {
        text-align: center !important;
    }
    .enaya-wa-launch-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ==========================================
   Footer
   ========================================== */
.enaya-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }

.footer-brand img { height: 50px; margin-bottom: 20px; filter: brightness(1.2); }

.footer-brand p { font-size: 0.94rem; line-height: 1.8; }

.footer-column h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--enaya-teal);
}

html[lang="en"] .footer-column h4::after { right: auto; left: 0; }

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.93rem;
    transition: var(--transition);
}

.footer-column ul li a:hover { color: var(--white); padding-inline-start: 6px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.93rem;
}

.footer-contact-item i { color: var(--enaya-teal); font-size: 1.05rem; margin-top: 4px; }

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

/* ==========================================
   Mobile Sticky Action Bar (App-Like)
   ========================================== */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    height: calc(var(--action-bar-h) + env(safe-area-inset-bottom));
}

.action-bar-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 8px;
    height: 100%;
}

.action-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    transition: var(--transition);
}

.action-bar-btn i { font-size: 1.15rem; }

.action-bar-primary {
    background: linear-gradient(135deg, var(--enaya-red) 0%, var(--enaya-red-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.action-bar-secondary {
    background: var(--enaya-blue-light);
    color: var(--enaya-blue);
}

.action-bar-whatsapp {
    background: #e9fbf1;
    color: #128c3f;
}

.action-bar-btn:active { transform: scale(0.95); }

/* ==========================================
   Responsive Rules
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-title { font-size: 2.5rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .projects-grid .project-item-card:nth-child(1) { grid-column: span 2; }
    .projects-grid .project-item-card:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 1180px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: calc(100vh - 76px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-left: 1px solid rgba(226, 232, 240, 0.8);
        z-index: 999;
    }

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

    html[lang="en"] .nav-menu {
        right: auto;
        left: -100%;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
        border-left: none;
        border-right: 1px solid rgba(226, 232, 240, 0.8);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html[lang="en"] .nav-menu.active { left: 0; }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        white-space: normal;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        padding-bottom: 8px;
    }

    .nav-links li:last-child { border-bottom: none; }

    .nav-link { display: block; padding: 8px 4px; font-size: 1.05rem; }

    .mobile-drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
    }

    .mobile-drawer-actions .portal-chip-link,
    .mobile-drawer-actions .nav-cta-btn {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .desktop-only { display: none !important; }

    .mobile-toggle { display: flex; }
}

@media (min-width: 1181px) {
    .mobile-drawer-actions { display: none !important; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }

    body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }

    .mobile-action-bar { display: block; }

    .whatsapp-float { display: none !important; }

    .enaya-hero { padding-top: 96px; min-height: auto; }

    .hero-title { font-size: 1.95rem; }

    .hero-description { font-size: 1rem; }

    .hero-buttons { flex-direction: column; align-items: stretch; }

    .hero-buttons .btn { width: 100%; }

    .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }

    .hero-visual-card img { height: 280px; }

    .section-header { margin-bottom: 36px; }

    .section-title { font-size: 1.7rem; }

    /* Swipeable pillar cards */
    .pillars-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin: 0 -24px;
        padding: 4px 24px 8px;
        scrollbar-width: none;
    }

    .pillars-grid::-webkit-scrollbar { display: none; }

    .pillar-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
        padding: 28px 24px;
    }

    .swipe-hint { display: flex; }

    /* Swipeable project bento -> horizontal cards */
    .projects-grid {
        display: flex;
        grid-auto-rows: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin: 0 -24px;
        padding: 4px 24px 8px;
        scrollbar-width: none;
    }

    .projects-grid::-webkit-scrollbar { display: none; }

    .projects-grid .project-item-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        grid-column: unset !important;
        grid-row: unset !important;
    }

    .project-img-wrapper { height: 190px; flex: none; }

    .partners-flex { gap: 12px; margin-bottom: 34px; }

    .partner-card-box { min-width: 120px; height: 68px; padding: 10px 18px; }

    .audit-card-wrapper { padding: 28px 18px; }

    .form-header-box h2 { font-size: 1.6rem; }

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

/* ===================================================
   Footer QR Code Badge Component (Al-Enaya)
   =================================================== */
.footer-qr-container {
    margin-top: 22px;
}

.footer-qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 14px;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    max-width: 100%;
}

.footer-qr-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(45, 212, 191, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 16px rgba(45, 212, 191, 0.18);
}

.footer-qr-img-box {
    background: #ffffff;
    padding: 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.footer-qr-img-box img {
    width: 76px;
    height: 76px;
    display: block;
    border-radius: 4px;
}

.footer-qr-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: start;
}

.qr-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--enaya-teal, #0d9488);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.4px;
}

.qr-badge-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.qr-badge-domain {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    unicode-bidi: embed;
}

.qr-badge-domain i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.footer-qr-badge:hover .qr-badge-domain {
    color: #ffffff;
}

@media (max-width: 576px) {
    .footer-qr-badge {
        width: 100%;
        justify-content: flex-start;
    }
}

