/* ============================
   NIHA AI VISION SECTION
   ============================ */

.niha-section {
    padding: 80px 0;
}

.niha-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Image */
.niha-image {
    flex: 1;
}

.niha-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 8px;
}

/* Content */
.niha-content {
    flex: 1;
    max-width: 520px;
}

.niha-content h2 {
    color: #fa5c40;
    font-family: "f4";
    font-size: 34px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.niha-content p {
    font-family: "f2";
    color: #777;
    line-height: 1.8;
    font-size: 15px;
}

/* ============================
   NIHA FEATURES SECTION
   ============================ */

.niha-features {
    padding: 20px 0;
}

.niha-feature-title {
    text-align: center;
    font-family: "f4";
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #222;
}

/* Feature Grid */
.niha-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.niha-feature-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* Feature Card */
.niha-feature-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    transition: all 0.3s ease;
}

.niha-feature-card span{
    font-family: "f4" !important;
    font-weight: bold !important;
    font-size: 18px;
}

.niha-sss span{
    font-family: "f4" !important;
    font-weight: bold !important;
    font-size: 18px;
}

.niha-feature-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Icon */
.niha-icon {
    color: #fa5c40;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Card Text */
.niha-feature-card h4 {
    font-family: "f3";
    font-size: 16px;
    margin-bottom: 10px;
    color: #222;
}

.niha-feature-card p {
    font-family: "f2";
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* ============================
   WORKING DOMAINS SECTION
   ============================ */

.working-domains {
    padding: 80px 0;
}

.working-title {
    text-align: center;
    font-family: "f4";
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    color: #222;
}

/* Domain Card */
.domain-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.domain-card:hover {
    transform: scale(1.03);
}

.domain-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Domain Label */
.domain-card span {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
    font-family: "f3";
    font-size: 16px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dark Overlay */
.domain-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.1));
    transition: opacity 0.3s ease;
}

.domain-card:hover::after {
    opacity: 0.8;
}

/* ============================
   MALL SECTION
   ============================ */

.mall-section {
    padding: 20px 0;
}

.mall-subsection {
    margin-bottom: 80px;
}

.mall-subsection:last-child {
    margin-bottom: 0;
}

.mall-title {
    text-align: center;
    font-size: 30px;
    font-family: "f4";
    margin-bottom: 40px;
    color: #222;
    line-height: 1.3;
}

/* Mall Grid Layout */
.mall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.mall-grid-reverse {
    direction: rtl;
}

.mall-grid-reverse>* {
    direction: ltr;
}

.mall-grid-single {
    grid-template-columns: 1fr;
}

/* Mall Features */
.mall-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mall Card */
.mall-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.mall-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.mall-card h4 {
    font-family: "f3";
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

.mall-card p {
    font-family: "f2";
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* Mall Icon */
.mall-icon {
    color: #fa5c40;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Mall Image */
.mall-image {
    text-align: center;
}

.mall-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    display: block;
}

/* ============================
   NIHA BENEFITS SECTION
   ============================ */

.niha-benefits {
    padding: 60px 0;
}

.niha-benefits-title {
    text-align: center;
    font-family: "f4";
    font-size: 24px;
    margin-bottom: 40px;
    color: #222;
    text-transform: capitalize;
}

.niha-benefits-image {
    text-align: center;
}

.niha-benefits-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {

    /* NIHA Section */
    .niha-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .niha-image,
    .niha-content {
        max-width: 100%;
    }

    .niha-image img {
        max-width: 450px;
    }

    .niha-content h2 {
        font-size: 30px;
    }

    /* Mall Section */
    .mall-grid,
    .mall-grid-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .mall-image {
        order: -1;
    }

    .mall-title {
        font-size: 26px;
    }

    /* Features Grid */
    .niha-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .niha-feature-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* General Padding */
    .niha-section,
    .niha-features,
    .working-domains,
    .mall-section,
    .niha-benefits {
        padding: 60px 0;
    }

    /* NIHA Section */
    .niha-content h2 {
        font-size: 26px;
    }

    .niha-content p {
        font-size: 14px;
    }

    .niha-image img {
        max-width: 350px;
    }

    /* Features */
    .niha-feature-title {
        font-size: 18px;
    }

    .niha-feature-card {
        padding: 20px;
    }

    /* Domain Cards */
    .domain-card img {
        height: 180px;
    }

    .domain-card span {
        font-size: 14px;
    }

    /* Mall Section */
    .mall-subsection {
        margin-bottom: 60px;
    }

    .mall-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .mall-card {
        padding: 16px;
    }

    .mall-card h4 {
        font-size: 15px;
    }

    .mall-card p {
        font-size: 13px;
    }

    /* Benefits */
    .niha-benefits-title {
        font-size: 20px;
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {

    /* NIHA Section */
    .niha-section,
    .niha-features,
    .working-domains,
    .mall-section {
        padding: 50px 0;
    }

    .niha-content h2 {
        font-size: 24px;
    }

    .niha-image img {
        max-width: 280px;
    }

    /* Features */
    .niha-feature-title {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .niha-feature-card {
        padding: 18px;
    }

    /* Domain Cards */
    .domain-card img {
        height: 160px;
    }

    /* Mall Section */
    .mall-title {
        font-size: 20px;
    }

    .mall-grid {
        gap: 30px;
    }

    .mall-card {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .mall-icon {
        font-size: 18px;
    }

    /* Benefits */
    .niha-benefits-title {
        font-size: 18px;
        margin-bottom: 30px;
    }
}
