/* API Drone - About Us Redesign (Vanilla CSS Implementation - Dark Theme) */

/* --- General Layout --- */
.layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-primary);
    /* Ensure dark bg */
    color: var(--color-white);
}

/* Force Glass Island style on About Page for better UI presence */
/* Removed forced glass style to match homepage behavior */

body#about-page .nav-link {
    color: var(--color-gray-300);
}

body#about-page .nav-link.active {
    color: var(--color-accent);
    font-weight: 700;
}

.about-page-container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* --- Hero Section --- */
.about-hero-full {
    width: 100%;
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-height) 2rem 4rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 70%, #000000 100%);
    z-index: 1;
}

/* Badge */
.hero-badge-glass {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(230, 57, 70, 0.15);
    z-index: 2;
    /* Accent Red Glass */
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(230, 57, 70, 0.3);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
    transition: transform 0.3s ease;
}

.hero-badge-glass:hover {
    transform: scale(1.05);
    background: rgba(230, 57, 70, 0.3);
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Content */
.about-hero-content {
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
}

.about-hero-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-hero-desc {
    color: var(--color-gray-300);
    font-size: 1.125rem;
    line-height: 1.625;
    margin: 0 auto;
    max-width: 36rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding-top: 1.5rem;
    z-index: 2;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- Core Values --- */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    /* Centered headers look better for modern layouts */
}

.section-title {
    color: var(--color-white);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-subtitle {
    color: var(--color-gray-400);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism Base */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card.accent:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15);
}

.value-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    /* Slightly squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-gray-400);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-icon-box.accent {
    color: var(--color-accent);
    background-color: rgba(230, 57, 70, 0.1);
    border-color: rgba(230, 57, 70, 0.2);
}

.value-card:hover .value-icon-box.accent {
    background-color: var(--color-accent);
    color: white;
    transform: scale(1.1);
}

.value-icon-box.primary {
    color: var(--color-white);
}

.value-card:hover .value-icon-box.primary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.value-title {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.value-desc {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Journey Timeline --- */
.journey-grid {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    row-gap: 2rem;
    column-gap: 2rem;
}

.journey-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05));
    transform: translateX(-50%);
    z-index: 1;
}

.journey-marker-col {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.journey-line {
    display: none;
}

.journey-content-col {
    padding-bottom: 0;
    padding-top: 0;
}

.journey-content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.journey-content-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.journey-title {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.journey-badge {
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    border: 1px solid transparent;
}

.journey-badge.primary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.journey-badge.neutral {
    color: var(--color-gray-500);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
}

.journey-badge.accent {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--color-accent);
    border-color: rgba(230, 57, 70, 0.2);
}

.marker-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    transition: all 0.3s;
}

.marker-icon span {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    font-family: 'Material Symbols Outlined' !important;
    /* Force icon font */
}

.marker-icon.primary {
    background: rgba(255, 255, 255, 0.05);
}

.marker-icon.primary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.marker-icon.primary:hover span {
    color: white;
}

.marker-icon.accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.marker-icon.accent span {
    color: white;
}

/* --- Impact & Experts Grids --- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.impact-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s;
    text-align: center;
    align-items: center;
}

.impact-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.impact-card:hover .material-symbols-outlined {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.impact-card .material-symbols-outlined {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.text-primary {
    color: var(--color-gray-300) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.impact-card:hover .text-primary {
    color: var(--color-white) !important;
}

.impact-number {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    background: linear-gradient(to right, white, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-label {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Experts */
.experts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.expert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expert-img-container {
    width: 100%;
    aspect-ratio: 1;
    /* Square for modern look */
    background-color: #1a1a1a;
    background-size: cover;
    background-position: top center;
    position: relative;
}

.expert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.expert-card:hover .expert-overlay {
    opacity: 1;
}

.expert-quote {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.expert-card:hover .expert-quote {
    transform: translateY(0);
}

.expert-info {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.expert-name {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.expert-role {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Certs Grid --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .certs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s;
    cursor: pointer;
}

.cert-card:hover {
    filter: grayscale(0%) opacity(1);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.text-slate-800 {
    color: white !important;
}

.text-blue-600 {
    color: #3b82f6 !important;
}

/* --- HQ & Map --- */
.hq-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hq-container {
        flex-direction: row;
    }
}

.hq-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hq-map-col {
    flex: 1;
    min-height: 400px;
    position: relative;
    background-color: #1a1a1a;
}

.hq-map-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.6;
    transition: all 0.5s;
}

.hq-map-col:hover .hq-map-bg {
    filter: grayscale(0%);
    opacity: 1;
}

.hq-map-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.hq-map-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- CTA Section --- */
.cta-rounded {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    position: relative;
    z-index: 10;
    margin: 0;
    letter-spacing: -0.02em;
}

.cta-text {
    color: var(--color-gray-300);
    font-size: 1.25rem;
    max-width: 42rem;
    position: relative;
    z-index: 10;
    margin: 0;
}

.cta-btn {
    background: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.cta-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.6);
}

/* =========================================
   ABOUT MOBILE RESPONSIVENESS (Non-Destructive)
   ========================================= */
@media (max-width: 768px) {
    .about-page-container {
        padding: 1rem !important;
        gap: 4rem !important;
    }

    /* Hero */
    .about-hero-full {
        min-height: 60vh !important;
        padding-top: 5rem !important;
    }

    .about-hero-title {
        font-size: 2.2rem !important;
    }

    .about-hero-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .about-hero-actions .btn {
        width: 100% !important;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr !important;
    }

    /* Journey */
    .journey-grid {
        grid-template-columns: 48px 1fr !important;
        /* Provide enough space for the 3rem/48px markers */
        column-gap: 1rem !important;
    }

    .marker-icon {
        width: 3rem !important;
        height: 3rem !important;
        flex-shrink: 0 !important;
        /* Prevent squeezing */
    }

    .journey-content-card {
        padding: 1.25rem !important;
    }

    .journey-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    /* Impact */
    .impact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .impact-number {
        font-size: 1.75rem !important;
    }

    .impact-card {
        padding: 1rem !important;
    }

    /* Experts Grid */
    .experts-grid {
        grid-template-columns: 1fr !important;
    }

    /* HQ Section */
    .hq-info {
        padding: 1.5rem !important;
    }

    .hq-map-col {
        min-height: 250px !important;
    }

    /* CTA Section */
    .cta-rounded {
        padding: 2.5rem 1rem !important;
    }

    .cta-title {
        font-size: 1.8rem !important;
    }
}