/* Adjust slider width */
.splide {
    width: 100%;
    /* max-width: 1200px; */
}

/* Remove dots (pagination) */
.splide__pagination {
    display: none;
    width: 400px;
    height: 450px;
}

/* Slide Styling */
.splide__slide img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.rocket-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.team-photo {
    animation: float 3s ease-in-out infinite;
    transform-origin: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-photo:nth-child(2) {
    animation-delay: 0.5s;
}

.team-photo:nth-child(3) {
    animation-delay: 1s;
}

.icon-float {
    animation: float 4s ease-in-out infinite;
}

.icon-float-delay {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logos-slide {
    position: relative;
    left: 0;
    white-space: nowrap;
}

.logos-slide img {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logos-slide img:hover {
    transform: scale(1.1);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes slide-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.animate-slide {
    animation: slide 20s linear infinite;
}

.animate-slide-reverse {
    animation: slide-reverse 20s linear infinite;
}


/* silder 2 */

.set {
    width: 520px !important;
    height: 370px !important;
}

.set img {
    width: 520px;
    height: 370px;
}

.max-w-\[1350px\] {
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

.stack-cards {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-cards__item {
    position: sticky;
    top: 40px;
    /* Initial top position */
    margin-bottom: 50px;
    z-index: 1;
    /* Base z-index */
    transition: transform 0.3s ease-out;

}

.stack-cards__item section {
    width: 100%;
    box-sizing: border-box;
}

.stack-cards__item .reveal {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 30px 3px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .stack-cards__item .reveal {
        padding: 50px 40px;
    }
}

/* ===== Industries We Serve Styles ===== */
.industry-card {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease;
}

.industry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.industry-card.animate-in:hover {
    box-shadow: 0 20px 40px rgba(6, 47, 101, 0.2);
    transform: translateY(-8px);
}

/* Card overlay - covers entire card on hover */
.industry-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 16px;
    z-index: 1;
}

.industry-card:hover .card-overlay {
    opacity: 1;
}

/* Card content z-index above overlay */
.industry-card .card-content {
    position: relative;
    z-index: 2;
}

/* Icon box */
.industry-card .icon-box {
    transition: background-color 0.5s ease;
}

.industry-card:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.industry-card .icon-box img {
    transition: transform 0.5s ease;
}

.industry-card:hover .icon-box img {
    transform: scale(1.1);
}

/* Text color transitions on hover */
.industry-card .card-title {
    color: #111827;
    transition: color 0.5s ease;
}

.industry-card:hover .card-title {
    color: #ffffff !important;
}

.industry-card .card-desc {
    color: #4B5563;
    transition: color 0.5s ease;
}

.industry-card:hover .card-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.industry-card .card-link {
    color: #062f65;
    transition: color 0.5s ease;
}

.industry-card:hover .card-link {
    color: #B0D4EB !important;
}

.industry-card .card-link i {
    transition: transform 0.3s ease;
}

.industry-card:hover .card-link i {
    transform: translateX(8px);
}

/* Stagger animation delays */
.industry-card:nth-child(1) {
    transition-delay: 0.05s;
}

.industry-card:nth-child(2) {
    transition-delay: 0.12s;
}

.industry-card:nth-child(3) {
    transition-delay: 0.19s;
}

.industry-card:nth-child(4) {
    transition-delay: 0.26s;
}

.industry-card:nth-child(5) {
    transition-delay: 0.33s;
}

.industry-card:nth-child(6) {
    transition-delay: 0.40s;
}

.industry-card:nth-child(7) {
    transition-delay: 0.47s;
}

.industry-card:nth-child(8) {
    transition-delay: 0.54s;
}

/* ===== Successful Projects Card Styles ===== */
.sp-card {
    position: relative;
    overflow: hidden;
}

.sp-card .sp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 16px;
    z-index: 1;
}

.sp-card:hover .sp-overlay {
    opacity: 1;
}

.sp-card .sp-content {
    position: relative;
    z-index: 2;
}

.sp-card .sp-logo-box {
    transition: background-color 0.5s ease;
}

.sp-card:hover .sp-logo-box {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.sp-card .sp-logo-box img {
    transition: transform 0.5s ease;
}

.sp-card:hover .sp-logo-box img {
    transform: scale(1.1);
}

.sp-card .sp-title {
    color: #111827;
    transition: color 0.5s ease;
}

.sp-card:hover .sp-title {
    color: #ffffff !important;
}

.sp-card .sp-desc {
    color: #6B7280;
    transition: color 0.5s ease;
}

.sp-card:hover .sp-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sp-card .sp-stat-label {
    color: #062f65;
    transition: color 0.5s ease;
}

.sp-card:hover .sp-stat-label {
    color: #B0D4EB !important;
}

.sp-card .sp-stat-value {
    color: #111827;
    transition: color 0.5s ease;
}

.sp-card:hover .sp-stat-value {
    color: #ffffff !important;
}

.sp-card .sp-divider {
    background-color: #E8EFF4;
    transition: background-color 0.5s ease;
}

.sp-card:hover .sp-divider {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.sp-card .sp-link {
    color: #062f65;
    transition: color 0.5s ease;
}

.sp-card:hover .sp-link {
    color: #B0D4EB !important;
}

.sp-card .sp-link i {
    transition: transform 0.3s ease;
}

.sp-card:hover .sp-link i {
    transform: translateX(8px);
}

.sp-card {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.5s ease;
}

.sp-card:hover {
    box-shadow: 0 20px 60px rgba(6, 47, 101, 0.15);
    transform: translateY(-8px);
}

/* ===== Carousel Styles ===== */
.sp-carousel-wrapper {
    overflow: hidden;
    padding: 0 50px;
    position: relative;
}

.sp-carousel-track {
    display: flex;
    /* SMOOTH transition - yeh key fix hai */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 24px;
}

.sp-carousel-slide {
    /* Saare cards ki SAME width force karo */
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
    display: flex;
}

.sp-carousel-slide .sp-card {
    width: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.sp-carousel-slide .sp-card .sp-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Description ko flex-grow do taaki bottom content align ho */
.sp-carousel-slide .sp-card .sp-desc {
    flex-grow: 1;
}

/* Stats section ko bottom pe push karo */
.sp-carousel-slide .sp-card .sp-content>.flex.gap-4 {
    margin-top: auto;
}


@media (max-width: 1023px) {
    .sp-carousel-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 639px) {
    .sp-carousel-slide {
        flex: 0 0 100%;
    }

    .sp-carousel-wrapper {
        padding: 0 30px;
    }
}

/* Carousel Dots */
.sp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E8EFF4;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.sp-carousel-dot.active {
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    width: 28px;
    border-radius: 5px;
}

/* Carousel Buttons */
.sp-carousel-btn {
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.sp-carousel-wrapper:hover .sp-carousel-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .sp-carousel-btn {
        opacity: 1 !important;
        width: 36px !important;
        height: 36px !important;
    }

    .sp-carousel-prev {
        left: 0px !important;
    }

    .sp-carousel-next {
        right: 0px !important;
    }
}

/* Floating decorative dots */
#industries {
    position: relative;
    overflow: hidden;
}

#industries::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #B0D4EB33 0%, transparent 70%);
    z-index: 0;
}

#industries::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, #062f6515 0%, transparent 70%);
    z-index: 0;
}

#industries>div {
    position: relative;
    z-index: 1;
}

/* ===== Tech Capabilities Styles ===== */
/* Tabs wrapper - holds tabs + nav arrows */
.tech-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    position: relative;
}

/* Scrollable container for tabs */
.tech-tabs-scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Single-line tabs (no wrap) */
.tech-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
}

.tech-tabs::-webkit-scrollbar {
    display: none;
}

/* Tab button */
.tech-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #4B5563;
    background: #ffffff;
    border: 2px solid #E8EFF4;
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-tab:hover {
    border-color: #B0D4EB;
    color: #062f65;
    background: #f0f7fc;
}

.tech-tab.active {
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    color: #ffffff;
    border-color: #062f65;
    box-shadow: 0 4px 15px rgba(6, 47, 101, 0.3);
}

.tech-tab.active i {
    color: #B0D4EB;
}

.tech-tab i {
    font-size: 14px;
    transition: color 0.35s ease;
}

/* Nav arrow buttons - shown only when overflow exists */
.tech-tabs-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #E8EFF4;
    color: #062f65;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 47, 101, 0.08);
}

.tech-tabs-nav:hover:not(:disabled) {
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    color: #ffffff;
    border-color: #062f65;
}

.tech-tabs-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tech-tabs-nav.visible {
    display: inline-flex;
}

/* Panels */
.tech-panel {
    display: none;
    animation: techFadeIn 0.5s ease forwards;
    position: relative;
}

.tech-panel.active {
    display: block;
}

/* Tech items carousel wrapper */
.tech-items-wrapper {
    position: relative;
    overflow: visible;
    padding: 0 55px;
}

.tech-items-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    flex-wrap: nowrap;
}

.tech-items-track .tech-item {
    flex: 0 0 calc(12.5% - 21px);
    /* 8 items per view */
    min-width: 0;
}

.tech-content-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #E8EFF4;
    color: #062f65;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 47, 101, 0.08);
}

.tech-content-nav:hover:not(:disabled) {
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    color: #ffffff;
    border-color: #062f65;
}

.tech-content-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tech-content-nav.visible {
    display: inline-flex;
}

.tech-content-prev {
    left: 0px;
}

.tech-content-next {
    right: 0px;
}

@media (max-width: 1400px) {
    .tech-content-prev {
        left: 0px;
    }

    .tech-content-next {
        right: 0px;
    }
}

@media (max-width: 768px) {
    .tech-items-track .tech-item {
        flex: 0 0 calc(25% - 18px);
        /* 4 items per view on mobile */
    }
}

@media (max-width: 480px) {
    .tech-items-track .tech-item {
        flex: 0 0 calc(33.33% - 16px);
        /* 3 items per view on small mobile */
    }
}


/* Tech item */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #E8EFF4;
    transition: all 0.4s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(6, 47, 101, 0.12);
    border-color: #B0D4EB;
}

.tech-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f0f7fc;
    transition: background 0.4s ease;
}

.tech-item:hover .tech-icon-box {
    background: #E8EFF4;
}

.tech-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.tech-item:hover .tech-icon-box img {
    transform: scale(1.15);
}

.tech-item span {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 640px) {
    .tech-tab {
        padding: 8px 16px;
        font-size: 12px;
    }

    .tech-tabs-nav {
        width: 36px;
        height: 36px;
    }

    .tech-icon-box {
        width: 48px;
        height: 48px;
    }

    .tech-icon-box img {
        width: 28px;
        height: 28px;
    }
}

/* ==================== ENHANCED CERTIFICATION DESIGN AGENCY SECTION ==================== */
.cert-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #f0f7fc 100%);
    padding: 100px 0px;
    margin-top: 80px;
    /* Added top margin */
}

.cert-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 212, 235, 0.3) 0%, transparent 70%);
    z-index: 0;
    animation: certFloat 8s ease-in-out infinite;
}

.cert-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 47, 101, 0.08) 0%, transparent 70%);
    z-index: 0;
    animation: certFloat 10s ease-in-out infinite reverse;
}

@keyframes certFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.cert-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 47, 101, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 47, 101, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.cert-container {
    position: relative;
    z-index: 1;
    max-width: 1350px;
    margin: 0 auto;
}

.cert-header {
    text-align: center;
    margin-bottom: 60px;
}

.cert-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(6, 47, 101, 0.1), rgba(176, 212, 235, 0.3));
    border: 1px solid rgba(6, 47, 101, 0.15);
    color: #062f65;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.cert-badge-label i {
    font-size: 14px;
    color: #FFD700;
}

.cert-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cert-title span {
    background: linear-gradient(90deg, #062f65, #0a4a9e, #1e6fcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cert-subtitle {
    font-size: 17px;
    color: #6B7280;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.cert-main-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    align-items: center;
}

.cert-left-panel {
    position: sticky;
    top: 100px;
}

.cert-feature-card {
    background: linear-gradient(145deg, #062f65, #0a4a9e);
    border-radius: 28px;
    padding: 40px 35px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(6, 47, 101, 0.35);
}

.cert-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(176, 212, 235, 0.2), transparent 70%);
    border-radius: 50%;
}

.cert-feature-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 111, 207, 0.25), transparent 70%);
    border-radius: 50%;
}

.cert-feature-content {
    position: relative;
    z-index: 2;
}

.cert-trophy-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    position: relative;
}

.cert-trophy-icon i {
    font-size: 30px;
    color: #ffffff;
}

.cert-trophy-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 25px;
    border: 2px dashed rgba(255, 215, 0, 0.4);
    animation: certRotate 15s linear infinite;
}

@keyframes certRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cert-feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cert-feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 28px;
}

.cert-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cert-stat {
    text-align: left;
}

.cert-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 4px;
}

.cert-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff, #f0f7fc);
    color: #062f65;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cert-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #062f65;
}

.cert-cta-btn i {
    transition: transform 0.3s ease;
}

.cert-cta-btn:hover i {
    transform: translateX(5px);
}

.cert-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cert-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 22px 24px;
    overflow: hidden;
    /* cursor: pointer; */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #E8EFF4;
    opacity: 0;
    transform: translateY(40px);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    /* Times New Roman font applied to entire card */
    font-family: 'Times New Roman', Times, serif;
}

.cert-card.cert-visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #062f65, #1e6fcf, #FFD700, #062f65);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: certGradientShift 3s ease infinite;
}

@keyframes certGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(6, 47, 101, 0.15);
    border-color: transparent;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.cert-card:hover::after {
    left: 100%;
}

.cert-ribbon {
    position: absolute;
    top: 14px;
    right: -32px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #062f65;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 36px;
    transform: rotate(40deg);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
    z-index: 3;
    font-family: 'Times New Roman', Times, serif;
}

.cert-ribbon::before,
.cert-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    border: 4px solid #B8860B;
}

.cert-ribbon::before {
    left: 0;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

.cert-ribbon::after {
    right: 0;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

/* Verified badge - REMOVED (tick removed as per request) */
.cert-verified-badge {
    display: none !important;
}

.cert-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px 20px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.cert-logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8EFF4, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(6, 47, 101, 0.08), 0 8px 20px rgba(6, 47, 101, 0.1);
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
    /* Times New Roman for circle */
    font-family: 'Times New Roman', Times, serif;
}

.cert-card:hover .cert-logo-circle {
    transform: scale(1.08) rotate(-5deg);
}

.cert-logo-circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(6, 47, 101, 0.2);
    animation: certRotate 20s linear infinite;
}

/* Image inside the circle */
.cert-logo-circle img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
    display: block;
}

.cert-card:hover .cert-logo-circle img {
    transform: scale(1.1);
}

.cert-logo-circle i {
    font-size: 48px;
    background: linear-gradient(135deg, #062f65, #1e6fcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s ease;
}

.cert-card:hover .cert-logo-circle i {
    transform: scale(1.1);
}

.cert-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    padding: 0 4px;
    /* Times New Roman for title */
    font-family: 'Times New Roman', Times, serif;
}

.cert-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #E8EFF4;
    position: relative;
    z-index: 2;
    /* Times New Roman for footer content */
    font-family: 'Times New Roman', Times, serif;
}

.cert-issuer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6B7280;
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif;
}

.cert-issuer i {
    color: #062f65;
    font-size: 12px;
}

.cert-year {
    background: linear-gradient(135deg, rgba(6, 47, 101, 0.08), rgba(30, 111, 207, 0.08));
    color: #062f65;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    font-family: 'Times New Roman', Times, serif;
}

.cert-card-dots {
    position: absolute;
    bottom: 14px;
    left: 18px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.cert-card-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #062f65;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-card-dots span:nth-child(1) {
    opacity: 1;
    background: #FFD700;
}

.cert-card:hover .cert-card-dots span:nth-child(2) {
    opacity: 0.7;
    background: #FFA500;
}

.cert-card:hover .cert-card-dots span:nth-child(3) {
    opacity: 0.4;
}

.cert-card:nth-child(1) {
    transition-delay: 0.1s;
}

.cert-card:nth-child(2) {
    transition-delay: 0.2s;
}

.cert-card:nth-child(3) {
    transition-delay: 0.3s;
}

.cert-card:nth-child(4) {
    transition-delay: 0.4s;
}

.cert-card:nth-child(5) {
    transition-delay: 0.5s;
}

.cert-card:nth-child(6) {
    transition-delay: 0.6s;
}

@media (max-width: 1024px) {
    .cert-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cert-left-panel {
        position: relative;
        top: 0;
    }

    .cert-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cert-section {
        padding: 70px 16px;
        margin-top: 50px;
    }

    .cert-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cert-feature-card {
        padding: 32px 24px;
    }

    .cert-feature-title {
        font-size: 30px;
    }

    .cert-stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .cert-cards-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        min-height: 260px;
    }

    .cert-title {
        font-size: 28px;
    }
}

/* Hero Section - Default (Desktop) */
.hero-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Spline viewer fix for all screens */
.hero-section spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 375px) {
    .hero-section {
        height: 32vh;
        width: 100vw;
    }
}

@media (min-width: 376px) and (max-width: 414px) {
    .hero-section {
        height: 34vh;
        width: 100vw;
    }
}

@media (min-width: 415px) and (max-width: 480px) {
    .hero-section {
        height: 36vh;
        width: 100vw;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .hero-section {
        height: 38vh;
        width: 100vw;
    }
}

/* iPad Mini portrait (768px) */
@media (min-width: 768px) and (max-width: 820px) {
    .hero-section {
        height: 42vh;
        width: 100vw;
    }
}

/* iPad Air / iPad 10th gen (820px - 834px) */
@media (min-width: 820px) and (max-width: 834px) {
    .hero-section {
        height: 45vh;
        width: 100vw;
    }
}

/* iPad Pro 11" (834px - 912px) */
@media (min-width: 834px) and (max-width: 912px) {
    .hero-section {
        height: 45vh;
        width: 100vw;
    }
}

/* Surface Pro / larger tablets (912px - 1024px) */
@media (min-width: 912px) and (max-width: 1024px) {
    .hero-section {
        height: 50vh;
        width: 100vw;
    }
}

/* iPad Pro 12.9" (1024px - 1180px) */
@media (min-width: 1024px) and (max-width: 1180px) {
    .hero-section {
        height: 55vh;
        width: 100vw;
    }
}

/* Tablet landscape mode */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        width: 100vw;
    }
}

/* Horizontal scroll card styles */
.dev-process-card>div:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 50px rgba(6, 47, 101, 0.14) !important;
    border-color: #B0D4EB !important;
}

/* Tablet screens (769px - 1024px): same padding as desktop/laptop */
@media (min-width: 769px) and (max-width: 1024px) {
    .dev-process-card {
        padding: 350px 10px 250px 10px !important;
    }

    .dev-process-card>div {
        flex-direction: row !important;
        padding: 50px 40px !important;
        max-width: 900px !important;
    }

    .dev-process-card>div>div:first-of-type {
        width: 120px !important;
        height: 120px !important;
        flex-shrink: 0 !important;
    }

    .dev-process-card>div>div:first-of-type>div>div:first-child {
        font-size: 36px !important;
    }

    .dev-process-card>div>div:last-child>div {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Mobile screens (768px and below) */
@media (max-width: 768px) {
    .dev-process-card {
        padding: 100px 10px 40px 10px !important;
    }

    .dev-process-card>div {
        flex-direction: column !important;
        padding: 30px 20px !important;
    }

    .dev-process-card>div>div:first-of-type {
        width: 80px !important;
        height: 80px !important;
    }

    .dev-process-card>div>div:first-of-type>div>div:first-child {
        font-size: 24px !important;
    }

    .dev-process-card>div>div:last-child>div {
        grid-template-columns: 1fr !important;
    }
}

/* Case Studies Responsive */
@media (max-width: 1024px) {
    #cs-pin-wrapper {
        min-height: 100vh;
    }

    #cs-pin-wrapper>div:nth-child(2) {
        padding: 100px 20px 40px !important;
    }

    #cs-pin-wrapper>div:nth-child(2)>div {
        flex-direction: column !important;
        gap: 30px !important;
    }

    #cs-left-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    .cs-slide-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        padding: 0 !important;
    }

    .cs-slide-content[style*="opacity:0"],
    .cs-slide-content[data-index]:not([data-index="0"]) {
        display: none;
    }

    .cs-slide-content.cs-active-mobile {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Ensure View Project button is always visible on mobile */
    .cs-slide-content.cs-active-mobile a[href="form.html"] {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        margin-top: 16px;
    }

    #cs-center-mockup {
        min-height: 350px !important;
        width: 100% !important;
    }

    #cs-vertical-nav {
        flex-direction: row !important;
        height: auto !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        justify-content: center;
        gap: 20px;
        padding: 20px 0;
    }

    #cs-vertical-nav>div[style*="position:absolute"] {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    .cs-nav-label {
        display: none !important;
    }

    #cs-nav-progress {
        display: none !important;
    }

    #cs-vertical-nav>div:first-child {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #case-studies #cs-pin-wrapper {
        min-height: 100vh;
    }

    #cs-pin-wrapper>div:nth-child(2) {
        padding: 80px 16px 30px !important;
        min-height: 100vh;
    }

    #cs-left-content {
        position: relative !important;
    }

    .cs-slide-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }

    .cs-slide-content h2 {
        font-size: 28px !important;
    }

    .cs-slide-content p {
        font-size: 14px !important;
    }

    .cs-slide-content div[style*="display:flex;align-items:center;gap:24px"] {
        flex-wrap: wrap;
        gap: 16px !important;
    }

    .cs-slide-content div[style*="font-size:36px"] {
        font-size: 28px !important;
    }

    /* Ensure View Project button is visible and properly styled on mobile */
    .cs-slide-content a[href="form.html"] {
        display: inline-flex !important;
        visibility: visible !important;
        padding: 12px 24px !important;
        font-size: 13px !important;
    }

    #cs-center-mockup {
        min-height: 300px !important;
    }

    .cs-mockup-card>div {
        max-width: 100% !important;
    }

    .cs-mockup-card>div>div:last-child {
        width: 100px !important;
        right: -10px !important;
        bottom: -10px !important;
    }

    .cs-mockup-card>div>div:last-child>div>div {
        min-height: 130px !important;
    }

    /* Section header overlay */
    #cs-pin-wrapper>div:last-child {
        padding: 20px 16px 0 !important;
    }

    #cs-pin-wrapper>div:last-child h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 640px) {
    #cs-center-mockup {
        min-height: 280px !important;
    }

    .cs-slide-content h2 {
        font-size: 24px !important;
    }
}

/* Add subtle border to case studies section for separation */
#cs-pin-wrapper {
    border-top: 1px solid #E8EFF4;
    border-bottom: 1px solid #E8EFF4;
}

@media (max-width: 1024px) {
    .cs-inner-wrapper {
        min-height: 100vh !important;
        padding: 100px 20px 40px !important;
        align-items: flex-start !important;
    }

    .cs-flex-container {
        flex-direction: column !important;
        gap: 24px !important;
    }

    #cs-left-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        position: relative !important;
        min-height: auto !important;
    }

    .cs-slide-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }

    #cs-center-mockup {
        width: 100% !important;
        min-height: 350px !important;
        flex: none !important;
    }
}

@media (max-width: 768px) {
    .cs-inner-wrapper {
        padding: 80px 16px 30px !important;
    }

    #cs-center-mockup {
        min-height: 280px !important;
    }

    /* Fix the floating phone mockup on mobile */
    .cs-mockup-card div[style*="position:absolute;bottom:-20px;right:-30px"] {
        right: -10px !important;
        bottom: -10px !important;
        width: 110px !important;
    }
}

@media (max-width: 480px) {
    .cs-inner-wrapper {
        padding: 70px 12px 20px !important;
    }

    #cs-center-mockup {
        min-height: 240px !important;
    }

    .cs-slide-content h2 {
        font-size: 24px !important;
    }

    .cs-slide-content div[style*="font-size:36px"] p {
        font-size: 24px !important;
    }
}

/* ===== Business Challenges Card Styles ===== */
.bc-card {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.bc-card.bc-animate-in {
    opacity: 1;
    transform: translateY(0);
}

.bc-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.bc-card:hover .bc-card-inner {
    transform: rotateY(180deg);
}

.bc-front,
.bc-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.bc-front {
    background: #ffffff;
    border: 1.5px solid #E8EFF4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s ease;
}

.bc-card:hover .bc-front {
    box-shadow: 0 12px 40px rgba(6, 47, 101, 0.12);
}

.bc-back {
    background: linear-gradient(135deg, #062f65 0%, #0a4a9e 50%, #1e6fcf 100%);
    transform: rotateY(180deg);
    box-shadow: 0 12px 40px rgba(6, 47, 101, 0.3);
}

/* Icon Wrappers */
.bc-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.bc-card:hover .bc-icon-wrap {
    transform: scale(1.1);
}

.bc-icon-red {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #062f65;
}

.bc-icon-green {
    background: rgba(255, 255, 255, 0.15);
    color: #B0D4EB;
}

/* Flip Hint */
.bc-flip-hint {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #062f65;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bc-card:hover .bc-flip-hint {
    opacity: 1;
}

.bc-flip-hint i {
    transition: transform 0.3s ease;
}

.bc-card:hover .bc-flip-hint i {
    transform: translateX(4px);
}

/* Stats on back */
.bc-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bc-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bc-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #B0D4EB;
    line-height: 1;
}

.bc-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* CTA Button */
.bc-cta-btn {
    background: linear-gradient(135deg, #062f65, #0a4a9e);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(6, 47, 101, 0.35);
    position: relative;
    overflow: hidden;
}

.bc-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.bc-cta-btn:hover::before {
    left: 100%;
}

.bc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(6, 47, 101, 0.5);
}

/* Stagger delays for animation */
.bc-card[data-delay="0"] {
    transition-delay: 0.05s;
}

.bc-card[data-delay="1"] {
    transition-delay: 0.15s;
}

.bc-card[data-delay="2"] {
    transition-delay: 0.25s;
}

.bc-card[data-delay="3"] {
    transition-delay: 0.35s;
}

.bc-card[data-delay="4"] {
    transition-delay: 0.45s;
}

.bc-card[data-delay="5"] {
    transition-delay: 0.55s;
}

/* Mobile: tap instead of hover for flip */
@media (max-width: 768px) {
    .bc-card {
        height: 360px;
    }

    .bc-card.bc-tapped .bc-card-inner {
        transform: rotateY(180deg);
    }

    .bc-flip-hint span {
        content: 'Tap for solution';
    }
}

@media (max-width: 640px) {
    .bc-card {
        height: 380px;
    }

    .bc-front,
    .bc-back {
        padding: 24px 20px;
    }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(10px);
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #333;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-right: 6px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}