/* =====================================================
   ABOUT PAGE CSS - PAPER PORT
   File: assets/css/about.css
   Description: Complete styles for About page
   ===================================================== */

/* =====================================================
   SECTION BASE
   ==================================================== */

.Section {
    padding: 80px 0;
}

.Section-Header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.Section-SubTitle {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 30px;
    background: rgba(242, 140, 40, 0.10);
    color: #F28C28;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.Section-Title {
    font-size: 38px;
    font-weight: 700;
    color: #0B2B4A;
    margin-bottom: 16px;
    line-height: 1.2;
}

.Section-Description {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

/* =====================================================
   ABOUT PAGE - TOP SECTION (Breadcrumb + Header)
   ==================================================== */

.About-Page {
    padding: 130px 0 40px;
    background: #ffffff;
}

.About-Page .Container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.About-Page .breadcrumb {
    font-size: 14px;
    color: #5A6B75;
    margin-bottom: 30px;
    text-align: left;
}

.About-Page .breadcrumb a {
    color: #54B448;
    text-decoration: none;
}

.About-Page .breadcrumb a:hover {
    text-decoration: underline;
}

.About-Page .breadcrumb .separator {
    color: #c0c8d0;
    margin: 0 6px;
}

.About-Page .breadcrumb .current {
    color: #0B2B4A;
    font-weight: 500;
}

/* Page Header */
.About-Page .page-header {
    text-align: left;
    margin-bottom: 50px;
}

.About-Page .page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0B2B4A;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.About-Page .page-header .page-text {
    font-size: 20px;
    color: #54B448;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   ABOUT HERO
   ==================================================== */

.About-Hero {
    position: relative;
    margin-top: 90px;
    padding: 140px 0 120px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.About-Hero-Bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.About-Hero-Bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.About-Hero-Overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 43, 74, 0.88) 0%,
        rgba(11, 43, 74, 0.70) 50%,
        rgba(11, 43, 74, 0.80) 100%
    );
    z-index: 1;
}

.About-Hero .Container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.About-Hero-Content {
    max-width: 700px;
}

.About-Hero-SubTitle {
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.10);
    color: #F28C28;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    border: 1px solid rgba(242, 140, 40, 0.20);
    backdrop-filter: blur(6px);
}

.About-Hero-Title {
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.20);
}

.About-Hero-Description {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 550px;
}

.About-Hero-Buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.About-Hero-Buttons .Btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 54px;
    padding: 0 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.About-Hero-Buttons .Btn-Primary {
    background: #F28C28;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(242, 140, 40, 0.35);
}

.About-Hero-Buttons .Btn-Primary:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 140, 40, 0.45);
}

.About-Hero-Buttons .Btn-Secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.About-Hero-Buttons .Btn-Secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* =====================================================
   ABOUT STORY
   ==================================================== */

.About-Story {
    padding: 90px 0;
    background: #ffffff;
}

.About-Story .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.About-Story-Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.About-Story-Content .Section-SubTitle {
    margin-bottom: 12px;
}

.About-Story-Content .Section-Title {
    font-size: 40px;
    margin-bottom: 24px;
}

.About-Story-Text {
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.About-Story-Text:last-child {
    margin-bottom: 0;
}

.About-Story-Image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.About-Story-Image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.About-Story-Image:hover img {
    transform: scale(1.02);
}

.About-Story-Image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 43, 74, 0.10), transparent);
    pointer-events: none;
}

/* =====================================================
   ABOUT MISSION
   ==================================================== */

.About-Mission {
    padding: 90px 0;
    background: #f8fafc;
}

.About-Mission .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.About-Mission-Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 10px;
}

.About-Mission-Item {
    background: #ffffff;
    padding: 45px 40px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8edf2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.About-Mission-Item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F28C28;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.About-Mission-Item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: #F28C28;
}

.About-Mission-Item:hover::before {
    opacity: 1;
}

.About-Mission-Icon {
    font-size: 42px;
    display: block;
    margin-bottom: 16px;
}

.About-Mission-Item-Title {
    font-size: 22px;
    font-weight: 700;
    color: #0B2B4A;
    margin-bottom: 12px;
}

.About-Mission-Item-Text {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

/* =====================================================
   ABOUT VISION
   ==================================================== */

.About-Vision {
    padding: 80px 0;
    background: #f8fafc;
}

.About-Vision .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.About-Vision-Grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.About-Vision-Item {
    background: #ffffff;
    padding: 45px 40px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8edf2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.About-Vision-Item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F28C28;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.About-Vision-Item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: #F28C28;
}

.About-Vision-Item:hover::before {
    opacity: 1;
}

.About-Vision-Icon {
    font-size: 42px;
    display: block;
    margin-bottom: 16px;
}

.About-Vision-Item-Title {
    font-size: 22px;
    font-weight: 700;
    color: #0B2B4A;
    margin-bottom: 12px;
}

.About-Vision-Item-Text {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

/* =====================================================
   ABOUT VALUES
   ==================================================== */

.About-Values {
    padding: 90px 0;
    background: #ffffff;
}

.About-Values .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.About-Values-Grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 10px;
}

.About-Values-Item {
    background: #f8fafc;
    padding: 35px 20px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8edf2;
}

.About-Values-Item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #F28C28;
    background: #ffffff;
}

.About-Values-Icon {
    font-size: 34px;
    color: #F28C28;
    display: block;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.About-Values-Item:hover .About-Values-Icon {
    transform: scale(1.10);
}

.About-Values-Item-Title {
    font-size: 18px;
    font-weight: 700;
    color: #0B2B4A;
    margin-bottom: 8px;
}

.About-Values-Item-Text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* =====================================================
   ABOUT CTA
   ==================================================== */

.About-CTA {
    padding: 75px 0 80px;
    background: #54B448;
    position: relative;
    overflow: hidden;
}

.About-CTA::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/pattern-dots.png') repeat;
    opacity: 0.05;
}

.About-CTA .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.About-CTA-Wrapper {
    text-align: center;
}

.About-CTA-Content {
    max-width: 700px;
    margin: 0 auto;
}

.About-CTA-SubTitle {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.About-CTA-Title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: 1.2;
}

.About-CTA-Description {
    font-size: 18px;
    opacity: 0.92;
    line-height: 1.8;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
}

.About-CTA-Buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.About-CTA-Buttons .Btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 56px;
    padding: 0 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
}

.About-CTA-Btn-Primary {
    background: #ffffff;
    color: #54B448;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.About-CTA-Btn-Primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.20);
    background: #f8f8f8;
}

.About-CTA-Btn-Primary i {
    transition: transform 0.3s ease;
}

.About-CTA-Btn-Primary:hover i {
    transform: translateX(5px);
}

.About-CTA-Btn-Secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.30);
}

.About-CTA-Btn-Secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* =====================================================
   ANIMATIONS
   ==================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.About-Story-Content,
.About-Mission-Item,
.About-Vision-Item,
.About-Values-Item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.About-Mission-Item:nth-child(1) { animation-delay: 0.10s; }
.About-Mission-Item:nth-child(2) { animation-delay: 0.20s; }

.About-Vision-Item { animation-delay: 0.10s; }

.About-Values-Item:nth-child(1) { animation-delay: 0.05s; }
.About-Values-Item:nth-child(2) { animation-delay: 0.10s; }
.About-Values-Item:nth-child(3) { animation-delay: 0.15s; }
.About-Values-Item:nth-child(4) { animation-delay: 0.20s; }
.About-Values-Item:nth-child(5) { animation-delay: 0.25s; }

/* =====================================================
   RTL SUPPORT
   ==================================================== */

[dir="rtl"] .About-Page .breadcrumb {
    text-align: right;
}

[dir="rtl"] .About-Page .page-header {
    text-align: right;
}

[dir="rtl"] .About-Hero-Content {
    text-align: right;
}

[dir="rtl"] .About-Hero-Buttons {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

[dir="rtl"] .About-Mission-Item {
    text-align: right;
}

[dir="rtl"] .About-Vision-Item {
    text-align: center;
}

[dir="rtl"] .About-Values-Item {
    text-align: center;
}

[dir="rtl"] .About-CTA-Content {
    text-align: center;
}

[dir="rtl"] .About-CTA-Buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .About-CTA-Btn-Primary i {
    transform: rotate(180deg);
}

[dir="rtl"] .About-CTA-Btn-Primary:hover i {
    transform: rotate(180deg) translateX(5px);
}

/* =====================================================
   RESPONSIVE - LARGE TABLETS
   ==================================================== */

@media (max-width: 1024px) {
    .About-Values-Grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .About-Hero-Title {
        font-size: 42px;
    }
}

/* =====================================================
   RESPONSIVE - TABLETS
   ==================================================== */

@media (max-width: 768px) {
    .Section {
        padding: 55px 0;
    }
    
    .Section-Title {
        font-size: 30px;
    }
    
    .About-Page {
        padding: 110px 0 30px;
    }
    
    .About-Page .page-header h1 {
        font-size: 30px;
    }
    
    .About-Page .page-header .page-text {
        font-size: 17px;
    }
    
    .About-Hero {
        margin-top: 70px;
        padding: 80px 0 70px;
        min-height: 400px;
    }
    
    .About-Hero-Title {
        font-size: 34px;
    }
    
    .About-Hero-Description {
        font-size: 16px;
    }
    
    .About-Hero-Buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .About-Hero-Buttons .Btn {
        width: 100%;
        max-width: 280px;
    }
    
    .About-Story-Grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .About-Story-Content .Section-Title {
        font-size: 32px;
    }
    
    .About-Story-Image img {
        height: 280px;
    }
    
    .About-Mission-Grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .About-Mission-Item {
        padding: 30px 25px;
    }
    
    .About-Vision {
        padding: 50px 0;
    }
    
    .About-Vision-Item {
        padding: 30px 25px;
    }
    
    .About-Values-Grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .About-Values-Item {
        padding: 25px 15px;
    }
    
    .About-CTA {
        padding: 50px 0 55px;
    }
    
    .About-CTA-Title {
        font-size: 30px;
    }
    
    .About-CTA-Description {
        font-size: 16px;
    }
    
    .About-CTA-Buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .About-CTA-Buttons .Btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* RTL Tablet */
    [dir="rtl"] .About-Hero-Content {
        text-align: center;
    }
    
    [dir="rtl"] .About-Hero-Buttons {
        justify-content: center;
        flex-direction: column-reverse;
    }
    
    [dir="rtl"] .About-CTA-Buttons {
        flex-direction: column-reverse;
    }
    
    [dir="rtl"] .About-Mission-Item {
        text-align: center;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ==================================================== */

@media (max-width: 480px) {
    .Section {
        padding: 40px 0;
    }
    
    .Section-Title {
        font-size: 26px;
    }
    
    .Section-SubTitle {
        font-size: 12px;
        padding: 4px 14px;
    }
    
    .About-Hero {
        margin-top: 60px;
        padding: 60px 0 50px;
        min-height: 350px;
    }
    
    .About-Hero-Title {
        font-size: 28px;
    }
    
    .About-Hero-SubTitle {
        font-size: 12px;
        padding: 6px 18px;
    }
    
    .About-Hero-Description {
        font-size: 15px;
    }
    
    .About-Story-Content .Section-Title {
        font-size: 28px;
    }
    
    .About-Story-Text {
        font-size: 15px;
    }
    
    .About-Story-Image img {
        height: 200px;
    }
    
    .About-Mission-Item-Title {
        font-size: 20px;
    }
    
    .About-Mission-Item-Text {
        font-size: 15px;
    }
    
    .About-Vision-Item-Title {
        font-size: 20px;
    }
    
    .About-Vision-Item-Text {
        font-size: 15px;
    }
    
    .About-Values-Grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .About-Values-Item {
        padding: 20px 12px;
        border-radius: 12px;
    }
    
    .About-Values-Icon {
        font-size: 28px;
    }
    
    .About-Values-Item-Title {
        font-size: 15px;
    }
    
    .About-Values-Item-Text {
        font-size: 13px;
    }
    
    .About-CTA-Title {
        font-size: 26px;
    }
    
    .About-CTA-Description {
        font-size: 15px;
    }
    
    .About-CTA-Buttons .Btn {
        height: 48px;
        font-size: 14px;
        padding: 0 25px;
        min-width: 160px;
    }
}