/* Dynamic Sections Styling */

.dynamic-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.dynamic-section.has-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dynamic-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.dynamic-section .container {
    position: relative;
    z-index: 2;
}

.dynamic-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.dynamic-section-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dynamic-section-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.dynamic-section-content h1,
.dynamic-section-content h2,
.dynamic-section-content h3,
.dynamic-section-content h4,
.dynamic-section-content h5,
.dynamic-section-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dynamic-section-content p {
    margin-bottom: 1rem;
}

.dynamic-section-content ul,
.dynamic-section-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.dynamic-section-content li {
    margin-bottom: 0.5rem;
}

.dynamic-section-images {
    margin-top: 2rem;
}

.dynamic-section-images .row {
    margin: -10px;
}

.dynamic-section-images .col-md-6,
.dynamic-section-images .col-md-4,
.dynamic-section-images .col-md-3 {
    padding: 10px;
}

.dynamic-section-image {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
}

.dynamic-section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Featured Sections Styling */
.featured-section-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.featured-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.featured-content {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hero Section Styling */
.dynamic-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dynamic-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8));
    z-index: 1;
}

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

.dynamic-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.dynamic-hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.dynamic-hero-content {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dynamic-section {
        padding: 40px 0;
    }
    
    .dynamic-section-title {
        font-size: 2rem;
    }
    
    .dynamic-hero-title {
        font-size: 2.5rem;
    }
    
    .dynamic-hero-description {
        font-size: 1.1rem;
    }
    
    .featured-section-card {
        padding: 1.5rem;
    }
    
    .featured-image img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .dynamic-section-title {
        font-size: 1.8rem;
    }
    
    .dynamic-hero-title {
        font-size: 2rem;
    }
    
    .dynamic-hero-description {
        font-size: 1rem;
    }
    
    .featured-section-card {
        padding: 1rem;
    }
}

/* Color Utilities */
.text-light-custom {
    color: #f8f9fa !important;
}

.text-dark-custom {
    color: #212529 !important;
}

.bg-primary-custom {
    background-color: #007bff !important;
}

.bg-secondary-custom {
    background-color: #6c757d !important;
}

.bg-success-custom {
    background-color: #28a745 !important;
}

.bg-info-custom {
    background-color: #17a2b8 !important;
}

.bg-warning-custom {
    background-color: #ffc107 !important;
}

.bg-danger-custom {
    background-color: #dc3545 !important;
}