/* Hero Section for Pillars Page */
.hero-pillars {
    position: relative;
    padding-top: 115px;
    padding-bottom: 50px;
    background: url('../images/about-bg.webp') no-repeat center center/cover;
    text-align: center;
    color: #fff;
}

.hero-pillars .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(1, 29, 56, 0.8), rgba(0, 78, 152, 0.7));
    z-index: 1;
}

.hero-pillars .container {
    position: relative;
    z-index: 2;
}

.hero-pillars h1 {
    font-size: 3.5rem;
    font-weight: 600;
}

.hero-pillars .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Pillars Section */
.pillars-section {
    padding: 80px 0;
    background-color: #fff; /* Changed to white for a softer look */
}

.pillar-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.pillar-item:last-child {
    margin-bottom: 0;
}

.pillar-item.reverse {
    grid-template-areas: "text image";
}

.pillar-item.reverse .pillar-image {
    grid-area: image;
}

.pillar-item.reverse .pillar-text {
    grid-area: text;
}

.pillar-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 48, 93, 0.15);
    object-fit: cover;
    height: 100%;
    max-height: 350px;
}

.pillar-text {
    padding: 20px 0;
}

.pillar-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.pillar-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a3a8f;
}

.pillar-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* CTA Section for Pillars Page */
#cta-piliers {
    position: relative;
    overflow: hidden;
}

#particles-js-piliers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

#cta-piliers .container {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .pillar-item, .pillar-item.reverse {
        grid-template-columns: 1fr;
        grid-template-areas: unset;
        gap: 30px;
        text-align: center;
    }

    .pillar-item .pillar-image,
    .pillar-item.reverse .pillar-image {
        grid-area: unset;
    }

    .pillar-item .pillar-text,
    .pillar-item.reverse .pillar-text {
        grid-area: unset;
    }
}

@media (max-width: 768px) {
    .hero-pillars h1 {
        font-size: 2.5rem;
    }

    .pillar-text h2 {
        font-size: 2rem;
    }
}
