/* ==========================================================================
   LINA ARCHITECTURE - ABOUT PAGE CSS
   ========================================================================== */

/* ============================================
   SECTION 5.1 - HERO & OUR STORY
   ============================================ */
.about-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.85));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

/* Breadcrumb styles */
.about-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.about-hero .breadcrumb-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-hero .breadcrumb-link:hover {
    color: #c4a77d;
}

.about-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.about-hero .breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Our Story Section */
.our-story {
    background: #ffffff;
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: rgba(196, 167, 125, 0.15);
    border-radius: 16px;
    z-index: -1;
}

.story-experience-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: #c4a77d;
    color: #0a192f;
    padding: 20px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(196, 167, 125, 0.4);
}

.story-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.story-badge-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.story-content {
    padding-left: 20px;
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 24px;
    line-height: 1.3;
}

.story-text {
    margin-bottom: 32px;
}

.story-intro {
    font-size: 1.125rem;
    color: #0a192f;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-text p {
    color: #5a6a7a;
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-values {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.story-value {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a192f;
    font-weight: 500;
}

.story-value i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 167, 125, 0.15);
    color: #c4a77d;
    border-radius: 8px;
    font-size: 1rem;
}

/* ============================================
   SECTION 5.2 - KEY STATISTICS
   ============================================ */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: #0a192f;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.05;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(196, 167, 125, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c4a77d;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #c4a77d;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #c4a77d;
}

.stat-number-text {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #c4a77d;
    display: block;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin-top: 12px;
    font-weight: 500;
}

/* ============================================
   SECTION 5.3 - WHY CHOOSE US
   ============================================ */
.why-choose-section {
    background: #ffffff;
    padding: 100px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: #f8f5f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(196, 167, 125, 0.15);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #c4a77d;
}

.why-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #c4a77d;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #0a192f;
    transition: all 0.4s ease;
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 12px;
}

.why-card-description {
    color: #5a6a7a;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   SECTION 5.4 - CREDENTIALS
   ============================================ */
.credentials-section {
    background: #f8f5f0;
    padding: 100px 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.credential-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.credential-logo {
    margin-bottom: 20px;
}

.credential-logo-placeholder {
    width: 100px;
    height: 80px;
    margin: 0 auto;
    background: #0a192f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.credential-logo-riba {
    background: #003366;
}

.credential-logo-federation {
    background: #1a5f2a;
}

.credential-logo-ico {
    background: #4a4a4a;
}

.credential-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 10px;
}

.credential-description {
    color: #5a6a7a;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.credential-reg {
    display: inline-block;
    background: rgba(196, 167, 125, 0.15);
    color: #0a192f;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.credentials-assurance {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #c4a77d;
}

.credentials-assurance-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: rgba(196, 167, 125, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c4a77d;
}

.credentials-assurance-content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 6px;
}

.credentials-assurance-content p {
    color: #5a6a7a;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    position: relative;
    padding: 60px 0;
    background: #0a192f;
    overflow: hidden;
}

.cta-strip-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.05;
}

.cta-strip-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-strip-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.cta-strip-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.story-image-wrapper,
.story-content,
.stat-item,
.why-card,
.credential-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.story-image-wrapper.animate,
.story-content.animate,
.stat-item.animate,
.why-card.animate,
.credential-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.stat-item:nth-child(1) { transition-delay: 0s; }
.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }

.why-card:nth-child(1) { transition-delay: 0s; }
.why-card:nth-child(2) { transition-delay: 0.1s; }
.why-card:nth-child(3) { transition-delay: 0.2s; }
.why-card:nth-child(4) { transition-delay: 0.3s; }
.why-card:nth-child(5) { transition-delay: 0.4s; }
.why-card:nth-child(6) { transition-delay: 0.5s; }

.credential-card:nth-child(1) { transition-delay: 0s; }
.credential-card:nth-child(2) { transition-delay: 0.1s; }
.credential-card:nth-child(3) { transition-delay: 0.2s; }
.credential-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-content {
        padding-left: 0;
    }
    
    .story-experience-badge {
        bottom: -20px;
        left: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: auto;
        min-height: 50vh;
        padding: 60px 0;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .story-values {
        flex-direction: column;
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-assurance {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
}
