/**
 * company-about-us.css - About Us Page Styles
 * Global styles: main.css | Company shared: company.css
 * This file: page-specific overrides only
 * All variables referenced directly from main.css
 */

/* =============================================
   LOADING OVERLAY
   ============================================= */
#loading-overlay {
    position: fixed; inset: 0;
    background: var(--bg-primary);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 9999; transition: opacity 0.5s ease;
}
#loading-overlay .spinner {
    width: 48px; height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-left-color: var(--primary-gold);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
#loading-overlay .loading-text {
    color: var(--text-secondary); font-family: var(--font-secondary);
    font-size: 0.9rem; margin-top: 1rem;
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   DARK THEME BASE
   ============================================= */
body.dark-theme {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* =============================================
   SECTION LAYOUT
   ============================================= */
.section { padding: 6rem 0; position: relative; }
.section:nth-child(odd) { background-color: var(--bg-primary); }
.section:nth-child(even) { background-color: var(--bg-secondary); }
.section:nth-child(even)::before {
    content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.15), transparent);
}

/* =============================================
   PREMIUM SECTION HEADERS
   ============================================= */
.premium-section-header { text-align: center; margin-bottom: 4rem; }
.premium-section-header h2 {
    font-family: var(--font-heading);
    color: var(--text-primary); font-size: 2.8rem;
    font-weight: var(--font-weight-bold); margin-bottom: 1rem; letter-spacing: -0.02em;
}
.premium-section-header p {
    font-family: var(--font-primary);
    color: var(--text-secondary); font-size: 1.15rem;
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.premium-section-header::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
    margin: 1.5rem auto 0; border-radius: 2px;
}

/* =============================================
   PREMIUM CARD
   ============================================= */
.premium-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.premium-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-2xl);
    border-color: rgba(251, 191, 36, 0.12);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-item {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-item.animated { opacity: 1; transform: translateY(0); }
.row > .animate-item:nth-child(1), .row > div:nth-child(1) .animate-item { transition-delay: 0s; }
.row > .animate-item:nth-child(2), .row > div:nth-child(2) .animate-item { transition-delay: 0.1s; }
.row > .animate-item:nth-child(3), .row > div:nth-child(3) .animate-item { transition-delay: 0.2s; }
.row > .animate-item:nth-child(4), .row > div:nth-child(4) .animate-item { transition-delay: 0.3s; }
.row > .animate-item:nth-child(5), .row > div:nth-child(5) .animate-item { transition-delay: 0.4s; }
.row > .animate-item:nth-child(6), .row > div:nth-child(6) .animate-item { transition-delay: 0.5s; }
.row > .animate-item:nth-child(7), .row > div:nth-child(7) .animate-item { transition-delay: 0.55s; }
.row > .animate-item:nth-child(8), .row > div:nth-child(8) .animate-item { transition-delay: 0.6s; }

/* =============================================
   TEXT UTILITIES
   ============================================= */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title { font-family: var(--font-heading); color: var(--text-primary); font-weight: var(--font-weight-bold); }

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
    width: 60px; height: 60px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal); text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }

/* =============================================
   ABOUT-US PAGE SPECIFIC OVERRIDES
   ============================================= */

/* Stat cards */
.stat-card { padding: 2rem 1.5rem; position: relative; overflow: hidden; }
.stat-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
    opacity: 0; transition: opacity 0.4s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
    font-family: var(--font-heading); font-size: 3rem; font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.1; margin: 0.75rem 0;
}
.stat-card h5, .stat-card h6 { color: var(--text-secondary); font-size: 0.95rem; font-weight: var(--font-weight-medium); margin-bottom: 0; }

/* Vision / Mission Icons */
.vision-mission-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(251, 191, 36, 0.1));
    color: var(--primary-gold); font-size: 1.4rem; flex-shrink: 0;
}

/* Value Prop Icons */
.value-prop-icon {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(251, 191, 36, 0.08));
    color: var(--primary-gold); font-size: 1.5rem; margin: 0 auto 1rem;
}

/* Service Card Icons */
.service-icon {
    width: 64px; height: 64px; border-radius: var(--border-radius-xl);
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(251, 191, 36, 0.08));
    color: var(--primary-gold); font-size: 1.6rem; margin: 0 auto 1.2rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 40px; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-gold));
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
    position: absolute; left: -33px; top: 1.5rem; width: 14px; height: 14px;
    border-radius: 50%; background: var(--primary-gold);
    border: 3px solid var(--bg-primary); box-shadow: 0 0 12px rgba(251, 191, 36, 0.4); z-index: 1;
}
.timeline-content { padding: 1.5rem 2rem; }
.timeline-year {
    display: inline-block; color: var(--primary-gold);
    font-family: var(--font-secondary); font-weight: var(--font-weight-bold);
    font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem;
}

/* Founder Profile */
.founder-image img { border-radius: var(--border-radius-xl); box-shadow: var(--shadow-lg); max-width: 300px; }
.founder-profile { display: flex; flex-direction: column; gap: 1rem; }
.founder-highlight { display: flex; align-items: flex-start; gap: 1rem; }
.founder-highlight-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(251, 191, 36, 0.1));
    color: var(--primary-gold); font-size: 0.9rem; flex-shrink: 0;
}

/* Achievement Cards */
.achievement-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(30, 58, 138, 0.1));
    color: var(--primary-gold); font-size: 1.4rem; margin-bottom: 1rem;
}

/* Eco Practice Icons */
.eco-practice-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981; font-size: 1.4rem; margin-bottom: 1rem;
}
.stat-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981; font-size: 1.5rem;
}

/* Story Image */
.story-image img { border-radius: var(--border-radius-xl); box-shadow: var(--shadow-lg); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: var(--border-radius-2xl); padding: 4rem 2rem;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-section::before {
    content: ""; position: absolute; top: -50%; right: -10%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(251, 191, 36, 0.08); pointer-events: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .section { padding: 4rem 0; }
    .premium-section-header h2 { font-size: 2.2rem; }
    .stat-number { font-size: 2.5rem; }
    .timeline { padding-left: 35px; }
    .timeline::before { left: 12px; }
    .timeline-dot { left: -30px; }
    .founder-image img { max-width: 250px; }
    .cta-section { padding: 3rem 1.5rem; }
}
@media (max-width: 767.98px) {
    .section { padding: 3rem 0; }
    .premium-section-header { margin-bottom: 2.5rem; }
    .premium-section-header h2 { font-size: 1.8rem; }
    .premium-section-header p { font-size: 1rem; }
    .premium-card { border-radius: var(--border-radius-lg); }
    .whatsapp-btn { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .stat-number { font-size: 2rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .stat-card h5 { font-size: 0.85rem; }
    .timeline { padding-left: 28px; }
    .timeline::before { left: 8px; }
    .timeline-dot { left: -26px; width: 12px; height: 12px; }
    .timeline-content { padding: 1.2rem 1.5rem; }
    .founder-image img { max-width: 200px; }
    .vision-mission-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .value-prop-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .cta-section { padding: 2.5rem 1.2rem; }
    .cta-section h2 { font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
    .section { padding: 2.5rem 0; }
    .premium-section-header h2 { font-size: 1.6rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-card { padding: 1.2rem 0.8rem; }
    .timeline-content { padding: 1rem 1.2rem; }
    .founder-highlight { gap: 0.75rem; }
    .founder-highlight-icon { width: 34px; height: 34px; font-size: 0.8rem; }
}
