/* ========================================
   about.css - Alliance Global
   About Page Styles
   ======================================== */

/* Page Hero & Breadcrumb styles moved to style.css */

/* ========================================
   COMPANY STORY SECTION
   ======================================== */
.about-story {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(7, 41, 98, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(183, 147, 72, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-content .section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.story-content .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.story-content .section-title em,
.about-why .section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), #a3842f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
}

.story-highlights .highlight-item {
    font-size: 14px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.highlight-item:hover .highlight-icon {
    color: white;
}

.highlight-icon {
    color: var(--accent);
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Story Image */
.story-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

.image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--accent), #d4b96a);
    color: var(--primary);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(183, 147, 72, 0.4);
    z-index: 3;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.badge-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Decorative accent behind image */
.image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.15;
}

/* ========================================
   MISSION & VISION SECTION
   ======================================== */
.about-mission {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
}

.about-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(7, 41, 98, 0.15);
    border-color: rgba(183, 147, 72, 0.3);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.08), rgba(183, 147, 72, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.4s ease;
    position: relative;
}

.mission-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(183, 147, 72, 0.3);
    animation: iconRotate 20s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mission-card:hover .mission-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: scale(1.1);
}

.mission-card:hover .mission-icon::after {
    border-color: rgba(255, 255, 255, 0.3);
}

.mission-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.mission-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.about-why {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.about-why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(7, 41, 98, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(183, 147, 72, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.about-why .section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.about-why .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-why .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.03), rgba(183, 147, 72, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.why-card:hover::after {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(7, 41, 98, 0.12);
    border-color: var(--accent);
    background: #ffffff;
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: rgba(7, 41, 98, 0.04);
    position: absolute;
    top: 12px;
    right: 18px;
    line-height: 1;
    transition: all 0.3s ease;
}

.why-card:hover .why-number {
    color: rgba(183, 147, 72, 0.15);
    transform: scale(1.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(7, 41, 98, 0.3);
}

.why-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   TEAM / LEADERSHIP SECTION
   ======================================== */
.about-team {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
}

.about-team .section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.about-team .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-team .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    justify-content: center;
}

/* ---- Team Card ---- */
.team-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    width: 100%;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(7, 41, 98, 0.12);
    border-color: var(--accent);
}

/* Team Image */
.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Image Badge */
.team-image-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(7, 41, 98, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.team-image-badge .badge-icon {
    color: var(--accent);
    font-size: 14px;
}

/* Team Info */
.team-info {
    padding: 28px;
    text-align: center;
}

.team-role {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding: 4px 12px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.team-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-bio {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: left;
}

/* Team Stats */
.team-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.team-stats .stat-item {
    text-align: center;
}

.team-stats .stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.team-stats .stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Team Contact Links */
.team-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.team-contact .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-contact .contact-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.team-contact .contact-link.whatsapp:hover {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
}

/* CTA styles moved to style.css */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   BIG SCREENS (Desktop Horizontal Layout)
   ======================================== */
@media (min-width: 993px) {
    .team-grid {
        justify-content: center;
    }

    .team-card {
        display: grid;
        grid-template-columns: 450px 1fr;
        max-width: 1000px;
    }

    .team-image img {
        height: 100%;
        min-height: 450px;
    }

    .team-image-badge {
        bottom: 20px;
        left: 20px;
    }

    .team-info {
        text-align: left;
        padding: 40px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-role {
        margin-bottom: 8px;
    }

    .team-info h4 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .team-bio {
        font-size: 14px;
        line-height: 1.8;
    }

    .team-stats {
        justify-content: flex-start;
        gap: 40px;
        padding: 20px 0;
    }

    .team-stats .stat-number {
        font-size: 26px;
    }

    .team-contact {
        justify-content: flex-start;
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 60px 0 25px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-image {
        order: -1;
    }

    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 50px 40px;
    }

    .floating-badge {
        bottom: -15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 30px 0px;
    }

    .about-story,
    .about-mission,
    .about-why,
    .about-team {
        padding: 40px 0;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .story-highlights {
        flex-direction: column;
        gap: 12px;
    }

    .highlight-item {
        justify-content: center;
    }

    .team-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 25px 0px;
    }

    .page-title {
        font-size: 32px;
    }

    .about-story,
    .about-mission,
    .about-why,
    .about-team {
        padding: 30px 0;
    }

    .image-wrapper img {
        height: 300px;
    }

    /* keep decorative accent inside the viewport on small screens */
    .image-accent {
        left: -8px;
        bottom: -12px;
        width: 120px;
        height: 120px;
    }

    .floating-badge {
        padding: 15px 20px;
        bottom: -10px;
        right: 10px;
    }

    .badge-number {
        font-size: 20px;
    }

    .mission-card,
    .why-card {
        padding: 30px 20px;
    }

    .team-info {
        padding: 25px;
    }

    .cta-box {
        padding: 40px 25px;
        border-radius: 16px;
    }

    .cta-box .btn-gold {
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }
}
