/* ==========================================================================
   ABOUT US PAGE STYLES (about.css)
   ========================================================================== */


/* --- Color Palette Variables & Reset --- */

:root {
    --purple-primary: #723ECF;
    --purple-hover: #5E2FB8;
    --pink-accent: #ED4B86;
    --pink-soft: rgba(237, 75, 134, 0.12);
    --ice-bg: #F4EEF7;
    --cream-bg: #FEF8E7;
    --ink: #0D1B2A;
    --ink-text: #14243A;
    --muted-ink: #5C677D;
    --paper-line: rgba(114, 62, 207, 0.12);
    --radius-card: 14px;
    --font-display: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #FFFFFF;
    color: var(--ink-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}


/* --- Buttons --- */

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(114, 62, 207, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--purple-hover);
    box-shadow: 0 6px 20px rgba(114, 62, 207, 0.4);
}


/* --- Header & Navigation --- */

header.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--paper-line);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px !important;
    width: auto;
    object-fit: contain;
}

nav.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-ink);
    transition: color 0.2s ease;
}

nav.nav-links a:hover,
nav.nav-links a.active {
    color: var(--purple-primary);
    font-weight: 600;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta-btn {
    padding: 9px 18px;
    font-size: 13.5px;
    border-radius: 8px;
    white-space: nowrap;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-btn span {
    width: 100%;
    height: 2.5px;
    background-color: var(--ink);
    border-radius: 4px;
    transition: all 0.3s ease;
}


/* --- About Hero Section --- */

.about-hero {
    padding: 80px 0 60px;
    background-color: var(--cream-bg);
    background-image: radial-gradient(at 0% 0%, #F4EEF7 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(237, 75, 134, 0.2) 0px, transparent 50%);
    text-align: center;
}

.about-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.vision-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-primary);
    background: var(--ice-bg);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.about-hero-content h1 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.about-hero-content p {
    font-size: 17px;
    color: var(--muted-ink);
    line-height: 1.6;
}


/* --- About Details Section --- */

.about-details {
    padding: 90px 0;
    background: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-text-column h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about-text-column p {
    font-size: 15.5px;
    color: var(--muted-ink);
    line-height: 1.65;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--paper-line);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--purple-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted-ink);
}


/* Pillar Cards */

.about-pillars-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #FAFAFA;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius-card);
    padding: 22px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--pink-accent);
    box-shadow: 0 8px 24px rgba(237, 75, 134, 0.08);
}

.pillar-icon {
    font-size: 24px;
    flex-shrink: 0;
    background: #FFFFFF;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--paper-line);
}

.pillar-card h3 {
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 700;
}

.pillar-card p {
    font-size: 13.5px;
    color: var(--muted-ink);
    line-height: 1.5;
    margin-bottom: 0;
}


/* --- Footer --- */

footer.footer {
    background: var(--ink);
    color: #FFFFFF;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   FOOTER LOGO & CONTAINER FIX
   ========================================================================== */


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer.footer {
    background: var(--ink);
    color: #FFFFFF;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
    display: inline-block;
    max-width: 160px;
    /* Constrains max width on mobile */
    margin-bottom: 16px;
    position: relative;
    /* Overrides any navbar absolute positioning */
    left: auto;
    transform: none;
}

.footer-about .logo img {
    height: 75px !important;
    /* Perfect height for footer */
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    .footer-about .logo {
        margin-bottom: 12px;
    }
    .footer-about .logo img {
        height: 75px !important;
    }
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 16px;
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: var(--pink-accent);
    border-color: var(--pink-accent);
    transform: translateY(-3px);
}

.footer-grid h3 {
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-grid ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid a,
.footer-grid li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
}

.footer-grid a:hover {
    color: var(--pink-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
}


/* --- Responsive Breakpoints --- */

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    /* Mobile Navbar Header Layout */
    .nav-container {
        height: 60px;
    }
    .hamburger-btn {
        display: flex;
    }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .logo img {
        height: 26px;
    }
    .nav-cta-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }
    nav.nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid var(--paper-line);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 12px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }
    nav.nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    nav.nav-links a {
        font-size: 15px;
        font-weight: 600;
        color: var(--ink);
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .about-hero {
        padding: 45px 0 32px;
    }
    .about-details {
        padding: 40px 0;
    }
    .about-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .stat-number {
        font-size: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-about .logo {
        display: block;
        width: 100%;
        max-width: 160px;
        margin-bottom: 16px;
    }
    .footer-about .logo img {
        height: 32px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }
}