﻿/* this is the banner code   */
.wrapper {
    width: 90%;
    max-width: 1184px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

html {
    font-size: 16px;
}

body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    body h2 {
        color: #322F31;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    body p {
        color: #58585A;
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        font-weight: 500;
    }

.page-header-image-tara {
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 340px;
    padding: 100px 0;
    height: auto;
    padding: 70px 0px;
    background-image: url(../images-copilot-dynamics/dynamics-banner.webp);
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.page-header-text {
    width: 55%;
    padding-top: 1rem;
}




    .page-header-text h3 {
        font-weight: 400;
        font-size: 18px;
        line-height: 30px;
        text-align: left;
        color:black;
    }



.header-title {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lined-title {
    border-left: 5px solid #fbbf24;
    padding-left: 12px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 20px;
    
}



/* this is section2  */

.azure-sections2 {
    display: block;
    padding: clamp(40px, 8vw, 5rem) 0;
    align-items: center;
}



.network-box {
    display: flex;
    align-items: center;
    gap: clamp(15px, 5vw, 30px);
    flex-wrap: wrap;
}

.network-box-content {
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
    gap: 5px;
    margin: 0 auto;
    flex: 1;
    min-width: 250px;
}

    .network-box-content p {
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        text-align: left;
        color: #3e3e3e;
        margin: 0;
        width: 90%;
    }

    .network-box-content h2 {
        font-size: 1.8rem;
        color: #231f20;
        text-transform: uppercase;
        padding-bottom:1rem;
      
    }

    .network-box-content img {
        max-width: 100%;
        height: auto;
        padding-bottom:1rem;
    }

.network-img {
    width: 100%;
    max-width: 500px;
    display: block;
    border-radius: 0.5rem;
    height: auto;
    flex: 1;
    min-width: 250px;
    object-fit: cover;
}



.network-box-out {
    position: relative;
    padding: clamp(2rem, 8vw, 6rem);
    margin: clamp(1.5rem, 5vw, 3rem);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.copilot-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    align-items: stretch;
}

/* compact list used for Copilot Studio features */
.copilot-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

    .copilot-list li {
        margin: 0 0 0.5rem 0;
        padding-left: 1rem;
        position: relative;
        color: #58585A;
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        font-weight: 500;
    }

        .copilot-list li::before {
            content: "-";
            position: absolute;
            left: 0;
            color: #58585A;
        }

/* Card styling (optional but recommended) */
.copilot-card {
    background-color: white;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
    align-items: center;
}

    .copilot-card h2 {
        color: #322F31;
        font-size: 1.2rem;
        text-align: center;
    }

    .copilot-card p {
        color: #58585A;
        font-size: clamp(0.9rem, 1.8vw, 1rem);
        margin: 0;
        text-align: center;
    }

    .copilot-card i {
        padding-bottom: 1rem;
        font-size: clamp(1.5rem, 5vw, 1.5rem);
        color: #322F31;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .copilot-card:hover {
        transform: translateY(-5px);
        box-shadow: -1px 5px 16px -5px rgba(182, 182, 192, 0.89);
    }

/* Tablets */
@media(max-width: 992px) {
    .network-box {
        flex-direction: column;
        justify-content: center;
    }

    .network-img {
        max-width: 100%;
    }

    .network-img2 {
        max-width: 60%;
    }

    .copilot-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices */
@media(max-width :768px) {
    .wrapper {
        width: 95%;
        padding: 0 0.75rem;
    }

    .page-header-text {
        max-width: 100%;
    }

    .network-box-content {
        min-width: 100%;
    }

        .network-box-content h2 {
            font-size: 1.6rem;
        }

        .network-box-content p {
            font-size: 0.9rem;
        }

    .azure-sections2 h2 {
        text-align: center;
        font-size: 1.2rem;
    }

    .azure-sections2 p {
        text-align: center;
    }

    .copilot-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .copilot-card h2 {
        font-size: 1.2rem;
    }

    .key-features {
        text-align: center;
    }
}


/* Small mobile devices */
@media (max-width: 480px) {
    .wrapper {
        width: 100%;
        padding: 0 0.5rem;
    }

    .page-header-bg {
        padding: 40px 0;
    }

    body h2 {
        font-size: 1.3rem;
    }

    body p {
        font-size: 0.95rem;
    }

    .lined-title {
        font-size: 16px;
        padding-left: 8px;
        border-left: 3px solid #fbbf24;
    }

    .page-header-text h3 {
        font-size: 16px;
    }

    .network-box {
        gap: 1rem;
    }


    .copilot-card {
        padding: 0.75rem;
    }

        .copilot-card h2 {
            font-size: 1.2rem !important;
        }

        .copilot-card p {
            font-size: 0.75rem;
            max-width: 100%;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

    .azure-sections2 {
        padding: 2rem 0;
    }

    .network-box-content h2 {
        font-size: 1.3rem;
    }

    .network-box-content p {
        font-size: 0.8rem;
    }

    .network-box-content li {
        font-size: 0.8rem;
    }
}
