/* page/about.php styles */
:root {
    --primary-brand: #00aeef;
    --secondary-brand: #009bd5;
    --text-dark: #414042;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Section - Reverted to Original style */
.hero-container {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: transparent;
    border-radius: 50%;
    z-index: 0;
}

.hero-img-box {
    position: relative;
    z-index: 1;
}

.hero-img-box img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-brand), var(--secondary-brand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Identity Cards (Mission & Vision) */
.identity-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.premium-card {
    background: var(--white);
    border: 1px solid #f7941e;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    padding: 40px;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.08);
    border-color: var(--primary-brand);
}

.card-icon-modern {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    color: var(--primary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: 22px;
    margin-bottom: 30px;
    transition: all var(--transition-speed);
}

.premium-card:hover .card-icon-modern {
    background: var(--primary-brand);
    color: var(--white);
    transform: rotate(8deg) scale(1.1);
}

.section-headline {
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
}

.section-headline::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-brand);
    border-radius: 2px;
    margin-top: 10px;
}

/* Principles Grid - Improved as requested */
.principles-section {
    padding: 100px 0;
    background-color: var(--white);

}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.principle-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid #f7941e;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.principle-card:hover {
    background: var(--white);
    border-color: var(--primary-brand);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.06);
    transform: translateY(-8px);
}

.section-header {
    text-align: center;
    padding: 60px 0;
    background: #00aeef;
    color: white;
    margin-bottom: 40px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.principle-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-brand);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-speed);
}

.principle-card:hover .principle-icon {
    background: var(--primary-brand);
    color: var(--white);
    transform: scale(1.1);
}

.principle-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.principle-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Team Section - Refined Integration */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.team-member-card {
    background: var(--white);
    border-radius: 26px;
    overflow: hidden;
    border: none;
    transition: all var(--transition-speed);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.member-img-placeholder {
    height: 260px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #cbd5e1;
    transition: all var(--transition-speed);
}

.team-member-card:hover .member-img-placeholder {
    background: var(--primary-brand);
    color: var(--white);
}

.member-info {
    padding: 25px;
    text-align: center;
}

/* CTA Section - Professional & Wow */
.cta-modern {
    background: linear-gradient(135deg, var(--primary-brand) 0%, var(--secondary-brand) 100%);
    border-radius: 40px;
    padding: 90px 40px;
    color: var(--white);
    text-align: center;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.2);
}

.cta-modern::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-title {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.btn-white-premium {
    background: var(--white);
    color: var(--primary-brand);
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 18px;
    border: none;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-white-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--secondary-brand);
}

/* Animation */
.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991px) {
    .hero-container {
        padding: 80px 0;
        text-align: center;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .identity-section {
        margin-top: 0;
        padding: 50px 0;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Force Primary Color Override */
.bg-primary {
    background-color: #00aeef !important;
}

.text-primary {
    color: #00aeef !important;
}

.badge.bg-primary {
    background-color: #00aeef !important;
}

.btn-primary {
    background-color: #00aeef !important;
    border-color: #00aeef !important;
    padding: 10px 24px;
}

.btn-outline-primary {
    color: #00aeef !important;
    border-color: #00aeef !important;
    padding: 10px 24px;
}

.btn-outline-primary:hover {
    background-color: #00aeef !important;
    color: white !important;
}