/* ==========================================================================
   ABOUT US PAGE STYLES
   Matches the premium dark and soft canvas color combinations of the website development page.
   ========================================================================== */

/* --- 1. HERO SECTION (Dark Premium Gradient) --- */
.about-hero {
    background: var(--gradient-premium-dark);
    padding: 160px 24px 100px;
    position: relative;
    overflow: hidden;
}




.about-hero .glow-blob-hero {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.15) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    border-radius: 50%;
    z-index: 1;
}

.about-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-hero .hero-content {
    color: var(--color-white);
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero .badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: badge-pulse-animation 2s infinite;
}

@keyframes badge-pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.about-hero .hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-white);
}

.about-hero .hero-desc {
    font-size: 1.3rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.about-hero .hero-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
}

.btn-primary.hero-cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 38px;
    border-radius: 60px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary.hero-cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 24, 27, 0.3);
    color: #fff;
}

.btn-outline.testimonial-cta {
    background: transparent;
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline.testimonial-cta:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(231, 24, 27, 0.3);
    transform: translateY(-2px);
}

/* Floating Enquire Badge */
.float-enquire {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(231, 24, 27, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-enquire:hover {
    background: var(--color-primary-hover);
    padding-bottom: 34px;
    color: #fff;
}

.float-enquire i {
    margin-right: 8px;
}

/* --- Stats Grid inside Hero --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 5px;
}

.stat-item .stat-highlight {
    color: var(--color-primary);
    background: linear-gradient(135deg, #d31013 30%, #ff5252 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* --- 2. INTEGRATED PARTNER SECTION (Light/White Canvas) --- */
.partner-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-copy h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 15px;
}

.partner-subhead {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px;
}

.partner-copy p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.partner-visual {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-visual:hover .partner-image {
    transform: scale(1.03);
}

/* --- 3. OUR PROCESS SECTION (Soft Canvas) --- */
.process-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.process-subtext {
    font-size: 1.05rem;
    color: #475569;
    max-width: 600px;
    margin: 15px auto 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.process-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 35px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(231, 24, 27, 0.15);
}

.process-step {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #475569;
}

/* --- 4. TESTIMONIALS SECTION (Dark Premium Gradient) --- */
.testimonials-section {
    padding: 100px 24px;
    background: var(--gradient-premium-dark);
}

.testimonial-header {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: end;
    max-width: 1100px;
    margin: 0 auto;
}

.badge-red {
    display: inline-block;
    background: rgba(231, 24, 27, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 24px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.testimonials-section .section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0;
}

.testimonials-section .highlight {
    color: var(--color-primary);
}

.testimonial-subtext {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 20px 40px rgba(231, 24, 27, 0.05);
}

.rating-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rating-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.rating-stars {
    color: #f59e0b;
    font-size: 1.8rem;
    margin: 10px 0 5px;
}

.rating-label {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 600;
}

.rating-desc {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 15px 0 20px;
}

.rating-source {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-white);
    font-weight: 500;
}

.rating-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.quote-card {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(231, 24, 27, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.arrow-left {
    left: -22px;
}

.arrow-right {
    right: -22px;
}

.quote-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.quote-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Keep each review and author together as one centred, multi-line block. */
.quote-slide .quote-author,
.quote-slide blockquote {
    width: 100%;
    max-width: 620px;
    text-align: center;
}

.quote-slide .quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin: 0 auto 15px;
}

.quote-card blockquote {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 20px;
    padding: 0;
}

.quote-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-white);
}

.quote-author span {
    font-size: 0.95rem;
    color: #94a3b8;
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.quote-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-dots .dot.active {
    background: var(--color-primary);
    width: 22px;
    border-radius: 4px;
}

/* --- 5. LATEST INSIGHTS / BLOG SECTION (White Canvas) --- */
.insights-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.section-header.text-left {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-text {
    max-width: 700px;
}

.insights-arrows {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.arrow-light {
    position: static;
    transform: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.arrow-light:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(231, 24, 27, 0.25);
    transform: scale(1.05);
}

.insights-section .section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-top: 10px;
}

.insights-viewport {
    overflow: hidden;
    max-width: 1200px;
    margin: 50px auto 0;
}

.insights-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card {
    min-width: calc((100% - 60px) / 3);
    flex-shrink: 0;
    background: var(--color-white);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
    border-color: rgba(11, 26, 96, 0.12);
}

.insight-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover .insight-thumb img {
    transform: scale(1.03);
}

.insight-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.insight-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b1a60;
    margin-bottom: 20px;
    line-height: 1.35;
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.9rem;
    color: #475569;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.meta-item i {
    font-size: 0.95rem;
    color: #94a3b8;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
    margin-top: auto;
}

.read-more:hover {
    gap: 14px;
    color: var(--color-primary-hover);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--color-primary);
    width: 22px;
    border-radius: 4px;
}

/* --- Global Highlights Utility --- */
.highlight {
    color: var(--color-primary);
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        display: block;
        gap: 30px !important;
    }

    .insight-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 16px 60px;
    }

    .about-hero .hero-title {
        font-size: 2.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .partner-copy h2 {
        font-size: 2.1rem;
    }

    .partner-section,
    .process-section,
    .testimonials-section,
    .insights-section {
        padding: 60px 16px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-subhead {
        font-size: 1.3rem;
    }

    .insights-section .section-title,
    .testimonials-section .section-title {
        font-size: 1.9rem;
    }

    .section-header.text-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .insight-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-hero .hero-title {
        font-size: 1.9rem;
    }

    .about-hero .hero-desc {
        font-size: 1.1rem;
    }

    .btn-primary.hero-cta,
    .btn-outline.testimonial-cta {
        width: 100%;
        justify-content: center;
    }

    .testimonial-card {
        padding: 25px;
        /* gap: 20px !important; */

        margin-top: 20px;
    }

    .rating-number {
        font-size: 3.5rem;
    }
}

/* ============================================================
   TEAM SECTION (Our Experts)
   ============================================================ */
.team-section {
    padding: 100px 24px;
    background: #f8fafc;
    position: relative;
}

.team-subtext {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 15px auto 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.team-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(231, 24, 27, 0.15);
}

.team-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f5f9;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.04);
}

.team-info {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0b1a60;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: #0b1a60;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(11, 26, 96, 0.25);
}

/* Responsiveness for Team Grid */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
