/* ==========================================================================
   JAITON TECHNOLOGIES — Premium Corporate CSS
   Complete design system
   ========================================================================== */

/* ---------- 0. DESIGN TOKENS ---------- */
:root {
    --jt-purple: #8B5CF6;
    --jt-purple-hover: #7C3AED;
    --jt-purple-secondary: #A855F7;
    --jt-purple-light: rgba(139, 92, 246, 0.12);
    --jt-blue: #1F6AFF;
    
    --jt-dark: #0F172A;
    --jt-dark-deep: #080A14;
    --jt-dark-card: #1E293B;

    --jt-white: #FFFFFF;
    --jt-off-white: #F8FAFC;
    --jt-gray-50: #F1F5F9;
    --jt-gray-100: #E2E8F0;
    --jt-gray-200: #CBD5E1;
    --jt-gray-300: #94A3B8;
    --jt-gray-400: #64748B;
    --jt-gray-500: #475569;

    --jt-gradient: linear-gradient(135deg, #8B5CF6, #A855F7);
    --jt-gradient-purple-blue: linear-gradient(135deg, #8B5CF6, #1F6AFF);

    --jt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --jt-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --jt-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
    --jt-shadow-purple: 0 8px 30px rgba(139, 92, 246, 0.25);
    
    --jt-radius: 12px;
    --jt-radius-lg: 16px;
    --jt-radius-xl: 20px;
    --jt-radius-pill: 50px;

    --jt-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --jt-transition-fast: all 0.2s ease;

    --jt-font: 'Inter', 'Poppins', sans-serif;
}

/* ---------- 1. GLOBAL RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--jt-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--jt-gray-500);
    background: var(--jt-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--jt-transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---------- 2. TYPOGRAPHY HELPERS ---------- */
.jt-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--jt-purple);
    margin-bottom: 12px;
}

.jt-section-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--jt-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.jt-text-gradient {
    background: var(--jt-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* ---------- 3. BUTTONS ---------- */
.jt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--jt-transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.jt-btn--primary {
    background: var(--jt-gradient-purple-blue);
    color: var(--jt-white);
    padding: 16px 36px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.jt-btn--primary:hover {
    box-shadow: var(--jt-shadow-purple);
    transform: translateY(-3px);
    color: var(--jt-white);
}

.jt-btn--glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--jt-white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 16px 36px;
}

.jt-btn--glass:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--jt-white);
}

.jt-btn--white {
    background: var(--jt-white);
    color: var(--jt-purple);
    padding: 16px 36px;
}

.jt-btn--white:hover {
    background: var(--jt-off-white);
    color: var(--jt-purple);
}

.jt-btn--outline-white {
    background: transparent;
    border: 1px solid var(--jt-white);
    color: var(--jt-white);
    padding: 16px 36px;
}

.jt-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--jt-white);
}

.jt-btn--sm {
    padding: 10px 20px;
    font-size: 0.82rem;
}

.jt-btn--full {
    width: 100%;
    justify-content: center;
}

/* ---------- 4. NAVIGATION ---------- */
.navbar-jt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 24px 0;
    background: transparent !important;
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid transparent;
}

.navbar-jt.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    transform: translateY(5px);
}

.navbar-jt .navbar-brand {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-right: 0;
}

.navbar-jt .navbar-brand img {
    height: 40px;
    width: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    image-rendering: -webkit-optimize-contrast;
}

.navbar-jt .navbar-nav {
    gap: 16px;
}

.navbar-jt .nav-link { color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px !important;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.navbar-jt .nav-link:hover { color: #7C3AED !important;
    transform: translateY(-2px);
}

.navbar-jt.scrolled .nav-link {
    color: #111827 !important;
}

.navbar-jt.scrolled .nav-link:hover {
    color: #7C3AED !important;
}

/* Animated Underline Effect */
.navbar-jt .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #FFFFFF;
    transition: width 0.3s ease;
}

.navbar-jt.scrolled .nav-link::after {
    background: #7C3AED;
}

.navbar-jt .nav-link:hover::after {
    width: 60%;
}

/* Active State via ScrollSpy */
.navbar-jt .nav-link.active { color: #7C3AED !important;
}

.navbar-jt.scrolled .nav-link.active {
    color: #7C3AED !important;
}

.navbar-jt .nav-link.active::after {
    width: 60%;
}

.navbar-jt.scrolled #mobileMenuToggle {
    color: #0F172A !important;
    border-color: rgba(15, 23, 42, 0.25) !important;
}

.nav-cta-btn {
    background: var(--jt-gradient) !important;
    color: var(--jt-white) !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: var(--jt-radius-pill) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: var(--jt-transition) !important;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    box-shadow: var(--jt-purple-glow) !important;
    transform: translateY(-2px);
}

/* ---------- 5. HERO (.jt-hero) ---------- */
.jt-hero {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jt-hero__image-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.jt-hero__image { width: 100%; height: 100%; background-image: url("../assets/img/hero-capetown-photo.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: scroll; }

.jt-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)); }

.jt-hero__grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridSlide 20s linear infinite;
}

.jt-hero__content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 140px 20px 70px;
    text-align: center;
}

.jt-hero__heading {
    font-size: clamp(2.4rem, 5.4vw, 4.35rem);
    font-weight: 800;
    color: var(--jt-white);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.jt-hero__gradient-text {
    background: linear-gradient(135deg, #A78BFA 0%, #6C4CF1 50%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jt-hero__desc {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.jt-hero__buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.jt-hero__stats {
    position: relative;
    z-index: 5;
    background: rgba(8,12,26,0.62);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 26px 0;
}

.jt-hero__stats .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.jt-hero__stat {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 170px;
    padding: 8px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    transition: var(--jt-transition);
}

.jt-hero__stat:last-child {
    border-right: none;
}

.jt-hero__stat:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.jt-hero__stat-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 14px;
    color: #A78BFA;
    transition: var(--jt-transition);
}

.jt-hero__stat:hover .jt-hero__stat-icon {
    background: linear-gradient(135deg, #A78BFA 0%, #6C4CF1 100%);
    color: var(--jt-white);
    transform: scale(1.08) rotate(6deg);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.jt-hero__stat-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--jt-white);
    display: block;
    line-height: 1.2;
}

.jt-hero__stat-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.70);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

/* ---------- 6. CLIENTS (.jt-clients) ---------- */
.clients-section {
    padding: 48px 0;
    background: var(--jt-white);
    border-bottom: 1px solid var(--jt-gray-100);
}

.clients-title {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jt-gray-300);
    margin-bottom: 32px;
}

.clients-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo {
    height: 32px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--jt-transition);
}

.client-logo:hover {
    opacity: 0.85;
    filter: grayscale(0%);
}

.client-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jt-gray-400);
    opacity: 0.55;
    transition: var(--jt-transition);
    white-space: nowrap;
}

.client-logo-text:hover {
    opacity: 0.85;
    color: var(--jt-dark);
}

/* ---------- 7. SERVICES (.jt-services) ---------- */
.jt-services {
    padding: 100px 0;
    background: var(--jt-white);
    position: relative;
    overflow: hidden;
}

.jt-services__bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(15,23,42,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
}

.jt-services__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.055) 0%, transparent 70%);
    filter: blur(70px);
    z-index: 0;
}

.jt-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.jt-service-card {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    transition: 0.5s;
    height: 100%;
}

.jt-service-card__border {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, #8B5CF6 50%, #1F6AFF 60%, transparent 70%);
    z-index: 0;
    opacity: 0;
    transition: 0.5s;
}

.jt-service-card:hover .jt-service-card__border {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.jt-service-card__glow {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
    filter: blur(30px);
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.jt-service-card:hover .jt-service-card__glow {
    opacity: 1;
}

.jt-service-card__inner {
    position: relative;
    z-index: 1;
    background: var(--jt-white);
    border-radius: 24px;
    padding: 24px;
    height: 100%;
    border: 1px solid rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(16px);
}

.jt-service-card__img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #F1F5F9;
}

.jt-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
}

.jt-service-card:hover .jt-service-card__img {
    transform: scale(1.08);
}

.jt-service-card__icon-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--jt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jt-purple);
    font-size: 1.25rem;
    box-shadow: var(--jt-shadow);
    transition: 0.4s cubic-bezier(0.16,1,0.3,1);
}

.jt-service-card:hover .jt-service-card__icon-badge {
    background: var(--jt-gradient);
    color: var(--jt-white);
    transform: rotate(10deg) scale(1.1);
}

.jt-service-card__title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--jt-dark);
    margin-bottom: 8px;
    transition: var(--jt-transition);
}

.jt-service-card:hover .jt-service-card__title {
    color: var(--jt-purple);
}

.jt-service-card__desc {
    font-size: 0.9rem;
    color: var(--jt-gray-400);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jt-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--jt-purple);
    position: relative;
    width: fit-content;
}

.jt-service-card__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--jt-purple);
    transition: width 0.3s ease;
}

.jt-service-card:hover .jt-service-card__link::after {
    width: 100%;
}

.jt-service-card__link i {
    transition: transform 0.3s ease;
}

.jt-service-card:hover .jt-service-card__link i {
    transform: translateX(4px);
}


/* ---------- 8. ABOUT (.jt-about) ---------- */
.jt-about {
    padding: 100px 0;
    background: var(--jt-white);
}

.jt-about__img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--jt-shadow-lg);
}

.jt-about__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.jt-about__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--jt-gradient);
    color: var(--jt-white);
    padding: 16px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.jt-about__text {
    font-size: 0.92rem;
    color: var(--jt-gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.jt-about__feature {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.jt-about__feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--jt-purple-light);
    color: var(--jt-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.jt-about__counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--jt-off-white);
    border-radius: 16px;
    border: 1px solid var(--jt-gray-100);
}

.jt-about__counter {
    text-align: center;
}

.jt-about__counter-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--jt-purple);
    line-height: 1.2;
}

.jt-about__counter-label {
    font-size: 0.75rem;
    color: var(--jt-gray-400);
}

/* ---------- 9. INDUSTRIES (.jt-industries-hover-section) ---------- */
.jt-industries-hover-section {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Subtle background effects */
.jt-industries-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}
.jt-industries-bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    filter: blur(100px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.jt-blob-1 { top: -100px; left: -150px; }
.jt-blob-2 { bottom: -100px; right: -150px; }

/* Grid Layout */
.jt-hover-cards-grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* Base Card (White Default State) */
.jt-hover-card {
    flex: 1;
    height: 440px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 600ms ease-in-out, box-shadow 600ms ease-in-out, border-color 600ms ease-in-out;
}

/* Hover Animation applied to Card */
.jt-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(124,58,237,0.25);
    border-color: rgba(124,58,237,0.45);
}

/* Background Image Layer (Hidden Default) */
.jt-hover-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 600ms ease-in-out;
}

.jt-hover-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 600ms ease-in-out;
}

.jt-hover-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.65));
}

.jt-hover-card:hover .jt-hover-card__bg {
    opacity: 1;
}

.jt-hover-card:hover .jt-hover-card__img {
    transform: scale(1.08);
}

/* Content Layer */
.jt-hover-card__content {
    padding: 30px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Icon (Outline Default -> Glass Hover) */
.jt-hover-card__icon {
    width: 50px;
    height: 50px;
    border: 1px solid #7C3AED;
    color: #7C3AED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: auto; /* pushes icon to top, but content is flex-end? wait, if margin-bottom: auto it goes to top */
    transition: all 600ms ease-in-out;
    background: transparent;
}

.jt-hover-card:hover .jt-hover-card__icon {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-color: transparent;
    color: #FFFFFF;
}

/* Text Elements */
.jt-hover-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    transition: color 600ms ease-in-out;
}

.jt-hover-card:hover .jt-hover-card__title {
    color: #FFFFFF;
}

.jt-hover-card__desc {
    font-size: 0.95rem;
    color: #4B5563; /* Tailwind gray-600 */
    line-height: 1.5;
    margin-bottom: 0;
    transition: color 600ms ease-in-out, transform 600ms ease-in-out;
}

.jt-hover-card:hover .jt-hover-card__desc {
    color: rgba(255,255,255,0.9);
    transform: translateY(-5px); /* Move description upward */
}

/* Button (Hidden Default -> Slide/Fade Hover) */
.jt-hover-card__btn {
    display: inline-block;
    margin-top: 15px;
    color: #A855F7;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 600ms ease-in-out;
    pointer-events: none;
    position: absolute; /* Position it out of standard flow so it doesn't add height by default */
    bottom: 25px; 
}

.jt-hover-card:hover .jt-hover-card__btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative; /* Brings it back into flow */
    bottom: auto;
}

.jt-hover-card__btn:hover {
    color: #FFFFFF;
    text-decoration: underline;
}


/* ---------- 10. FEATURED PORTFOLIO ---------- */
.jt-featured-portfolio {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.jt-fp-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(124,58,237,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124,58,237,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.jt-fp-blur {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    filter: blur(150px);
    opacity: 0.04;
    border-radius: 50%;
    top: 20%;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.jt-fp-showcase {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
    position: relative;
    z-index: 2;
}

/* Content Left Side */
.jt-fp-content {
    transition: opacity 500ms ease, transform 500ms ease;
}

.jt-fp-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124,58,237,0.08);
    color: #7C3AED;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.jt-fp-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.2;
}

.jt-fp-desc {
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.jt-fp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.jt-fp-features li {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.jt-fp-features i {
    color: #7C3AED;
    font-size: 1.2rem;
    margin-right: 12px;
}

.jt-btn--outline-gray {
    background: transparent;
    color: #4B5563;
    border: 1px solid #D1D5DB;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.jt-btn--outline-gray:hover {
    border-color: #7C3AED;
    color: #7C3AED;
    background: rgba(124,58,237,0.04);
}

/* Navigation */
.jt-fp-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jt-fp-nav-btn:hover {
    border-color: #7C3AED;
    color: #7C3AED;
    background: rgba(124,58,237,0.05);
    box-shadow: 0 4px 15px rgba(124,58,237,0.1);
}

.jt-fp-nav-btn i {
    transition: transform 0.3s ease;
}

#jt-fp-prev:hover i { transform: translateX(-3px); }
#jt-fp-next:hover i { transform: translateX(3px); }

.jt-fp-nav-dots {
    display: flex;
    gap: 8px;
}

.jt-fp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jt-fp-dot.active {
    background: #7C3AED;
    transform: scale(1.3);
}

/* Image Right Side */
.jt-fp-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: opacity 500ms ease, transform 500ms ease;
}

.jt-fp-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.5s ease;
}

.jt-fp-image-wrap:hover .jt-fp-image {
    transform: scale(1.04);
}

/* Animations */
.fp-fading-out-left {
    opacity: 0;
    transform: translateX(-20px);
}
.fp-fading-out-right {
    opacity: 0;
    transform: translateX(20px);
}
.fp-fading-in-left {
    animation: fpFadeInLeft 500ms ease forwards;
}
.fp-fading-in-right {
    animation: fpFadeInRight 500ms ease forwards;
}

@keyframes fpFadeInLeft {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes fpFadeInRight {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ---------- 11. CASE STUDIES (.jt-case-studies) ---------- */
.jt-case-studies {
    padding: 100px 0;
    background: #071238;
    position: relative;
    overflow: hidden;
}

.jt-case-studies__bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridSlide 20s linear infinite;
    z-index: 0;
}

.jt-case-studies__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.jt-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(139,92,246,0.4);
    animation: particleFloat 10s infinite;
}
.jt-particle:nth-child(1) { left: 10%; top: 100%; animation-duration: 8s; }
.jt-particle:nth-child(2) { left: 30%; top: 100%; animation-duration: 12s; animation-delay: 2s; }
.jt-particle:nth-child(3) { left: 50%; top: 100%; animation-duration: 9s; animation-delay: 1s; }
.jt-particle:nth-child(4) { left: 70%; top: 100%; animation-duration: 15s; animation-delay: 3s; }
.jt-particle:nth-child(5) { left: 85%; top: 100%; animation-duration: 11s; animation-delay: 0.5s; }
.jt-particle:nth-child(6) { left: 95%; top: 100%; animation-duration: 14s; animation-delay: 4s; }

.jt-case-studies .container {
    position: relative;
    z-index: 2;
}

.jt-case-studies__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.jt-case-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: 0.5s;
    position: relative;
}

.jt-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 50px rgba(139,92,246,0.15);
}

.jt-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--jt-gradient);
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.jt-case-card:hover::before {
    opacity: 1;
}

.jt-case-card__img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.jt-case-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.jt-case-card:hover .jt-case-card__img {
    transform: scale(1.05);
}

.jt-case-card__content {
    padding: 28px;
}

.jt-case-card__client {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.jt-case-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--jt-white);
    margin-bottom: 16px;
}

.jt-case-card__meta-item {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
    line-height: 1.6;
}

.jt-case-card__meta-item strong {
    color: rgba(255,255,255,0.9);
}

.jt-case-card__tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.jt-case-card__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
}

.jt-case-card__result {
    text-align: center;
}

.jt-case-card__result-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #A78BFA;
    display: block;
}

.jt-case-card__result-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}

.jt-case-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #A78BFA;
    margin-top: 16px;
    transition: 0.3s;
}

.jt-case-card__link:hover {
    color: var(--jt-white);
    gap: 10px;
}

/* ---------- 12. CONTACT (.jt-contact) ---------- */
.jt-contact {
    padding: 100px 0;
    background: var(--jt-off-white);
    position: relative;
}

.jt-contact__mesh-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(139,92,246,0.05), transparent 50%), 
                radial-gradient(ellipse at 80% 50%, rgba(31,106,255,0.04), transparent 50%);
    z-index: 0;
}

.jt-contact .container {
    position: relative;
    z-index: 2;
}

.jt-contact__desc {
    font-size: 0.92rem;
    color: var(--jt-gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.jt-contact__details {
    margin-top: 32px;
}

.jt-contact__detail {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: center;
}

.jt-contact__detail i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--jt-purple-light);
    color: var(--jt-purple);
    font-size: 1.1rem;
}

.jt-contact__social {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.jt-contact__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jt-gray-200);
    border-radius: 50%;
    color: var(--jt-gray-500);
    transition: var(--jt-transition);
}

.jt-contact__social a:hover {
    background: var(--jt-gradient);
    color: var(--jt-white);
    border-color: transparent;
}

.jt-contact__form-card {
    background: var(--jt-white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--jt-gray-100);
    box-shadow: var(--jt-shadow-lg);
}

.jt-form-group {
    position: relative;
    margin-bottom: 20px;
}

.jt-form-input,
.jt-form-textarea,
.jt-form-select {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--jt-gray-200);
    border-radius: 12px;
    font-size: 0.9rem;
    background: var(--jt-white);
    transition: 0.3s;
    font-family: inherit;
    color: var(--jt-dark);
}

.jt-form-input:focus,
.jt-form-textarea:focus,
.jt-form-select:focus {
    border-color: var(--jt-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
    outline: none;
}

.jt-form-label {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 0.9rem;
    color: var(--jt-gray-400);
    transition: 0.25s;
    pointer-events: none;
    background: transparent;
}

.jt-form-input:focus + .jt-form-label,
.jt-form-input:not(:placeholder-shown) + .jt-form-label,
.jt-form-textarea:focus + .jt-form-label,
.jt-form-textarea:not(:placeholder-shown) + .jt-form-label {
    top: -10px;
    left: 14px;
    font-size: 0.72rem;
    color: var(--jt-purple);
    background: var(--jt-white);
    padding: 0 6px;
}

.jt-form-textarea {
    min-height: 130px;
    resize: vertical;
}

/* ---------- 13. CTA (.jt-cta) ---------- */
.jt-cta {
    padding: 0 0 90px;
    background: var(--jt-white);
}

.jt-cta__banner {
    background: var(--jt-gradient);
    border-radius: 20px;
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.jt-cta__banner::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.jt-cta__content {
    position: relative;
    z-index: 2;
}

.jt-cta__banner h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--jt-white);
    margin-bottom: 8px;
}

.jt-cta__banner p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.jt-cta__buttons {
    display: flex;
    gap: 14px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ---------- 14. FOOTER ---------- */
.footer-section {
    background: #111827;
    padding: 70px 0 0 0;
    color: #CBD5E1;
}

.footer-brand-col .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand-col .footer-desc {
    font-size: 0.82rem;
    color: #D1D5DB;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #D1D5DB;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--jt-gradient);
    border-color: transparent;
    color: var(--jt-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.footer-col-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--jt-white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 0.82rem;
    color: #D1D5DB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background: var(--jt-gradient);
    border-radius: 2px;
    transition: width 0.3s ease, margin-right 0.3s ease;
    margin-right: 0;
}

.footer-links li a:hover {
    color: #A78BFA;
    padding-left: 0;
}

.footer-links li a:hover::before {
    width: 12px;
    margin-right: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-contact-icon {
    color: var(--jt-purple);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 0.82rem;
    color: #D1D5DB;
    line-height: 1.5;
}

.footer-contact-text a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: #A78BFA;
}

.jt-footer__newsletter {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.jt-footer__newsletter-input {
    display: flex;
    gap: 0;
}

.jt-footer__newsletter-input input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 50px 0 0 50px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: var(--jt-white);
    font-size: 0.85rem;
    outline: none;
}

.jt-footer__newsletter-input button {
    padding: 12px 24px;
    border-radius: 0 50px 50px 0;
    border: none;
    background: var(--jt-gradient);
    color: var(--jt-white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--jt-transition);
}

.jt-footer__newsletter-input button:hover {
    box-shadow: var(--jt-shadow-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-left {
    font-size: 0.78rem;
    color: #9CA3AF;
}

.footer-bottom-center {
    font-size: 0.78rem;
    color: #9CA3AF;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

.footer-bottom-right a {
    font-size: 0.78rem;
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #A78BFA;
}

/* ---------- 15. SCROLL ANIMATIONS ---------- */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-20px);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

[data-gsap] {
    opacity: 0;
}

/* ---------- 16. MISC ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jt-gradient);
    color: var(--jt-white);
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: var(--jt-shadow-purple);
    opacity: 0;
    visibility: hidden;
    transition: var(--jt-transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--jt-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.45));
}

.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 620px;
    background: var(--jt-dark);
    border: 1px solid var(--jt-border-light);
    border-radius: var(--jt-radius-lg);
    padding: 24px 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    bottom: 24px;
}

.cookie-banner p {
    font-size: 0.82rem;
    color: var(--jt-gray-300);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-banner .btn-sm {
    padding: 8px 20px;
    border-radius: var(--jt-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- 17. ANIMATED BACKGROUNDS ---------- */
@keyframes gridSlide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes borderRotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ---------- 18. SERVICES PAGE STYLES ---------- */
.services-page-hero {
    background: linear-gradient(135deg, #0A1128 0%, #15224F 50%, #0F172A 100%), url('../assets/img/services-hero-bg.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.services-hero-content {
    position: relative;
    z-index: 2;
}

.services-hero-badge {
    display: inline-block;
    background: #E83E8C;
    color: #FFF;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.zigzag-section {
    padding: 100px 0;
}

.zigzag-section:nth-child(even) {
    background: #EAF0FF;
}

.zigzag-section:nth-child(odd) {
    background: #F3F6F9;
}

.zigzag-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F6AFF;
    margin-bottom: 20px;
}

.zigzag-section-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.feature-mini-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px 20px;
    font-weight: 600;
    color: #111;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(31, 106, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.15);
    border-color: #1F6AFF;
    color: #1F6AFF;
}

.zigzag-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    object-fit: cover;
}

.zigzag-section:target {
    position: relative;
    box-shadow: inset 0 0 0 3px #1F6AFF;
}

/* ---------- ABOUT US PAGE ---------- */
.about-stats-container {
    background-color: #faf5ff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 30px;
}
.about-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
}
.core-value-card {
    transition: all 0.3s ease;
}
.core-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}
.core-value-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 14px;
}
.about-image-wrapper {
    transition: transform 0.4s ease;
}
.about-image-wrapper:hover {
    transform: scale(1.02);
}
















/* ---------- 10. FEATURED PORTFOLIO ---------- */
.jt-featured-portfolio {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.jt-fp-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(124,58,237,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124,58,237,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.jt-fp-blur {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    filter: blur(150px);
    opacity: 0.04;
    border-radius: 50%;
    top: 20%;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.jt-fp-showcase {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
    position: relative;
    z-index: 2;
}

/* Content Left Side */
.jt-fp-content {
    transition: opacity 500ms ease, transform 500ms ease;
}

.jt-fp-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124,58,237,0.08);
    color: #7C3AED;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.jt-fp-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.2;
}

.jt-fp-desc {
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.jt-fp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.jt-fp-features li {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.jt-fp-features i {
    color: #7C3AED;
    font-size: 1.2rem;
    margin-right: 12px;
}

.jt-btn--outline-gray {
    background: transparent;
    color: #4B5563;
    border: 1px solid #D1D5DB;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.jt-btn--outline-gray:hover {
    border-color: #7C3AED;
    color: #7C3AED;
    background: rgba(124,58,237,0.04);
}

/* Navigation */
.jt-fp-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jt-fp-nav-btn:hover {
    border-color: #7C3AED;
    color: #7C3AED;
    background: rgba(124,58,237,0.05);
    box-shadow: 0 4px 15px rgba(124,58,237,0.1);
}

.jt-fp-nav-btn i {
    transition: transform 0.3s ease;
}

#jt-fp-prev:hover i { transform: translateX(-3px); }
#jt-fp-next:hover i { transform: translateX(3px); }

.jt-fp-nav-dots {
    display: flex;
    gap: 8px;
}

.jt-fp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jt-fp-dot.active {
    background: #7C3AED;
    transform: scale(1.3);
}

/* Image Right Side */
.jt-fp-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: opacity 500ms ease, transform 500ms ease;
}

.jt-fp-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.5s ease;
}

.jt-fp-image-wrap:hover .jt-fp-image {
    transform: scale(1.04);
}

/* Animations */
.fp-fading-out-left {
    opacity: 0;
    transform: translateX(-20px);
}
.fp-fading-out-right {
    opacity: 0;
    transform: translateX(20px);
}
.fp-fading-in-left {
    animation: fpFadeInLeft 500ms ease forwards;
}
.fp-fading-in-right {
    animation: fpFadeInRight 500ms ease forwards;
}

@keyframes fpFadeInLeft {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes fpFadeInRight {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ---------- 11.5 CLIENT REVIEWS (.jt-reviews) ---------- */
.jt-reviews {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.jt-reviews__bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
      radial-gradient(rgba(124,58,237,0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.jt-reviews__blur {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    filter: blur(120px);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}
.jt-reviews__blur-1 { top: -50px; left: -100px; }
.jt-reviews__blur-2 { bottom: -50px; right: -100px; }

/* Grid Layout */
.jt-reviews__grid {
    display: flex;
    gap: 30px;
    width: 100%;
}

/* Testimonial Card */
.jt-review-card {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.jt-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124,58,237,0.15);
    border-color: rgba(124,58,237,0.3);
}

/* Quote Background Icon */
.jt-review-card__quote-bg {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    line-height: 1;
    color: #7C3AED;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Stars */
.jt-review-card__stars {
    color: #F59E0B; /* Gold */
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.jt-review-card__stars i {
    margin-right: 4px;
}

/* Text */
.jt-review-card__text {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* Author Section */
.jt-review-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.jt-review-card__img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E5E7EB;
    transition: transform 0.4s ease;
}

.jt-review-card:hover .jt-review-card__img {
    transform: scale(1.05);
    border-color: #A855F7;
}

.jt-review-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.jt-review-card__company {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

/* CTA Box */
.jt-reviews__cta-box {
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.jt-reviews__cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.jt-reviews__cta-text {
    font-size: 1.05rem;
    color: #4B5563;
    margin-bottom: 30px;
}

/* Pill Button */
.jt-btn--gradient-pill {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}

.jt-btn--gradient-pill:hover {
    background: linear-gradient(135deg, #6D28D9, #9333EA);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124,58,237,0.4);
    color: #FFFFFF;
}

.jt-btn--gradient-pill i {
    transition: transform 0.3s ease;
}

.jt-btn--gradient-pill:hover i {
    transform: translateX(5px);
}


@keyframes jtFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- PORTFOLIO HEADER ANIMATIONS ---------- */
.jt-port-header-wrap {
    animation: jtPortFadeUp 0.8s ease-out forwards;
}

@keyframes jtPortFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.jt-port-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    background: #7C3AED;
    filter: blur(60px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.jt-port-badge {
    background: #FFFFFF;
    border: 1px solid rgba(124,58,237,0.2);
    color: #7C3AED;
    font-weight: 600;
    animation: jtBadgeScale 0.8s ease-out forwards;
    display: inline-block;
}

@keyframes jtBadgeScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.jt-port-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
    animation: jtLetterReveal 0.8s ease-out forwards;
    transition: all 0.3s ease;
    cursor: default;
}

@keyframes jtLetterReveal {
    from { letter-spacing: 2px; opacity: 0; }
    to { letter-spacing: normal; opacity: 1; }
}

.jt-port-heading:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 20px rgba(124,58,237,0.15);
}

.jt-port-heading:hover .jt-port-highlight {
    background: linear-gradient(135deg, #8B5CF6, #C084FC); /* Brighten slightly */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.jt-port-highlight {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.jt-port-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    background: linear-gradient(90deg, #7C3AED, #A855F7);
    border-radius: 4px;
    animation: jtUnderlineGrow 0.6s ease-out 0.2s forwards;
    width: 0; /* starts at 0 */
}

@keyframes jtUnderlineGrow {
    from { width: 0; }
    to { width: 80px; }
}

.jt-port-desc {
    color: #6B7280;
    font-size: 1.05rem;
}






/* ==========================================================================
   INDUSTRIES REDESIGN
   ========================================================================== */
.jt-industry-redesign {
    position: relative;
    max-width: 1320px;
    margin: auto;
    padding: 90px 15px;
    background-color: #ffffff;
    z-index: 1;
}

.jt-industry-redesign::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Decorative Background Effects */
.jt-industry-blob-1, .jt-industry-blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #7C3AED;
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}
.jt-industry-blob-1 { top: -100px; left: -100px; }
.jt-industry-blob-2 { bottom: -100px; right: -100px; }

/* Header */
.jt-ind-label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #7C3AED;
    margin-bottom: 15px;
}
.jt-ind-heading {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 20px;
}
.jt-ind-highlight {
    background: linear-gradient(90deg, #7C3AED, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.jt-ind-desc {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    line-height: 1.8;
    color: #6B7280;
}
.jt-ind-header-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
.jt-ind-header-flex .jt-ind-desc-container {
    flex: 1;
    min-width: 300px;
}
.jt-ind-header-flex .jt-ind-link-container {
    margin-bottom: 10px;
}
.jt-ind-view-all {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.jt-ind-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.jt-ind-view-all:hover i {
    transform: translateX(5px);
}

/* Grid */
.jt-ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .jt-ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .jt-ind-grid { grid-template-columns: 1fr; }
    .jt-ind-heading { font-size: 38px; }
}

/* Card Styling */
.jt-ind-card {
    position: relative;
    height: 460px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #ECECEC;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.jt-ind-card:hover {
    transform: translateY(-10px);
    border-color: #7C3AED;
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.18);
}

.jt-ind-card-img-wrap {
    position: relative;
    height: 240px;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.jt-ind-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jt-ind-card:hover .jt-ind-card-img {
    transform: scale(1.08);
}

/* Floating Icon */
.jt-ind-card-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 58px;
    height: 58px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    color: #7C3AED;
    font-size: 24px;
    z-index: 2;
}

/* Category Badge */
.jt-ind-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #7C3AED;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jt-ind-card:hover .jt-ind-card-badge {
    transform: translateY(-4px) scale(1.05);
}

/* Card Content */
.jt-ind-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jt-ind-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.jt-ind-card:hover .jt-ind-card-title {
    color: #7C3AED;
}

.jt-ind-card-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #6B7280;
    margin-bottom: auto;
}

/* Learn More Link */
.jt-ind-card-link {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    text-decoration: none;
}

.jt-ind-card-link i {
    margin-left: 6px;
    transition: transform 0.4s ease;
}

.jt-ind-card:hover .jt-ind-card-link i {
    transform: translateX(8px);
}
/* ==========================================================================
   INDUSTRIES REDESIGN V2 (Centered Header)
   ========================================================================== */
.jt-ind-header-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}
.jt-ind-top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}
.jt-ind-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #7C3AED;
    margin: 0;
}
.jt-ind-view-all-absolute {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}
.jt-ind-view-all-absolute i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.jt-ind-view-all-absolute:hover i {
    transform: translateX(5px);
}
.jt-ind-heading {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 20px;
    text-align: center;
}
.jt-ind-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #6B7280;
    text-align: center;
}

@media (max-width: 991px) {
    .jt-ind-view-all-absolute {
        position: static;
        transform: none;
        margin-top: 20px;
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }
    .jt-ind-top-bar {
        flex-direction: column;
    }
}

/* ==========================================================================
   PORTFOLIO REDESIGN (6-Column Grid)
   ========================================================================== */
.jt-recent-projects {
    position: relative;
    padding: 90px 0;
    background-color: #ffffff;
}

/* Header */
.jt-port-header-wrapper {
    position: relative;
    margin-bottom: 40px;
}
.jt-port-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.jt-port-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #7C3AED;
    margin: 0;
}
.jt-port-view-all {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}
.jt-port-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.jt-port-view-all:hover i {
    transform: translateX(5px);
}
.jt-port-heading {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin: 0;
}

/* Grid Layout */
.jt-port-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1199px) {
    .jt-port-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .jt-port-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .jt-port-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .jt-port-grid { grid-template-columns: 1fr; }
}

/* Card Styling */
.jt-port-card {
    position: relative;
    height: 320px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #ECECEC;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.jt-port-card:hover {
    transform: translateY(-10px);
    border-color: #7C3AED;
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.18);
}

.jt-port-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
    z-index: 3;
    pointer-events: none;
}
.jt-port-card:hover::before {
    left: 150%;
}

.jt-port-img-wrap {
    position: relative;
    height: 190px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.jt-port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jt-port-card:hover .jt-port-img {
    transform: scale(1.08);
}

/* Floating Icon */
.jt-port-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #7C3AED;
    font-size: 16px;
    z-index: 2;
}

/* Content Area */
.jt-port-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Category Badge (Text below image) */
.jt-port-badge {
    color: #7C3AED;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jt-port-card:hover .jt-port-badge {
    transform: translateY(-2px);
}

.jt-port-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.jt-port-card:hover .jt-port-title {
    color: #7C3AED;
}

.jt-port-desc {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* ==========================================================================
   PORTFOLIO REDESIGN (V2 - Strict Dimensions)
   ========================================================================== */
.jt-port2-section {
    position: relative;
    padding: 90px 0 70px 0;
    background-color: #ffffff;
}

.jt-port2-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.jt-port2-container {
    max-width: 1600px;
    margin: auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Header */
.jt-port2-header {
    margin-bottom: 40px;
}
.jt-port2-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.jt-port2-label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #7C3AED;
    margin: 0;
}
.jt-port2-view-all {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}
.jt-port2-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.jt-port2-view-all:hover i {
    transform: translateX(6px);
}
.jt-port2-heading {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    color: #111827;
    margin: 0;
}
.jt-port2-highlight {
    color: #7C3AED;
}

/* Grid Layout */
.jt-port2-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

@media (max-width: 1300px) {
    .jt-port2-grid { grid-template-columns: repeat(6, 1fr); }
    .jt-port2-heading { font-size: 46px; }
}
@media (max-width: 1100px) {
    .jt-port2-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .jt-port2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .jt-port2-grid { grid-template-columns: 1fr; }
}

/* Card Styling */
.jt-port2-card {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #ECECEC;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.45s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.jt-port2-card:hover {
    transform: translateY(-8px);
    border-color: #7C3AED;
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.15);
}

.jt-port2-img-wrap {
    position: relative;
    height: 170px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.jt-port2-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.jt-port2-card:hover .jt-port2-img {
    transform: scale(1.05);
}

/* Floating Icon */
.jt-port2-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    color: #7C3AED;
    font-size: 24px;
    z-index: 2;
    transition: all 0.45s ease;
}

.jt-port2-card:hover .jt-port2-icon {
    transform: rotate(8deg) scale(1.08);
}

/* Content Area */
.jt-port2-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jt-port2-category {
    color: #7C3AED;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: transform 0.45s ease;
}

.jt-port2-card:hover .jt-port2-category {
    transform: translateX(5px);
}

.jt-port2-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    transition: color 0.45s ease;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jt-port2-card:hover .jt-port2-title {
    color: #7C3AED;
}

.jt-port2-desc {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* GSAP Animations Custom classes */
.fade-up-gsap {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUpAnim 0.6s ease forwards;
}

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


/* ==========================================================================
   WHAT WE DO SECTION (New)
   ========================================================================== */
.jt-wwd-section {
    position: relative;
    padding: 90px 20px;
    background-color: #ffffff;
}

.jt-wwd-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.jt-wwd-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.jt-wwd-header {
    margin-bottom: 50px;
}
.jt-wwd-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.jt-wwd-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #7C3AED;
    margin: 0;
}
.jt-wwd-view-all {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.3s ease;
}
.jt-wwd-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.jt-wwd-view-all:hover i {
    transform: translateX(5px);
}
.jt-wwd-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 15px 0;
    max-width: 600px;
}
.jt-wwd-highlight {
    color: #7C3AED;
}
.jt-wwd-desc {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
    max-width: 700px;
}

@media (max-width: 767px) {
    .jt-wwd-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .jt-wwd-heading {
        font-size: 36px;
    }
}

/* Grid Layout */
.jt-wwd-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1199px) {
    .jt-wwd-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .jt-wwd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .jt-wwd-grid { grid-template-columns: 1fr; }
}

/* Card Styling */
.jt-wwd-card {
    position: relative;
    height: 260px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #ECECEC;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 26px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.jt-wwd-card:hover {
    transform: translateY(-10px);
    border-color: #7C3AED;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    background-color: #FCFAFF;
}

/* Icon */
.jt-wwd-icon-wrap {
    width: 56px;
    height: 56px;
    background: #F7F3FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C3AED;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.jt-wwd-card:hover .jt-wwd-icon-wrap {
    transform: rotate(8deg) scale(1.08);
}

/* Card Content */
.jt-wwd-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.jt-wwd-text {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 auto 0;
    line-height: 1.6;
}

/* Learn More */
.jt-wwd-link {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.jt-wwd-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.jt-wwd-card:hover .jt-wwd-link i {
    transform: translateX(5px);
}

/* Entrance Animations */



}
/* WHAT WE DO STRUCTURE FIX */
.what-we-do {
    padding: 80px 0;
    margin: 0;
    min-height: auto;
    background-color: #ffffff;
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.what-we-do .container {
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.what-we-do .section-header {
    margin-bottom: 60px;
}

.what-we-do .section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #7C3AED;
    margin-bottom: 15px;
}

.what-we-do h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 15px 0;
    max-width: 600px;
}

.what-we-do h2 span {
    color: #7C3AED;
}

.what-we-do p {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
    max-width: 700px;
}

.service-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1199px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .what-we-do h2 { font-size: 36px; }
}
@media (max-width: 767px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .service-grid { grid-template-columns: 1fr; }
}
.wwd-view-all {
    display: inline-flex;
    align-items: center;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-bottom: 25px; /* Align visually with heading */
}
.wwd-view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.wwd-view-all:hover i {
    transform: translateX(6px);
}
@media (max-width: 767px) {
    .what-we-do .section-header > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    .wwd-view-all { margin-bottom: 0; }
}
.what-we-do .container {
    max-width: 1600px !important;
    padding: 0 40px;
}
.what-we-do .section-header {
    margin-bottom: 30px !important;
}
.wwd-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
}
.wwd-view-all {
    margin-bottom: 0 !important;
}
.service-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
}
.jt-wwd-card {
    height: 300px !important; /* give enough room for text without looking squished */
    padding: 24px 20px !important;
}
.jt-wwd-title {
    font-size: 16px !important;
}
.jt-wwd-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
}
.jt-wwd-card {
    height: 340px !important;
    padding: 30px 24px !important;
}
.jt-wwd-title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
}
.jt-wwd-text {
    font-size: 14px !important;
}



.what-we-do::before {
    display: none !important; /* Remove grid to match 1st image */
}
.what-we-do {
    background: #ffffff !important;
}
.what-we-do .container {
    max-width: 1400px !important; /* Revert to 1400px to make cards narrower and taller like 1st image */
}
.wwd-header-flex {
    align-items: flex-end !important; /* Align 'View All Services' to the bottom of the heading */
}
.jt-wwd-card {
    height: 380px !important; /* Make cards taller */
    padding: 35px 25px !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border-radius: 12px !important;
}
.jt-wwd-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08) !important;
}
/* Recreate the blurry icon background */
.jt-wwd-icon-wrap {
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    border-radius: 50% !important;
    position: relative;
    z-index: 1;
}
.jt-wwd-icon-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    filter: blur(8px); /* Soft purple blob */
    z-index: -1;
}
.jt-wwd-icon-wrap i {
    font-size: 26px !important;
    color: #7C3AED !important;
    font-weight: 300 !important;
}
.jt-wwd-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}
.jt-wwd-text {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: #6B7280 !important;
}
.wwd-view-all {
    margin-bottom: 15px !important; /* Fine tune alignment with the bottom line of text */
    font-size: 14px !important;
}
.what-we-do .container {
    max-width: 1500px !important; 
}
.jt-wwd-card {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 25px 22px !important;
    isolation: isolate; /* Creates stacking context so z-index: -1 stays inside card */
}
.jt-wwd-icon-wrap::before {
    z-index: -1 !important; /* Now it will render correctly behind the icon but above the card background */
}
.jt-wwd-title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}
.jt-wwd-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 0 auto 0 !important;
}
.jt-wwd-icon-wrap {
    margin-bottom: 15px !important;
}
.what-we-do .container {
    max-width: 1400px !important; 
    padding: 0 20px;
}
.what-we-do .section-header {
    margin-bottom: 40px !important;
}
.what-we-do h2 {
    font-size: 38px !important; /* Smaller so it never wraps */
    white-space: nowrap !important; /* Prevent wrapping */
}
.wwd-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end !important;
}
.service-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 18px !important; /* Slightly tighter gap */
}
.jt-wwd-card {
    height: 360px !important; /* Exact tall rectangular height from reference */
    aspect-ratio: auto !important; /* Remove the square override */
    padding: 30px 22px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Group content at top */
    isolation: isolate !important;
}
.jt-wwd-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(124, 58, 237, 0.15) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1) !important;
}
.jt-wwd-icon-wrap {
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Align icon to left inside its wrap */
}
.jt-wwd-icon-wrap i {
    font-size: 32px !important; /* Slightly bigger icon */
    color: #7C3AED !important;
    font-weight: 300 !important;
}
.jt-wwd-icon-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 16px; /* Offset to center under the left-aligned icon */
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1 !important;
}
.jt-wwd-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    color: #111827 !important;
}
.jt-wwd-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #6B7280 !important;
    margin: 0 0 auto 0 !important; /* Pushes the 'Learn More' link down */
}
.wwd-view-all {
    margin-bottom: 10px !important;
}
.what-we-do .container {
    max-width: 1700px !important; /* Widen container to fill left and right space */
    padding: 0 40px !important;
}
.what-we-do h2 {
    font-size: 48px !important; /* Increase heading size since there is more room now */
}
.jt-wwd-card {
    height: auto !important; 
    aspect-ratio: 1 / 1 !important; /* Force perfect squares */
    padding: 32px 25px !important;
}
.jt-wwd-icon-wrap {
    margin-bottom: 25px !important;
}
.jt-wwd-card {
    height: 100% !important; /* Stretches to match the tallest card in the row */
    aspect-ratio: auto !important; /* Remove strict aspect ratio so they don't break if content is too tall */
    padding: 35px 25px !important;
}
.jt-wwd-icon-wrap {
    margin-bottom: 25px !important;
}

/* TRUSTED COMPANIES SECTION */
.trusted-companies {
    background: #ffffff;
    width: 100%;
    padding: 40px 0;
    border-bottom: 1px solid #F3F4F6;
}
.trusted-companies .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.trusted-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7C3AED;
    margin-bottom: 32px;
    text-align: center;
}
.trusted-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
}
.trusted-logos img, .company-logo {
    height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    transition: transform 0.3s ease !important;
}
.trusted-logos img:hover, .company-logo:hover {
    transform: translateY(-3px) scale(1.05) !important;
}

@media (max-width: 1024px) {
    .trusted-logos {
        flex-wrap: wrap;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .trusted-logos {
        gap: 30px;
    }
    .company-logo {
        height: 32px;
    }
}

/* REVIEWS & CTA SECTION */
.jt-reviews-cta {
    background: #ffffff;
    padding: 90px 0;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.reviews-header {
    max-width: 700px;
    margin: 0 auto;
}
.reviews-label {
    display: block;
    color: #7C3AED;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.reviews-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 16px;
}
.reviews-desc {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
}

/* Review Cards */
.review-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ECECEC;
    padding: 35px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}
.review-stars {
    color: #F59E0B;
    font-size: 20px;
    margin-bottom: 15px;
}
.review-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: rgba(124, 58, 237, 0.1);
}
.review-text {
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 25px;
    font-style: italic;
    z-index: 1;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar i {
    font-size: 45px;
    color: #D1D5DB;
}
.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px 0;
}
.author-info span {
    font-size: 13px;
    color: #6B7280;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6, #6D28D9);
    border-radius: 22px;
    padding: 40px 30px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}
.stat-icon i {
    font-size: 32px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}
.stats-card:hover .stat-icon i {
    transform: scale(1.1);
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.stat-number {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* Premium CTA */
.cta-premium-banner {
    background: linear-gradient(90deg, #7C3AED, #8B5CF6);
    border-radius: 22px;
    padding: 45px 50px;
    min-height: 170px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}
.cta-premium-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.cta-premium-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}
.btn-cta-primary {
    background: #ffffff;
    color: #7C3AED;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    text-align: center;
}
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: #7C3AED;
}
.btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.6);
    text-align: center;
}
.btn-cta-secondary:hover {
    background: #ffffff;
    color: #7C3AED;
    border-color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .review-card { padding: 30px; }
    .cta-premium-banner { padding: 40px 30px; }
}
@media (max-width: 767px) {
    .reviews-title { font-size: 32px; }
    .stat-number { font-size: 32px; }
    .cta-buttons a { width: 100%; }
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS FIXES (BOOTSTRAP COMPATIBILITY)
   ========================================================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

/* Ensure images never break containers */
img {
    max-width: 100% !important;
    height: auto;
}

/* Prevent flex containers from forcing horizontal scroll on mobile */
@media (max-width: 991px) {
    div[style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    
    /* Convert fixed inline widths to responsive */
    div[style*="width: 1200px"], 
    div[style*="width: 1000px"],
    div[style*="width: 350px"],
    div[style*="width: 320px"],
    div[style*="width: 400px"],
    div[style*="width: 500px"],
    div[style*="width: 420px"],
    form[style*="width: 420px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Pre-header wrap */
    .pre-header-container, .pre-header-left, .pre-header-right {
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center;
        gap: 8px !important;
    }
    .pre-header {
        height: auto !important;
        padding: 10px !important;
    }
    
    /* Mobile Menu Container Overrides */
    .navbar-links {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* Hero specific responsive rules */
@media (max-width: 991px) {
    .hero-v2 {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 20px;
    }
    .hero-content-wrap {
        height: auto !important;
        min-height: 100vh !important;
        padding: 40px 15px !important;
        justify-content: center !important;
    }
    .hero-video-bg {
        height: 100% !important;
        object-fit: cover !important;
    }
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
    }
    .hero-overlay {
        background: linear-gradient(rgba(5,10,30,0.7), rgba(5,10,30,0.7)) !important;
    }
}

/* Mega Menu Mobile Overrides */
@media (max-width: 991px) {
    .solutions-menu .mega-menu,
    .mega-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        position: static !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow-y: hidden !important;
        display: none !important; /* Hide until toggled */
    }
    .has-mega-menu.active .mega-menu {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Pre-header contact bar */
    .pre-header {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 10px !important;
    }
    .pre-header-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    /* General Grid fixes */
    div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
    
    /* All iframes (Maps) */
    iframe {
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Footer column fixes */
    #footer > div > div {
        flex-direction: column !important;
        gap: 20px !important;
    }
    #footer > div > div > div {
        width: 100% !important;
        flex: 1 1 100% !important;
        border-right: none !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
    }
}

/* Ensure decorative blobs do not break viewport */
@media (max-width: 991px) {
    [class*="blob"], [class*="float"], [class*="blur"], .why-float-1, .why-float-2, div[style*="left: -"], div[style*="right: -"] {
        display: none !important;
    }
}

/* Forms mobile responsiveness */
@media (max-width: 991px) {
    form, .form-container, .jt-contact-form {
        width: 100% !important;
        max-width: 100% !important;
    }
    input, textarea, select {
        width: 100% !important;
        max-width: 100% !important;
    }
    button[type="submit"] {
        width: 100% !important;
    }
}

/* Global CSS Class Grid Fallbacks */
@media (max-width: 991px) {
    [class*="grid"], .jt-ind-grid, .jt-port-grid, .jt-port2-grid, .jt-wwd-grid, .service-grid, .about-grid, .case-studies-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    [class*="grid"], .jt-ind-grid, .jt-port-grid, .jt-port2-grid, .jt-wwd-grid, .service-grid, .about-grid, .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
