/* ============================================
   ABOUT PAGE - Cosmic Journey Theme
   v1.0 - Star Hero + Values Grid
   ============================================ */

/* --- ABOUT HERO SECTION --- */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 180px 0 160px;
    background-color: #080912;
}

/* Hero Background - Star Image */
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url('../images/Nebula/Star-image.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero Overlay - Gradient for text readability */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(5, 5, 8, 0.3) 0%,
            rgba(5, 5, 8, 0.2) 40%,
            rgba(5, 5, 8, 0.6) 75%,
            #080912 100%);
}

/* Hero Content */
.about-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-content .section-tag-cosmic {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.1;
}

.about-hero-content .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* Hero to Content transition (Footer-style mask) */
.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #080912 100%);
    pointer-events: none;
    z-index: 3;
}


/* ============================================
   MISSION & VISION SECTION
   ============================================ */

.about-mission-section {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(180deg,
            #080912 0%,
            #0a0b16 50%,
            #080912 100%);
}

/* Gradient mask for smooth entry from hero */
.about-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            #080912 0%,
            rgba(8, 9, 18, 0.7) 40%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Gradient mask for smooth exit to values */
.about-mission-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #080912 100%);
    z-index: 2;
    pointer-events: none;
}

.about-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 30%,
            rgba(45, 212, 191, 0.05) 0%,
            transparent 50%),
        radial-gradient(ellipse at 70% 70%,
            rgba(139, 92, 246, 0.05) 0%,
            transparent 50%);
    pointer-events: none;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 5;
}

.mv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    padding: 60px 50px;
    position: relative;
    transition: all 0.4s ease;
}

/* Tech Corners */
.mv-card::before,
.mv-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-style: solid;
    border-width: 0;
}

.mv-card::before {
    top: -1px;
    left: -1px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.mv-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* Mission Card Colors */
.mission-card::before,
.mission-card::after {
    border-color: rgba(45, 212, 191, 0.4);
}

.mission-card:hover {
    background: rgba(45, 212, 191, 0.05);
    border-color: rgba(45, 212, 191, 0.2);
}

/* Vision Card Colors */
.vision-card::before,
.vision-card::after {
    border-color: rgba(139, 92, 246, 0.4);
}

.vision-card:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.mv-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.mv-card h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

.mv-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}


/* ============================================
   VALUES SECTION
   ============================================ */

.about-values-section {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(180deg,
            #080912 0%,
            #0a0b16 50%,
            #080912 100%);
}

/* Gradient mask for smooth entry from mission */
.about-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            #080912 0%,
            rgba(8, 9, 18, 0.7) 40%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.values-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.values-intro .section-tag-cosmic {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.values-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.values-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Value Cards - Similar to service cards */
.value-card {
    --card-color: 45, 212, 191;
    --card-hex: #2dd4bf;

    background: rgba(5, 5, 8, 0.05);
    border: none;
    padding: 35px 30px;
    position: relative;
    transition: transform 0.4s ease, background 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-left: 1px solid rgba(var(--card-color), 0.1);
    backdrop-filter: blur(4px);
}

/* Color Variations */
.value-card.color-innovation {
    --card-color: 251, 191, 36;
    --card-hex: #fbbf24;
}

.value-card.color-quality {
    --card-color: 168, 85, 247;
    --card-hex: #a855f7;
}

.value-card.color-trust {
    --card-color: 59, 130, 246;
    --card-hex: #3b82f6;
}

.value-card.color-teamwork {
    --card-color: 16, 185, 129;
    --card-hex: #10b981;
}

.value-card.color-customer {
    --card-color: 236, 72, 153;
    --card-hex: #ec4899;
}

.value-card.color-sustainability {
    --card-color: 34, 197, 94;
    --card-hex: #22c55e;
}

/* Card Lines */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--card-hex);
    opacity: 0.3;
    transform-origin: left;
    transform: scaleX(0.05);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--card-hex);
    opacity: 0.3;
    transform-origin: bottom;
    transform: scaleY(0.05);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(0.25);
    opacity: 1;
    box-shadow: 0 0 15px rgba(var(--card-color), 0.8);
}

.value-card:hover::after {
    transform: scaleY(1);
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(var(--card-color), 0.8);
}

.value-card:hover {
    background: linear-gradient(90deg,
            rgba(var(--card-color), 0.05) 0%,
            transparent 100%);
    transform: translateX(5px);
    border-left-color: rgba(var(--card-color), 0.5);
}

.value-icon {
    font-size: 2.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}


/* ============================================
   ABOUT PAGE FOOTER FIX
   ============================================ */

.about-footer-wrapper {
    background-color: #080912;
    position: relative;
    z-index: 5;
}

.about-footer-wrapper .nebula-footer {
    padding-top: 180px;
}

.about-footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom,
            #080912 0%,
            rgba(8, 9, 18, 0.7) 30%,
            transparent 100%);
    z-index: 10;
    pointer-events: none;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mv-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        min-height: 60vh;
        padding: 120px 0 100px;
    }

    .about-mission-section,
    .about-values-section {
        padding: 80px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-hero-content .hero-subtitle {
        font-size: 1rem;
    }

    .mv-card h2 {
        font-size: 1.5rem;
    }
}