/* Home Page specific styles */

.home-hero {
    position: relative;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 38, 74, 0.8) 0%, rgba(0, 38, 74, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.service-overlay h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Info Cards */
.info-cards-section {
    position: relative;
    top: -40px;
    /* pull up */
    z-index: 10;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-content h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.info-icon {
    font-size: 32px;
    color: var(--secondary-blue);
    align-self: center;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--secondary-blue);
    padding: 20px 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-banner h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.phone-icon-box {
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--secondary-blue);
    border-radius: 2px;
    /* slight curve if any */
}

/* Expertise Section */
.expertise-section {
    background-color: #f9fbff;
}

.expertise-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.expertise-content {
    flex: 1;
}

.expertise-title {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 40px;
}

.list-title {
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-blue);
}

.expertise-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* References Section */
.ref-header {
    text-align: center;
    margin-bottom: 40px;
}

.ref-header h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 5px;
}

.all-refs-link {
    color: var(--secondary-blue);
    font-size: 14px;
}

.refs-carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.refs-logos {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.ref-logo-box {
    border: 1px solid #eee;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ref-logo-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nav-btn {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .services-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .services-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .expertise-flex {
        flex-direction: column;
    }

    .refs-logos {
        flex-wrap: wrap;
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}