/* ================= ABOUT PAGES CSS ================= */
:root {
    --sun-blue: #1f6b9a;
    --sun-orange: #f2643b;
    --dark-navy: #0f2f44;
    --bg-light: #f8f9fa;
}

/* Section Subtitle */
.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sun-orange);
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--sun-orange);
}

.text-center .section-subtitle::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Story Section */
.story-image {
    position: relative;
    padding-right: 30px;
}

.story-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    color: white;
    padding: 25px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(242, 100, 59, 0.3);
    animation: float 6s ease-in-out infinite;
}

.experience-badge .years {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Story Stats */
.stat-box-small {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box-small::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-box-small:hover::after {
    opacity: 1;
}

.stat-box-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stat-box-small .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--sun-orange);
    margin-bottom: 5px;
}

.stat-box-small .stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Value Cards */
.value-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(31, 107, 154, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(242, 100, 59, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--sun-orange);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--sun-orange);
    color: #fff;
    transform: rotateY(180deg);
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.value-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Reason Cards */
.reason-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.reason-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.reason-card:hover::after {
    opacity: 1;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.reason-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(242, 100, 59, 0.1);
    line-height: 1;
    min-width: 60px;
}

.reason-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.reason-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Infrastructure Features */
.infra-features {
    margin-top: 30px;
}

.infra-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.infra-item:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.infra-item i {
    font-size: 24px;
    color: var(--sun-orange);
    flex-shrink: 0;
}

.infra-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.infra-item p {
    font-size: 14px;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--sun-orange), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(242, 100, 59, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 80px);
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 16px;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: 30px;
    }
}

/* Badge Styles */
.badge.bg-orange {
    background: var(--sun-orange);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

.badge.bg-blue {
    background: var(--sun-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

/* Vision/ Mission Boxes */
.mission-box,
.vision-box {
    transition: all 0.4s ease;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
}

.mission-box::after,
.vision-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mission-box:hover::after,
.vision-box:hover::after {
    opacity: 1;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(31, 107, 154, 0.15);
}

/* Work Stats */
.work-stat {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.work-stat::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.work-stat:hover::after {
    opacity: 1;
}

.work-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.work-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--sun-orange);
    margin-bottom: 5px;
}

.work-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Commitment Items */
.commitment-item {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.commitment-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
    .experience-badge {
        padding: 15px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .reason-card {
        padding: 20px;
    }
    
    .reason-number {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .story-image {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }
    
    .stat-box-small .stat-number {
        font-size: 24px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .work-number {
        font-size: 28px;
    }
}

/* Animation Classes */
.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}