/* ===== ABOUT SECTION ===== */
.about {
    /* Remove padding and background to rely on layout.css */
}

/* Compact Carousel */
.compact-carousel {
    max-height: 400px;
}

.about .carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

/* About Content */
.about-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px; /* Optional: you can adjust padding to match services/cards */
}

.about-content .lead {
    font-size: 1.1rem;
    font-weight: 500;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Feature Boxes */
.feature-box {
    background: #f8f9fa;
    padding: 20px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #2c5aa0;
    background: white;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: white;
    font-size: 1.2rem;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Carousel Controls */
.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

/* ===== ABOUT RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-content { padding: 20px; }
    .compact-carousel { max-height: 350px; }
    .about .carousel-item img { height: 350px; }
}

@media (max-width: 768px) {
    .about-content { padding: 20px 15px; }
    .feature-box { padding: 15px 12px; }
    .feature-icon { width: 45px; height: 45px; font-size: 1.1rem; margin-bottom: 10px; }
    .compact-carousel { max-height: 300px; }
    .about .carousel-item img { height: 300px; }
}

@media (max-width: 576px) {
    .about-content { padding: 15px 12px; }
    .feature-box { padding: 12px 10px; }
    .carousel-control-prev, .carousel-control-next { width: 35px; height: 35px; }
    .compact-carousel { max-height: 250px; }
    .about .carousel-item img { height: 250px; }
}
