/* =====================
   ABOUT PAGE CSS
   Story, Gallery, Portfolio Stats, MVV, Process Timeline, Features, FAQ
   ===================== */

/* =====================
   GALLERY SECTION
   ===================== */
.ab-gallery-sec {
    background-color: var(--color-white);
    padding: 0;
}

.ab-gallery-wrap {
    display: flex;
}

.ab-gallery-item {
    flex: 1;
    overflow: hidden;
}

.ab-gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-gallery-item:hover img {
    transform: scale(1.05);
}

/* =====================
   STORY SECTION
   ===================== */
.ab-story-sec {
    background-color: var(--color-white);
}

.ab-story-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ab-story-left {
    flex: 0 0 40%;
    max-width: 40%;
}

.ab-story-left h5 {
    color: #0D0E0E;
    font-size: 1.25rem;
    font-family: var(--font-primary);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 15px;
}

.ab-story-left h2 {
    text-align: left;
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.ab-story-left p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    font-family: var(--font-third);
}

.ab-story-right {
    flex: 0 0 55%;
    max-width: 55%;
}

.ab-story-right img {
    width: 100%;
    height: 730px;
    object-fit: cover;
}

/* =====================
   ABOUT WRAP SECTION
   ===================== */
.ab-about-wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.ab-about-wrap .hm-about-content {
    width: 50%;
    text-align: left;
    margin: 0;
    max-width: none;
}

.ab-about-wrap h5 {
    color: rgba(13, 14, 14, 0.15);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.5px;
    font-style: normal;
    margin-bottom: 20px;
}

.ab-about-wrap h2 {
    text-align: left;
}

.ab-about-wrap p {
    text-align: left;
}

.abt-sec-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-top: 30px;
}

.abt-sec-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ab-about-image-right {
    width: 50%;
}

.ab-about-image-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portfolio-heading p {
    color: #ffff;
    font-family: "Roboto";
}

.portfolio-heading h2 {
    font-size: 4rem;
    line-height: 1.35;
    /* margin-bottom: 3rem; */
    color: var(--color-white);
}

/* =====================
   PORTFOLIO / VALUE SECTION
   ===================== */
.abt-value-sec {
    background: url('../assets/images/bg-2.png') no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 900px;
    padding-top: 160px;
    padding-bottom: 50px;
}

.hm-value-container2 {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.abt-value-sec .hm-value-left {
    padding: 0px;
}

.ab-portfolio-header {
    margin-bottom: 50px;
}

.ab-portfolio-header h2 {
    font-size: 3rem;
    color: #C4A96A;
}

.ab-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.portfolio-card {
    padding: 50px !important;
}

/* =====================
   MVV SECTION (Mission, Vision, Values)
   ===================== */
.about-mission-wrap {
    background-color: #FAF8F4;
}

.mvv-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mvv-wrap li {
    width: 32%;
    background-color: #FFFFFF;
    padding: 20px 20px 50px 25px;
}

.mvv-icon {
    margin-left: auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -20px;
}

.mvv-icon img {
    max-width: 100%;
    height: auto;
}

.mvv-wrap li h4 {
    font-size: 32px;
    line-height: 1.2;
    color: #A68960;
    margin-bottom: 15px;
}

.mvv-wrap li p {
    font-size: 1rem;
    color: #A1A1A1;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: var(--font-third);
    font-weight: 400;
}

/* =====================
   FEATURES SECTION
   ===================== */
.hm-features-sec {
    background-color: #F9F7F2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-style: italic;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-grey);
    line-height: 1.6;
}

/* =====================
   PROCESS TIMELINE SECTION
   ===================== */
.hm-process-sec {
    background-color: var(--color-white);
}

.hm-process-sec h2 {
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

/* Vertical line */
.process-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    width: 2px;
    height: calc(100% - 60px);
    /* background-color: #F0EBE3; */
    background-color: #A68960;
    transform: translateX(-50%);
}

/* Gold portion of line */
.process-steps::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    width: 2px;
    height: 120px;
    background-color: #A68960;
    transform: translateX(-50%);
}

.process-step {
    width: 50%;
    position: relative;
    padding: 0 0 60px;
}

/* Dot on timeline */
.process-step::before {
    content: "";
    position: absolute;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    /* background-color: #F0EBE3; */
    background-color: #A68960;
    z-index: 1;
}

.process-step:first-child::before {
    background-color: #A68960;
}

/* Odd items (1, 3, 5) - Left side */
.process-step:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}

.process-step:nth-child(odd)::before {
    right: -8px;
}

/* Even items (2, 4) - Right side */
.process-step:nth-child(even) {
    padding-left: 60px;
    text-align: left;
    margin-left: 50%;
    margin-top: -30px;
}

.process-step:nth-child(even)::before {
    left: -8px;
}

/* First even item adjustment */
.process-step:nth-child(2) {
    margin-top: 80px;
}

.step-number {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.process-step:nth-child(odd) .step-number {
    justify-content: flex-end;
}

.step-number span {
    font-size: 36px;
    font-style: italic;
    color: #A68960;
    line-height: 1;
    font-family: var(--font-primary);
}

.step-number h4 {
    color: #483F31;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    font-family: var(--font-third);
    margin-bottom: 0;
    font-style: normal;
}

.process-step p {
    font-size: 18px;
    line-height: 1.5;
    color: #A1A1A1;
    font-family: var(--font-third);
    margin: 0;
}

/* =====================
   FAQ SECTION
   ===================== */
.hm-faq-sec .container {
    max-width: 1220px;
    padding: 50px;
}

.accordion-wrap {
    margin-top: 70px;
}

.accordion-item:first-child {
    border-top: 1px solid #E9E4D7;
}

.accordion-item {
    border-bottom: 1px solid #E9E4D7;
    padding: 20px 0;
}

.accordion-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.accordion-header h4 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    font-family: var(--font-third);
    color: #531423;
    font-style: normal;
    padding-right: 15px;
}

.accordion-header i {
    color: var(--color-secondary);
    font-size: 26px;
    margin-left: auto;
}

.accordion__body {
    display: none;
    padding-top: 15px;
}

.accordion__body p {
    color: #797979;
    font-size: 20px;
    line-height: 23px;
    font-family: var(--font-third);
    font-weight: 400;
}

/* =====================
   ABOUT PAGE RESPONSIVE
   ===================== */
@media (max-width: 991px) {
    .hm-slider-wrap {
        max-height: 50vh !important;
    }

    /* Gallery */
    .ab-gallery-item img {
        height: 250px;
    }

    /* Story Section */
    .ab-story-left,
    .ab-story-right {
        flex: 0 0 100%;
        max-width: 50%;
    }

    .ab-story-left h2 {
        font-size: 2.25rem;
    }

    .ab-story-right img {
        width: 100%;
        height: 550px;
        object-fit: cover;
    }

    .ab-story-wrap {
        flex-direction: row;
        gap: 40px;
    }

    /* About Wrap */
    .ab-about-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .ab-about-wrap .hm-about-content {
        width: 100%;
        text-align: left;
    }

    .ab-about-wrap h2 {
        text-align: left;
    }

    .ab-about-wrap p {
        text-align: left;
    }

    .abt-sec-image {
        max-width: 280px;
    }

    .ab-about-image-right {
        width: 100%;
        max-width: 400px;
    }

    /* MVV Section */
    .mvv-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .mvv-wrap li {
        width: 100%;
        max-width: 100%;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process Timeline - Single column */
    .hm-process-sec h2 {
        margin-bottom: 50px;
    }

    .process-steps {
        flex-direction: column;
        max-width: 500px;
        padding-left: 40px;
    }

    .process-steps::before {
        left: 10px;
        top: 20px;
        height: calc(100% - 40px);
        transform: none;
    }

    .process-steps::after {
        left: 10px;
        top: 20px;
        height: 80px;
        transform: none;
    }

    .process-step {
        width: 100%;
        padding: 0 0 40px 0;
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    .process-step::before {
        left: -34px !important;
        right: auto !important;
        top: 20px;
        width: 12px;
        height: 12px;
    }

    .process-step:nth-child(odd) {
        padding-right: 0;
    }

    .process-step:nth-child(even) {
        padding-left: 0;
    }

    .process-step:nth-child(2) {
        margin-top: 0;
    }

    .step-number {
        justify-content: flex-start !important;
        gap: 12px;
    }

    .step-number span {
        font-size: 28px;
    }

    .step-number h4 {
        font-size: 18px;
    }

    .process-step p {
        font-size: 15px;
    }

    /* Inner Hero */
    .inner-hero-sec {
        height: 50vh;
        min-height: 350px;
    }

    .portfolio-heading h2 {
        font-size: 2.25rem;
    }

    .hm-value-container2 {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hm-faq-sec {
        padding: 30px;
    }

    .accordion-wrap {
        margin-top: 40px;
    }

    .abt-value-sec {
        /* background: url('../assets/images/bg-2.png') no-repeat;
        background-size: cover;
        background-position: bottom; */
        height: auto;
        /* padding-top: 160px;
        padding-bottom: 50px; */
    }
}

@media (max-width: 768px) {

    /* Gallery */
    .ab-gallery-wrap {
        flex-wrap: wrap;
    }

    .ab-gallery-item {
        flex: 0 0 100%;
    }

    .ab-gallery-item img {
        height: 250px;
    }

    /* Story Section */
    .ab-story-left h5 {
        font-size: 1.1rem;
    }

    .ab-story-left h2 {
        font-size: 1.85rem;
    }

    .ab-story-left p {
        font-size: 0.95rem;
    }

    /* Portfolio */
    .abt-value-sec {
        padding: 50px 30px;
    }

    .ab-story-right img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

    .ab-story-wrap {
        flex-direction: column !important;
        gap: 40px;
    }

    .ab-story-left,
    .ab-story-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* About Wrap */
    .ab-about-wrap h5 {
        font-size: 1.25rem;
    }

    .ab-about-wrap .hm-about-content p {
        font-size: 0.95rem;
    }

    .abt-sec-image {
        max-width: 100%;
        margin-top: 25px;
    }

    .ab-about-image-right {
        max-width: 100%;
    }

    /* Portfolio */
    .ab-portfolio-header h2 {
        font-size: 2.25rem;
    }

    .ab-portfolio-grid {
        gap: 20px;
    }

    /* MVV Section */
    .mvv-wrap li {
        padding: 20px;
    }

    .mvv-wrap li h4 {
        font-size: 26px;
    }

    .mvv-wrap li p {
        font-size: 0.9rem;
    }

    .mvv-icon {
        width: 80px;
        height: 80px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Process Timeline */
    .hm-process-sec h2 {
        margin-bottom: 40px;
    }

    .process-steps {
        padding-left: 35px;
    }

    .process-steps::before {
        left: 8px;
    }

    .process-steps::after {
        left: 8px;
    }

    .process-step {
        padding-bottom: 35px;
    }

    .process-step::before {
        left: -30px !important;
        width: 10px;
        height: 10px;
    }

    .step-number span {
        font-size: 24px;
    }

    .step-number h4 {
        font-size: 16px;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Inner Hero */
    .inner-hero-sec {
        height: 45vh;
        min-height: 300px;
    }

    .hm-faq-sec .container {
        padding: 30px;
    }
}

@media (max-width: 576px) {

    /* Gallery */
    .ab-gallery-item img {
        height: 200px;
    }

    /* Story Section */
    .ab-story-wrap {
        gap: 30px;
    }

    .ab-story-left h5 {
        font-size: 1rem;
    }

    .ab-story-left h2 {
        font-size: 1.5rem;
    }

    .ab-story-left p {
        font-size: 0.9rem;
    }

    .ab-story-right img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

    .ab-story-wrap {
        flex-direction: column;
        gap: 40px;
    }

    /* About Wrap */
    .ab-about-wrap h5 {
        font-size: 1rem;
        margin-bottom: 15px;

    }

    .ab-about-wrap .hm-about-content p {
        font-size: 0.9rem;
    }

    /* Portfolio */
    .abt-value-sec {
        padding: 50px 30px;
    }

    .ab-portfolio-header h2 {
        font-size: 1.75rem;
    }

    .ab-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* MVV Section */
    .mvv-wrap {
        gap: 15px;
    }

    .mvv-wrap li {
        padding: 15px 15px 30px;
    }

    .mvv-wrap li h4 {
        font-size: 22px;
    }

    .mvv-wrap li p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .mvv-icon {
        width: 70px;
        height: 70px;
        margin-bottom: -10px;
    }

    /* Process Timeline */
    .hm-process-sec h2 {
        margin-bottom: 30px;
    }

    .process-steps {
        padding-left: 30px;
    }

    .process-steps::before {
        left: 6px;
    }

    .process-steps::after {
        left: 6px;
        height: 60px;
    }

    .process-step {
        padding-bottom: 30px;
    }

    .process-step::before {
        left: -27px !important;
        width: 8px;
        height: 8px;
        top: 18px;
    }

    .step-number {
        gap: 10px;
        margin-bottom: 8px;
    }

    .step-number span {
        font-size: 20px;
    }

    .step-number h4 {
        font-size: 15px;
    }

    .process-step p {
        font-size: 13px;
    }

    /* FAQ */
    .accordion-header h4 {
        font-size: 0.9rem;
        padding-right: 15px;
    }

    .accordion__body p {
        font-size: 0.85rem;
    }

    /* Inner Hero */
    .inner-hero-sec {
        height: 40vh;
        min-height: 250px;
    }
}