/* ========================================
   Modern About Page - Professional Design
   ======================================== */

:root {
    --primary: #0c2f86;
    --primary-dark: #0a1f63;
    --primary-light: #1a4cbe;
    --accent: #9aa3b5;
    --accent-dark: #828c9d;
    --text: #1b1f30;
    --text-light: #4a5163;
    --muted: #5f6475;
    --bg: #f5f7fb;
    --bg-light: #fafbfd;
    --card: #fff;
    --stroke: #e3e7ef;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary));
    --gradient-accent: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   Header & Navigation Styles
   ======================================== */

/* Old Header Styles - REMOVED (Using header.css instead) */

/* ========================================
   Footer Styles
   ======================================== */

.footer {
    margin-top: 40px;
    background: radial-gradient(120% 160% at 80% -10%, rgba(24, 90, 219, 0.12), transparent 55%),
                linear-gradient(135deg, #050c23, #0a1538 55%, #040817);
    color: #dfe5f5;
    padding: 44px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #13224a;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244, 170, 27, 0.16), transparent 28%, transparent 72%, rgba(244, 170, 27, 0.16));
    opacity: 0.4;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px 16px;
}

.brand-stack {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    padding: 10px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.footer-tagline {
    color: #9eb1d6;
    font-weight: 600;
    margin-top: 4px;
}

.footer-ribbon {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfe5f5;
    font-weight: 700;
    margin-top: 12px;
}

.footer-ribbon .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.footer-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
}

.footer-desc {
    margin: 0 0 10px;
    color: #9eb1d6;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #dfe5f5;
    font-weight: 700;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact li {
    color: #c6d1e9;
    font-weight: 700;
}

.newsletter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #1f2c54;
    background: rgba(12, 18, 40, 0.7);
    color: #fff;
}

.newsletter button {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--accent);
    color: #0f1c42;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(244, 170, 27, 0.25);
}

.newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(244, 170, 27, 0.35);
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #131f3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #9eb1d6;
    font-weight: 700;
}

.social {
    display: inline-flex;
    gap: 8px;
}

.social a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: #dfe5f5;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* ========================================
   Hero Section - Advanced Design
   ======================================== */

.hero-about {
    position: relative;
    background: var(--gradient-primary);
    color: #fff;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: 3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.badge-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.badge-modern i {
    font-size: 16px;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.feature-item i {
    color: var(--accent);
    font-size: 16px;
}

/* Hero Card */
.hero-card-wrapper {
    animation: fadeInRight 0.8s ease 0.3s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-pillars-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(244, 170, 27, 0.4);
}

.card-icon i {
    font-size: 28px;
    color: #fff;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.pillars-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(244, 170, 27, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon i {
    font-size: 20px;
    color: var(--accent);
}

.pillar-text h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.pillar-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

/* ========================================
   Vision, Mission & Values Section
   ======================================== */

.vmv-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-head-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(12, 47, 134, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.section-badge i {
    font-size: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-title.light {
    color: #fff;
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.85);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vmv-card {
    position: relative;
    background: var(--card);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.vmv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.vmv-card:hover::before {
    transform: scaleX(1);
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke);
}

.vision-card:hover {
    border-color: rgba(12, 47, 134, 0.2);
}

.mission-card:hover {
    border-color: rgba(244, 170, 27, 0.2);
}

.values-card:hover {
    border-color: rgba(26, 76, 190, 0.2);
}

.vmv-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(12, 47, 134, 0.25);
    transition: all 0.3s ease;
}

.mission-card .vmv-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(244, 170, 27, 0.25);
}

.values-card .vmv-icon {
    background: linear-gradient(135deg, #1a4cbe, #2d5dd8);
    box-shadow: 0 10px 30px rgba(26, 76, 190, 0.25);
}

.vmv-card:hover .vmv-icon {
    transform: rotate(360deg) scale(1.1);
}

.vmv-icon i {
    font-size: 32px;
    color: #fff;
}

.vmv-badge {
    padding: 8px 16px;
    background: rgba(12, 47, 134, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}

.mission-card .vmv-badge {
    background: rgba(244, 170, 27, 0.1);
    color: var(--accent-dark);
}

.values-card .vmv-badge {
    background: rgba(26, 76, 190, 0.1);
    color: var(--primary-light);
}

.vmv-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.vmv-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 600;
}

.vmv-decoration {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(12, 47, 134, 0.05), transparent);
    border-radius: 50%;
}

/* ========================================
   Statistics Section
   ======================================== */

.stats-section {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(244, 170, 27, 0.1), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 40%);
}

.stats-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-modern-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.stat-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(244, 170, 27, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-modern-card:hover::before {
    opacity: 1;
}

.stat-modern-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(244, 170, 27, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-modern-card:hover .stat-icon-wrapper {
    background: var(--gradient-accent);
    transform: rotate(360deg);
}

.stat-icon-wrapper i {
    font-size: 28px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.stat-modern-card:hover .stat-icon-wrapper i {
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.stat-line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 10px;
    margin: 0 auto;
    transition: width 0.4s ease;
}

.stat-modern-card:hover .stat-line {
    width: 100%;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
    padding: 80px 0;
    background: var(--card);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid var(--stroke);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-card-inner {
    padding: 35px 25px;
    text-align: center;
}

.team-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.team-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 15px 40px rgba(12, 47, 134, 0.3);
    transition: all 0.4s ease;
}

.team-card:hover .team-icon {
    transform: scale(1.15) rotate(360deg);
}

.team-icon i {
    font-size: 40px;
    color: #fff;
}

.team-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(244, 170, 27, 0.1);
    color: var(--accent-dark);
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}

.team-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin: 16px 0 12px;
}

.team-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--stroke);
}

.team-social-link {
    width: 40px;
    height: 40px;
    background: rgba(12, 47, 134, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.team-social-link i {
    font-size: 18px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.05), rgba(244, 170, 27, 0.05));
}

.cta-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--card);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--stroke);
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 20px 50px rgba(32, 21, 180, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-icon i {
    font-size: 48px;
    color: #fff;
}

.cta-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 17px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(12, 47, 134, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(12, 47, 134, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.btn-primary i,
.btn-secondary i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(-5px);
}

.btn-secondary:hover i {
    transform: scale(1.2);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero-about {
        padding: 80px 0 60px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .vmv-section,
    .stats-section,
    .team-section {
        padding: 60px 0;
    }

    .vmv-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-content {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-pillars-card {
        padding: 24px;
    }

    .card-title {
        font-size: 18px;
    }

    .vmv-card {
        padding: 30px 20px;
    }

    .vmv-title {
        font-size: 19px;
    }

    .team-card-inner {
        padding: 28px 20px;
    }
}

