/* ============================================
   ABOUT US PAGE — Premium Redesign v3
   Self-contained: no conflicts with footer/header
   ============================================ */

/* ---- Animations ---- */
@keyframes kenburns {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.15); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0 0 rgba(255,99,0,0.4); }
    70%  { box-shadow: 0 0 0 18px rgba(255,99,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,99,0,0); }
}

/* ---- Hero ---- */
.about-hero {
    height: 72vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.about-hero-bg {
    position: absolute;
    inset: -8%;
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    z-index: -2;
    animation: kenburns 25s ease-out infinite alternate;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(92,15,217,0.55) 60%, rgba(255,99,0,0.35) 100%);
    z-index: -1;
}
.about-hero-content {
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    max-width: 900px;
}
.about-hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    opacity: 0;
    animation: fadeInUp 1.1s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.about-hero p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.88);
    font-weight: 300;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1.1s cubic-bezier(0.16,1,0.3,1) 0.45s forwards;
}

/* ---- Highlight Block (overlaps hero) ---- */
.about-highlight {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.7);
    border-left: 8px solid #ff6300;
    border-radius: 24px;
    padding: 2.5rem 3rem;
    margin: -70px auto 4rem;
    position: relative;
    z-index: 20;
    max-width: 1000px;
    width: calc(100% - 4rem);
    font-size: 1.15rem;
    color: #1a1a1a;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.5) inset;
    line-height: 1.9;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.14);
}
.about-highlight strong {
    background: linear-gradient(135deg, #ff6300, #5c0fd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ---- Section Container ---- */
.about-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Re-use .container for sections */
section.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ---- Section Title ---- */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #ff6300, #5c0fd9);
    border-radius: 5px;
}
.section-title p {
    color: #64748b;
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ---- Mission / Vision Cards ---- */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
    gap: 2.5rem;
    max-width: 1180px;
    margin: 0 auto;
    perspective: 1400px;
}
.mission-card,
.vision-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.9);
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease;
}
.mission-card::after,
.vision-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, #ff6300, #5c0fd9);
}
.mission-card:hover,
.vision-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 40px 80px rgba(92,15,217,0.12);
}
.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, #ff6300, #5c0fd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
/* SVG strokes inherit from parent — needs fill:none & stroke handled differently */
.card-icon svg {
    stroke: url(#grad1);
    width: 2.8rem;
    height: 2.8rem;
}
.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.4rem;
    margin-top: 0.5rem;
}
.mission-card p,
.vision-card p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* ---- Services / Why Choose Us Grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.45s ease;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, #ff6300, #5c0fd9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}
.service-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.09);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.6rem;
    background: linear-gradient(135deg, #5c0fd9, #ff6300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(92,15,217,0.3);
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
}
.service-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}
.service-card:hover .service-content h3 { color: #ff6300; }
.service-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Fun Facts (Dark panel) ---- */
.fun-facts {
    background: #0f172a;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
    max-width: 1100px;
    margin: 4rem auto 6rem;
    padding: 4rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fun-facts::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}
.fun-facts > div {
    position: relative;
    z-index: 2;
}
.fun-fact-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ff6300, #5c0fd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: bounce 2.5s ease-in-out infinite;
    display: inline-block;
}
.fun-fact {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -1px;
}
.fun-facts div p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
}

/* ---- Clients slider ---- */
.clients-section { padding: 2rem 0; background: #fff; overflow: hidden; }
.clients-slider { width: 100%; position: relative; }
.clients-track { display: flex; gap: 2rem; padding: 1rem 2rem; flex-wrap: wrap; justify-content: center; }
.client-logo img {
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }

/* ---- CTA ---- */
.about-contact-cta {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
    max-width: 900px;
    margin: 2rem auto 5rem;
    padding: 5rem 3.5rem;
    text-align: center;
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.9;
    position: relative;
    overflow: hidden;
}
.about-contact-cta::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    top: -100px; left: -100px;
    background: #ff6300;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    pointer-events: none;
}
.about-contact-cta::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    bottom: -100px; right: -100px;
    background: #5c0fd9;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    pointer-events: none;
}
.about-contact-cta > * { position: relative; z-index: 1; }
.about-contact-cta strong { color: #0f172a; font-weight: 700; }
.contact-phone,
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.8rem;
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #ff6300, #5c0fd9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.contact-phone:hover, .contact-email:hover { transform: scale(1.04); }
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 3rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, #ff6300, #5c0fd9);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 10px 28px rgba(255,99,0,0.35);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ff8c00, #7b2ff7);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}
.cta-button::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.55s ease;
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(92,15,217,0.45);
}
.cta-button:hover::before { opacity: 1; }
.cta-button:hover::after { left: 100%; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .mission-vision { grid-template-columns: 1fr; }
    .about-highlight { padding: 2rem; margin: -50px 1rem 3rem; }
}
@media (max-width: 768px) {
    .about-hero { min-height: 460px; height: 55vh; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .fun-facts { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem; gap: 2rem; }
    .about-contact-cta { padding: 3.5rem 2rem; margin: 2rem 1rem; }
}
@media (max-width: 576px) {
    .about-highlight { padding: 1.5rem; width: calc(100% - 2rem); }
    section.container { padding: 2rem 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .fun-facts { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
    .mission-card, .vision-card { padding: 2rem 1.5rem; border-radius: 20px; }
    .about-contact-cta { padding: 2.5rem 1.5rem; margin: 1.5rem 0.5rem; border-radius: 20px; }
}
