﻿/* =====================================
   SECTION WRAPPER
===================================== */

.dynamic-section {
    padding: 80px 0;
    position: relative;
}

    .dynamic-section .container {
        max-width: 1200px;
    }

/* =====================================
   SECTION IMAGE
===================================== */

.section-image {
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
}

    .section-image:hover {
        transform: scale(1.02);
    }


/* =====================================
   TEXT BLOCKS
===================================== */

.section-text-block {
    line-height: 1.7;
    margin-bottom: 12px;
}

    .section-text-block h1,
    .section-text-block h2,
    .section-text-block h3 {
        font-weight: 700;
    }

    .section-text-block p {
        font-size: 16px;
    }


/* =====================================
   BOX GRID
===================================== */

.section-box-link {
    text-decoration: none;
    display: block;
}

.section-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 10px;
}

    .section-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.section-box-text {
    padding: 6px;
    word-break: break-word;
}


/* =====================================
   BOX SHAPES
===================================== */

.section-box.square {
    border-radius: 6px;
}

.section-box.round {
    border-radius: 50%;
}

.section-box.rectangle {
    border-radius: 8px;
}

.section-box.hexagon {
    clip-path: polygon( 25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50% );
}


/* =====================================
   RESPONSIVE BOX GRID
===================================== */

@media (max-width: 992px) {

    .section-box {
        width: 100% !important;
        height: auto !important;
        min-height: 120px;
    }
}

@media (max-width: 768px) {

    .dynamic-section {
        padding: 50px 0;
    }
}
