@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root,
:host {
    --fa-style-family-classic: 'Font Awesome 6 Pro';
    --fa-font-light: normal 300 1em/1 'Font Awesome 6 Pro';
}

@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url("./fa-light-300.woff2") format("woff2")
}

.fal,
.fa-light {
    font-weight: 300;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
        color: #0d0b54;
}

.toplogo {
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
    padding-bottom: 15px;
}

.toplogo img {
    width: 200px;
}

.container {
    max-width: 1366px;
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.hero {
    background-color: #0d0b54;
    color: white;
    position: relative;
    height: max(calc(100vh - 184px), 540px);
    box-sizing: border-box;
    display: grid;
    align-items: center;
    max-height: 900px;
}

.bgi {
    background-image: url(./bg.webp);
    background-size: cover;
    background-position: top;
    position: absolute;
    inset: 0;
    opacity: .4;
}

.caption {
    font-size: 42px;
    max-width: 600px;
    font-weight: 600;
    line-height: 1.35em;
    margin-top: -.5em;
    margin-bottom: 30px;
}

.herodiv {
    width: 200px;
    height: 2px;
    background: #ff5355;
}

.htext {
    max-width: 600px;
    margin-top: 35px;
    line-height: 2em;
}

.hbutton {
    line-height: 1;
    font-weight: 600;
    border: 1px solid #ff5355;
    width: fit-content;
    padding: 1em 1.25em;
    border-radius: 3px;
    user-select: none;
}

.hbutton.fill {
    background: #ff5355;
    color: white;
}

.hbutton:hover {
    background: #ff5355;
    cursor: pointer;
    color: white;
}

.hbuttons {
    display: flex;
    gap: 1em;
    margin-top: 2em;
}

.subcaption {
    background: #2d7dd2;
}

.hgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hgrid>div {
    background: #2d7dd2;
    padding: 2em;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ffffff30;
}

.hgrid > div:last-child{
    border-right: 1px solid #ffffff30;
}

.hgrid .icon {
    font-size: 1.5em;
    opacity: .6;
    color: #ffffff;
}

.hgrid .text {
    font-weight: 600;
    color: #ffffff;
    font-size: 1em;
}

.sct{
    background: #0d0b54;
    padding: 60px 0;
    text-align: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.5em;
    line-height: 1.75em;
}

.sct .container{
    max-width: 800px;
}

.augrid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 80px;
    align-content: center;
    align-items: center;
}

.augrid .text{
    line-height: 2em;
}

.prehead{
    color: #ff5355;
    font-weight: 600;
    background: #ff535520;
    width: fit-content;
    line-height: 1em;
    padding: .25em;
    margin-bottom: 1.5em;
}

.head{
    /* color: #2d7dd2; */
    font-weight: 600;
    width: fit-content;
    line-height: 1em;
    font-size: 1.5em;
}

.augrid > div{
    position: relative;
}

.augrid > div:nth-child(1){
    text-align: center;
    font-size: 36px;
}

.augrid > div:first-child > div{
    position: relative;
    font-weight: 700;
}

.augrid img{
    width: 50%;
}

.sdiv{
    height: 2px;
    width: 100px;
    background: #ff5355;
    margin: 1.5em 0;
}

.sersec{
    margin-top: 80px;
    background: #f8fafc;
    padding-top: 80px;
    padding-bottom: 100px;
}

.sersec .services{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    background: #fff;
    line-height: 1em;
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
    margin-top: 40px;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.sersec .services i{
    color: #2d7dd2;
}

.sersec .services > div{
    text-align: center;
    padding: 1.5em 1em;
}

.sshead{
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

.sshead .sdiv{
    margin-left:  auto;
    margin-right:  auto;
}

.sergrid{
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(2,1fr);
    margin-top: 50px;
    max-width: 1024px;
    gap: 50px;
    align-items: center;
}

.sgtext{
    line-height: 2em;
    display: none;
}

.st1{
    display: block;
}

.services .active{
    /* border-bottom: 2px solid #ff5355; */
    background: linear-gradient(to bottom,#475569,#64748b);
    border-bottom: 1px solid #ffffff80;
    color: #fff;
}

.services .active i{
    color: white;
    opacity: .75;
}

.services > div:first-child{
    border-radius: 5px 0 0 5px;
}

.services > div:last-child{
    border-radius: 0 5px 5px 0;
}

.sersec .services > div:not(.active):hover{
    background: #2d7dd208;
    cursor: pointer;
}

.sgimg{
    width: 80%;
    padding-top: 55%;
    background: #e2e8f0;
    margin: 0 auto;
    border-radius: 3px;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    display: none;
}

.si1{
    background-image: url(./si1.webp);
    display: block;
}
.si2{
    background-image: url(./si2.webp);
}
.si3{
    background-image: url(./si3.webp);
}

.sgimg::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 3px;
    border: 1px solid #2d7dd2;
}

.sergrid > div:last-child{
    justify-content: center;
    text-align: center;
}

.secwhy{
    padding-top: 80px;
}

.whygrid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 40px;
}

.whygrid > div{
    display: flex;
    gap: 15px;
    background: #f8fafc;
    font-weight: 500;
    padding: 1.5em;
    border-radius: 3px;
}

.whygrid i{
    opacity: .5;
}

.footer{
    background: #f8fafc;
    margin-top: 80px;
    padding: 80px 0;
    color: #94a3b8;
    font-size: 14px;
}

.fgrid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.fgrid img{
    width: 160px;
    opacity: .5;
}

.cright{
    margin-top: 2em;
    font-size: 12px;
    font-weight: 500;
}

.fitem{
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
}
.fitem > div:first-child{
    position: relative;
    top: 2px;
}
.fitem > div:last-child{
    line-height: 1.75em;
}

@media screen and (max-width:767px){
    .hgrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .hgrid>div {
        border-left: 0px solid #ffffff30;
    }
    .hgrid > div:last-child {
        border-right: 0px solid #ffffff30;
    }
    .augrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .sergrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .whygrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .fgrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .sersec .services {
        grid-template-columns: repeat(1, 1fr);
    }
    .services > div:first-child {
        border-radius: 5px 5px 0 0 ;
    }
    .services > div:last-child {
        border-radius: 0 0 5px 5px;
    }
    .sergrid > div:last-child{
        grid-row: 1;
    }
    .augrid{
        gap: 2em;
        text-align: center;
    }
    .augrid .head,.augrid .sdiv{
        margin-left: auto;
        margin-right: auto;
    }
    .caption {
        font-size: 36px;
    }
    .footer{
        text-align: center;
    }
    .fgrid>div:first-child{
        margin-bottom: 2em;
    }
    .fgrid>div:nth-child(2),.fgrid>div:nth-child(3){
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
}

/* Portfolio Section Styles */
.portfolio {
    padding: 60px 0;
    background: #f8f9fa;
}

.portfolio-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 20px 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-showcase {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.portfolio-item {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.portfolio-item.featured {
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.portfolio-icon {
    font-size: 48px;
    color: #2d7dd2;
    margin-bottom: 20px;
}

.portfolio-logo {
    margin-bottom: 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.portfolio-logo a:hover {
    transform: scale(1.05);
}

.portfolio-logo img {
    height: 100%;
    width: auto;
    max-width: 220px;
}

.portfolio-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0d0b54;
    margin: 0 0 15px 0;
}

.portfolio-item h3 a {
    color: #0d0b54;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-item h3 a:hover {
    color: #2d7dd2;
}

.portfolio-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.portfolio-tags span {
    background: #e8f1fb;
    color: #2d7dd2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .portfolio-item {
        padding: 30px 20px;
    }
    
    .portfolio-item.featured {
        padding: 30px 20px;
    }
}