/* ================= HERO ================= */
.hero-img {
    height: 100vh;
    object-fit: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item::before {
    display: none;
}

/* ================= SECTION BASE ================= */
.section {
    padding: 80px 0;
}

.light-bg {
    background: #f6f8fb;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #0F4C81;
    margin-bottom: 20px;
}

.section-text {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    max-width: 900px;
    margin: auto;
}

/* ================= GRID SYSTEM ================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ================= CARD STYLE ================= */
.card-ui,
.industry-ui {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-align: center;
}

.card-ui:hover,
.industry-ui:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-ui img,
.industry-ui img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-ui h4,
.industry-ui h4 {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #0F4C81;
}

/* ================= BUTTON ================= */
.btn-modern {
    display: inline-block;
    padding: 12px 25px;
    background: #0F4C81;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 15px;
}

.btn-modern:hover {
    background: #1ABC9C;
    transform: scale(1.05);
}

/* ================= CUSTOMER PORTAL ================= */
.grid-2 img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s ease;
}

.grid-2 img:hover {
    transform: scale(1.05);
}

/* ================= WHY TGF ================= */
ul.section-text {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

ul.section-text li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
    position: relative;
    padding-left: 20px;
}

ul.section-text li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #1ABC9C;
    font-weight: bold;
}

/* ================= TESTIMONIALS ================= */
.card-ui p {
    padding: 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    /* HERO */
    .hero-img {
        height: 70vh;
    }

    /* SECTION */
    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    /* GRID → 4 columns becomes 2 */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* CARDS */
    .card-ui img,
    .industry-ui img {
        height: 220px;
    }
}

@media (max-width: 768px) {

    /* HERO */
    .hero-img {
        height: 60vh;
    }

    /* TEXT */
    .section-title {
        font-size: 26px;
        text-align: center;
    }

    .section-text {
        font-size: 15px;
        padding: 0 10px;
        text-align: center;
    }

    /* GRID → single column */
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* BUTTON */
    .btn-modern {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* CARDS */
    .card-ui img,
    .industry-ui img {
        height: 200px;
    }

    .card-ui h4,
    .industry-ui h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    /* HERO */
    .hero-img {
        height: 50vh;
    }

    /* SECTION */
    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-text {
        font-size: 14px;
    }

    /* CARDS */
    .card-ui img,
    .industry-ui img {
        height: 180px;
    }

    .card-ui h4,
    .industry-ui h4 {
        font-size: 14px;
    }

    /* BUTTON */
    .btn-modern {
        width: 100%;
        text-align: center;
    }
}