/* Section Title Styles - Reusable */
.section-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #D92525;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.2;
}

/* Banner Section */
.banner-section {
    padding: 5rem 0;
}

.banner-header {
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.banner-section-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 340px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.banner-card:hover .banner-img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.15) 60%,
        transparent 100%
    );
    color: #fff;
    transition: background 0.35s ease;
}

.banner-card:hover .banner-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.banner-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.banner-overlay .btn-primary {
    align-self: flex-start;
    font-size: 0.8125rem;
    padding: 8px 20px;
}

@media (max-width: 991px) {
    .banner-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-card:last-child { grid-column: span 2; height: 280px; }
}

@media (max-width: 575px) {
    .banner-section { padding: 3.5rem 0; }
    .banner-grid { grid-template-columns: 1fr; }
    .banner-card,
    .banner-card:last-child { grid-column: span 1; height: 260px; }
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-description {
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

/* Auto-scale: short text = larger, long text = smaller */
.about-desc-lg {
    font-size: 1.05rem;
}

.about-desc-md {
    font-size: 0.935rem;
}

.about-desc-sm {
    font-size: 0.85rem;
    line-height: 1.7;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-section {
        text-align: center;
    }
    
    .about-description {
        font-size: 0.9rem;
    }

    .about-desc-sm {
        font-size: 0.8rem;
    }
    
    .about-image-container {
        margin-top: 1rem;
    }
}
