﻿/* Hero Content & Buttons */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    background: rgba(0, 162, 138, 0.05);
    max-width: 1100px;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 100%;
    flex: 1 1 400px;
}

    .hero-content h1 {
        font-size: 3.5rem;
        line-height: 1.3;
        font-weight: 700;
        margin: 1rem 0;
    }

.highlight {
    color: var(--primary);
}

.hero-content p {
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.badge {
    background: var(--tag-bg);
    color: var(--tag-color);
    padding: .75rem 1rem;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

    .badge span {
        color: var(--tag-icon);
        font-size: 20px;
        padding-inline-end: 5px;
    }

.screen {
    background-color: black;
    border: 12px solid black;
    border-radius: 16px;
    height: 420px;
    position: relative;
}

.video-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .video-box video {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

.success,
.stat {
    animation: floatUpDown 3s ease-in-out infinite;
    position: absolute;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    text-align: center;
}

.success {
    top: -20px;
    left: -20px;
    color: var(--primary);
}

.stat {
    bottom: -20px;
    right: -20px;
}

.offerings-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--white);
}

.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 40px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--card-light-bg);
    border-radius: 24px;
    padding: 35px 25px;
    width: 280px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .card-header-row .icon-box {
        margin-bottom: 0;
    }

.card h3 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.card p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--btn-light-bg);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .card-btn:hover {
        background-color: var(--text-dark);
        color: var(--white);
        transform: translateX(5px);
    }

/* Theme Variants */
.bg-dark {
    background-color: var(--card-bg-dark);
    color: var(--white);
}

.bg-green {
    background: var(--card-bg-green);
    color: var(--white);
}

.bg-orange {
    background-color: #fd7e14;
}

.bg-blue {
    background-color: #2563eb;
}


.categories-section {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.categories-tag {
    background: var(--tag-bg);
    color: var(--tag-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto 0 0;
}

    .categories-tag span {
        color: var(--tag-icon);
        font-size: 20px;
        padding-inline-end: 5px;
    }

.view-all-btn {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: background 0.3s ease;
}

    .view-all-btn:hover {
        background-color: var(--primary-dark);
        color: var(--text-white);
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    overflow: hidden;
    position: relative;
    color: var(--text-white);
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }

.card-inner {
    transition: transform 0.3s ease;
}

.category-card:hover .card-inner {
    transform: scale(1.05);
}

.categories-header {
    font-size: 1.5rem;
    font-weight: bold;
}

.category-icon {
    background-color: var(--icon-bg);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    backdrop-filter: blur(4px);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

    .testimonials-section .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

.testimonial-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px var(--testimonial-shadow);
    flex: 1 1 calc(33.333% - 24px);
    max-width: 400px;
    padding: 30px 20px;
    text-align: left;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 32px var(--testimonial-hover-shadow);
    }

    .testimonial-card .quote-icon {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

.testimonial-text {
    flex-grow: 1;
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 5px;
    min-height: 120px;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-card .stars {
    color: var(--star-color);
    font-size: 1.6rem;
    margin: 0;
}

.testimonial-user {
    display: flex;
    align-items: center;
}

    .testimonial-user img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 10px;
    }

    .testimonial-user .user-info strong {
        display: block;
        font-weight: 600;
        color: var(--text-dark);
    }

    .testimonial-user .user-info span {
        font-size: 0.9rem;
        color: var(--text-muted);
    }


/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .py-4.d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 🔁 Responsive Layout */
@media (max-width: 992px) {
    .team-card {
        flex: 1 1 calc(50% - 24px); /* 2 per row */
    }
    .testimonial-card {
        flex: 1 1 calc(50% - 24px);
    }
}

@media (max-width: 600px) {
    .team-card {
        flex: 1 1 100%; /* 1 per row */
    }

    .screen {
        margin-top: 20px;
        height: 300px;
    }

    .testimonial-card {
        flex: 1 1 100%;
        text-align: center;
    }

    .testimonial-user {
        justify-content: center;
    }

        .testimonial-user .user-info {
            text-align: left;
        }

    .testimonial-footer {
        align-items: center;
    }

    .hero-content h1  {
        font-size: 2.5rem;
    }
}


.clients-section {
    overflow: hidden;
    padding: 18px 0;
    text-align: center;
}

.clients-slider {
    width: 100%;
    padding: 20px;
    background: #fff;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 100px;
    align-items: center;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .client-logo img {
        height: 120px;
        width: auto;
        object-fit: contain;
        display: block;
        transition: transform .25s, filter .25s;
    }

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

.client-logo img:hover {
    transform: scale(1.05);
    filter: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%); /* move entire duplicated content */
    }
}