/* ==========================================
   SECTION TAG / BADGES
   ========================================== */
.section-tag-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(212, 175, 55, 0.12);
    color: #1b4d3e;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag-about i {
    color: #d4af37;
}

/* ==========================================
   HERO ABOUT SECTION
   ========================================== */
.hero-about-section {
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: linear-gradient(135deg, rgba(15, 44, 35, 0.75) 0%, rgba(10, 30, 24, 0.6) 100%), 
                url('../assets/images/aboutus.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    text-align: center;
    padding-top: 60px;
}

.hero-about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.hero-about-text {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-about-text h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Poppins', serif;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero-about-text p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d0e1db;
    max-width: 650px;
    margin: 0;
}

.hero-about-text p a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-about-text p a:hover {
    color: #d4af37;
}

.hero-about-text p span {
    color: #d4af37;
    margin: 0 8px;
}

/* ==========================================
   SCROLLABLE CONTENT LAYER
   ========================================== */
.scroll-content {
    padding: 80px 4% 0px 4%;
}

/* ==========================================
   MAIN ABOUT INTRODUCTION SECTION
   ========================================== */
.about-main-section {
    background-color: #ffffff;
    padding: 0px 5% 80px 5%; /* Top padding set to 0px */
    position: relative;
    z-index: 2;
}

.about-main-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Keeps image vertically aligned with text */
    justify-content: space-between;
    gap: 60px;
}

.about-main-text {
    flex: 1.2;
    text-align: left;
}

.about-main-text h2 {
    font-size: 34px;
    color: #0F1F14;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-main-text p {
    font-size: 15px;
    color: #0F1F14;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}

.about-subheading {
    font-size: 22px;
    color: #0F1F14;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 12px;
}


.about-main-image {
    flex: 1;
    width: 100%;
    /* Max width prevents the image from becoming overly large on wide screens */
    max-width: 520px;
    /* 3:4 portrait aspect ratio gives substantial vertical height */
    aspect-ratio: 7 / 8; 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 31, 20, 0.12);
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   EDITORIAL STORYTELLING SECTION
   ========================================== */
.editorial-about-section {
    background-color: #f9fbfb;
    padding: 0px 5% 80px 5%; /* Top padding set to 0px */
    position: relative;
    z-index: 2;
}

.editorial-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.editorial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.editorial-row.reverse {
    flex-direction: row-reverse;
}

.editorial-content {
    flex: 1.1;
    text-align: left;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(212, 175, 55, 0.12);
    color: #1b4d3e;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.editorial-badge i {
    color: #d4af37;
}

.editorial-content h3 {
    font-size: 30px;
    color: #0F1F14;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.3;
}

.editorial-content p {
    font-size: 15px;
    color: #0F1F14;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 18px;
}

.editorial-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 31, 20, 0.08);
    height: 380px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   HOW WE WORK PROCESS SECTION
   ========================================== */
.about-process-section {
    background-color: #f9fbfb;
    padding: 0px 5% 80px 5%; /* Top padding set to 0px */
    position: relative;
    z-index: 2;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 31, 20, 0.03);
    margin-bottom: 0; /* Gap removed here */
}

.about-process-container {
    max-width: 1100px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.process-header h2 {
    font-size: 34px;
    color: #0F1F14;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-header p {
    font-size: 15px;
    color: #0F1F14;
    opacity: 0.8;
    line-height: 1.6;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(15, 31, 20, 0.04);
    border-left: 5px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 31, 20, 0.08);
}

.process-num-badge {
    background-color: #1b4d3e;
    color: #d4af37;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step-content h3 {
    font-size: 20px;
    color: #0F1F14;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step-content p {
    font-size: 14px;
    color: #0F1F14;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* ==========================================
   CLIENTS SECTION
   ========================================== */
.clients-section {
    background-color: #f9fbfb;
    padding: 0px 5% 80px 5%; /* Top padding set to 0px */
    position: relative;
    z-index: 2;
}

.clients-container {
    max-width: 1300px;
    margin: 0 auto;
}

.clients-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.clients-header h2 {
    font-size: 34px;
    color: #0F1F14;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.clients-header p {
    font-size: 15px;
    color: #0F1F14;
    line-height: 1.6;
    opacity: 0.8;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.client-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(15, 31, 20, 0.04);
    border: 1px solid #e1e8e5;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 31, 20, 0.08);
    border-color: #d4af37;
}

.client-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.client-card:hover img {
    opacity: 1;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Medium Screens & Tablets (≤ 1024px) */
@media screen and (max-width: 1024px) {
  .about-main-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-main-image {
        max-width: 100%;
        /* Cap maximum height so it doesn't take over the viewport on tablet */
        max-height: 500px; 
        aspect-ratio: 4 / 3; /* Switches to a landscape orientation when stacked */
    }

    .editorial-row, 
    .editorial-row.reverse {
        flex-direction: column;
        gap: 35px;
    }

    .editorial-image {
        width: 100%;
        height: 320px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .client-card {
        height: 100px;
    }
}

/* Small Screens & Mobile (≤ 768px) */
@media screen and (max-width: 768px) {
    .hero-about-text h1 {
        font-size: 40px;
    }

    .hero-about-text p {
        font-size: 15px;
    }

    .about-main-section,
    .editorial-about-section {
        padding: 60px 4%;
    }


    .about-main-image {
        aspect-ratio: 1 / 1; /* Square aspect ratio keeps good height on mobile phones */
        max-height: 380px;
        border-radius: 16px;
    }

    .about-main-text h2,
    .editorial-content h3 {
        font-size: 26px;
    }

    .editorial-container {
        gap: 60px;
    }

    .editorial-image {
        height: 250px;
    }

    .process-step {
        flex-direction: column;
        gap: 15px;
        padding: 24px;
    }

    .process-header h2,
    .clients-header h2 {
        font-size: 26px;
    }

    .clients-section {
        padding: 0px 4% 60px 4%; /* Kept top padding at 0px for mobile */
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-card {
        height: 90px;
        padding: 15px;
    }
}

/* Extra Small Screens (≤ 480px) */
@media screen and (max-width: 480px) {
    .hero-about-text h1 {
        font-size: 32px;
    }

    .about-main-text h2,
    .editorial-content h3,
    .clients-header h2 {
        font-size: 22px;
    }
}