/* CSS/aboutus.css - Full code with custom video player (no CC) */

/* =========================================
   IMPORT HOMEPAGE STYLES
   ========================================= */
@import url("home.css");

/* =========================================
   GLOBAL BODY - SUBTLE BACKGROUND
   ========================================= */
body {
    background-color: #fafdfa;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(67, 177, 67, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(67, 177, 67, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}

/* =========================================
   ABOUT HERO
   ========================================= */
.about-hero {
    position: relative;
    padding: 100px 0 80px;
    background-color: #1a5f2a;
    overflow: hidden;
    min-height: 380px;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../MetroPlogo/SSC.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    color: var(--light-green);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.about-hero-subtitle::before,
.about-hero-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--light-green);
    display: inline-block;
}

.about-hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.about-hero-content .highlight-green {
    color: var(--light-green);
}

.about-hero-desc {
    font-size: 17px;
    line-height: 1.9;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* =========================================
   SECTION TITLE (Shared)
   ========================================= */
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}

.section-title-wrap h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a4a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.sparkle-inline {
    color: var(--award-green);
    font-size: 32px;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(67, 177, 67, 0.3);
}

.section-title-wrap p {
    font-size: 15px;
    color: var(--text-light);
}

/* =========================================
   PREMIUM CONTAINER (Shared Base)
   ========================================= */
.premium-container {
    width: 92%;
    max-width: 1350px;
    margin: 20px auto;
    padding: 55px 45px;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s;
    box-shadow: 
        0 0 0 1px rgba(67, 177, 67, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.4),
        0 40px 80px rgba(67, 177, 67, 0.14),
        0 20px 40px rgba(67, 177, 67, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.premium-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--award-green), var(--light-green), var(--award-green), transparent);
    border-radius: 0 0 6px 6px;
    z-index: 3;
}

.premium-container > * {
    position: relative;
    z-index: 1;
}

/* =========================================
   COMPANY STORY SECTION
   ========================================= */
.story-section {
    padding: 15px 0;
}

.story-container {
    background: 
        radial-gradient(circle at 0% 0%, rgba(163, 217, 119, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(67, 177, 67, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f5faf5 100%);
}

.story-text {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 35px 40px;
    border-left: 5px solid var(--award-green);
    box-shadow: 
        0 10px 30px rgba(67, 177, 67, 0.06),
        inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.story-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 22px;
    text-align: justify;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text p b {
    color: var(--primary-green);
    font-weight: 700;
    background: linear-gradient(to bottom, transparent 60%, rgba(163, 217, 119, 0.3) 60%);
    padding: 0 2px;
}

/* =========================================
   VIDEO SECTION - CUSTOM PLAYER
   ========================================= */
.video-section {
    padding: 15px 0;
}

.video-container {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(67, 177, 67, 0.04) 0px,
            rgba(67, 177, 67, 0.04) 1px,
            transparent 1px,
            transparent 60px
        ),
        linear-gradient(180deg, #f8fcf8 0%, #ffffff 100%);
}

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(67, 177, 67, 0.15),
        0 8px 20px rgba(67, 177, 67, 0.08);
    border: 3px solid var(--award-green);
    background: #000;
    aspect-ratio: 16 / 9;
}

.corporate-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* =========================================
   TOP-LEFT TITLE OVERLAY
   ========================================= */
.video-title-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-title-logo {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.video-title-text {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* =========================================
   TOP-RIGHT CONTROLS
   ========================================= */
.video-controls-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.video-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.video-btn:hover {
    background: var(--award-green);
    border-color: var(--award-green);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(67, 177, 67, 0.4);
}

.video-btn.active {
    background: var(--award-green);
    border-color: var(--award-green);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(67, 177, 67, 0.6);
}

/* =========================================
   BOTTOM-RIGHT FULLSCREEN
   ========================================= */
.video-fullscreen {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

/* =========================================
   CENTER PLAY OVERLAY
   ========================================= */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(26, 95, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding-left: 6px;
}

.video-play-overlay:hover {
    background: var(--award-green);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(67, 177, 67, 0.6);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

/* =========================================
   MISSION & VISION SECTION
   ========================================= */
.mv-section {
    padding: 15px 0;
}

.mv-container {
    background: 
        radial-gradient(circle at 100% 0%, rgba(67, 177, 67, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(163, 217, 119, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f0f9f0 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 15px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 35px;
    border: 2px solid rgba(224, 224, 224, 0.6);
    border-top: 5px solid var(--primary-green);
    box-shadow: 
        0 10px 30px rgba(67, 177, 67, 0.08),
        0 2px 6px rgba(67, 177, 67, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
    opacity: 0;
    border-radius: 20px 20px 0 0;
}

.mv-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-green), var(--award-green));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: 0 10px 25px rgba(67, 177, 67, 0.25);
    transition: all 0.4s;
}

.mv-card h3 {
    font-size: 24px;
    color: #1a4a1a;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.mv-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, #79C679, #43B143);
    border-radius: 2px;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
}

.mv-card p b {
    color: var(--primary-green);
    font-weight: 700;
}

/* =========================================
   CTA SECTION
   ========================================= */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(163, 217, 119, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-cta-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
}

.about-cta-content .btn-primary {
    background: var(--light-green);
    color: var(--primary-green);
    padding: 16px 35px;
    font-size: 15px;
    box-shadow: 0 15px 35px rgba(163, 217, 119, 0.3);
}

/* =========================================
   HOVER EFFECTS — Only on devices with a mouse
   ========================================= */
@media (hover: hover) {
    .premium-container:hover {
        transform: translateY(-4px);
    }

    .mv-card:hover {
        transform: translateY(-8px);
        border-color: var(--award-green);
        box-shadow: 
            0 30px 60px rgba(67, 177, 67, 0.18),
            0 12px 25px rgba(67, 177, 67, 0.08);
    }

    .mv-card:hover::before {
        transform: scaleX(1);
        opacity: 1;
    }

    .mv-card:hover .mv-icon {
        transform: rotate(-8deg) scale(1.1);
        border-radius: 50%;
    }

    .about-cta-content .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 45px rgba(163, 217, 119, 0.4);
    }
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE - TABLET (max 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .about-hero-content h1 {
        font-size: 38px;
    }

    .about-hero-desc {
        font-size: 15px;
    }

    .premium-container {
        padding: 45px 35px;
        border-radius: 28px;
    }

    .section-title-wrap h2 {
        font-size: 26px;
    }

    .story-text {
        padding: 30px 32px;
    }

    .story-text p {
        font-size: 15px;
        line-height: 1.9;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-cta-content h2 {
        font-size: 32px;
    }
}

/* =========================================
   RESPONSIVE - MOBILE (max 768px)
   ========================================= */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 50px;
        min-height: auto;
    }

    .about-hero-content h1 {
        font-size: 30px;
    }

    .about-hero-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .premium-container {
        width: 94%;
        padding: 30px 20px;
        border-radius: 24px;
        margin: 15px auto;
    }

    .story-section,
    .video-section,
    .mv-section {
        padding: 10px 0;
    }

    .section-title-wrap {
        margin-bottom: 25px;
    }

    .section-title-wrap h2 {
        font-size: 22px;
        gap: 10px;
    }

    .sparkle-inline {
        font-size: 20px;
    }

    .section-title-wrap p {
        font-size: 14px;
    }

    .story-text {
        padding: 25px 22px;
    }

    .story-text p {
        font-size: 14px;
        line-height: 1.85;
        text-align: left;
    }

    /* ======================================
       VIDEO PLAYER - MOBILE
       ====================================== */
    .video-wrap {
        border-radius: 14px;
        border-width: 2px;
    }

    .video-title-overlay {
        top: 12px;
        left: 12px;
        padding: 8px 14px 8px 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .video-title-logo {
        height: 26px;
    }

    .video-title-text {
        font-size: 13px;
    }

    .video-controls-top {
        top: 12px;
        right: 12px;
        gap: 8px;
    }

    .video-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .video-fullscreen {
        bottom: 12px;
        right: 12px;
    }

    .video-play-overlay {
        width: 60px;
        height: 60px;
        font-size: 22px;
        padding-left: 5px;
    }

    /* ======================================
       MISSION & VISION - MOBILE
       ====================================== */
    .mv-card {
        padding: 30px 22px;
    }

    .mv-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 18px;
    }

    .mv-card h3 {
        font-size: 20px;
    }

    .mv-card p {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-cta {
        padding: 50px 0;
    }

    .about-cta-content h2 {
        font-size: 24px;
    }

    .about-cta-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-cta-content .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   SMALL MOBILE (max 480px)
   ========================================= */
@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 24px;
    }

    .about-hero-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .about-hero-subtitle::before,
    .about-hero-subtitle::after {
        width: 25px;
    }

    .section-title-wrap h2 {
        font-size: 19px;
    }

    .premium-container {
        padding: 22px 14px;
    }

    .story-text {
        padding: 20px 18px;
    }

    .story-text p {
        font-size: 13.5px;
    }

    .video-title-overlay {
        top: 10px;
        left: 10px;
        padding: 6px 12px 6px 8px;
    }

    .video-title-logo {
        height: 22px;
    }

    .video-title-text {
        font-size: 11px;
    }

    .video-controls-top {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .video-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .video-play-overlay {
        width: 50px;
        height: 50px;
        font-size: 18px;
        padding-left: 4px;
    }

    .mv-card {
        padding: 25px 18px;
    }

    .mv-card h3 {
        font-size: 18px;
    }

    .mv-card p {
        font-size: 13.5px;
    }
}