/* ==========================================
   COMPANY SECTION - MODERN PROFESSIONAL DESIGN
   ========================================== */

/* Company Description Cards */
.company-cards {
    margin-bottom: 1rem;
}

.company-card {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
}

.company-card-reverse {
    grid-template-columns: 1fr 3fr;
}

.company-card-reverse .company-card-image {
    order: -1;
}

.company-card-content {
    margin-bottom: 4rem;
}

.company-card-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 1.5rem;
    letter-spacing: 0.5px;
    line-height: 1;
}

.company-card-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

.company-card-content p:last-child {
    margin-bottom: 0;
}

.company-card-image {
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
}

.company-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Section Titles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ==========================================
   ISO CERTIFICATIONS
   ========================================== */

.certifications-section {
    margin-bottom: 6rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.cert-logos img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.cert-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.cert-info p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
    align-items: center;
}

/* ==========================================
   PARTNERS & CLIENTS
   ========================================== */

.partners-clients-row {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

.logo-section {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    min-width: 0;
}

.logo-scroll-wrapper {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    background: #f8f9fab7;
    border-radius: 12px;
}

.logo-scroll {
    display: flex;
    gap: 3rem;
    animation: scroll 10s linear infinite;
}

.logo-scroll:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 1.3s ease;
}

.logo-item:hover img {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   PROJECT HIGHLIGHTS
   ========================================== */

.projects-section {
    margin-bottom: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    padding: 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 100%);
}

.project-overlay h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .company-card {
        gap: 2rem;
        padding: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .company-card,
    .company-card-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-card-reverse .company-card-image {
        order: 0;
    }
    
    .company-card-image {
        height: 300px;
    }
    
    .company-card-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partners-clients-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .company-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .company-card-image {
        height: 250px;
        border-radius: 12px;
    }
    
    .company-card-content h2 {
        font-size: 1.2rem;
    }
    
    .company-card-content p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .cert-logos img {
        max-width: 80px;
    }
    
    .logo-item {
        width: 100px;
        height: 60px;
    }
    
    .project-card {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}