
/* ========================================
   MODULES SECTION
======================================== */

.modules-section{
    padding: 20px 0;
    background: #f8fafc;
}

/* ========================================
   HEADER
======================================== */

.modules-header{
    text-align: center;
    margin-bottom: 70px;
}

.modules-badge{
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}


/* ========================================
   GRID
======================================== */

.modules-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;
}

/* ========================================
   CARD
======================================== */

.module-card{
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all .4s ease;
    border: 1px solid #ffda002b;
    box-shadow: 0 10px 30px rgb(255 218 59 / 5%);
}

.module-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 5px rgba(255, 199, 96, 0.466);
}

.module-icon{
    width: 90px;
    height: 90px;
    margin: auto auto 25px;
    border-radius: 24px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon img{
    width: 52px;
    height: 52px;
    object-fit: contain;
}



/* ========================================
   OVERLAY
======================================== */

.module-panel-overlay{
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 999;
}

.module-panel-overlay.active{
    opacity: 1;
    visibility: visible;
}

/* ========================================
   PANEL
======================================== */

.module-panel{
    position: fixed;
    top: 0;
    right: -100%;
    width: 950px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: .5s ease;
    overflow: hidden;

    box-shadow: -20px 0 60px rgba(0,0,0,0.12);

    display: flex;
    flex-direction: row;
}

.module-panel.active{
    right: 0;
}

/* ========================================
   VIDEO
======================================== */

.panel-video-container{
    position: relative;

    width: 50%;
    height: 100%;

    overflow: hidden;

    background: #0f172a;

    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-video-container video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* OVERLAY VIDEO */

.panel-video-overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(15,23,42,0.15),
        rgba(15,23,42,0.55)
    );
}

/* ========================================
   CONTENT
======================================== */

.panel-content{
    width: 50%;

    padding: 60px 50px;

    overflow-y: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ICON */

.panel-image{
    width: 120px;
    height: 120px;

    border-radius: 30px;

    background: #f1f5f9;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;
}

.panel-image img{
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* TITLE */

#panel-title{
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: 20px;
}

/* DESCRIPTION */

#panel-description{
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-text);
    text-align:left;
}

#panel-description br{
    display: block;
    margin-bottom: 12px;
}

/* ========================================
   CLOSE BUTTON
======================================== */

.close-panel{
    position: absolute;
    top: 25px;
    right: 25px;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.85);

    backdrop-filter: blur(10px);

    font-size: 20px;
    color: #0f172a;

    cursor: pointer;

    transition: .3s;

    z-index: 1001;
}

.close-panel:hover{
    transform: rotate(90deg);
    background: white;
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:992px){

    .module-panel{
        width: 100%;
        flex-direction: column;
        overflow-y: auto;
    }

    .panel-video-container{
        width: 100%;
        height: 300px;
    }

    .panel-content{
        width: 100%;
        padding: 45px 30px;
    }

}

@media(max-width:768px){

    .modules-section{
        padding: 80px 0;
    }

    .modules-header h2{
        font-size: 36px;
    }

    .modules-header p{
        font-size: 16px;
    }

    .module-card{
        padding: 35px 25px;
    }

    #panel-title{
        font-size: 34px;
    }

    .panel-video-container{
        height: 220px;
    }

}

/* ========================================
   HERO SOFTWARE
======================================== */

.software-hero{
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;

    background: #0f172a;
}

/* ========================================
   BACKGROUND
======================================== */

.software-hero-bg{
    position: absolute;
    inset: 0;
}

.software-hero-bg img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* ========================================
   OVERLAY
======================================== */

.software-overlay{
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(15,23,42,0.88) 0%,
        rgba(15,23,42,0.60) 45%,
        rgba(15,23,42,0.30) 100%
    );

    z-index: 1;
}

/* ========================================
   CONTENT
======================================== */

.software-hero-content{
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding: 140px 0 220px;
}

/* ========================================
   LOGO
======================================== */

.software-logo{
    width: 240px;
    max-width: 100%;

    margin-bottom: 40px;
}

/* ========================================
   LINE
======================================== */

.software-line{
    width: 100px;
    height: 6px;

    border-radius: 20px;

    background: #2563eb;

    margin-bottom: 35px;
}

/* ========================================
   DESCRIPTION
======================================== */

.software-description{
    font-size: 14px;
    line-height: 1.9;

    color: white;

    margin-bottom: 45px;

    font-weight: 400;

    text-wrap: balance;

    padding:100px 367px 99px 0px;
}

/* ========================================
   BUTTON
======================================== */

.software-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 18px 34px;

    border-radius: 18px;

    background: white;

    color: #0f172a;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition: .4s ease;
}

.software-btn:hover{
    transform: translateY(-4px);

    background: #2563eb;
    color: white;

    text-decoration: none;
}

/* ========================================
   TRIANGLE DIVIDER
======================================== */

.software-divider{
    position: absolute;

    bottom: -1px;
    left: 0;

    width: 100%;
    height: 140px;

    background: #f8fafc;

    clip-path: polygon(
        0 0,
        50% 35%,
        100% 0,
        100% 100%,
        0 100%
    );

    z-index: 3;
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:992px){

    .software-hero{
        min-height: 90vh;
    }

    .software-description{
        font-size: 14px;
        padding:0px;
    }

}

@media(max-width:768px){

    .software-hero{
        min-height: 85vh;
    }

    .software-hero-content{
        padding: 120px 20px 180px;
    }

    .software-logo{
        width: 180px;
    }

    .software-description{
        font-size: 12px;
        line-height: 1.8;
        padding:0px;
    }

    .software-btn{
        width: 100%;
    }

    .software-divider{
        height: 90px;
    }

}

