/* About Page Styles */

/* Section 1: Hero Section */
.hero-section {
    position: relative;
    height: 507px;
    max-height: 507px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 72.76%, rgba(0, 0, 0, 0.37) 100%), 
                linear-gradient(180deg, rgba(0, 0, 0, 0.00) 62.13%, rgba(0, 0, 0, 0.40) 100%), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.34) 100%), 
                url('../images/about_sec1_bg.png') lightgray 50% / cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
}

.company-name {
    font-family: "FZ Poppins", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #F6C945;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-info {
    margin-top: 1.5rem;
}

.company-detail,
.company-address {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.company-detail {
    font-weight: 400;
}

.company-address {
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.hero-logo {
    position: absolute;
    right: 60px;
    bottom: 40px;
    z-index: 3;
    opacity: 0.8;
}

.hero-logo img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Section 2: Activities */
.activities-section {
    background: white;
    padding: 80px 0;
}

.section-title {
    font-family: "FZ Poppins";
    color: #FFF;
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--Brown_1, #362921);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 4.8px;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.activity-item {
    display: flex;
    width: 263px;
    height: 175.657px;
    padding: 19.41px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 19.41px;
    border-radius: 13px;
    background: #F6C945;
    box-shadow: 0px 0px 35.908px -1.941px rgba(17, 24, 39, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.activity-item:nth-child(2),
.activity-item:nth-child(4),
.activity-item:nth-child(5),
.activity-item:nth-child(7) {
    background: white;
    color: #362921;
}

.activity-item:nth-child(1),
.activity-item:nth-child(3),
.activity-item:nth-child(6),
.activity-item:nth-child(8) {
    background: #F6C945;
    color: #362921;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 45px -1.941px rgba(17, 24, 39, 0.15);
}

.activity-item h3 {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* Section 3: Vision */
.vision-section {
    background: #F6C945;
    padding: 100px 0;
    position: relative;
    min-height: 600px;
}

.vision-logo {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 2;
}

.vision-logo img {
    width: 150px;
    height: auto;
}

.vision-title {
    color: rgba(54, 41, 33, 0.25);
    text-align: center;
    font-family: "FZ Poppins", sans-serif;
    font-size: 90.644px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    margin-left: 25rem;
    margin-bottom: 0;
    z-index: 1;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
    text-align: center;
}

.vision-content h3 {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #362921;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.vision-content p {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #362921;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section 4: Mission */
.mission-section {
    background: white;
    padding: 100px 0;
}

.mission-images {
    position: relative;
    height: 400px;
}

.mission-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 80%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mission-image-small {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 45%;
    height: 50%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.mission-image-main img,
.mission-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-content {
    padding-left: 3rem;
}

.mission-title {
    color: rgba(246, 201, 69, 0.70);
    text-align: center;
    font-family: "FZ Poppins", sans-serif;
    font-size: 90.644px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.mission-description {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Section 5: Values */
.values-section {
    background: #F6C945;
    padding: 100px 0;
}

.values-content {
    padding-right: 2rem;
}

.values-title {
    font-family: "FZ Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #362921;
    text-align: left;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.values-list {
    margin-top: 2rem;
}

.value-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.value-bullet {
    font-size: 1.5rem;
    color: #362921;
    font-weight: 700;
    line-height: 1.4;
    min-width: 20px;
}

.value-text {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #362921;
}

.value-text strong {
    font-weight: 700;
}

.values-diagram {
    position: relative;
    height: 600px;
    padding: 20px;
    overflow: visible;
}

.diagram-item {
    position: absolute;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 180px;
}

.diagram-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Diagram Item 1 - Uy tín (Top Right) - Now as image */
.diagram-item-1 {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 380px;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.diagram-item-1:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.05);
}

/* Diagram Item 2 - Cam kết đồng hành (Left Side) */
.diagram-item-2 {
    position: absolute;
    top: 120px;
    left: -20px;
    width: 320px;
    height: 130px;
    object-fit: contain;
    border-radius: 12px;
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.diagram-item-2:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.05);
    z-index: 10;
}

/* Diagram Item 3 - Khách hàng là trung tâm (Right Side) */
.diagram-item-3 {
    position: absolute;
    top: 260px;
    right: 20px;
    width: 350px;
    height: 140px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.diagram-item-3:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.05);
}

/* Diagram Item 4 - Đồng hành bền vững (Bottom Left) */
.diagram-item-4 {
    position: absolute;
    bottom: 40px;
    left: 20px;
    width: 360px;
    height: 144px;
    object-fit: contain;
    border-radius: 12px;
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.diagram-item-4:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.05);
    z-index: 10;
}

/* Base styling for all diagram items */
.diagram-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Specific styling for each diagram item */
.diagram-item-1 .diagram-number {
    color: #F6C945;
}

.diagram-item-2 .diagram-number {
    color: #F6C945;
}

.diagram-item-3 .diagram-number {
    color: #F6C945;
}

.diagram-item-4 .diagram-number {
    color: #F6C945;
}

/* Icon positioning - All icons in top-right corner */
.diagram-item .diagram-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
    z-index: 5;
}

/* Specific positioning overrides if needed */
.diagram-item-1 .diagram-icon {
    top: 8px;
    right: 8px;
}

.diagram-item-2 .diagram-icon {
    top: 8px;
    right: 8px;
}

.diagram-item-3 .diagram-icon {
    top: 8px;
    right: 8px;
}

.diagram-item-4 .diagram-icon {
    top: 8px;
    right: 8px;
}

/* Content positioning for cleaner layout */
.diagram-item .diagram-number,
.diagram-item .diagram-label {
    position: relative;
    z-index: 2;
}

/* Diagram Number Styling */
.diagram-number {
    font-family: "FZ Poppins", sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #F6C945;
    margin: 0;
    line-height: 0.9;
    position: relative;
    z-index: 1;
}

/* Diagram Icon Container */
.diagram-icon {
    margin: 0;
    z-index: 4;
}

.diagram-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Diagram Label Text */
.diagram-label {
    font-family: "FZ Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8B7355;
    margin: 2px 0 0 0;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section 6: Legal */
.legal-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.legal-placeholder {
    height: 400px;
    background: #e9ecef;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #6c757d;
}

.legal-placeholder p {
    font-family: "FZ Poppins", sans-serif;
    font-size: 1.5rem;
    margin: 0;
}

.legal-emblem-bg {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background: #f5f7fa;
    padding: 40px;
}

.legal-link {
    text-decoration: none !important;
    color: inherit;
}

.legal-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 60px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.legal-layout:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.legal-logo-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-logo-img {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.legal-text-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.legal-documents-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #362921;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

.legal-documents-text:hover {
    color: #1e40af;
    transform: scale(1.05);
}

.legal-documents-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.legal-layout:hover .legal-documents-text::after {
    width: 100%;
}

/* Section 7: App Section */
.app-section {
    margin-top: 32px;
    background-color: #fff;
    padding: 2rem 0;
}

.app-image {
    text-align: center;
    max-width: 100%;
}

.app-image img {
    width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .legal-emblem-bg {
        padding: 30px;
    }
    
    .legal-layout {
        padding: 50px 30px;
        gap: 40px;
    }
    
    .legal-logo-img {
        max-width: 250px;
        max-height: 160px;
    }
    
    .legal-documents-text {
        font-size: 2.2rem;
    }
    
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .activity-item {
        padding: 15px;
    }
    
    .values-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        right: 30px;
        bottom: 30px;
    }
    
    .hero-logo img {
        width: 100px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .activity-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .mission-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .values-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .values-diagram {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .legal-emblem-bg {
        padding: 20px;
    }
    
    .legal-layout {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .legal-logo-img {
        max-width: 200px;
        max-height: 130px;
    }
    
    .legal-documents-text {
        font-size: 1.8rem;
    }
    
    .hero-section {
        height: 400px;
        max-height: 400px;
    }
    
    .hero-title {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .company-name {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .company-detail,
    .company-address {
        font-size: 0.9rem;
    }
    
    .section-title,
    .mission-title,
    .values-title {
        font-size: 2rem;
    }
    
    .vision-title {
        font-size: 60px;
        margin-top: 3rem;
        margin-left: 0;
    }
    
    .vision-content h3 {
        font-size: 1.5rem;
    }
    
    .vision-content p {
        font-size: 0.9rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: center;
    }
    
    .activity-item {
        width: 100%;
        max-width: 300px;
        padding: 15px;
        min-height: 90px;
        margin: 0 auto;
    }
    
    .activity-item h3 {
        font-size: 0.9rem;
    }
    
    .mission-images {
        height: 300px;
    }
    
    .values-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .values-content {
        padding-right: 0;
    }
    
    .values-diagram {
        height: 350px;
        margin-top: 2rem;
    }
    
    .diagram-item {
        width: auto !important;
        height: auto !important;
        padding: 10px 14px !important;
    }
    
    .diagram-item-1 {
        top: 20px !important;
        right: 20px !important;
        width: 160px !important;
        height: 70px !important;
    }
    
    .diagram-item-2 {
        top: 90px !important;
        left: 0 !important;
        width: 180px !important;
        height: 70px !important;
    }
    
    .diagram-item-3 {
        bottom: 20px !important;
        right: 20px !important;
        width: 190px !important;
        height: 70px !important;
    }
    
    .diagram-item-4 {
        /* top: 140px !important; */
        left: 80px !important;
        width: 160px !important;
        height: 70px !important;
    }
    
    .diagram-number {
        font-size: 42px !important;
    }
    
    .diagram-label {
        font-size: 9px !important;
    }
    
    .diagram-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .diagram-item-1 {
        top: 20px !important;
        right: 40px !important;
        width: 200px !important;
    }
    
    .diagram-item-2 {
        top: 80px !important;
        left: 0 !important;
        width: 200px !important;
    }
    
    .diagram-item-3 {
        top: 160px !important;
        right: 20px !important;
        width: 220px !important;
    }
    
    .diagram-item-4 {
        bottom: 20px !important;
        left: 10px !important;
        width: 200px !important;
    }
    
    .diagram-number {
        font-size: 56px !important;
    }
    
    .diagram-icon img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .hero-logo {
        display: none;
    }
}

@media (max-width: 600px) {
    .legal-emblem-bg .emblem-bg {
        width: 180px;
        height: 180px;
    }
    .legal-documents-text {
        font-size: 1.3rem;
        padding: 40px 0 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 350px;
        max-height: 350px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }
    
    .company-name {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .company-detail,
    .company-address {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-logo {
        right: 20px;
        bottom: 20px;
    }
    
    .hero-logo img {
        width: 80px;
    }
    
    .vision-section {
        min-height: 400px;
        padding: 60px 0;
    }
    
    .mission-section,
    .values-section,
    .legal-section {
        padding: 60px 0;
    }
    
    .vision-title {
        font-size: 40px;
        margin-top: 2rem;
    }
    
    .vision-content {
        padding: 0 1rem;
    }
    
    .vision-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .vision-content p {
        font-size: 0.85rem;
    }
    
    .mission-content {
        padding: 0 1rem;
    }
    
    .legal-placeholder {
        height: 250px;
    }
    
    .legal-placeholder p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-emblem-bg {
        padding: 15px;
    }
    
    .legal-layout {
        padding: 30px 15px;
        gap: 20px;
    }
    
    .legal-logo-img {
        max-width: 150px;
        max-height: 100px;
    }
    
    .legal-documents-text {
        font-size: 1.4rem;
    }
} 