/* Company Factsheet Styles */
.company-factsheet-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.company-factsheet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.company-factsheet-section .container {
    position: relative;
    z-index: 2;
}

.section-title-s4 {
    margin-bottom: 50px;
}

.section-title-s4 span {
    color: #D91E3B;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title-s4 h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.section-title-s4 h2 span {
    color: #D91E3B;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

.factsheet-card {
    background: #ffffff;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.factsheet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D91E3B, #ff8c42);
}

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

.factsheet-card h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    position: relative;
}

.factsheet-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #D91E3B;
}

.factsheet-card h4 {
    color: #34495e;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #D91E3B, #ff8c42);
    color: white;
    text-align: center;
}

.factsheet-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.factsheet-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.factsheet-info-list li:last-child {
    border-bottom: none;
}

.factsheet-info-list li strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 180px;
    margin-right: 10px;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    display: flex;
    align-items: center;
}

.product-list li i {
    color: #D91E3B;
    margin-right: 10px;
    font-size: 12px;
    flex-shrink: 0;
}

.factsheet-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.factsheet-card p:last-child {
    margin-bottom: 0;
}

/* Statutory Profile Grid */
.factsheet-card .row p {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 4px solid #D91E3B;
    font-size: 14px;
}

.factsheet-card .row p strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Why Choose Us Section */
.factsheet-card ul:not(.product-list):not(.factsheet-info-list) {
    list-style: none;
    padding: 0;
    margin: 0;
}

.factsheet-card ul:not(.product-list):not(.factsheet-info-list) li {
    padding: 10px 0;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.factsheet-card ul:not(.product-list):not(.factsheet-info-list) li i {
    color: #28a745;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Industries Catered Section */
.factsheet-card ul li i.ti-arrow-circle-right {
    color: #D91E3B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title-s4 h2 {
        font-size: 32px;
    }
    
    .factsheet-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .factsheet-card h3 {
        font-size: 20px;
    }
    
    .factsheet-card h4 {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .factsheet-info-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .factsheet-info-list li strong {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .section-title-s4 h2 {
        font-size: 28px;
    }
    
    .factsheet-card {
        padding: 20px 15px;
    }
    
    .factsheet-card h3 {
        font-size: 18px;
    }
}

/* Animation Effects */
.factsheet-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.factsheet-card:nth-child(1) { animation-delay: 0.1s; }
.factsheet-card:nth-child(2) { animation-delay: 0.2s; }
.factsheet-card:nth-child(3) { animation-delay: 0.3s; }
.factsheet-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Product Portfolio Enhanced Styling */
.product-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-category {
    background: #f8f9fa;
    padding: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-category:hover {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Mission & Vision Cards */
.mission-vision-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mission-vision-card .factsheet-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mission-vision-card .factsheet-card p {
    flex: 1;
}
/* Statistics Section */
.statistics-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
}

.statistics-section .section-title-s4 {
    margin-bottom: 50px;
}

.statistics-section .section-title-s4 span {
    color: #D91E3B;
}

.statistics-section .section-title-s4 h2 {
    color: white;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="20" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    z-index: 1;
}

.statistics-section .container {
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 30px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D91E3B, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.stat-icon i {
    font-size: 32px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 16px;
    color: #ecf0f1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 1s ease-out;
}

/* Responsive Statistics */
@media (max-width: 768px) {
    .stat-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* Enhanced Hover Effects */
.factsheet-card {
    position: relative;
    overflow: hidden;
}

.factsheet-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.factsheet-card:hover::after {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Loading Animation for Cards */
.factsheet-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.factsheet-card:nth-child(odd) {
    animation-delay: 0.2s;
}

.factsheet-card:nth-child(even) {
    animation-delay: 0.4s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .statistics-section {
        background: white !important;
        color: black !important;
    }
    
    .stat-icon {
        background: #f0f0f0 !important;
    }
    
    .stat-icon i {
        color: #333 !important;
    }
    
    .stat-number {
        color: #333 !important;
        text-shadow: none !important;
    }
    
    .factsheet-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}