/* Yashaswi Group About page redesign */
.about-redesign {
    overflow: hidden;
    background: #fff;
    color: var(--yg-ink);
}

.about-redesign .container {
    position: relative;
    z-index: 2;
}

.about-hero {
    min-height: 470px;
    background-image: var(--about-hero-image);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 190, 24, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(0, 64, 31, 0.94) 0%, rgba(0, 91, 37, 0.80) 42%, rgba(7, 55, 100, 0.36) 72%, rgba(0, 0, 0, 0.18) 100%);
}

.about-hero-container {
    position: relative;
    z-index: 2;
    padding-top: 58px;
    padding-bottom: 58px;
}

.about-eyebrow,
.section-kicker,
.about-section-title span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--yg-gold);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.about-eyebrow::before,
.section-kicker::before,
.about-section-title span::before,
.about-section-title span::after {
    content: '';
    display: inline-block;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yg-green), var(--yg-yellow));
}

.about-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem) !important;
    line-height: 1.05 !important;
    font-weight: 900;
    letter-spacing: -0.045em;
    margin: 14px 0 20px !important;
    max-width: 720px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.about-hero p {
    max-width: 660px;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.55;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.93);
    margin-bottom: 28px;
}

.about-primary-btn,
.about-outline-btn,
.about-small-btn,
.about-cta-call,
.about-cta-enquire {
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 850;
    border: 0;
}

.about-primary-btn,
.about-small-btn,
.about-cta-call {
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(8, 117, 47, 0.22);
}

.about-primary-btn:hover,
.about-small-btn:hover,
.about-cta-call:hover {
    background: linear-gradient(135deg, var(--yg-green-dark), var(--yg-green));
    color: #fff !important;
    transform: translateY(-1px);
}

.about-outline-btn {
    background: var(--yg-yellow);
    color: #122033 !important;
    box-shadow: 0 16px 28px rgba(255, 190, 24, 0.22);
}

.about-outline-btn:hover,
.about-cta-enquire:hover {
    background: var(--yg-orange);
    color: #fff !important;
}

.about-stats-section {
    margin-top: -52px;
    position: relative;
    z-index: 5;
    padding-bottom: 34px;
}

.about-stats-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--yg-shadow);
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.about-stat-item {
    min-height: 112px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid rgba(15, 23, 42, 0.1);
}

.about-stat-item:last-child {
    border-right: 0;
}

.about-stat-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.65rem;
}

.stat-green .about-stat-icon { background: var(--yg-green); }
.stat-orange .about-stat-icon { background: var(--yg-orange); }
.stat-blue .about-stat-icon { background: linear-gradient(135deg, var(--yg-blue-soft), #2596ff); }
.stat-gold .about-stat-icon { background: var(--yg-gold); }

.about-stat-item h3 {
    font-size: clamp(1.8rem, 3vw, 2.3rem) !important;
    line-height: 1 !important;
    font-weight: 950;
    margin: 0 0 5px !important;
}

.stat-green h3 { color: var(--yg-green); }
.stat-orange h3 { color: var(--yg-orange); }
.stat-blue h3 { color: var(--yg-blue-soft); }
.stat-gold h3 { color: var(--yg-gold); }

.about-stat-item p {
    margin: 0;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.25;
}

.about-story-section {
    padding: 52px 0 72px;
}

.about-story-section h2,
.about-strength-section h2,
.about-section-title h2,
.about-final-cta h2 {
    font-size: clamp(2rem, 3.2vw, 3rem) !important;
    line-height: 1.14 !important;
    font-weight: 920;
    letter-spacing: -0.035em;
    color: var(--yg-blue);
    margin: 12px 0 18px !important;
}

.about-lead {
    font-size: 1.15rem;
    color: #384250;
    font-weight: 650;
}

.about-story-section p {
    color: #526071;
    font-size: 1rem;
    line-height: 1.75;
}

.about-promise-box {
    margin-top: 26px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 190, 24, 0.13), rgba(8, 117, 47, 0.07));
    border-left: 6px solid var(--yg-yellow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-promise-box i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--yg-green);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-promise-box h3 {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 900;
    color: var(--yg-green-dark);
    margin: 0 0 5px;
}

.about-promise-box span {
    color: #667085;
    font-weight: 700;
}

.about-story-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--yg-shadow);
    min-height: 390px;
}

.about-story-image {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transform: scale(1.01);
}

.about-image-badge {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.about-image-badge strong {
    color: var(--yg-green);
    font-size: 1.45rem;
    font-weight: 950;
}

.about-image-badge span {
    color: #475467;
    font-weight: 750;
    font-size: 0.9rem;
}

.about-trust-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f6faf7, #fff);
}

.about-section-title {
    max-width: 780px;
    margin: 0 auto 34px;
}

.about-section-title p {
    color: #667085;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

.about-trust-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-trust-card:hover,
.about-strength-card:hover,
.about-company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.about-trust-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.about-trust-card:nth-child(2n) .about-trust-icon {
    background: linear-gradient(135deg, var(--yg-orange), var(--yg-gold));
}

.about-trust-card h3,
.about-strength-card h3 {
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--yg-blue);
    margin-bottom: 8px;
}

.about-trust-card p,
.about-strength-card p {
    color: #667085;
    line-height: 1.62;
    margin: 0;
}

.about-vision-section {
    padding: 72px 0;
    background: #fff;
}

.about-vision-card {
    border-radius: 24px;
    padding: 38px;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: var(--yg-shadow);
}

.about-vision-card::after {
    content: '';
    position: absolute;
    width: 230px;
    height: 230px;
    right: -70px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.vision-card {
    background: linear-gradient(135deg, var(--yg-green-dark), var(--yg-green));
}

.mission-card {
    background: linear-gradient(135deg, var(--yg-blue), #0e6aa3);
}

.about-vision-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.about-vision-card h2 {
    font-size: 1.85rem !important;
    font-weight: 900;
    margin: 0 0 12px !important;
    position: relative;
    z-index: 2;
}

.about-vision-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-size: 1.02rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

.about-strength-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #fff8e5, #ffffff);
}

.about-strength-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.075);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-strength-card > i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(8, 117, 47, 0.10);
    color: var(--yg-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 16px;
}

.about-gallery-strip {
    padding: 20px 0 76px;
    background: #fff;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 14px;
}

.about-gallery-grid > div {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 220px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.about-gallery-grid .gallery-large {
    min-height: 280px;
}

.about-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.about-gallery-grid > div:hover img {
    transform: scale(1.05);
}

.about-gallery-grid span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(0, 91, 37, 0.92);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 850;
    font-size: 0.9rem;
}

.about-companies-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #f6faf7, #ffffff);
}

.about-company-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 24px 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-company-card i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yg-yellow), var(--yg-orange));
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.about-company-card p {
    color: var(--yg-blue);
    font-weight: 850;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
}

.about-final-cta {
    padding: 0 0 64px;
    background: #fff;
}

.about-final-cta-inner {
    background:
        radial-gradient(circle at 0% 50%, rgba(255, 190, 24, 0.24), transparent 30%),
        linear-gradient(135deg, var(--yg-green-dark), var(--yg-green) 48%, var(--yg-blue));
    color: #fff;
    border-radius: 24px;
    padding: 34px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--yg-shadow);
}

.about-final-cta span {
    color: var(--yg-yellow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
    font-size: 0.82rem;
}

.about-final-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 2.5vw, 2.35rem) !important;
    margin: 8px 0 0 !important;
    max-width: 680px;
}

.about-cta-enquire {
    background: var(--yg-yellow);
    color: #122033 !important;
}

@media (max-width: 1199px) {
    .about-stats-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat-item:nth-child(2) {
        border-right: 0;
    }

    .about-stat-item:nth-child(1),
    .about-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    }

    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .about-hero {
        min-height: 430px;
    }

    .about-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .about-hero {
        min-height: 390px;
    }

    .about-hero-container {
        padding-top: 44px;
        padding-bottom: 54px;
    }

    .about-stats-section {
        margin-top: -28px;
    }

    .about-stats-card {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .about-stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.1);
        min-height: 96px;
        padding: 20px;
    }

    .about-stat-item:last-child {
        border-bottom: 0;
    }

    .about-story-section,
    .about-trust-section,
    .about-vision-section,
    .about-strength-section,
    .about-companies-section {
        padding: 48px 0;
    }

    .about-story-image-wrap,
    .about-story-image {
        min-height: 290px;
    }

    .about-image-badge {
        position: static;
        border-radius: 0;
        display: block;
    }

    .about-gallery-strip {
        padding: 0 0 48px;
    }

    .about-gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery-grid > div,
    .about-gallery-grid .gallery-large {
        min-height: 230px;
    }

    .about-final-cta {
        padding-bottom: 48px;
    }

    .about-final-cta-inner {
        border-radius: 18px;
        padding: 26px 22px;
    }

    .about-primary-btn,
    .about-outline-btn,
    .about-small-btn,
    .about-cta-call,
    .about-cta-enquire {
        width: 100%;
        justify-content: center;
    }
}

/* MD Message entry card on About page */
.about-md-link-section {
    padding: 72px 0 0;
    background: #ffffff;
}

.about-md-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 190, 24, 0.46), transparent 30%),
        linear-gradient(135deg, var(--yg-green-deep, #003f24), var(--yg-green-dark, #005b25));
    color: #fff;
    box-shadow: 0 22px 55px rgba(0, 63, 36, 0.2);
}

.about-md-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--yg-yellow, #ffbe18);
    font-size: 2rem;
}

.about-md-link-card span {
    display: inline-block;
    color: var(--yg-yellow, #ffbe18);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.about-md-link-card h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.about-md-link-card p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.7;
}

.about-md-btn {
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--yg-orange, #f36b0b), var(--yg-yellow, #ffbe18));
    color: #fff !important;
    border: 0;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 16px 34px rgba(243, 107, 11, 0.26);
}

.about-md-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .about-md-link-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .about-md-link-section {
        padding-top: 52px;
    }
    .about-md-btn {
        width: 100%;
        text-align: center;
    }
}
