/**
 * منارات الفرص - About Us Page Stylesheet
 * Manarat Elforas - About Page
 * Use with main.css
 */

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

@media (max-width: 1024px) {
    .page-hero {
        min-height: auto;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 107, 100, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(174, 147, 87, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(174, 147, 87, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #004C48 0%, #003D3A 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23AE9357' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(174, 147, 87, 0.2);
    border: 2px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(174, 147, 87, 0.2);
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--off-white);
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.page-hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-cream);
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   About Content / Story Section
   ============================================ */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-box {
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(174, 147, 87, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

.story-box .lead-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--light-cream);
    margin-bottom: 1.5rem;
}

.story-box .lead-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .story-box {
        padding: 1.5rem;
    }
    
    .story-box .lead-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ============================================
   Values Grid
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-card {
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border: 2px solid rgba(174, 147, 87, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold-lg);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--light-cream);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }
}

/* ============================================
   Team Section - Carousel (Same as Homepage)
   ============================================ */
.team-section {
    background: linear-gradient(135deg, #004C48 0%, #003D3A 50%, rgba(174, 147, 87, 0.1) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.team-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    padding: 2rem 0;
    transition: opacity 0.3s ease;
}

.team-carousel {
    display: flex;
    gap: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 30px;
}

.team-member {
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.4) 0%, rgba(0, 76, 72, 0.3) 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.team-member:hover {
    transform: translateY(-15px);
    border-color: var(--gold-light);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(174, 147, 87, 0.4);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(174, 147, 87, 0.2);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 107, 100, 0.5) 0%, rgba(0, 76, 72, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--gold);
    transition: all 0.4s ease;
    position: relative;
}

.team-member:hover .team-photo {
    transform: scale(1.1);
    border-color: var(--gold-light);
    box-shadow: 
        0 15px 40px rgba(174, 147, 87, 0.5),
        inset 0 0 30px rgba(174, 147, 87, 0.4);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    color: var(--off-white);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.team-position {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 27rem;
}

.carousel-btn {
    width: 55px;
    height: 55px;
    background: var(--gold-gradient);
    border: 3px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    border: none;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold-lg);
}

.carousel-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--dark-teal);
    stroke-width: 3;
}

@media (max-width: 1024px) {
    .team-member { width: 260px; }
    .team-photo { width: 120px; height: 120px; font-size: 3rem; }
}

@media (max-width: 768px) {
    .team-carousel { gap: 1.5rem; }
    .team-member { width: 240px; padding: 2rem 1.5rem; }
    .team-photo { width: 110px; height: 110px; font-size: 2.5rem; }
    .team-name { font-size: 1.2rem; }
    .team-position { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .team-member { width: 220px; padding: 1.8rem 1.2rem; }
    .team-photo { width: 100px; height: 100px; font-size: 2rem; }
    .team-name { font-size: 1.1rem; }
    .team-position { font-size: 0.85rem; }
}

/* ============================================
   Cities Showcase Section - Enhanced
   ============================================ */
.cities-section {
    background: linear-gradient(135deg, #004C48 0%, rgba(174, 147, 87, 0.1) 50%, #003D3A 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cities-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .cities-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.city-showcase-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.4) 0%, rgba(0, 76, 72, 0.3) 100%);
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.city-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.city-showcase-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-light);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(174, 147, 87, 0.5);
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.5) 0%, rgba(0, 76, 72, 0.4) 100%);
}

.city-showcase-card:hover::before {
    transform: scaleX(1);
}

.city-icon {
    font-size: 4rem;
    flex-shrink: 0;
    filter: drop-shadow(0 5px 15px rgba(174, 147, 87, 0.3));
}

.city-info h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.city-info p {
    color: var(--light-cream);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.city-link {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.city-showcase-card:hover .city-link {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .city-showcase-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .city-icon {
        font-size: 3rem;
    }
    
    .city-info h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Trust Bar / Stats
   ============================================ */
.trust-bar {
    background: linear-gradient(135deg, #006B64 0%, rgba(174, 147, 87, 0.15) 50%, #004C48 100%);
    padding: 4rem 0;
    border-top: 2px solid #ae935761;
    border-bottom: 2px solid #ae935766;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(174, 147, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(174, 147, 87, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 3rem 0;
    }
    
    .trust-grid {
        gap: 1.5rem;
    }
}

.trust-item {
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border: 2px solid rgba(174, 147, 87, 0.3);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold-lg);
}

.trust-item:hover::before {
    transform: scaleX(1);
}

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(174, 147, 87, 0.5);
    line-height: 1;
    display: block;
}

.trust-label {
    color: var(--off-white);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-item {
        padding: 1.5rem 1rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    .trust-label {
        font-size: 0.9rem;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--teal-gold-gradient);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #ae935747;
    border-bottom: 2px solid #ae935729;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3.5rem 0;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-content h2 {
    color: var(--off-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--light-cream);
    font-size: 1.1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn svg {
    flex-shrink: 0;
}

.call-btn {
    background: linear-gradient(135deg, #006B64 0%, #004C48 100%);
    color: var(--gold);
    border: 2px solid var(--gold);
}

.call-btn:hover {
    background: var(--gold);
    color: var(--dark-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(174, 147, 87, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 600px) {
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}