/* ===== HERO LAYOUT ===== */
#heroCarousel.premium-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4fa 40%, #e8eef8 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: float-orb 12s infinite ease-in-out alternate;
    z-index: 1;
    box-shadow: 0 30px 80px rgba(59, 102, 168, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.6);
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 102, 168, 0.4), rgba(59, 102, 168, 0.05));
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle at 30% 30%, rgba(90, 133, 200, 0.3), rgba(90, 133, 200, 0.05));
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

#heroCarousel .hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.618fr 1fr;
    gap: 5rem;
    align-items: center;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 0;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 15px;
    /* Prevent shadow clipping */
}

.hero-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    background: rgba(59, 102, 168, 0.08);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 102, 168, 0.15);
    box-shadow: 0 5px 20px rgba(59, 102, 168, 0.05);
    transition: all 0.3s ease;
}

.badge-center {
    margin-left: auto;
    margin-right: auto;
}

.hero-badge:hover {
    background: rgba(59, 102, 168, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 102, 168, 0.1);
}

.hero-badge span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    position: relative;
}

.hero-badge span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

#heroCarousel .hero-title {
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    letter-spacing: -1px;
}

#heroCarousel .text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2F3E5C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#heroCarousel .hero-subtitle {
    font-size: 1.25rem;
    color: #555555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 90%;
}

#heroCarousel .hero-visual-wrapper {
    position: relative;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 102, 168, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(59, 102, 168, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 102, 168, 0);
    }
}

@keyframes float-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 40px) scale(1.05);
    }

    66% {
        transform: translate(20px, -20px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@media (max-width: 992px) {
    #heroCarousel .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    #heroCarousel .hero-badge {
        margin: 0 auto 1.5rem;
    }

    #heroCarousel .hero-title {
        font-size: 2.8rem;
    }

    #heroCarousel .hero-subtitle {
        margin: 0 auto 2rem;
    }

    #heroCarousel .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #heroCarousel .hero-title {
        font-size: 2rem;
    }

    #heroCarousel .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== CSS ART ILLUSTRATIONS ===== */
.hero-css-art {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.art-dashboard {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 70%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(59, 102, 168, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-css-art:hover .art-dashboard {
    transform: rotateY(-5deg) rotateX(5deg);
}

.art-header {
    height: 40px;
    background: rgba(59, 102, 168, 0.05);
    border-bottom: 1px solid rgba(59, 102, 168, 0.1);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.art-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.art-dot.r {
    background: #ff5f56;
}

.art-dot.y {
    background: #ffbd2e;
}

.art-dot.g {
    background: #27c93f;
}

.art-body {
    flex: 1;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.art-sidebar {
    width: 30%;
    background: rgba(59, 102, 168, 0.05);
    border-radius: 8px;
}

.art-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.art-line {
    height: 12px;
    background: rgba(59, 102, 168, 0.1);
    border-radius: 6px;
}

.art-line.w-100 {
    width: 100%;
}

.art-line.w-80 {
    width: 80%;
}

.art-line.w-60 {
    width: 60%;
}

.art-line.h-lg {
    height: 60px;
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    animation: floatBadge 6s infinite ease-in-out alternate;
}

.badge-1 {
    top: 5%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 10%;
    left: -10%;
    animation-delay: -3s;
}

.b-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 102, 168, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.b-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.b-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
}

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

    100% {
        transform: translateY(-20px);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.618fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

.about-css-art {
    position: relative;
    width: 100%;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
}

.about-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(59, 102, 168, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.about-block:hover {
    transform: scale(1.05);
}

.about-block.primary {
    background: var(--primary);
    color: #fff;
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    font-size: 4rem;
}

/* ===== MARQUEE BAR ===== */
.marquee-bar {
    background: linear-gradient(90deg, #1A2A4A, #2F4070, #1A2A4A);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.marquee-bar::before,
.marquee-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

/*.marquee-bar::before { left: 0; background: linear-gradient(90deg, #1A2A4A, transparent); }
.marquee-bar::after { right: 0; background: linear-gradient(-90deg, #1A2A4A, transparent); }*/
.marquee-content {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 30s linear infinite;
    gap: 3rem;
}

.marquee-bar:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.marquee-item span {
    color: var(--primary-light);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== STATS STRIP ===== */
.stats-strip {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card {
    padding: 20px;
    background: rgba(59, 102, 168, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(59, 102, 168, 0.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== QUICK INQUIRY STRIP ===== */
.quick-inquiry-strip {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.qi-form {
    display: flex;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.qi-form input {
    flex: 1;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    background: var(--bg-light);
    font-family: var(--font-body);
}

.qi-form input:focus {
    outline: none;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--primary);
}

.qi-form button {
    border-radius: 40px;
    padding: 12px 30px;
    white-space: nowrap;
}

/* ===== CTA BANNER ===== */
.mid-cta-banner {
    background: linear-gradient(135deg, #1A2A4A 0%, #2F63AF 50%, #3B66A8 100%);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    color: #fff;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(26, 42, 74, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mid-cta-banner h2 {
    color: #fff;
    font-size: 2.625rem;
    margin-bottom: 15px;
}

.mid-cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-bottom: 10px;
    /* Prevent shadow clipping */
}

.btn-white {
    background: #ffffff !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.btn-white:hover {
    background: #f4f7fb !important;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-wa {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    border-color: #25D366;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.stagger-5 {
    transition-delay: 500ms;
}

/* Word stagger for hero */
.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpWord 0.6s forwards;
}

@keyframes fadeUpWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== INTERACTIVE TABS ===== */
.process-tabs-wrapper {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.process-nav {
    width: 35%;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.process-tab-btn {
    padding: 24px 32px;
    text-align: left;
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.process-tab-btn:hover {
    background: rgba(59, 102, 168, 0.05);
    color: var(--primary);
}

.process-tab-btn.active {
    background: #fff;
    border-left-color: var(--primary);
    color: var(--primary);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.02);
}

.process-content-area {
    width: 65%;
    padding: 40px;
    position: relative;
}

.process-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.process-panel.active {
    display: block;
}

.process-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* ===== FILTER TABS ===== */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.service-card-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== STICKY MOBILE BAR ===== */
.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
}

.sticky-mobile-bar .sm-btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sm-call {
    color: var(--primary);
    border-right: 1px solid var(--border-color);
}

/* Carousel Control Customization */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    background-size: 40%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.sm-wa {
    background: #25D366;
    color: #fff;
}

/* ===== EXIT POPUP ===== */
.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exit-intent-modal {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.exit-intent-overlay.visible {
    opacity: 1;
    display: flex;
}

.exit-intent-overlay.visible .exit-intent-modal {
    transform: translateY(0);
}

.exit-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* ===== BUTTON SHIMMER ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(229, 229, 229, 0), rgba(255, 255, 255, 0.4) 50%, rgba(229, 229, 229, 0));
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotateZ(60deg) translate(-15em, -15em);
    }

    100% {
        transform: rotateZ(60deg) translate(15em, 15em);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .process-tabs-wrapper {
        flex-direction: column;
    }

    .process-nav,
    .process-content-area {
        width: 100%;
    }

    .process-nav {
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 1px solid var(--border-color);
    }

    .process-tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .process-tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    /* Prevent sticky bar from hiding footer */
    .qi-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 20px;
    }

    .qi-form input,
    .qi-form button {
        border-radius: 8px;
    }

    .sticky-mobile-bar {
        display: flex;
    }

    .sticky-floating-buttons {
        display: none;
    }

    /* hide existing floating WA on mobile to avoid overlap */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-css-art {
        height: 320px;
        margin-top: 2rem;
        transform: scale(0.85);
        transform-origin: center;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .mid-cta-banner {
        padding: 50px 20px;
    }

    .mid-cta-banner h2 {
        font-size: 2rem !important;
    }
}

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

    .about-image {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 2rem;
        padding: 0 20px;
    }

    .about-modern-art {
        transition: transform 0.3s ease;
        margin-top: 2rem !important;
    }

    @media (max-width: 480px) {
        .about-modern-art {
            transform: scale(0.85);
            transform-origin: center;
            margin-bottom: -50px !important;
        }
    }

    .text-center-tablet {
        text-align: center;
    }

    .badge-center-tablet {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .contact-line-tablet {
        margin: 20px auto 1.5rem !important;
        display: block !important;
    }

    .about-content h2::after {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .contact-desc-tablet {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .art-center-tablet {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .contact-list-tablet {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .contact-list-tablet li {
        justify-content: center;
    }

    .contact-btns-tablet {
        justify-content: center;
    }
}

/* Contact Highlight */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.contact-link:hover,
.contact-link:hover span,
.contact-link:hover i {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.contact-link:hover i {
    transform: scale(1.2) translateX(0);
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.2);
}

/* WhatsApp Button Styling */
.btn-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    border: 2px solid #25D366 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-wa:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.3);
}

.btn-wa i {
    font-size: 1.2rem;
}