/* ===================================
   SOLUTIONS SECTION
=================================== */

.solutions-section {
    position: relative;
    padding: 140px 7%;
    background: linear-gradient(
        180deg,
        #07111f 0%,
        #0f172a 100%
    );
    overflow: hidden;
}

/* Background glow */

.solutions-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(37,99,235,0.15),
        transparent
    );
    top: -200px;
    left: -150px;
    filter: blur(80px);
}

.solutions-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(124,58,237,0.18),
        transparent
    );
    bottom: -150px;
    right: -100px;
    filter: blur(80px);
}

/* ===================
   HEADER
=================== */

.section-title {
    text-align: center;
    max-width: 850px;
    margin: auto auto 90px;
    position: relative;
    z-index: 2;
}

.section-title span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #60a5fa;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(15px);
}

.section-title h2 {
    color: white;
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.section-title p {
    color: #94a3b8;
    font-size: 20px;
    line-height: 1.8;
}

/* ===================
   GRID
=================== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* ===================
   CARD
=================== */

.solution-card {
    position: relative;
    overflow: hidden;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 35px;

    transition: 0.45s ease;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.3);
}

.solution-card:hover {
    transform: translateY(-15px);

    box-shadow:
        0 40px 80px rgba(37,99,235,0.25);
}

/* animated border */

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 35px;
    padding: 1px;

    background: linear-gradient(
        135deg,
        rgba(37,99,235,0.5),
        rgba(124,58,237,0.5)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    pointer-events: none;
}

/* ===================
   IMAGE
=================== */

.solution-image {
    height: 380px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 0.7s ease;
}

.solution-card:hover img {
    transform: scale(1.08);
}

/* ===================
   CONTENT
=================== */

.solution-content {
    padding: 35px;
}

.solution-content span {
    display: inline-block;

    color: #60a5fa;

    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.solution-content h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.solution-content p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 25px;
}

/* ===================
   BUTTON
=================== */

.solution-content a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: white;

    padding: 14px 26px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );

    transition: 0.35s ease;

    box-shadow:
        0 10px 30px rgba(37,99,235,0.4);
}

.solution-content a:hover {
    transform: translateX(8px);

    box-shadow:
        0 20px 40px rgba(124,58,237,0.5);
}

/* ===================
   FLOATING EFFECT
=================== */

.solution-card:nth-child(1) {
    animation: float1 6s ease-in-out infinite;
}

.solution-card:nth-child(2) {
    animation: float2 7s ease-in-out infinite;
}

.solution-card:nth-child(3) {
    animation: float1 8s ease-in-out infinite;
}

.solution-card:nth-child(4) {
    animation: float2 9s ease-in-out infinite;
}

@keyframes float1 {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float2 {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ===================
   MOBILE
=================== */

@media(max-width:1100px){

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .solution-image {
        height: 300px;
    }
}

@media(max-width:768px){

    .solution-image{
        height:300px;
    }

    .solution-card.large .solution-image{
        height:340px;
    }

    .solution-content{
        padding:20px;
    }

}



.solution-showcase {
    padding: 120px 8%;
    background: #0f172a;
    position: relative;
}

.showcase-header {
    text-align: center;
    max-width: 700px;
    margin: auto auto 70px;
}

.showcase-header span {
    color: #60a5fa;
    letter-spacing: 2px;
    font-size: 14px;
}

.showcase-header h2 {
    color: white;
    font-size: 56px;
    margin: 20px 0;
}

.showcase-header p {
    color: #94a3b8;
    line-height: 1.8;
}

.showcase-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.showcase-image {
    height: 550px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.showcase-card:hover img {
    transform: scale(1.08);
}

.showcase-content {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-content span {
    color: #60a5fa;
    letter-spacing: 2px;
    font-size: 14px;
}

.showcase-content h3 {
    color: white;
    font-size: 42px;
    margin: 20px 0;
}

.showcase-content p {
    color: #94a3b8;
    line-height: 1.9;
    margin-bottom: 35px;
}

.showcase-content a {
    width: fit-content;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    transition: .3s;
}

.showcase-content a:hover {
    transform: translateY(-5px);
}

@media(max-width:992px) {

    .showcase-card {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        height: 350px;
    }

    .showcase-content {
        padding: 40px;
    }

    .showcase-header h2 {
        font-size: 40px;
    }

    .showcase-content h3 {
        font-size: 30px;
    }
}







/* ===========================
   SHOWCASE SECTION
=========================== */

.showcase-section {
    padding: 120px 8%;
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        rgba(37,99,235,0.15),
        transparent
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(120px);
    z-index: 0;
}

.showcase-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.showcase-title span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.showcase-title h2 {
    font-size: 64px;
    font-weight: 800;
    color: #0f172a;
    margin: 20px 0;
}

.showcase-title p {
    color: #64748b;
    font-size: 18px;
}

/* GRID */

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CARD */

.showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transition: 0.5s ease;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

/* SIZES */

.side-card {
    height: 320px;
}

.center-card {
    height: 670px;
}

/* HOVER */

.showcase-card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 40px 80px rgba(0,0,0,0.2),
        0 20px 40px rgba(37,99,235,0.2);
}

.showcase-card:hover img {
    transform: scale(1.1);
}

/* OVERLAY */

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15,23,42,0.85),
        rgba(15,23,42,0.1),
        transparent
    );
    opacity: 0;
    transition: 0.4s;
}

.showcase-card:hover::after {
    opacity: 1;
}

/* TEXT */

.card-info {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: white;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.4s ease;
}

.showcase-card:hover .card-info {
    opacity: 1;
    transform: translateY(0);
}

.card-info span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #60a5fa;
    text-transform: uppercase;
}

.card-info h3 {
    font-size: 28px;
    margin: 10px 0;
}

.card-info p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    max-width: 250px;
}

/* FLOAT ANIMATION */

.center-card {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 992px) {

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .left-column,
    .right-column {
        display: contents;
    }

    .center-card,
    .side-card {
        height: 350px;
    }

    .showcase-title h2 {
        font-size: 42px;
    }

    .card-info h3 {
        font-size: 22px;
    }
}
