@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* ===== BASE STYLES ===== */
body {
    font-family: 'Poppins', sans-serif !important;
    background: #eff3f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    position: relative;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    width: 100%;
    margin-top: 0 !important;
    padding-top: 80px !important;
    background-image: url('../images/heroBanner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.hero-text {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    position: relative;
    z-index: 2;
}

/* ===== CARD STYLES ===== */

.rowWidthCards {
    width: 90vw !important;
}
.main-card {
    background-color: #007bb5 !important;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.main-card .card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 239px;
    height: auto;
}

.card-small {
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 280px;
}

.card-large {
    border-radius: 1.5rem;
    padding: 2rem;
    min-height: auto;
}

.card {
    border-radius: 1rem;
    background-color: whitesmoke !important;
}

.card.hoverable {
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .card.hoverable:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        transform: translateY(-2px) scale(1.02);
    }

.card-title {
    background: #59bce6;
    background: linear-gradient(200deg, rgb(57, 167, 214) 30%, rgba(230, 0, 126, 1) 125%);
    color: white;
    padding: 1rem;
    border-radius: 1rem;
}

/* ===== CARD ELEMENTS ===== */
.card-tag {
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.card-tag.blue {
    border-color: #2563eb;
    color: #2563eb;
}

.card-tag.white {
    color: white;
}

.card-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    font-weight: 500;
    gap: 4px;
}

.card-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* ===== HOVERABLE CARD EFFECT ===== */
.main-content-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 1.5rem;
}

.main-content-card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.61);
}

/* ===== BACKGROUND COLORS ===== */
.bg-light-blue {
    background-color: #dbeafe;
}

.bg-neutral-900 {
    background-color: #e6007e;
}

/* ===== TEXT COLORS ===== */
.text-primary-blue {
    color: #2563eb;
}

.text-neutral-900 {
    color: #111827;
}

/* ===== TEXT SIZES ===== */
.text-h36 {
    font-size: 2.1rem;
    line-height: 2.4rem;
}

.text-h48 {
    font-size: 2.8rem;
    line-height: 1;
}

.text-h28 {
    font-size: 1.6rem;
    line-height: 2.1rem;
}

.text-h40 {
    font-size: 2.3rem;
    line-height: 2.3rem;
}

.text-h20 {
    font-size: 1.15rem;
    line-height: 1.6rem;
}

/* Small heading utility used in bottom cards */
.text-h24 {
    font-size: 1.4rem;
    line-height: 2rem;
}

/* ===== BUTTONS ===== */
.btn-custom {
    transition: all 0.15s !important;
    border-radius: 1.5rem !important;
    font-weight: 600 !important;
    height: 3rem !important;
    padding: 0 2rem !important;
    background-color: white !important;
    color: #e92892 !important;
}

.btn-custom:hover {
    background-color: #dbeafe !important;
    color: #59bce6 !important;
}

/* ===== LINKS ===== */
.link {
    color: #e6007e !important;
    text-decoration: none !important;
}

.link:hover {
    color: #930051 !important;
}

/* ===== OTHER COMPONENTS ===== */
.onsTeamText {
    background-color: rgb(57, 167, 214);
}

.partners {
    color: #59bce6 !important;
}

#klantReviewCarousel {
    min-height: 250px;
    position: relative;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and up */
@media (min-width: 768px) {
    .main-card .card-image {
        max-width: 485px;
    }
    
    .text-h36 {
        font-size: 2.6rem;
        line-height: 1;
    }
    
    .text-h28 {
        font-size: 2.2rem;
        line-height: 2.3rem;
    }
    
    .text-h20 {
        font-size: 1.6rem;
        line-height: 2.1rem;
    }

    .text-h24 {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
}

/* Slightly smaller paragraphs within oplossing cards */
.main-card .fs-5,
.card-small .fs-5 {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
}

.card-small .fs-6 {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

/* Desktop and up */
@media (min-width: 992px) {
    .main-card .card-image {
        max-width: 405px;
    }
    
    .card-small {
        border-radius: 1.5rem;
        padding: 2rem;
        min-height: 400px;
    }
    
    .card-small img {
        max-width: 200px;
        max-height: 200px;
    }
}

/* Stack cards on smaller screens */
@media (max-width: 1600px) {
    .container-fluid > .row.w-75 {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .container-fluid > .row.w-75 > .col-12 {
        width: 100%;
    }

    .overlap-section {
        margin-top: 0;
    }

    .overlap-section .row {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .overlap-section .col-12 {
        width: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .overlap-section {
        margin-top: 2rem;
        padding-bottom: 3rem;
    }
    
    .overlap-section .row {
        width: 90% !important;
    }
    
    .hero-section {
        padding-top: 70px !important;
    }
    
    .flip-card,
    .flip-card-inner {
        min-height: 350px;
    }
    
    .card-small img {
        max-width: 112px;
        max-height: 112px;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .hero-logo {
        height: 100px;
    }
    
    .card-small img {
        max-height: 120px;
        width: auto;
        margin-top: auto;
    }
}

/* ===== ICON FLASH ANIMATION (match cloud feel) ===== */
.flash-icon {
    animation: flash-glow 1.4s ease-in-out infinite;
    will-change: opacity, filter;
}

@keyframes flash-glow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 0 rgba(89, 188, 230, 0)); /* #59bce6 */
    }
    50% {
        opacity: 0.65;
        filter: drop-shadow(0 0 14px rgba(89, 188, 230, 0.9));
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .flash-icon { animation: none; }
}


/* ===== TEXT SIZES ===== */
.text-h36 {
    font-size: 2.1rem;
    line-height: 2.4rem;
}

.text-h48 {
    font-size: 2.8rem;
    line-height: 1;
}

.text-h28 {
    font-size: 1.6rem;
    line-height: 2.1rem;
}

.text-h40 {
    font-size: 2.3rem;
    line-height: 2.3rem;
}

.text-h20 {
    font-size: 1.15rem;
    line-height: 1.6rem;
}

/* Small heading utility used in bottom cards */
.text-h24 {
    font-size: 1.4rem;
    line-height: 2rem;
}


