/* ============================================
   CSS CÁC UTILITY CLASS CHUNG
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 1500px) and (max-width: 1900px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1901px) {
    .container {
        max-width: 1500px;
    }
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-primary {
    color: var(--primary-color-text);
}

.text-secondary {
    color: #fbae0a;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 32px;
    text-align: center;
    color: var(--primary-color-text);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #EAA525;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.bg-light-gray {
    background-color: var(--light-bg);
}

/* Background Patterns */
.bg-light-brand {
    background-color: #f0f6ff;
}

.bg-pattern-caro {
    background-image: url('/web/img/bg-light-caro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-pattern-shape {
    background-image: url('/web/img/bg-light-shape.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




/* Responsive cho Utilities (Range-based) */

/* Laptop trung bình: 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 24px !important;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* Tablet: 768px - 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }
}

/* Mobile lớn: 576px - 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .section-title::after {
        width: 40px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .grid-2-cols,
    .grid-3-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .section {
        padding: 50px 0;
    }
}


@media (min-width: 1200px) and (max-width: 1500px) {
    .section {
        padding: 54px 0;
    }

    .container {
        max-width: 1100px;
    }
}


/* Mobile nhỏ: < 575px */
@media (max-width: 575px) {
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .section-title::after {
        width: 35px;
        height: 3px;
    }

    .section-subtitle {
        margin-bottom: 15px;
        font-size: 15px;
    }

    .section {
        padding: 30px 0;
    }

    .grid-2-cols,
    .grid-3-cols {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .container {
        padding: 0 16px;
    }
}

/* Margin Top */
.mt-1 {
    margin-top: 4px;
}
.mt-2 {
    margin-top: 8px;
}
.mt-3 {
    margin-top: 12px;
}
.mt-5 {
    margin-top: 20px;
}
.mt-6 {
    margin-top: 24px;
}
.mt-7 {
    margin-top: 28px;
}

/* ============================================
   KẾT THÚC CSS CÁC UTILITY CLASS CHUNG
   ============================================ */