/* ========================================== 
   Index Page Custom Styles - Bootstrap 5 Compatible
   ========================================== */

/* Section Subtitle Styling */
.section-subtitle {
    color: #FF9F28 !important;
    font-size: 0.875rem;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #FF9F28 0%, #ffb347 100%);
    border-radius: 2px;
}

/* Section Title Styling */
.section-title {
    color: #003E73 !important;
    line-height: 1.2;
}

/* Section Description Styling */
.section-description {
    line-height: 1.7;
}

/* Stats Section - White Text Override */
.stats-section .section-subtitle {
    color: #ffffff !important;
}

.stats-section .section-subtitle::after {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
}

.stats-section .section-title {
    color: #ffffff !important;
}

/* ========================================== 
   Innovation Section - Fixed
   ========================================== */
.innovation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.innovation-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 62, 115, 0.08);
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 62, 115, 0.15);
    border-color: #003E73;
}

.innovation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.innovation-card:hover .innovation-icon {
    background: linear-gradient(135deg, #003E73 0%, #004a8a 100%);
    transform: scale(1.1);
}

.innovation-icon i {
    font-size: 2rem;
    color: #003E73;
    transition: all 0.3s ease;
}

.innovation-card:hover .innovation-icon i {
    color: white;
}

.innovation-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003E73;
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.innovation-card:hover h4 {
    color: #003E73;
}

.innovation-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.innovation-card:hover p {
    color: #495057;
}

/* ========================================== 
   Why Choose Section - Fixed
   ========================================== */
.why-choose-section-new {
    background: #ffffff;
}

/* Content Highlight Box */
.content-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #003E73;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: #003E73;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: white;
}

.highlight-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003E73;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Key Benefits List */
.key-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.benefit-item i {
    color: #FF9F28;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Why Choose Visual - Fixed */
.why-choose-visual {
    position: relative;
    border-radius: 15px;
    overflow: visible;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 62, 115, 0.15);
    transition: transform 0.3s ease;
    display: block;
}

.main-image:hover {
    transform: scale(1.02);
}

/* Achievement Badge - Fixed Position */
.achievement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 25px rgba(0, 62, 115, 0.2);
    text-align: center;
    min-width: 90px;
    max-width: 120px;
    z-index: 10;
}

.badge-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #003E73;
    margin-bottom: 0.15rem;
    line-height: 1;
}

.badge-content p {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

/* Features Grid - Fixed */
.features-grid {
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 62, 115, 0.15);
    border-color: #003E73;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    background: #003E73;
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: #003E73;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003E73;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
    flex-grow: 1;
}

/* ========================================== 
   Responsive Fixes
   ========================================== */
@media (max-width: 768px) {
    .innovation-card {
        min-height: 240px;
        padding: 1.5rem 1rem;
    }
    
    .innovation-icon {
        width: 60px;
        height: 60px;
    }
    
    .innovation-icon i {
        font-size: 1.5rem;
    }
    
    .innovation-card h4 {
        font-size: 1.1rem;
    }
    
    .content-highlight {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .highlight-icon {
        margin: 0 auto;
    }
    
    .main-image {
        height: 300px;
    }
    
    .achievement-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .feature-card {
        min-height: 220px;
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .innovation-card {
        min-height: 220px;
    }
    
    .feature-card {
        min-height: 200px;
    }
}

/* Industries Section */
.industries-section {
    background: #ffffff;
}

/* Services Section */
.services-section-clean {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Clients Section */
.clients-section {
    background: #f8f9fa;
}

/* CTA Section */
.cta-section-new {
    background: linear-gradient(135deg, #003E73 0%, #004a8a 100%);
    color: white;
}

/* About Section */
.about-section-simple {
    background: #f8f9fa;
}

/* Responsive Typography - Bootstrap 5 Compatible */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .section-subtitle::after {
        width: 40px;
        height: 2px;
    }
}

@media (max-width: 576px) {
    .section-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .section-subtitle::after {
        width: 30px;
    }
}

/* Stat Box Styling */
.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 159, 40, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 2rem;
    color: #FF9F28;
}

.stat-box:hover .stat-icon {
    background: #FF9F28;
    transform: scale(1.1);
}

.stat-box:hover .stat-icon i {
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Stats Row in About Section */
.stats-row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.stats-row .stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stats-row .stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #003E73;
    margin-bottom: 0.5rem;
}

.stats-row .stat-item p {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* About Buttons */
.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-buttons .btn-primary {
    background: #003E73;
    border: none;
}

.about-buttons .btn-primary:hover {
    background: #004a8a;
    transform: translateY(-2px);
}

.about-buttons .btn-outline-primary {
    border: 2px solid #003E73;
    color: #003E73;
}

.about-buttons .btn-outline-primary:hover {
    background: #003E73;
    color: white;
    transform: translateY(-2px);
}

/* About Image */
.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 62, 115, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}
