/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* HERO SECTION */
.about-hero {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: white;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(62, 213, 152, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 100%, rgba(62, 213, 152, 0.08) 0%, transparent 40%);
    animation: gradientShiftAbout 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShiftAbout {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.about-hero .float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.about-hero .float-shape-1 {
    width: 300px;
    height: 300px;
    background: #3ED598;
    top: 10%;
    left: 5%;
    animation: floatAbout 8s ease-in-out infinite;
}

.about-hero .float-shape-2 {
    width: 200px;
    height: 200px;
    background: #00C2FF;
    bottom: 20%;
    right: 10%;
    animation: floatAbout 7s ease-in-out infinite reverse;
}

.about-hero .float-shape-3 {
    width: 250px;
    height: 250px;
    background: #3ED598;
    top: 50%;
    right: 5%;
    animation: floatAbout 9s ease-in-out infinite;
}

@keyframes floatAbout {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.about-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto;
}

/* WHO WE ARE */
.who-we-are {
    background: white;
}

.who-content {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .who-content {
        grid-template-columns: 1fr;
    }
}

.who-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.who-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray);
}

.who-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .who-highlights {
        grid-template-columns: 1fr;
    }
}

.highlight-box {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.highlight-box h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.highlight-icon {
    margin-right: 0.6rem;
    display: inline-flex;
    font-size: 1.25rem;
}

.highlight-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.highlight-box p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Keep About-page CTA buttons aligned regardless of their label length. */
.section-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--button-gap);
}

.section-cta .btn,
.cta-buttons .btn {
    width: 260px;
}



/* ECOSYSTEM SECTION */
.ecosystem-section {
    background-color: #fafbfc;
    position: relative;
    overflow: hidden;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 213, 152, 0.15) 0%, transparent 70%);
    filter: blur(55px);
    z-index: 1;
    pointer-events: none;
    animation: floatGlowGreenAbout 20s infinite alternate ease-in-out;
}

.ecosystem-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 72, 180, 0.12) 0%, transparent 70%);
    filter: blur(55px);
    z-index: 1;
    pointer-events: none;
    animation: floatGlowBlueAbout 24s infinite alternate ease-in-out;
}

@keyframes floatGlowGreenAbout {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(60px, 40px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-40px, 60px) scale(0.95);
        opacity: 0.75;
    }
}

@keyframes floatGlowBlueAbout {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50px, -60px) scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: translate(40px, 30px) scale(1.15);
        opacity: 0.85;
    }
}

.ecosystem-section .container {
    position: relative;
    z-index: 2;
}

.ecosystem-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ecosystem-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.ecosystem-card:hover {
    border-color: var(--accent-green);
    background: white;
    box-shadow: 0 8px 20px rgba(62, 213, 152, 0.15);
}

.ecosystem-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ecosystem-card ul {
    list-style: none;
    text-align: left;
    color: var(--gray);
}

.ecosystem-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.ecosystem-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* PLATFORM CAPABILITIES */
.capabilities-section {
    background: var(--light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.capability-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: left;
}

.capability-item h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.capability-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* VISION & MISSION */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

.vision-mission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-top: 4px solid var(--accent-green);
    transition: all 0.3s;
    text-align: left;
}

.vision-mission-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.vision-mission-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vision-mission-card h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.3rem;
}

.vision-mission-icon {
    display: block;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin: 0;
    object-fit: contain;
}

.vision-mission-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* WHY ECOLOGIX */
.why-ecologix-section {
    background: white;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .why-content {
        grid-template-columns: 1fr;
    }
}

.why-text h3,
.why-solution h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.why-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.why-solution {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    text-align: left;
}

.why-solution ul {
    list-style: none;
}

.why-solution ul li {
    color: var(--dark-gray);
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.why-solution ul li::before {
    content: "•";
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* APPROACH TIMELINE */
.approach-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .approach-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .approach-timeline {
        grid-template-columns: 1fr;
    }
}

.approach-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    position: relative;
    padding-top: 4rem;
    transition: all 0.3s;
}

.approach-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.approach-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-green);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.approach-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.approach-item p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* --- ABOUT PAGE REDESIGN --- */
.about-hero-globe .about-hero-content {
    max-width: 940px;
}

.about-hero-globe .about-hero-content > p {
    max-width: 720px;
    margin-inline: auto;
}

.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 710px;
    margin: 0rem auto 0;
    border: 1px solid rgba(150, 240, 207, 0.26);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(8, 31, 58, 0.34);
    backdrop-filter: blur(12px);
}

.about-hero-stats > div {
    position: relative;
    padding: 1.8rem 1.6rem;
    text-align: left;
}

.about-hero-stats > div + div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: rgba(150, 240, 207, 0.24);
}

.about-hero-stats strong,
.about-hero-stats span {
    display: block;
}

.about-hero-stats strong {
    color: var(--accent-green);
    font-family: 'Roboto', sans-serif;
    font-size: 3.2rem;
    line-height: 1;
}

.about-hero-stats span {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
}

.who-we-are {
    position: relative;
    overflow: hidden;
}

.who-we-are::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -11rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 213, 152, 0.12), transparent 68%);
}

.who-we-are .container {
    position: relative;
    z-index: 1;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: #147a52;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent-green);
}

.who-text h3 {
    max-width: 620px;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.who-text p:first-of-type {
    color: var(--primary);
    font-size: 1.05rem;
}

.who-highlights {
    gap: 1rem;
    align-items: stretch;
}

.highlight-box {
    position: relative;
    min-height: 174px;
    padding: 1.55rem;
    border: 1px solid rgba(11, 31, 58, 0.09);
    border-left: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f2fbf7);
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(var(--accent-green), var(--accent-blue));
}

.highlight-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.13);
}

.highlight-box h4 {
    color: var(--primary);
}

.highlight-icon {
    width: 34px;
    height: 34px;
    margin-right: 0.7rem;
    padding: 6px;
    border-radius: 9px;
    background: rgba(62, 213, 152, 0.16);
}

.highlight-icon img {
    width: 100%;
    height: 100%;
}

.ecosystem-section .section-title,
.why-ecologix-section .section-title,
.capabilities-section .section-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.85rem, 2.7vw, 2.5rem);
    letter-spacing: -0.035em;
}

.vision-mission-grid {
    gap: 1.25rem;
}

.vision-mission-card {
    min-height: 250px;
    padding: 2.4rem;
    border: 1px solid rgba(11, 31, 58, 0.09);
    border-top: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f5fbfa);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
}

.vision-mission-card:nth-child(2) {
    background: linear-gradient(145deg, #0d2949, #163d62);
    border-color: transparent;
}

.vision-mission-card:nth-child(2) h3,
.vision-mission-card:nth-child(2) p {
    color: white;
}

.vision-mission-card:nth-child(2) p {
    color: rgba(255, 255, 255, 0.76);
}

.vision-mission-icon {
    width: 52px;
    height: 52px;
    padding: 7px;
    border-radius: 13px;
    background: rgba(62, 213, 152, 0.16);
}

.why-ecologix-section {
    background: linear-gradient(180deg, #ffffff, #f3f9f7);
}

.why-content {
    gap: 1.25rem;
}

.why-text,
.why-solution {
    padding: 2.4rem;
    border-radius: 16px;
}

.why-text {
    background: var(--primary);
}

.why-text h3,
.why-text p {
    color: white;
}

.why-text p {
    color: rgba(255, 255, 255, 0.76);
}

.why-solution {
    border: 1px solid rgba(62, 213, 152, 0.25);
    border-left: 0;
    background: white;
    box-shadow: 0 12px 26px rgba(11, 31, 58, 0.06);
}

/* Light Background Button Overrides for CTA */
.why-ecologix-section .btn-secondary {
    background: transparent;
    color: #147a52;
    border: 2px solid var(--accent-green);
}

.why-ecologix-section .btn-secondary::before {
    background: rgba(62, 213, 152, 0.1);
}

.why-ecologix-section .btn-secondary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147a52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") !important;
}

.why-ecologix-section .btn-secondary:hover {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 15px rgba(62, 213, 152, 0.25);
}

.why-ecologix-section .btn-secondary:hover::before {
    background: white;
}

.why-ecologix-section .btn-secondary:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ED598' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") !important;
}

.approach-timeline {
    position: relative;
    gap: 1rem;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

.approach-item {
    min-height: 270px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 15px;
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.07);
}

.approach-number {
    box-shadow: 0 0 0 7px #f8f9fa, 0 8px 16px rgba(62, 213, 152, 0.28);
}

@media (max-width: 1024px) {
    .approach-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-hero-stats {
        max-width: 420px;
    }

    .about-hero-stats > div {
        padding: 0.85rem;
    }

    .highlight-box,
    .market-card,
    .vision-mission-card,
    .why-text,
    .why-solution {
        padding: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-hero-globe {
        height: auto;
        min-height: 0;
        padding: 2.75rem 1rem 2.8rem;
    }

    .about-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-top: 1.75rem;
    }

    .about-hero-stats > div {
        padding: 0.75rem 0.35rem;
        text-align: center;
    }

    .about-hero-stats > div + div::before {
        top: 20%;
        right: auto;
        bottom: 20%;
        width: 1px;
        height: auto;
    }

    .about-hero-stats strong {
        font-size: 1.35rem;
    }

    .about-hero-stats span {
        font-size: 0.62rem;
        line-height: 1.3;
    }
}

/* RESPONSIVE — ABOUT PAGE */
@media (max-width: 992px) {
    .about-hero {
        padding: 4.5rem 1.5rem 4rem;
    }

    .about-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 3.5rem 1rem 3rem;
    }

    .about-hero h1 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .who-text h3 {
        font-size: 1.5rem;
    }

    .market-card {
        padding: 1.5rem;
    }

    .market-card h3 {
        font-size: 1.2rem;
    }

    .vision-mission-card {
        padding: 1.5rem;
    }

    .why-text h3,
    .why-solution h3 {
        font-size: 1.3rem;
    }

    .approach-item {
        padding: 1.5rem;
        padding-top: 3.5rem;
    }

    .approach-number {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        top: -16px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 0.8rem 2.5rem;
    }

    .about-hero h1 {
        font-size: 1.55rem;
    }

    .about-hero p {
        font-size: 0.92rem;
    }

    .highlight-box {
        padding: 1.2rem;
    }

    .section-cta .btn,
    .cta-buttons .btn {
        width: min(100%, 320px);
    }

    .capability-item {
        padding: 1.5rem;
    }

    .ecosystem-card {
        padding: 1.5rem;
    }
}
