

/* Company History Section - Mobile Responsive */
.company-history-section {
    padding: 0;
    background: transparent;
    position: relative;
    margin-top: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.history-container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Content Container */
.history-content {
    background: #fafbfc;
    padding: 3rem;
    position: relative;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Story Heading */
.story-heading {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 600;
    color: #2c5282;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    word-wrap: break-word;
}

.story-heading::before {
    content: '';
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    flex-shrink: 0;
}

/* Main Paragraph */
.history-paragraph {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 3rem;
    text-align: justify;
    font-weight: 400;
    word-wrap: break-word;
    max-width: 100%;
}

/* Services Section */
.services-section {
    margin-top: 2.5rem;
    width: 100%;
    max-width: 100%;
}

.services-heading {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 600;
    color: #2c5282;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    word-wrap: break-word;
}

.services-heading::before {
    content: '';
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    flex-shrink: 0;
}

/* Services Text */
.services-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.7;
    color: #4a5568;
    text-align: justify;
    font-weight: 400;
    background: #ffffff;
    padding: 2rem;
    border-left: 4px solid #f97316;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 12px;
    }
    
    .about-text-content {
        padding: 2rem;
    }
    
    .about-intro {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .intro-icon {
        align-self: center;
        width: 50px;
        height: 50px;
    }
    
    .intro-icon i {
        font-size: 1.5rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mv-card {
        padding: 1.5rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .company-info {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .info-item {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .image-overlay {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .image-overlay span {
        font-size: 1.2rem;
    }
    
    .history-content {
        padding: 2rem;
    }
    
    .history-paragraph {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .services-text {
        padding: 1.5rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-container {
        padding: 0 10px;
    }
    
    .about-text-content {
        padding: 1.5rem;
    }
    
    .company-values {
        padding: 1.5rem;
    }
    
    .value-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .value-item i {
        font-size: 1.5rem;
    }
    
    .achievement {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .history-content {
        padding: 1.5rem;
    }
    
    .services-text {
        padding: 1rem;
    }
    
    .info-item {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .grid-item {
        height: 120px;
    }
    
    .image-overlay {
        padding: 1rem;
    }
    
    .story-heading::before,
    .services-heading::before {
        height: 20px;
        width: 3px;
    }
}

/* Prevent any element from causing horizontal scroll */
* {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}