/* =========================================
   About Page Specific Styles
   ========================================= */

/* Hero Section Redesign */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 160px 10% 80px;
    background-color: #001a38;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) saturate(1.05);
    transform: scale(1.06);
}



.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.about-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.about-hero .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 620px;
    grid-column: 1;
    justify-self: start;
    text-align: left;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.about-hero .hero-features {
    grid-column: 2;
    justify-self: end;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
    width: 230px;
}

.about-hero .feature-tag {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    padding: 1.1rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.about-hero .tag-text p {
    color: var(--white);
    opacity: 0.8;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 91, 150, 0.16);
    color: var(--white);
    padding: 0.55rem 1.4rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(8, 91, 150, 0.45);
}

.text-glow {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.about-hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.92;
    max-width: 650px;
    line-height: 1.7;
    border-left: 3px solid var(--accent);
    padding-left: 1.8rem;
}




.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.about-hero .hero-features {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
    justify-self: end;
}

.scroll-down-btn {
    display: none !important;
}

.scroll-down-btn:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-5px);
}

.scroll-down-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--white-10);
    border-radius: 50%;
    animation: pulseCircle 2s infinite;
}

@keyframes pulseCircle {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Common Layout Utilities for About Page */
.section {
    padding: 80px 5% 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-accent {
    color: var(--accent);
}

.about {
    background: var(--white);
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: -1px;
}

.about .cta-button {
    margin-top: 2rem;
    display: inline-flex;
}

/* Mission & Vision Section */
.mission-vision {
    background: var(--white);
    padding-top: 60px;
    padding-bottom: 60px;
}

.mission-vision.overlap-top {
    margin-top: 0;
}

.mission-vision .container {
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.mission-card,
.vision-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(243, 249, 255, 1) 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.35s var(--ease-out);
    box-shadow: 0 25px 45px rgba(8, 91, 150, 0.08);
    border: 1px solid rgba(8, 91, 150, 0.12);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(8, 91, 150, 0.14);
    border-color: var(--accent);
}

.mission-card h3,
.vision-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: var(--text-main);
    opacity: 0.9;
    line-height: 1.75;
    max-width: 38rem;
    margin: 0 auto;
}

.icon-box {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Why Choose Us Section */
.why-choose {
    background: var(--bg-light);
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-item {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 15px 35px rgba(8, 91, 150, 0.05);
    border: 1px solid rgba(8, 91, 150, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
    transform-origin: right;
}

.why-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.why-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(8, 91, 150, 0.12);
    border-color: var(--accent-light);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--accent);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    border-radius: 22px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    z-index: 2;
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.why-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Core Values Override for 4 items */
.values-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Our Team */
.our-team {
    background: var(--white);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    width: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent);
    transition: transform 0.4s var(--ease-out);
}

.team-member:hover .member-img {
    transform: scale(1.1);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-member span {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8, 91, 150, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .cta-button {
    min-width: 250px;
}

/* Responsive */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .grid-2,
    .about,
    .mission-vision .container {
        grid-template-columns: 1fr;
    }

    .about {
        text-align: center;
        gap: 3rem;
    }

    .about .about-content .section-title {
        text-align: center !important;
    }

    .team-grid {
        justify-content: center;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 100px 5% 40px;
    }

    .about-hero .hero-content {
        grid-column: 1;
        justify-self: start;
        text-align: left;
        max-width: 100%;
    }

    .about-hero .hero-features {
        grid-column: 2;
        justify-self: end;
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0;
    }

    .about-hero .feature-tag {
        width: calc(33.333% - 0.5rem);
        min-width: 0;
        padding: 1rem 1rem;
    }

    .about-hero h1 {
        font-size: 3.5rem;
        margin: 0 0 2rem;
    }

    .about-hero p {
        margin: 0 auto 3rem;
        border-left: none;
        padding-left: 0;
        max-width: 600px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        justify-content: center;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .about .cta-button {
        width: 100%;
        max-width: 350px;
        text-align: center;
        margin: 2rem auto 0;
    }

    .final-cta .cta-button {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        min-width: unset;
    }
}

@media (max-width: 992px) {

    .about-hero {
        grid-template-columns: 1fr;
        padding: 220px 5% 80px;
        height: auto;
        min-height: 100vh;
    }

    .about-hero .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .about-hero .hero-features {
        grid-column: 1;
        justify-self: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
        width: 100%;
        margin-top: 1.5rem;
    }

    .about-hero .feature-tag {
        flex: 1;
        min-width: 0;
        width: auto;
        padding: 1rem 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.7rem;
    }

    .about-hero .feature-tag i {
        font-size: 1.5rem;
    }

    .about-hero .feature-tag .tag-text h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .about-hero .feature-tag .tag-text p {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .about-hero h1 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .about-hero p {
        margin: 0 0 3rem;
        border-left: 3px solid var(--accent);
        padding-left: 2rem;
        max-width: 600px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 350px;
        margin: 1.5rem auto 0;
        justify-content: center;
    }

    .hero-actions .cta-button {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .values-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        grid-template-columns: 1fr;
        padding: 220px 5% 80px;
        min-height: 100vh;
    }

    .about-hero .hero-content {
        align-items: flex-start;
    }

    .about-hero .hero-features {
        gap: 10px;
        margin-top: 1.5rem;
    }

    .about-hero .feature-tag {
        width: auto;
        flex: 1;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 180px 5% 70px;
        min-height: 100svh;
    }

    .about-hero .hero-tag {
        max-width: 100%;
        justify-content: flex-start;
        line-height: 1.4;
        text-align: left;
        letter-spacing: 0;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        max-width: 100%;
    }
}
