/* ===== About Hero ===== */
.about-hero {
    position: relative;
    height: 75vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #060c1a;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/about-hero.png') center center / cover no-repeat;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 12, 26, 0.92) 45%, rgba(6, 12, 26, 0.3) 100%);
}

.about-hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    width: 52%;
    padding: 0 0 0 100px;
    text-align: left;
}

.about-hero-tag {
    display: inline-block;
    background: rgba(0, 114, 188, 0.2);
    border: 1px solid rgba(0, 114, 188, 0.4);
    color: #60a5fa;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
}

.about-hero-content h1 {
    font-size: 62px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 22px;
}

.about-hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ah-stat span {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.ah-stat small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

.ah-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
}

.about-hero-scroll {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    font-size: 20px;
}

/* ===== Who We Are ===== */
.about-who {
    padding: 110px 0;
    background: #fff;
}

.about-who-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.about-who-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-display {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(0, 114, 188, 0.35));
    animation: logoFloat 4s ease-in-out infinite, logoGlow 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 114, 188, 0.25)); }
    50%       { filter: drop-shadow(0 0 60px rgba(0, 114, 188, 0.55)); }
}

.about-label {
    display: inline-block;
    background: rgba(0, 114, 188, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(0, 114, 188, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-who-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: #080f1e;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-who-text p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.about-fact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #2d3748;
}

.about-fact-item i {
    color: var(--primary-color);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== 3 Pillars ===== */
.about-pillars {
    padding: 110px 0;
    background: #080f1e;
    position: relative;
    overflow: hidden;
}

.about-pillars::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 114, 188, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pillars-header {
    text-align: center;
    margin-bottom: 70px;
}

.pillars-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-top: 16px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4A9FDB);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 114, 188, 0.3);
    background: rgba(0, 114, 188, 0.07);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-featured {
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.15), rgba(0, 60, 120, 0.2));
    border-color: rgba(0, 114, 188, 0.3);
}

.pillar-number {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #4A9FDB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.8;
}

.pillar-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.pillar-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* ===== CEO Biography ===== */
.about-ceo {
    padding: 110px 0;
    background: #f8faff;
}

.ceo-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.ceo-bio-frame {
    position: relative;
}

.ceo-bio-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.ceo-bio-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #004e8a);
    color: white;
    padding: 14px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 35px rgba(0, 114, 188, 0.4);
    min-width: 280px;
    white-space: nowrap;
}

.ceo-bio-badge i {
    font-size: 22px;
    color: #ffd700;
    flex-shrink: 0;
}

.ceo-bio-badge span {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.ceo-bio-badge small {
    font-size: 11px;
    opacity: 0.75;
}

.ceo-bio-name {
    font-size: 42px;
    font-weight: 800;
    color: #080f1e;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #080f1e, #0072BC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ceo-bio-title {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 18px;
    opacity: 0.85;
}

.ceo-bio-desc {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.ceo-bio-sections {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ceo-bio-group h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.ceo-bio-group h4 i {
    font-size: 14px;
}

.ceo-bio-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ceo-bio-group ul li {
    font-size: 14px;
    color: #2d3748;
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.ceo-bio-group ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ===== Offices ===== */
.about-offices {
    padding: 110px 0;
    background: #080f1e;
}

.offices-header {
    text-align: center;
    margin-bottom: 60px;
}

.offices-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin: 16px 0 16px;
}

.offices-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin: 0 auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.office-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 28px;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 114, 188, 0.35);
    background: rgba(0, 114, 188, 0.07);
}

.office-flag {
    font-size: 36px;
    margin-bottom: 14px;
    line-height: 1;
}

.office-country {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.office-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.office-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 16px;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.office-contact span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-contact i {
    color: var(--primary-color);
    font-size: 11px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-hero-content { width: 65%; }
    .about-hero-content h1 { font-size: 46px; }
    .about-who-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-logo-display { max-width: 240px; }
    .ceo-bio-grid { grid-template-columns: 1fr; gap: 60px; }
    .ceo-bio-img { height: 380px; }
    .offices-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .about-hero { height: auto; min-height: unset; padding: 110px 0 60px; }
    .about-hero-content { position: relative; top: auto; left: auto; transform: none; width: 100%; padding: 0 24px; }
    .about-hero-content h1 { font-size: 34px; }
    .about-hero-stats { gap: 20px; flex-wrap: wrap; }
    .about-who { padding: 70px 0; }
    .about-who-text h2 { font-size: 28px; }
    .about-who-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-logo-display { max-width: 200px; margin: 0 auto; }
    html[dir="rtl"] .about-who-text { text-align: center; }
    .about-facts { align-items: center; }
    html[dir="rtl"] .about-facts { align-items: center; }
    html[dir="rtl"] .about-fact-item { justify-content: center; }
    .pillars-header h2 { font-size: 28px; }
    .ceo-bio-name { font-size: 28px; }
    .offices-grid { grid-template-columns: 1fr 1fr; }
    .offices-header h2 { font-size: 28px; }
    .ceo-bio-badge { min-width: unset; flex-wrap: wrap; font-size: 12px; }
    .about-pillars { padding: 70px 0; }
    .about-ceo { padding: 70px 0; }
    .about-offices { padding: 70px 0; }
}

@media (max-width: 480px) {
    .offices-grid { grid-template-columns: 1fr; }
    .about-hero-stats { gap: 12px; }
    .about-hero-stats .ah-stat span { font-size: 28px; }
    .about-hero-content h1 { font-size: 30px; }
    .pillar-card { padding: 28px 22px; }
    .ceo-bio-sections { grid-template-columns: 1fr; }
    .ceo-bio-grid { gap: 40px; }
}

/* ===== RTL (Arabic) Overrides ===== */
/* Hero: identical position to English — same as home page approach */
html[dir="rtl"] .about-hero-content {
    left: 0;
    right: auto;
    padding: 0 0 0 100px;
    text-align: left;
    direction: ltr;
}

/* Stats stay in same order, no flip */
html[dir="rtl"] .about-hero-stats {
    direction: ltr;
    justify-content: flex-start;
}

/* Who We Are — text block right aligned */
html[dir="rtl"] .about-who-text {
    text-align: right;
    direction: rtl;
}

/* Facts: RTL row starts from right, icon appears on far right */
html[dir="rtl"] .about-fact-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
}

html[dir="rtl"] .about-facts {
    direction: rtl;
}

/* Bullet dots — flip to right side in Arabic */
html[dir="rtl"] .ceo-bio-group ul li {
    padding-left: 0;
    padding-right: 18px;
}

html[dir="rtl"] .ceo-bio-group ul li::before {
    left: auto;
    right: 0;
}
