
/* ========================================
   IMDA WORKS LIMITED
   ABOUT US PAGE
======================================== */

:root {
    --about-green: #29483e;
    --about-dark: #203b32;
    --about-gold: #a58b59;
    --about-cream: #f8f6f0;
    --about-light: #eeece4;
    --about-white: #ffffff;
    --about-text: #323b35;
    --about-muted: #687169;
    --about-border: #e4e0d6;
}

/* GENERAL */

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 35px;
}

.about-eyebrow {
    color: var(--about-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-section-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-section-heading h2 {
    color: var(--about-green);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.about-section-heading > p:not(.about-eyebrow) {
    color: var(--about-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* ========================================
   HERO
======================================== */

.about-hero {
    padding: 90px 35px;
    background: linear-gradient(
        125deg,
        #f8f6f0 0%,
        #eeece3 100%
    );
}

.about-hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.about-hero-content h1 {
    color: var(--about-green);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.about-hero-content > p:not(.about-eyebrow) {
    max-width: 660px;
    color: var(--about-muted);
    font-size: 18px;
    line-height: 1.85;
}

.about-hero-actions,
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}

/* BUTTONS */

.about-btn-primary,
.about-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease,
                transform 0.25s ease,
                color 0.25s ease;
}

.about-btn-primary {
    background: var(--about-green);
    color: white;
    border: 1px solid var(--about-green);
}

.about-btn-primary:hover {
    background: var(--about-dark);
    transform: translateY(-3px);
}

.about-btn-secondary {
    background: transparent;
    color: var(--about-green);
    border: 1px solid var(--about-green);
}

.about-btn-secondary:hover {
    background: var(--about-green);
    color: white;
    transform: translateY(-3px);
}

/* HERO LOGO CARD */

.about-hero-visual {
    min-height: 370px;
    padding: 45px 30px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--about-border);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(32, 59, 50, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-hero-logo {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-bottom: 24px;
}

.about-hero-visual p {
    font-size: 17px;
    color: var(--about-muted);
    margin-bottom: 8px;
}

.about-hero-visual strong {
    font-size: 22px;
    color: var(--about-green);
}

/* ========================================
   OUR STORY
======================================== */

.about-story {
    padding: 100px 35px;
    background: var(--about-white);
    scroll-margin-top: 120px;
}

.about-story-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-story h2 {
    color: var(--about-green);
    font-size: 44px;
    margin-bottom: 28px;
}

.about-story-container > p:not(.about-eyebrow) {
    font-size: 17px;
    line-height: 1.95;
    color: var(--about-muted);
    margin-bottom: 20px;
}

.about-story-container .about-story-intro {
    font-size: 23px;
    font-weight: 500;
    color: var(--about-green);
}

/* IMDA INITIALS */

.about-name-card {
    margin-top: 50px;
    padding: 40px 25px;
    background: var(--about-cream);
    border: 1px solid var(--about-border);
    border-radius: 20px;
}

.about-initials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 650px;
    margin: 0 auto 28px;
}

.about-initials > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.about-initials > div:not(:last-child) {
    border-right: 1px solid var(--about-border);
}

.about-initials strong {
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--about-green);
}

.about-initials span {
    font-size: 17px;
    color: var(--about-gold);
    margin-top: 8px;
}

.about-name-card p {
    color: var(--about-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ========================================
   FOUNDER
======================================== */

.about-founder {
    padding: 100px 35px;
    background: var(--about-cream);
}

.about-founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 75px;
}

.about-founder-photo {
    min-height: 480px;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        #dcded3,
        #b7c3b7
    );
    border: 8px solid white;
    box-shadow: 0 18px 45px rgba(32, 59, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-founder-photo > span {
    font-size: 65px;
    font-weight: 700;
    color: var(--about-green);
    letter-spacing: 5px;
}

.about-founder-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.about-founder-content h2 {
    color: var(--about-green);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    margin-bottom: 10px;
}

.about-founder-content .about-founder-role {
    color: var(--about-gold);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 28px;
}

.about-founder-content > p:not(.about-eyebrow):not(.about-founder-role) {
    color: var(--about-muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-founder-quote {
    margin: 28px 0 0;
    padding: 20px 25px;
    border-left: 4px solid var(--about-gold);
    background: white;
    color: var(--about-green);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    border-radius: 0 10px 10px 0;
}

/* ========================================
   PROFESSIONAL BACKGROUND
======================================== */

.about-background {
    padding: 100px 0;
    background: white;
}

.about-background-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-background-card {
    position: relative;
    padding: 36px;
    background: var(--about-cream);
    border: 1px solid var(--about-border);
    border-radius: 16px;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.about-background-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(32, 59, 50, 0.07);
}

.about-card-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--about-gold);
    margin-bottom: 20px;
}

.about-background-card h3 {
    font-size: 23px;
    line-height: 1.4;
    color: var(--about-green);
    margin-bottom: 16px;
}

.about-background-card p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--about-muted);
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.about-skills span {
    background: #e7ebe3;
    color: var(--about-green);
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   SERVICES
======================================== */

.about-services {
    padding: 100px 0;
    background: var(--about-cream);
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-service-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: white;
    border: 1px solid var(--about-border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(32, 59, 50, 0.1);
}

.about-service-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.about-service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.about-service-content h3 {
    font-size: 23px;
    color: var(--about-green);
    margin-bottom: 14px;
}

.about-service-content p {
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.about-service-content span {
    margin-top: auto;
    color: var(--about-green);
    font-size: 14px;
    font-weight: 700;
}

/* ========================================
   MISSION
======================================== */

.about-mission {
    padding: 95px 35px;
    background: var(--about-green);
    color: white;
}

.about-mission-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-mission .about-eyebrow {
    color: #dfcda3;
}

.about-mission h2 {
    color: white;
    font-size: 44px;
    margin-bottom: 24px;
}

.about-mission-container > p:not(.about-eyebrow) {
    font-size: 23px;
    line-height: 1.8;
    color: #f1f1eb;
    margin-bottom: 28px;
}

.about-mission-container > strong {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    color: #dfcda3;
}

/* ========================================
   CORE VALUES
======================================== */

.about-values {
    padding: 100px 0;
    background: white;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-value-card {
    padding: 30px;
    border: 1px solid var(--about-border);
    border-radius: 15px;
    background: var(--about-white);
    transition: background 0.25s ease;
}

.about-value-card:hover {
    background: var(--about-cream);
}

.about-value-card > span {
    display: block;
    color: var(--about-gold);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-value-card h3 {
    color: var(--about-green);
    font-size: 21px;
    margin-bottom: 12px;
}

.about-value-card p {
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   FUTURE VISION
======================================== */

.about-vision {
    padding: 100px 35px;
    background: var(--about-cream);
}

.about-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-vision-content h2 {
    font-size: clamp(32px, 4vw, 45px);
    color: var(--about-green);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-vision-content > p:not(.about-eyebrow) {
    color: var(--about-muted);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.about-vision-goals {
    display: grid;
    gap: 16px;
}

.about-vision-goals > div {
    background: white;
    padding: 24px 26px;
    border: 1px solid var(--about-border);
    border-left: 4px solid var(--about-gold);
    border-radius: 10px;
}

.about-vision-goals strong {
    display: block;
    color: var(--about-green);
    font-size: 18px;
    margin-bottom: 8px;
}

.about-vision-goals span {
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   CALL TO ACTION
======================================== */

.about-cta {
    padding: 85px 35px;
    background: var(--about-light);
}

.about-cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-cta h2 {
    color: var(--about-green);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
    margin-bottom: 22px;
}

.about-cta-container > p:not(.about-eyebrow) {
    color: var(--about-muted);
    font-size: 18px;
    line-height: 1.8;
}

.about-cta-actions {
    justify-content: center;
}

/* ========================================
   KEYBOARD ACCESSIBILITY
======================================== */

.about-btn-primary:focus-visible,
.about-btn-secondary:focus-visible,
.about-service-card:focus-visible {
    outline: 3px solid var(--about-gold);
    outline-offset: 5px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .about-hero-container,
    .about-founder-container,
    .about-vision-container {
        gap: 40px;
    }

    .about-services-grid {
        gap: 18px;
    }

    .about-service-card img {
        height: 190px;
    }

    .about-service-content {
        padding: 22px;
    }

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

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .about-container {
        padding: 0 22px;
    }

    .about-hero,
    .about-story,
    .about-founder,
    .about-mission,
    .about-vision,
    .about-cta {
        padding: 60px 22px;
    }

    .about-background,
    .about-services,
    .about-values {
        padding: 60px 0;
    }

    .about-hero-container,
    .about-founder-container,
    .about-vision-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-hero-content {
        text-align: center;
    }

    .about-hero-content h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .about-hero-actions {
        justify-content: center;
    }

    .about-hero-visual {
        min-height: 260px;
        padding: 30px 20px;
    }

    .about-hero-logo {
        max-width: 260px;
    }

    .about-background-grid,
    .about-services-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-founder-photo {
        min-height: 360px;
        max-width: 450px;
        margin: 0 auto;
    }

    .about-founder-photo img {
        height: 360px;
    }

    .about-founder-content {
        text-align: center;
    }

    .about-founder-quote {
        text-align: left;
    }

    .about-story h2,
    .about-mission h2 {
        font-size: 34px;
    }

    .about-section-heading {
        margin-bottom: 35px;
    }

    .about-background-card {
        padding: 28px;
    }

    .about-service-card img {
        height: 240px;
    }

    .about-mission-container > p:not(.about-eyebrow) {
        font-size: 20px;
    }

    .about-initials span {
        font-size: 13px;
    }

    .about-name-card {
        padding: 30px 12px;
    }

}

/* SMALL MOBILE */

@media (max-width: 400px) {

    .about-hero-content h1 {
        font-size: 36px;
    }

    .about-hero-actions,
    .about-cta-actions {
        flex-direction: column;
    }

    .about-btn-primary,
    .about-btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }

    .about-initials strong {
        font-size: 42px;
    }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .about-btn-primary,
    .about-btn-secondary,
    .about-background-card,
    .about-service-card,
    .about-value-card {
        transition: none;
    }

}
