/* =============================================================
   FILE: assets/css/about.css
   PURPOSE: Styles specific to about.php.
            Loaded AFTER style.css and responsive.css.
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   PAGE HERO BANNER (reusable across inner pages)
   ───────────────────────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,245,212,0.08) 0%, transparent 60%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-inline: auto;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 16px 0 20px;
}

.page-hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dimmer);
}

.breadcrumb-link {
    color: var(--text-muted);
    transition: color var(--duration-fast);
}
.breadcrumb-link:hover { color: var(--primary); }

.breadcrumb-sep { color: var(--text-dimmer); }

.breadcrumb-current { color: var(--primary); }


/* ─────────────────────────────────────────────────────────────
   ABOUT STORY SECTION
   ───────────────────────────────────────────────────────────── */
.about-story {
    padding-block: var(--section-gap);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image column */
.about-img-wrap {
    position: relative;
}

/* Placeholder box shown until real photo is inserted */
.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-surface);
    border: 1px solid var(--border-faint);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-img-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,245,212,0.06) 0%, rgba(0,166,251,0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-label {
    font-size: 0.8rem;
    color: var(--text-dimmer);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Floating stat card overlaid bottom-right of image */
.about-stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    min-width: 140px;
}

.about-stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
}

.about-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
}

/* Story text column */
.about-story-text { }

.about-para {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Highlight numbers row */
.about-highlights {
    display: flex;
    gap: 32px;
    margin: 36px 0;
    padding: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-lg);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.highlight-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.highlight-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
}

.highlight-label {
    font-size: 0.75rem;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ─────────────────────────────────────────────────────────────
   MISSION & VISION SECTION
   ───────────────────────────────────────────────────────────── */
.mission-vision {
    padding-block: var(--section-gap);
    background: var(--bg-surface);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mv-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    overflow: hidden;
    transition: border-color var(--duration-med), box-shadow var(--duration-med);
}

.mv-card:hover {
    border-color: rgba(0,245,212,0.3);
    box-shadow: var(--glow-primary);
}

.mv-card--secondary:hover {
    border-color: rgba(0,166,251,0.3);
    box-shadow: var(--glow-secondary);
}

.mv-icon {
    width: 60px;           /* Set a fixed width */
    height: 60px;          /* Set the same fixed height for a square */
    border-radius: 50%;    /* This makes the container round */
    overflow: hidden;      /* This crops the image to the circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;   /* Optional: adds a background color if the image is small */
}

.mv-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mv-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Decorative corner accent */
.mv-accent {
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 0 var(--radius-lg) 0 100%;
    opacity: 0.15;
}

/* Targets the actual image inside the container */
.mv-icon img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image doesn't stretch weirdly */
}

.mv-accent--primary   { background: var(--primary); }
.mv-accent--secondary { background: var(--secondary); }


/* ─────────────────────────────────────────────────────────────
   VALUES SECTION
   ───────────────────────────────────────────────────────────── */
.values-section {
    padding-block: var(--section-gap);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: border-color var(--duration-med), transform var(--duration-med), box-shadow var(--duration-med);
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--glow-primary);
}

/* This forces the container to stay small and circular */
.value-icon {
    width: 50px !important;   /* Force the width */
    height: 50px !important;  /* Force the height */
    margin: 0 auto 1.5rem;    /* Center it and add space below */
    border-radius: 50%;       /* Make it round */
    overflow: hidden;         /* Cut off the square corners of your jpg */
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.value-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* This forces the image to fit perfectly inside that 50px circle */
.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Ensures the image fills the circle without stretching */
}


/* ─────────────────────────────────────────────────────────────
   TEAM SECTION
   ───────────────────────────────────────────────────────────── */
.team-section {
    padding-block: var(--section-gap);
    background: var(--bg-surface);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--duration-med), transform var(--duration-med);
}

.team-card:hover {
    border-color: rgba(0,245,212,0.3);
    transform: translateY(-6px);
}

/* Photo area */
.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-surface);
}

/* Placeholder shown until real photo is added */
.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, rgba(0,245,212,0.05), rgba(0,166,251,0.05));
    /*
        IMAGE PLACEHOLDER:
        Replace .team-photo-placeholder with:
        <img src="assets/images/team/member-1.jpg" alt="Name"
             style="width:100%;height:100%;object-fit:cover">
        Recommended: Square headshot 400×400px
    */
}

/* Social links that slide up on hover */
.team-social {
    position: absolute;
    bottom: -40px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(0deg, rgba(11,15,20,0.9), transparent);
    transition: bottom var(--duration-med) var(--ease);
}

.team-card:hover .team-social { bottom: 0; }

.team-social-link {
    width: 32px; height: 32px;
    background: rgba(0,245,212,0.1);
    border: 1px solid rgba(0,245,212,0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    transition: background var(--duration-fast);
}

.team-social-link:hover { background: var(--primary); color: var(--bg-base); }

/* Team info below photo */
.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}


/* ─────────────────────────────────────────────────────────────
   CTA VIDEO: ABOUT PAGE
   ───────────────────────────────────────────────────────────── */
/* Container settings */
.cta-section {
    position: relative;
    overflow: hidden; /* Keeps video from spilling out */
}

/* Make video fill the entire space */
.cta-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* This is the secret for background videos */
    z-index: 1;
}

/* Add a dark overlay so your white text is easy to read over the video */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the 0.5 to make it darker or lighter */
    z-index: 2;
}

/* Ensure the text and buttons stay on top */
.container {
    position: relative;
    z-index: 3;
}

/* Keep your orbs visible but behind the text */
.cta-orb {
    z-index: 2; 
    opacity: 0.4; /* Slightly lower opacity looks better over video */
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE: ABOUT PAGE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid   { grid-template-columns: repeat(2, 1fr); }
    .about-story-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-img-wrap { max-width: 500px; margin-inline: auto; }
    .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-hero { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .team-grid   { grid-template-columns: 1fr 1fr; }
    .about-highlights { flex-wrap: wrap; gap: 20px; }
    .about-stat-card { right: 0; bottom: -16px; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .team-grid   { grid-template-columns: 1fr 1fr; }
    .mv-card     { padding: 32px 24px; }
}