

/* Header Section - "Our Technologies" */
.header-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #a0aec0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-section img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    z-index: 0;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(41, 128, 185, 0.7), rgba(52, 152, 219, 0.7), rgba(52, 152, 219, 0.2));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: left;
    padding: 0 5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Header Adjustments */
@media (max-width: 768px) {
    .header-section {
        height: 300px;
        align-items: flex-end; /* Push content lower for better visibility */
    }

    .header-section img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .header-content {
        font-size: 2rem;
        padding: 1rem 2rem;
        text-align: center;
    }

    .header-section::before {
        background: linear-gradient(to bottom, rgba(41, 128, 185, 0.8), rgba(52, 152, 219, 0.6), rgba(52, 152, 219, 0.2));
    }
}

@media (max-width: 480px) {
    .header-section {
        height: 250px;
    }

    .header-content {
        font-size: 1.5rem;
        padding: 1rem;
    }
}

/* General Content Section Styling */
.content-section {
    background-color: #f3f4f6;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-wrapper h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 2rem;
    text-align: center;
}

.content-wrapper h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
    text-align: justify;
}

.horizontal-line {
    border: none;
    border-top: 1px solid #3498db;
    margin: 2rem 0;
}

.content-block-box {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content-block-box:last-child {
    margin-bottom: 0;
}

/* Image Gallery Section */
.image-gallery-section {
    background-color: #f3f4f6;
    padding: 4rem 0;
    text-align: center;
}

.image-gallery-section h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 3rem;
}

.image-row-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.image-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    flex: 1 1 calc(25% - 2rem);
    min-width: 200px;
    max-width: 280px;
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.image-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
    padding: 0 1rem;
}

/* Responsive adjustments for image cards */
@media (max-width: 1024px) {
    .image-card {
        flex: 1 1 calc(33.33% - 2rem);
    }
}

@media (max-width: 768px) {
    .image-card {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 480px) {
    .image-card {
        flex: 1 1 100%;
    }
}
