﻿@font-face {
    font-family: 'matnha';
    src: url(../font/Kalameh-SemiBold[@mimvid].ttf);
}

@font-face {
    font-family: 'sartitr';
    src: url(../font/Anjoman-UltraBold[@mimvid].ttf);
}
.container {
    width: 100%;
    padding: 80px 0px;
    box-sizing: border-box;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    margin-top: 40px;
}

.about-text {
    font-family: 'matnha';
    flex: 1;
    padding: 2rem;
    min-width: 803px;
    text-align: justify;
}

    .about-text h3 {
        font-family: 'sartitr';
        font-size: 2rem;
        color: #222;
        margin-bottom: 1rem;
        border-right: 4px solid #007bff;
        padding-right: 10px;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 2;
        color: #444;
    }

.about-image {
    flex: 1;
    padding: 2rem;
    text-align: center;
    min-width: 300px;
}

    .about-image img {
        max-width: 100%;
        height: auto;
        border-radius: 60px;
        transition: transform 0.4s ease;
    }

        .about-image img:hover {
            transform: scale(1.05);
        }

.centered-heading {
    text-align: center;
    margin-bottom: 3rem;
}

    .centered-heading h3 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: #007bff;
        font-family: 'sartitr';
    }

    .centered-heading h4 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        color: #444;
        font-family: 'sartitr';
    }

    .centered-heading p {
        font-size: 1.1rem;
        margin: 0 auto;
        color: #555;
        line-height: 2;
        font-family: 'matnha';
    }

.icon-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7.5rem;
    margin-top: 4rem;
}

.icon-box {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    width: 270px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #007bff;
    position: relative;
    overflow: hidden;
}

    .icon-box::before {
        content: "";
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, #007bff33, transparent 70%);
        z-index: 0;
        transition: transform 0.4s ease;
    }

    .icon-box:hover::before {
        transform: scale(1.2);
        opacity: 1;
        background: radial-gradient(circle at center, rgba(255, 140, 0, 0.25), rgba(255, 215, 0, 0.15), transparent 80%);
    }

    .icon-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 140, 0, 0.3);
        background-color: #fff8f2;
           }

    .icon-box i {
        font-size: 2.2rem;
        color: #007bff;
        margin-bottom: 1rem;
        z-index: 1;
        position: relative;
    }

    .icon-box h4 {
        font-size: 1.2rem;
        color: #222;
        margin-bottom: 0.5rem;
        z-index: 1;
        position: relative;
        font-family: 'sartitr';
    }

    .icon-box p {
        font-size: 1rem;
        color: #555;
        z-index: 1;
        position: relative;
        font-family: 'matnha';
    }
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        align-items: stretch;
    }

    .about-text {
        padding: 1.5rem;
        min-width: 100%;
    }
    .about-image img {
     margin-bottom: -30px;
    }
}
    .centered-heading h3 {
        font-size: 1.8rem;
    }

    .centered-heading h4 {
        font-size: 1.4rem;
    }
}
.centered-heading h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #007bff;
    font-family: 'sartitr';
}

@media (max-width: 600px) {
    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p,
    .centered-heading p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .icon-boxes {
        gap: 1.5rem;
    }

    .icon-box {
        padding: 1.5rem;
        width: 90%;
    }

        .icon-box i {
            font-size: 1.8rem;
        }

        .icon-box h4 {
            font-size: 1.1rem;
        }

        .icon-box p {
            font-size: 0.95rem;
        }
}