/* ===================================================
   ABOUT.CSS - About Page Specific Styles
   Save this file as: css/about.css
   =================================================== */

/*** Enhanced About Section ***/
/* NEW SIMPLE BADGE - Infrastructure Style */
.about-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.about-badge {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 168, 120, 0.4);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.about-badge:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 168, 120, 0.5);
}

/* Remove old badge children selectors */
.about-badge i,
.about-badge h3,
.about-badge p {
    /* These are no longer needed */
    display: none;
}

.about-priority h4,
.about-satisfaction h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.about-priority h4 i,
.about-satisfaction h4 i {
    font-size: 24px;
}

.about-priority p,
.about-satisfaction p {
    color: #6D7A76;
    line-height: 1.8;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 120, 0.1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 120, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 168, 120, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*** Feature Cards - Modern Design ***/

.section-header-new {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1E2A23;
}

.feature-card-new {
    background: white;
    border-radius: 20px;
    padding: 35px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(0, 168, 120, 0.1);
}

.feature-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00A878, #008563);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-new:hover::before {
    transform: scaleX(1);
}

.feature-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 120, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-new:hover .feature-glow {
    opacity: 1;
}

.feature-card-new:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(0, 168, 120, 0.2);
    border-color: rgba(0, 168, 120, 0.3);
}

.feature-header-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.icon-wrapper-new {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 168, 120, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.icon-wrapper-new::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.feature-card-new:hover .icon-wrapper-new {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 168, 120, 0.5);
}

.icon-wrapper-new i {
    color: white;
    font-size: 26px;
    transition: transform 0.3s ease;
}

.feature-card-new:hover .icon-wrapper-new i {
    transform: scale(1.2);
}

.feature-number-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #F4FFFA;
    line-height: 1;
    transition: all 0.4s ease;
}

.feature-card-new:hover .feature-number-new {
    color: rgba(0, 168, 120, 0.15);
}

.feature-title-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1E2A23;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-card-new:hover .feature-title-new {
    color: #00A878;
}

.feature-desc-new {
    color: #6D7A76;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 168, 120, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(10px, 10px);
    transition: all 0.3s ease;
}

.feature-arrow i {
    color: #00A878;
    font-size: 14px;
}

.feature-card-new:hover .feature-arrow {
    opacity: 1;
    transform: translate(0, 0);
}


/*** Heritage Timeline Section ***/

.heritage-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.timeline-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 168, 120, 0.25);
}

.timeline-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px;
}

/* NEW TIMELINE BADGE - Simple Style */
.timeline-badge {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 168, 120, 0.4);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove timeline badge icon styles */
.timeline-badge i {
    display: none;
}


.timeline-content {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.generation-label {
    display: inline-block;
    background: rgba(0, 168, 120, 0.1);
    color: #00A878;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.timeline-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1E2A23;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.timeline-content p {
    color: #6D7A76;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
}

.timeline-content p strong {
    color: #1E2A23;
    font-weight: 600;
}

/* Reverse Layout */
.timeline-item-reverse .timeline-content {
    text-align: right;
}

.timeline-item-reverse .generation-label {
    float: right;
}

/* Legacy Stats */
.legacy-stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legacy-stat-card:hover {
    transform: translateY(-10px);
    border-color: #00A878;
    box-shadow: 0 15px 40px rgba(0, 168, 120, 0.2);
}

.stat-icon-lg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.legacy-stat-card:hover .stat-icon-lg {
    transform: rotate(360deg);
}

.stat-icon-lg i {
    font-size: 36px;
    color: white;
}

.legacy-stat-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.legacy-stat-card p {
    color: #6D7A76;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .timeline-image img {
        height: 350px;
    }
    
    .timeline-content {
        padding: 30px 25px;
        margin-top: 30px;
    }
    
    .timeline-item-reverse .timeline-content {
        text-align: left;
    }
    
    .timeline-item-reverse .generation-label {
        float: none;
    }
    
    .timeline-content h2 {
        font-size: 26px;
    }
    
    .timeline-item {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .timeline-image img {
        height: 300px;
    }
    
    .timeline-badge {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .timeline-badge i {
        font-size: 18px;
    }
}
*/

/*** Why Choose Us Cards ***/

.why-choose-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    border-color: #00A878;
    box-shadow: 0 15px 40px rgba(0, 168, 120, 0.2);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-icon {
    transform: rotate(10deg) scale(1.1);
}

.why-icon i {
    font-size: 32px;
    color: white;
}

.why-choose-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1E2A23;
    margin-bottom: 15px;
}

.why-choose-card p {
    color: #6D7A76;
    line-height: 1.7;
    margin: 0;
}


/*** Timeline Cards ***/

.timeline-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.timeline-card:hover {
    transform: translateY(-10px);
    border-color: #00A878;
    box-shadow: 0 15px 40px rgba(0, 168, 120, 0.2);
}

.timeline-year {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 168, 120, 0.3);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    transition: all 0.4s ease;
}

.timeline-card:hover .timeline-icon {
    background: linear-gradient(135deg, #00A878 0%, #008563 100%);
    transform: scale(1.1);
}

.timeline-icon i {
    font-size: 28px;
    color: #00A878;
    transition: color 0.4s ease;
}

.timeline-card:hover .timeline-icon i {
    color: white;
}

.timeline-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1E2A23;
    margin-bottom: 12px;
}

.timeline-card p {
    color: #6D7A76;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}


/*** Mobile Responsive ***/

@media (max-width: 768px) {
    .section-title-new {
        font-size: 28px;
    }
    
    .feature-card-new {
        padding: 30px 24px;
    }
    
    .icon-wrapper-new {
        width: 55px;
        height: 55px;
    }
    
    .icon-wrapper-new i {
        font-size: 22px;
    }
    
    .feature-number-new {
        font-size: 48px;
    }
    
    .about-badge {
        padding: 20px;
        gap: 15px;
    }
    
    .about-badge h3 {
        font-size: 28px;
    }
    
    .about-badge i {
        font-size: 32px;
    }
    
    .about-overlay {
        bottom: 20px;
        right: 20px;
    }
    
    .why-choose-card,
    .timeline-card {
        padding: 30px 20px;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
    }
    
    .why-icon i {
        font-size: 28px;
    }
}

/* Certificate Card Styles */
.certificate-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.certificate-preview {
    position: relative;
    width: 100%;
    height: 350px;
    background: #f8f9fa;
    overflow: hidden;
}

.certificate-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.view-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.certificate-card:hover .view-button {
    opacity: 1;
    transform: scale(1);
}

.view-button i {
    font-size: 2.5rem;
}

.view-button span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certificate-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.certificate-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00A878 0%, #008FA3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.certificate-header h5 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.certificate-number {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

.certificate-body p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: #00A878;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.certificate-badge i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .certificate-preview {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .certificate-preview {
        height: 280px;
    }
    
    .certificate-body {
        padding: 20px;
    }
    
    .certificate-header h5 {
        font-size: 1.1rem;
    }
};