﻿/** {
    outline: 5px solid rgba(255, 0, 0, 0.3) !important;
}*/

/*hero section*/
.hero {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 70%;
    height: 120%;
    /*background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');*/
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.15;
    z-index: 1;
    /*pointer-events: none;*/
}
.hero .container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.hero-content {
    padding-top: 60px;
}
.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title span {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}
.stat-item {
    font-family: 'Space Grotesk', monospace;
}
.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
}
.hero-layer {
    position: relative;
}
/*.hero-card {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}
.hero-card img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}
.hero-card-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--secondary-light);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}*/

/*our background section*/
.story {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    isolation: isolate;
}
.story-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d6e5f1;
    clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
    opacity: 0.3;
    z-index: 1;
}
.story .container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-content {
    position: relative;
}
.story-tag {
    /*background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px 50px 50px 4px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(134,166,240,0.3);*/
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    font-size: 2rem;
}
.story-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.story-highlight {
    color: var(--primary-color);
}
.story-text {
    /*color: var(--gray);*/
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
}
.story-text strong {
    color: var(--primary-color);
    font-weight: 700;
}
.story-list {
    list-style: none;
    margin: 2rem 0;
}
.story-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.story-list i {
    color: var(--primary-color);
    width: 1.5rem;
    text-align: center;
}
.story-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.story-stat-item {
    font-family: 'Space Grotesk', monospace;
}
.story-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}
.story-stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}
.story-media {
    position: relative;
}
.story-image {
    border-radius: 40px 40px 40px 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 5;
}
.story-image img {
    width: 100%;
    height: auto;
    display: block;
}
.story-shape-1 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
    z-index: 1;
    filter: blur(40px);
    opacity: 0.5;
}
.story-shape-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
    z-index: 1;
    filter: blur(50px);
    opacity: 0.3;
}
.story-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 24px 24px 24px 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 15;
    max-width: 280px;
}
.story-card i {
    color: var(--primary);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .story .container {
        grid-template-columns: 1fr;
    }
}

/*case studies section*/
.case-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: var(--background-color);*/
    clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);
    opacity: 0.3;
    z-index: 1;
}
.case-studies .container {
    z-index: 10;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.story-highlight {
    color: var(--primary-dark);
}
.industries-intro {
    color: var(--gray); 
    font-size: 1.25rem; 
    max-width: 600px; 
    margin-bottom: 2rem;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
    .case-grid::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20px;
        width: 100%;
        height: 100%;
        background: #cae3da;
        border-radius: 40px 40px 40px 8px;
        z-index: 1;
        opacity: 0.3;
    }
.case-card {
    background: var(--white);
    border-radius: 40px 40px 40px 8px;
    /*padding: 2rem;*/
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}
    .case-card:hover {
        transform: translateY(-12px);
        box-shadow: var(--shadow-lg);
    }
.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 30px 30px 0px 0px;
    /*margin-bottom: 1.5rem;*/
}
.case-intro {
    padding: 2rem;
}
.case-heading {
    display: flex;
    align-items: center;
    /*line-height: 60px;*/
    height: 60px;
    margin-bottom: 1rem;
}
.case-icon {
    font-size: 2rem;
    color: var(--primary-color);
    /*margin-bottom: 1rem;*/
    margin-right: 1rem;
    background: var(--primary-light);
    border-radius: 20px 20px 20px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    flex-direction: row;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

.more-cases {
    text-align: center;
    align-self: center;
    color: var(--primary-dark);
    margin: 40px 0 25px 0;
    font-size: large;
    text-decoration: underline;
    padding: 5px 10px;

}
.more-cases:hover {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: fit-content;
    justify-self: center;
    padding: 5px 25px;
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}


/*benefit section*/
.benefits {
    /*background: var(--white);*/
    background: transparent;
    padding-bottom: 35px;
    position: relative;
    z-index: 1;
}
.benefit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(134,166,240,0.3), rgba(169,223,199,0.3));
    /*clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);*/
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}
.title-underline {
    background-image: var(--gradient-accent);
    width: 100px;
    height: 5px;
    border-radius: var(--radius-lg);
    border: none;
    text-align: center;
    margin: 0 auto 15px auto;
}
.benefit-grid {
    display: grid;
    grid-template-column: repeat(5, 1fr);
    grid-template-row: repeat(2, 1 fr);
    gap: 12px;
}
.benefit-card {
    /*aspect-ratio: 1/1;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    border-radius: var(--radius-lg);
    height: 150px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    /*color: white;*/
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    overflow: hidden;
}
,benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
    transition: background 0.2s;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.benefit-card:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.benefit-card .card-data {
    position: relative;
    max-width: 90%;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    line-height: 1.4;
}

.b-card1 {
    grid-column: span 2 / span 2;
    color: var(--text-color);
}

.b-card2 {
    grid-column: span 3 / span 3;
    grid-column-start: 3;
    color: white;
    background-image: url('../images/dashboard-screen.jpg');
}

.b-card3 {
    grid-row-start: 2;
    color: white;
    background-image: url('../images/tailor-made.jpg');
}

.b-card4 {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.b-card5 {
    grid-column-start: 4;
    grid-row-start: 2;
    grid-column: span 2 / span 2;

}

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    .b-card1, .b-card2, .b-card3, .b-card4, .b-card5 {
        grid-column: 1;
    }
    .b-card2 {
        grid-row-start: 2;
    }
    .b-card3 {
        grid-row-start: 3;
    }
    .b-card4 {
        grid-row-start: 4;
    }
    .b-card5 {
        grid-row-start: 5;
    }
}
