.projects-page{

    position:relative;

    width:100%;

    min-height:100vh;

    overflow:hidden;

    padding:8px 0 35px;

    background:
        radial-gradient(
            circle at top,
            #123a67 0%,
            #071426 28%,
            #030813 65%,
            #010409 100%
        );

}

.projects-page::before{

    content:"";

    position:absolute;

    top:-250px;

    left:-250px;

    width:700px;

    height:700px;

    border-radius:50%;

    background:rgba(0,140,255,.08);

    filter:blur(120px);

    pointer-events:none;

}

.projects-page::after{

    content:"";

    position:absolute;

    bottom:-300px;

    right:-250px;

    width:800px;

    height:800px;

    border-radius:50%;

    background:rgba(0,180,255,.06);

    filter:blur(140px);

    pointer-events:none;

}

.projects-page > *{

    position:relative;

    z-index:2;

}

/*==================================================================================
|
|   PROJECTS HERO SECTION
|
|   Description:
|   Main page header with dark industrial background.
|
==================================================================================*/

.projects-hero{

    position:relative;

    background:transparent;

    padding-top:30px;

    padding-bottom:20px;

}


/*==================================================================================
|
|   HERO BACKGROUND OVERLAY
|
|   Description:
|   Adds a soft lighting effect over the hero background.
|
==================================================================================*/

.projects-hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(255,255,255,.02),
        transparent 35%
    );

    pointer-events:none;
}


/*==================================================================================
|
|   HERO CONTENT
|
|   Description:
|   Centers all hero elements.
|
==================================================================================*/

.projects-hero-content{
    max-width:760px;
    margin:auto;
    text-align:center;
}


/*==================================================================================
|
|   PAGE TITLE
|
|   Description:
|   Main page heading.
|
==================================================================================*/

.projects-title{

    margin:0;
    margin-bottom:18px;

    font-size:58px;

    font-weight:900;

    line-height:1.1;

    color:#38b6ff;

    text-transform:uppercase;

    text-shadow:
        0 0 18px rgba(56,182,255,.25),
        0 0 35px rgba(56,182,255,.12);

}


/*==================================================================================
|
|   PAGE DESCRIPTION
|
|   Description:
|   Short introduction below the page title.
|
==================================================================================*/

.projects-hero p{

    margin:18px auto 0;

    max-width:850px;

    font-size:20px;
    line-height:1.8;

    color:#b9c7d8;

}


/*==================================================================================
|
|   HERO DIVIDER
|
|   Description:
|   Decorative divider with gear icon.
|
==================================================================================*/

.projects-divider{

    margin-top:28px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;

}


/*==================================================================================
|
|   DIVIDER LINES
|
|   Description:
|   Horizontal blue lines on both sides of the icon.
|
==================================================================================*/

.projects-divider span{

    width:95px;
    height:2px;

    background:#1ea5ff;

}


/*==================================================================================
|
|   DIVIDER ICON
|
|   Description:
|   Decorative gear icon.
|
==================================================================================*/

.projects-divider i{

    font-size:34px;

    color:#1ea5ff;

}

/*==================================================================================
|
|   PROJECTS SHOWCASE SECTION
|
|   Description:
|   Company portfolio projects section.
|
==================================================================================*/

.projects-showcase{

    background:transparent;

}



.projects-showcase .container{

    position:relative;

    z-index:20;

}

/*==================================================
  PROJECTS GRID
==================================================*/

.projects-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:45px;

    margin-top:40px;

    align-items:stretch;

}

@media (max-width:1200px){

    .projects-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:768px){

    .projects-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

}

/*==================================================
  PROJECT CARD
==================================================*/

.project-card{

    position:relative;

    display:flex;

    flex-direction:column;

    background:linear-gradient(
        180deg,
        #17385d 0%,
        #112b49 100%
    );

    border:1px solid rgba(83,181,255,.18);

    border-radius:24px;

    overflow:hidden;

    min-height:640px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:#1ea5ff;

    box-shadow:0 18px 45px rgba(0,0,0,.35);

}

/*==================================================
  PROJECT IMAGE
==================================================*/

.project-image-wrapper{

    padding:20px 20px 0;

}

.project-image{

    position:relative;

    height:235px;

    overflow:hidden;

    border-radius:18px;

    border:1px solid rgba(30,165,255,.18);

    background:#10253f;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.02),
        0 10px 30px rgba(0,0,0,.22);

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:
        transform .45s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.08);

}

/*==================================================
  PROJECT BODY
==================================================*/

.project-body{

    padding:18px 22px 10px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.project-category{

    position:absolute;

    top:14px;

    left:14px;

    padding:8px 15px;

    border-radius:30px;

    background:#1ea5ff;

    color:#fff;

    font-size:12px;

    font-weight:700;

    z-index:5;

    box-shadow:0 6px 15px rgba(0,0,0,.20);

}

html[dir="rtl"] .project-category{

    left:auto;

    right:14px;

}

.project-body h3{

    margin:0 0 16px;

    color:#fff;

    font-size:24px;

    font-weight:700;

    line-height:1.35;

    min-height:65px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.project-meta{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:18px;

    color:#9bb8d8;

    font-size:14px;

    min-height:22px;

}

.project-meta span{

    display:flex;

    align-items:center;

    gap:6px;

}

.project-devices{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:18px;

    min-height:46px;

    align-content:flex-start;

}

.project-devices span{

    padding:7px 12px;

    border-radius:20px;

    background:rgba(30,165,255,.10);

    border:1px solid rgba(30,165,255,.25);

    color:#8fd1ff;

    font-size:13px;

    font-weight:600;

}

.project-body p{

    margin:0;

    color:#b8c7d8;

    line-height:1.8;

    font-size:15px;

    min-height:82px;

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

/*==================================================
  PROJECT FOOTER
==================================================*/

.project-footer{

    margin-top:auto;

    padding:18px 22px 22px;

    border-top:1px solid rgba(255,255,255,.08);

}

.project-count{

    display:flex;

    justify-content:space-between;

    align-items:center;

    width:100%;

    color:#8fb9de;

    font-size:14px;

}

.project-count-left,
.project-count-right{

    display:flex;

    align-items:center;

    gap:18px;

}

.project-count span{

    display:flex;

    align-items:center;

    gap:6px;

}

.project-btn{

    width:100%;

    margin:0;

    border:none;

    border-radius:12px;

    background:#2fa8f8;

    color:#fff;

    height:48px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.project-btn:hover{

    background:#1593e5;

}

body.page-projects{

    background:#08111f !important;

}

main{

    background:#08111f !important;

}

/*==================================================
  PROJECTS DIVIDER ICON ANIMATION
==================================================*/

.projects-divider i{

    animation: projectDividerFloat 4s ease-in-out infinite;

    transform-origin:center;

}

@keyframes projectDividerFloat{

    0%{

        transform:translateY(0) scale(1);

        text-shadow:0 0 0 rgba(30,165,255,0);

    }

    15%{

        transform:translateY(-3px) scale(1.08);

        text-shadow:0 0 12px rgba(30,165,255,.45);

    }

    30%{

        transform:translateY(0) scale(1);

        text-shadow:0 0 0 rgba(30,165,255,0);

    }

    100%{

        transform:translateY(0) scale(1);

        text-shadow:0 0 0 rgba(30,165,255,0);

    }

}

/*==================================================
  RTL SUPPORT
==================================================*/

html[dir="rtl"] .project-body{

    text-align:right;

}

html[dir="rtl"] .project-body h3{

    text-align:right;

}

html[dir="rtl"] .project-meta{

    justify-content:flex-end;

    flex-direction:row-reverse;

}

html[dir="rtl"] .project-devices{

    justify-content:flex-end;

    flex-direction:row-reverse;

}

html[dir="rtl"] .project-body p{

    text-align:right;

}



html[dir="rtl"] .project-count{

    flex-direction:row-reverse;

}

html[dir="rtl"] .project-count span{

    flex-direction:row-reverse;

    text-align:right;

}





