/* css/about.css */
/* Uses variables + base styles from global.css */

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
    isolation: isolate;
    background:
        url('https://images.unsplash.com/photo-1593341646782-e0b495cff86d?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
}

.page-header::before {
    content: "";
    position: absolute;
    width: 130%;
    height: 90px;
    left: -10%;
    bottom: -52px;
    background: var(--bg-light);
    transform: rotate(-3deg);
    z-index: 1;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 212, 255, 0.18), transparent 42%),
        radial-gradient(circle at 15% 90%, rgba(255, 91, 46, 0.22), transparent 45%),
        linear-gradient(100deg, rgba(5, 12, 27, 0.93) 0%, rgba(5, 12, 27, 0.72) 55%, rgba(5, 12, 27, 0.48) 100%);
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(44px, 8vw, 78px);
    line-height: 1.02;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.page-header h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 18px rgba(255, 91, 46, 0.45);
}

.page-header p {
    color: #d8e2f3;
    font-size: clamp(17px, 2.3vw, 21px);
    max-width: 680px;
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(180deg, #eef3fb 0%, #f8fafe 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.2fr);
    gap: 52px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 16px;
}

.image-bg-shape {
    position: absolute;
    inset: 0 40px 40px 0;
    border-radius: 28px;
    background: linear-gradient(140deg, rgba(255, 91, 46, 0.16), rgba(0, 212, 255, 0.16));
    z-index: 0;
}

.main-about-img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    min-height: 520px;
}

.experience-badge {
    position: absolute;
    right: -10px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 14px 26px rgba(255, 91, 46, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content .section-title h2::after {
    left: 0;
    transform: none;
}

.lead-text {
    font-size: 19px;
    color: #41516f;
    font-weight: 500;
    margin-bottom: 16px;
}

/* ===== SUBSECTIONS ===== */
.subsection-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

/* Category cards */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e7edf8;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 91, 46, 0.3);
    box-shadow: var(--shadow-md);
}

.cat-item i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 8px 16px rgba(255, 91, 46, 0.25);
    flex: 0 0 42px;
    margin-top: 2px;
}

.cat-item strong {
    display: block;
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.cat-item span {
    color: #677793;
    font-size: 14px;
}

/* Process list */
.process-steps {
    display: grid;
    gap: 12px;
}

.step-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    border: 1px solid #e7edf8;
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateX(4px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #00b8de, var(--accent-color));
    box-shadow: 0 8px 16px rgba(0, 212, 255, 0.28);
    font-size: 18px;
}

.step-text strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 3px;
    font-size: 16px;
}

.step-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #667694;
}

/* ===== VISION & MISSION ===== */
.vision-mission {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 10%, rgba(0, 212, 255, 0.12), transparent 34%),
        radial-gradient(circle at 84% 85%, rgba(255, 91, 46, 0.14), transparent 36%),
        linear-gradient(135deg, #050b1a 0%, #07132b 55%, #0b1a35 100%);
}

.vision-mission .text-light-title h2 {
    color: #fff;
}

.vision-mission .text-light-title p {
    color: #a9bad5 !important;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.vm-card {
    position: relative;
    padding: 32px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 91, 46, 0.45);
}

.vm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(255, 91, 46, 0.3);
}

.vm-card h3 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 10px;
}

.vm-card p {
    color: #c2d0e7;
    margin: 0;
}

/* ===== UTILITIES ===== */
.text-left {
    text-align: left !important;
}

.mt-4 {
    margin-top: 24px;
}

.mt-5 {
    margin-top: 34px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .main-about-img {
        min-height: 420px;
    }

    .experience-badge {
        right: 10px;
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 44vh;
        padding: 118px 0 70px;
        text-align: center;
    }

    .page-header-content {
        margin: 0 auto;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .subsection-title {
        font-size: 24px;
    }

    .experience-badge .years {
        font-size: 28px;
    }

    .step-item {
        grid-template-columns: 1fr;
    }

    .step-icon {
        width: 42px;
        height: 42px;
    }
}

/* ===== ADDITIONAL INFO ===== */
.info-section {
    background: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    background: #f8f9fc;
    border: 1px solid #e7edf8;
    border-radius: 18px;
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 91, 46, 0.3);
    box-shadow: var(--shadow-md);
}

.info-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(255, 91, 46, 0.25);
}

.info-card h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.info-card p {
    color: #41516f;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}