/* Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.logo {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 150px;
    z-index: 3;
}

.hero-text {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
    width: 90%;
}

.highlight {
    color: #ff5900;
    font-weight: bold;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #000000;
}

.hero-bottom-text {
    position: absolute;
    bottom: 110px;
    left: 30px;
    color: white;
    font-size: 2.2rem;
    font-weight: 600;
    z-index: 2;
}

/* About bar */
.about-bar {
    width: 100%;
    height: 110px;
    background: white;
    border-top: 2px solid #d0d0d0;
    position: relative;
    text-align: center;
}

.about-bar-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    padding: 10px 30px;
    text-decoration: none;
    border: 2px solid #1a1a1a;
    border-radius: 6px;
    background: transparent;
    transition: 0.25s ease;
    white-space: nowrap;
}

.about-bar-btn:hover {
    background: #1a1a1a;
    color: white;
    transform: translateX(-50%) scale(1.05);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hidden-section {
    display: none;
}

.show-section {
    display: block;
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* About wrapper */
.about-wrapper {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

/* About top bar — use flexbox so it has natural height */
.about-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px 16px 40px;
    background: white;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    min-height: 70px;
}

.about-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #e07820;
    margin: 0;
}

.about-logo {
    width: 140px;
}

/* Page content */
.page {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 28px;
    font-weight: 500;
    color: #e07820;
    margin-bottom: 1.2rem;
}

/* Two-column grid — DESKTOP */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Images */
.about-real-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.hero-img,
.team-img,
.pyramid-wrap {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

h2.vision-title {
    font-size: 15px;
    font-weight: 600;
    color: #4c4c4b;
    margin-bottom: 1rem;
}

p {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 0.9rem;
}

p:last-child {
    margin-bottom: 0;
}

.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 2.5rem;
}

.arrow-up {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #555;
    animation: bounce 1.5s infinite;
}

/* ================================
   MOBILE — max-width: 768px
================================ */
@media (max-width: 768px) {

    /* Hero text */
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .logo {
        width: 110px;
    }

    .hero-bottom-text {
        font-size: 1.4rem;
        left: 15px;
        bottom: 100px;
    }

    /* About top bar stacks on very small screens */
    .about-top-bar {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .about-heading {
        font-size: 1.5rem;
    }

    .about-logo {
        width: 100px;
    }

    /* CORE FIX: collapse two-col to single column */
    .two-col {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }

    /* Images full width and auto height on mobile */
    .about-real-img {
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }

    /* Section spacing tighter on mobile */
    .section {
        margin-bottom: 2rem;
    }

    /* Page padding tighter */
    .page {
        padding: 1rem;
    }

    /* About bar button smaller on mobile */
    .about-bar-btn {
        font-size: 1.2rem;
        padding: 8px 20px;
    }
}

/* ==========================================
   FORCE PERFECT VERTICAL STACK ON MOBILE
========================================== */
@media (max-width: 768px) {

    /* Convert all two-col to vertical blocks */
    .two-col {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        gap: 1.4rem !important;
    }

    /* Always show the first div (image wrapper) first */
    .two-col > div:first-child {
        order: 1 !important;
        width: 100%;
    }

    /* Always show the second div (text wrapper) next */
    .two-col > div:last-child {
        order: 2 !important;
        width: 100%;
    }

    /* Images fully responsive */
    .about-real-img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 8px;
    }

    /* Remove fixed heights */
    .hero-img,
    .team-img,
    .pyramid-wrap {
        height: auto !important;
    }
}
/* Bottom buttons */
.about-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.about-actions button {
    padding: 10px 20px;
    font-size: 1rem;
    border: 2px solid #1a1a1a;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.about-actions button:hover {
    background: #1a1a1a;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .about-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-actions button {
        width: 80%;
    }
}
/* For Chairman & CEO section */
.chairman-box, .ceo-box {
    padding: 10px 15px;
}

/* Desktop: side-by-side */
@media (min-width: 769px) {
    .section.two-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .section.two-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.3rem !important;
    }
}