/* About Us & Inner Page Specific Styles */

/* =========================================
   Header Styles (transparent over dark hero)
   ========================================= */
/* Header Styles (transparent over dark hero) */
.header {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
}

.menu-toggle .material-symbols-outlined {
    font-size: 1.75rem;
}

/* =========================================
   Footer Styles (from global.css)
   ========================================= */
.footer {
    background: var(--dark-bg);
    padding: 5rem 0 2rem;
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand-col {
    max-width: 400px;
}

.footer-brand-col .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand-col p {
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: var(--text-light);
}

.footer-col ul a:hover {
    color: var(--primary-blue);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-list li span {
    color: var(--primary-blue);
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Dark hero button override */
.services-hero .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
}

.services-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}


/* Section & Common Inner Elements */
.section {
    padding: 56px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.3rem);
    margin-bottom: 6px;
    color: var(--navy-900);
}

.section-title p {
    color: var(--slate-600);
    max-width: 640px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: var(--radius-page-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    background: #eaf1ff;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 700;
}

/* Page Specific: About Us components */
.hero-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 32px;
    text-align: left;
}

.hero-visual {
    background: #0f2a3f;
    color: white;
    border-radius: var(--radius-page-lg);
    padding: 28px;
    min-height: 220px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
}

.hero-visual .visual-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3dd5ff, #1b3b6f);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.stat {
    background: white;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    min-width: 160px;
    box-shadow: var(--shadow-sm);
}

.stat h3 {
    font-size: 20px;
    color: var(--navy-900);
}

/* =========================================
   Our Story & Mission Section
   ========================================= */
.story-section {
    background-color: rgb(246, 246, 248);
    padding: 6rem 0;
    color: var(--text-main);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    color: var(--navy-900);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.story-content p {
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.story-images {
    position: relative;
    height: 400px;
}

.story-img-main {
    width: 85%;
    height: 100%;
    border-radius: 16px;
    background: #1a2332;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), #00e5ff, #0066ff);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
}

.timeline-dot.active {
    background: #00e5ff;
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}

.timeline-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.story-img-float {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 160px;
    height: 180px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.story-img-float .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary-blue);
}

.story-img-float p {
    font-size: 0.8rem;
    color: var(--navy-900);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* =========================================
   Our Core Values Section
   ========================================= */
.values-section {
    background: var(--white);
    padding: 6rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: rgb(246, 246, 248);
    border-radius: 16px;
    padding: 2rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(100, 100, 120, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-icon .material-symbols-outlined {
    font-size: 1.4rem;
    color: #555;
}

.value-icon.blue {
    background: rgba(0, 102, 255, 0.08);
}

.value-icon.blue .material-symbols-outlined {
    color: #0066ff;
}

.value-icon.indigo {
    background: rgba(88, 80, 236, 0.08);
}

.value-icon.indigo .material-symbols-outlined {
    color: #5850ec;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =========================================
   The Solution Section
   ========================================= */
.solution-section {
    padding: 6rem 0;
    background: rgb(246, 246, 248);
}

.solution-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.solution-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.solution-label::before,
.solution-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary-blue);
}

.solution-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.solution-header p {
    color: var(--slate-600);
    font-size: 1.05rem;
    line-height: 1.6;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    background: #fff;
    /* Light gray from image */
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.solution-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.6;
}

/* =========================================
   CTA Blue Section (matching portfolio)
   ========================================= */
.cta-blue-section {
    background-color: var(--primary-blue);
    padding: 5rem 0;
    color: var(--white);
}

.cta-blue-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-blue-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.text-center {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .hero {
        padding: 54px 0 40px;
    }

    .hero-split {
        text-align: center;
    }

    .stat-row {
        justify-content: center;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .story-images {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .story-img-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -40px;
        margin-left: auto;
        z-index: 2;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .story-img-main {
        width: 100%;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .cta-blue-section {
        padding: 4rem 1.5rem;
    }

    .cta-blue-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}