/* --- Coffyx About Page Styling --- */

:root {
    --gold: #c9a24a;
    --gold-grad: linear-gradient(135deg, #c9a24a 0%, #ecd48a 100%);
    --bg-dark: #050505;
}

/* Hero Section */
.about-hero {
    background: radial-gradient(circle at top, rgba(201,162,74,0.18), transparent 70%);
    padding: 140px 0;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #fff;
}

.hero-description {
    max-width: 750px;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Title Decorations */
.text-gradient {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--gold-grad);
    margin-top: 15px;
    border-radius: 2px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
}

.section-text {
    color: #b5b5b5;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 50px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(201, 162, 74, 0.3);
}

.stat-item span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 2px;
}

/* Image Wrapper with Glow */
.about-image-wrapper {
    position: relative;
    padding: 15px;
}

.custom-rounded {
    border-radius: 45px;
    border: 1px solid rgba(201,162,74,0.25);
    transition: 0.5s;
}

.image-overlay-glow {
    position: absolute;
    top: 5%; left: 5%; width: 90%; height: 90%;
    background: var(--gold);
    filter: blur(100px);
    opacity: 0.12;
    z-index: -1;
}

/* Glass Cards (Mission/Vision) */
.glass-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 50px !important;
    border-radius: 35px !important;
}

.card-icon {
    width: 65px;
    height: 65px;
    background: rgba(201,162,74,0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border: 1px solid rgba(201,162,74,0.2);
}

/* Feature Boxes (Grid) */
.feature-box {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 28px;
    padding: 50px 25px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-glow {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201,162,74,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: 0.5s;
}

.feature-box:hover .feature-glow {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.feature-box i {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* CTA Box - Improved */
.cta-box-about {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), 
                url('/static/images/tech-grid.png'); /* Pattern optional */
    border: 1px solid rgba(201,162,74,0.4);
    padding: 100px 40px;
    border-radius: 50px;
    box-shadow: 0 0 50px rgba(201,162,74,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.4rem; }
    .stats-row { justify-content: center; margin-bottom: 30px; }
}
/* ستايل زر الشراكة والتواصل الفخم */
.btn-gold-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, #c9a24a 0%, #ecd48a 100%);
    color: #000 !important; /* نص أسود ليكون واضحاً فوق الذهبي */
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(201, 162, 74, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

/* تأثير عند تمرير الماوس */
.btn-gold-glow:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(201, 162, 74, 0.4);
    filter: brightness(1.1);
}

/* إضافة لمسة إضاءة متحركة داخل الزر */
.btn-gold-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.btn-gold-glow:hover::before {
    left: 100%;
}

/* تنسيق السهم داخل الزر */
.btn-gold-glow i {
    transition: transform 0.3s ease;
}

.btn-gold-glow:hover i {
    transform: translateX(5px);
}