/* ===== HERO SECTION ===== */
.hero-elite {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
}

.hero-bg-blur {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 65%);
    filter: blur(140px);
    top: -250px;
    left: -250px;
}

.hero-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border-radius: 48px 48px 18px 18px;
    padding: 4.5rem;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: lightgray;
}

    .hero-left h1 span {
        color: lightgray;
    }

.hero-left p {
    margin: 1.5rem 0 2.5rem;
    font-size: 1.1rem;
    color: #cbd5f5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 45px rgba(56, 189, 248, 0.6);
}

.btn-primary {
    background: #2c5364;
    border: none;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: #203a43;
        transform: translateY(-2px);
    }

.btn-outline-secondary {
    border: 2px solid #2c5364;
    color: #2c5364;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-outline-secondary:hover {
        background: #2c5364;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* ===== HERO FLOATING CARDS ===== */
.hero-right {
    position: relative;
}

.floating-card {
    position: absolute;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.10);
    color: #e5f6fd;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-decoration: none;
}

    .floating-card:nth-child(1) {
        top: 10%;
        left: 20%;
    }

    .floating-card:nth-child(2) {
        top: 35%;
        right: 0;
    }

    .floating-card:nth-child(3) {
        bottom: 25%;
        left: 10%;
    }

    .floating-card:nth-child(4) {
        bottom: 0;
        right: 20%;
    }

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
    padding: 8rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1.8rem;
    border-radius: 16px;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}

    .service-item:hover {
        background: rgba(15, 32, 39, 0.05);
    }

    .service-item.active {
        background: white;
        box-shadow: 0 20px 40px rgba(0,0,0,.08);
        transform: translateX(6px);
    }

.services-preview {
    position: relative;
    height: 0;
    padding-top: 56.25%;
}

.preview-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    line-height: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity .4s ease, transform .4s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,.25);
}

    .preview-item.active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

    .preview-item img, .preview-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .preview-item video {
        display: block;
        background: #0f2027;
    }

/* ===== THINKING SECTION ===== */
.thinking-section {
    padding: 7rem 0;
    background: #f8fafc;
}

.thinking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.thinking-card-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.thinking-card {
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    animation: float 6s ease-in-out infinite;
    font-family: 'Zalando Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: gray;
}

    .thinking-card:nth-child(2) {
        animation-delay: .5s;
    }

    .thinking-card:nth-child(3) {
        animation-delay: 1s;
    }

    .thinking-card:nth-child(4) {
        animation-delay: 1.5s;
    }

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

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

.thinking-card-info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    color: #1e293b;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

    .thinking-card-info.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }




.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-social {
    margin-top: 1rem;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        color: #cbd5f5;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .footer-social a:hover {
            color: #0a66c2;
        }


.linkedin-icon {
    width: 20px;
    height: 20px;
}




/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .hero-box {
        grid-template-columns: 1fr;
        padding: 3rem 2.5rem;
        gap: 3rem;
    }

    .hero-right {
        min-height: 220px;
    }

    .floating-card {
        position: relative;
        display: inline-block;
        margin: 0.5rem;
    }

    .thinking-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .thinking-visual {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .thinking-card {
        animation: none;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-item.active {
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero-elite {
        padding: 5rem 0 3rem;
    }

    .hero-box {
        padding: 2.5rem 1.5rem;
        border-radius: 32px;
    }

    .hero-left h1 {
        font-size: 2.3rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-glow {
        width: 100%;
        text-align: center;
    }

    .hero-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .thinking-section {
        padding: 4rem 0;
    }

    .thinking-text h2 {
        font-size: 2.2rem;
    }

    .thinking-card {
        padding: 1.2rem 1.4rem;
        border-radius: 14px;
        box-shadow: 0 12px 24px rgba(0,0,0,.08);
    }
}
/* ===== HERO FLOATING CARDS RESPONSIVE FIX ===== */
@media (max-width: 1024px) {
    .hero-right {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem; /* space between cards */
        min-height: auto; /* allow height to expand with content */
    }

    .floating-card {
        position: relative !important; /* override absolute */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0.5rem;
        width: calc(50% - 1rem); /* two cards per row */
        text-align: center;
    }
}

@media (max-width: 640px) {
    .floating-card {
        width: 100%; /* full width on small screens */
    }
}


/* Footer */

.footer-names {
    color: white;
}
.p,footer {
    font-size: 1rem;
    color: white;

}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-cta {
    background: linear-gradient(135deg, #203a43, #2c5364);
    text-align: center;
    padding: 3rem 1rem;
}

.footer-cta h3 {
    color: lightgray;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-social {
    margin-top: 1rem;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        color: #cbd5f5;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .footer-social a:hover {
            color: #0a66c2;
        }

    .footer-year {
        color: white;
        text-align: center;
        padding: 15px;
    }


.linkedin-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}
