/* About Page Specific Styles */

/* Enhanced About Section */
.about-section-enhanced {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.about-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.about-section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0.5rem;
}

.about-section-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-section-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: rocketPulse 3s infinite;
}

@keyframes rocketPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-2deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    75% { transform: scale(1.05) rotate(-1deg); }
}

.about-section-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Compact Journey Container */
.journey-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.journey-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(2, 22, 66, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.journey-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.journey-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.journey-item:hover::before {
    transform: scaleX(1);
}

.journey-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 12px rgba(2, 22, 66, 0.15);
    transition: all 0.3s ease;
}

.journey-item:hover .journey-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 6px 16px rgba(2, 22, 66, 0.2);
}

.journey-icon i {
    font-size: 1.3rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.journey-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.journey-content p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.company-summary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(2, 22, 66, 0.04), rgba(10, 42, 110, 0.02));
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(2, 22, 66, 0.08);
    position: relative;
    overflow: hidden;
}

.company-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 6px 20px rgba(2, 22, 66, 0.2);
    animation: starGlow 2s infinite alternate;
}

@keyframes starGlow {
    0% { box-shadow: 0 6px 20px rgba(2, 22, 66, 0.2); }
    100% { box-shadow: 0 8px 25px rgba(2, 22, 66, 0.3); }
}

.summary-icon i {
    font-size: 1.6rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.summary-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.summary-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section-title {
        font-size: 1.2rem !important;
    }

    .journey-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .journey-item {
        padding: 1rem;
    }

    .company-summary {
        padding: 1.2rem;
    }

    .journey-icon {
        width: 45px;
        height: 45px;
    }

    .summary-icon {
        width: 50px;
        height: 50px;
    }

    .journey-content h3 {
        font-size: 1.2rem;
    }

    .journey-content p {
        font-size: 0.95rem;
    }

    .summary-content h3 {
        font-size: 1.3rem;
    }

    .summary-content p {
        font-size: 1rem;
    }
}

/* Hero Section */
/* About page hero section now uses the global 20vh height */

/* About page specific hero content styles */

/* Page-specific responsive styles are now handled in styles.css */

/* About Sections */
.about-section {
    padding: 2rem 0;
}

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

/* Our Story Section */
.story-timeline {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.timeline-intro {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 2rem;
    background-color: white;
    border-radius: 8px;
}

.timeline-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.timeline-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    color: #475569;
    text-align: justify;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-marker span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
    border-right: 3px solid var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    border-left: 3px solid var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: #475569;
    line-height: 1.6;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.stat-info h4 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-info p {
    color: #64748b;
    font-weight: 500;
}

/* Mission & Values Section */
/* Mission and Vision in a row */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-box, .vision-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mission-box h3,
.vision-box h3,
.core-values-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Core Values in a single row */
.core-values-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.values-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-icon {
    color: var(--primary-color);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-content h4 {
    margin-bottom: 0.5rem;
}

/* Why INFOWAYS Section */
.why-infoways-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 2rem 0 2rem;
}

.why-infoways-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.why-infoways-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-infoways-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-infoways-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-infoways-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-infoways-item:nth-child(1) .why-infoways-icon {
    background-color: rgba(0, 166, 81, 0.1); /* Green */
    color: #00a651;
}

.why-infoways-item:nth-child(2) .why-infoways-icon {
    background-color: rgba(0, 120, 212, 0.1); /* Blue */
    color: #0078d4;
}

.why-infoways-item:nth-child(3) .why-infoways-icon {
    background-color: rgba(123, 44, 191, 0.1); /* Purple */
    color: #7b2cbf;
}

.why-infoways-item:nth-child(4) .why-infoways-icon {
    background-color: rgba(230, 57, 70, 0.1); /* Red */
    color: #e63946;
}

.why-infoways-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.why-infoways-content p {
    color: #475569;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Our Mindset Section */
.mindset-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.mindset-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mindset-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mindset-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.mindset-item:nth-child(1) {
    border-top-color: #00a651; /* Green */
}

.mindset-item:nth-child(2) {
    border-top-color: #0078d4; /* Blue */
}

.mindset-item:nth-child(3) {
    border-top-color: #7b2cbf; /* Purple */
}

.mindset-item:nth-child(4) {
    border-top-color: #e63946; /* Red */
}

.mindset-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mindset-title {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.mindset-description {
    color: #475569;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.3rem;
}

.position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bio {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/about/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
        width: 60px;
        height: 60px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 3px solid var(--primary-color);
        border-right: none;
    }

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

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

    .page-banner {
        padding: 100px 0 60px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .timeline-intro h3 {
        font-size: 1.8rem;
    }

    .timeline-intro p {
        font-size: 1rem;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
    }

    .timeline-marker span {
        font-size: 0.9rem;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        padding: 1.2rem;
    }

    .achievement-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .stat-info h4 {
        font-size: 1.8rem;
    }
}
