/* ============================================
   FONTS
=============================================== */
@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap");

@font-face {
    font-family: "Satoshi";
    src: url("../fonts/Satoshi_Variable_Bold.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   GLOBAL
=============================================== */
:root {
    --main-bg: #0f0f10;
    --primary-color: #6366f1;
    --primary-color-gradient: linear-gradient(135deg, #6366f1 0%, #6366f1 100%);
    --jdg-footer-bg: #0a0a0a;
    --jdg-black: #0a0a0a;
    --jdg-dark-grey: #1a1a1a;
    --jdg-light-grey: #f5f5f5;
    --jdg-white: #ffffff;
    --jdg-body-font-family: "Manrope", sans-serif;
    --jdg-heading-font-family: "Funnel Display", sans-serif;
    --jdg-satoshi-font-family: "Satoshi", sans-serif;
    --jdg-extra-font-family: "Inter", sans-serif;
    --jdg-gray: #666666;
    --heading-text-gradient: linear-gradient(
        180deg,
        #ffffff 5.56%,
        rgba(15, 15, 16, 0) 105.04%
    );
    --jdg-btn-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --jdg-purple-gradient: linear-gradient(
        143.3deg,
        #4f46e5 11.14%,
        #6366f1 88.86%
    );
    --jdg-green-gradient: linear-gradient(
        143.3deg,
        #059669 11.14%,
        #10b981 88.86%
    );
    --jdg-purple-green-gradient: linear-gradient(
        143.3deg,
        #4f46e5 11.14%,
        #10b981 88.86%
    );
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: auto;
    overflow-x: clip;
}

html,
body,
header,
footer {
    background-color: var(--main-bg) !important;
    color: var(--bg-white);
    font-family: var(--jdg-body-font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--jdg-heading-font-family);
}

a {
    text-decoration: none !important;
}

img {
    max-width: 100%;
    /* width: 100%; */
}

p {
    color: var(--jdg-gray);
}

section {
    padding: 75px 0px;
}

.about-page-banner,
.services-page-banner,
.work-page-banner,
.book-call-page-banner,
.life-at-jdg-page-banner,
.blog-page-banner,
.contact-page-banner,
.careers-page-banner,
.work-detail-page-banner,
.tech-inner-page-banner,
.pricing-page-banner {
    position: relative;
    min-height: 679px;
    display: flex;
    align-items: end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.book-call-page-banner {
    background-image: url("../imgs/book-meeting-bg-img.png");
}

.about-page-banner {
    background-image: url("../imgs/about-bg-img.png");
}

.tech-inner-page-banner {
    background-image: url("../imgs/tech-inner-banner-bg.jpg");
}

.work-page-banner,
.work-detail-page-banner {
    background-image: url("../imgs/work-bg-img.png");
}

.blog-page-banner {
    background-image: url("../imgs/blog-bg-img.png");
}

.services-page-banner {
    background-image: url("../imgs/service-bg-img.png");
}

.contact-page-banner {
    background-image: url("../imgs/contact-us-bg-img.png");
}

.life-at-jdg-page-banner {
    background-image: url("../imgs/contact-us-bg-img.png");
}

.careers-page-banner {
    background-image: url("../imgs/blog-bg-img.png");
}

.pricing-page-banner {
    background-image: url("../imgs/pricing-bg-img.png");
}

.banner-content {
    max-width: 620px;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--jdg-white);
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--jdg-white);
    opacity: 0.6;
}

/* Breadcrumb */
.breadcrumb {
    margin-top: 90px;
    font-size: 14px;
    color: var(--jdg-white);
}

.breadcrumb a {
    color: var(--jdg-gray);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 6px;
    color: var(--jdg-gray);
}

.breadcrumb span:last-child {
    margin: 0;
    color: var(--jdg-white);
}

/* ============================================
   BUTTON
=============================================== */
.jdg-btn {
    background: var(--primary-color-gradient);
    color: var(--jdg-white);
    font-family: var(--jdg-satoshi-font-family);
    font-size: 0.875rem;
    padding: 24px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.jdg-btn:hover {
    background: var(--jdg-btn-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.jdg-icon-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 0px;
    border-radius: 50px;
    background: transparent;
    color: var(--jdg-white);
    text-decoration: none;
    font-family: var(--jdg-heading-font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.jdg-icon-btn span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--jdg-white);
    color: var(--jdg-black);
    font-size: 20px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jdg-white-icon-btn {
    border: none;
    border-radius: 30px;
    padding: 4px 35px 4px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: var(--jdg-heading-font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    background: var(--jdg-white);
}

.jdg-icon-btn:hover {
    color: #6366f1;
}

.jdg-icon-btn:hover .icon-plus {
    background: var(--jdg-btn-gradient);
}

.jdg-btn {
    position: relative;
    overflow: hidden;
    background: var(--primary-color-gradient);
    color: var(--jdg-white);
    font-family: var(--jdg-satoshi-font-family);
    font-size: 0.875rem;
    padding: 24px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    /* Only transition the color/shadow/transform — NOT the glow (handled by JS) */
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.jdg-btn:hover {
    background: var(--jdg-btn-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* Glow layer — position & size controlled entirely by JS */
.jdg-btn .glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle closest-side,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    /* Only opacity uses CSS transition for the fade in/out */
    transition: opacity 0.5s ease;
    /* position updated via JS translate for smooth lerp */
    will-change: transform, opacity;
}

.jdg-btn.hovered .glow {
    opacity: 1;
}

/* ============================================
   404 PAGE
=============================================== */
.error-section {
    width: 100%;
    height: 100%;
    background: url("../imgs/404-bg-img.png") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENT */
.error-content {
    text-align: center;
    color: #fff;
    position: relative;
}

/* INLINE IMAGE */
.error-img {
    max-width: 100%;
    width: 100%;
    margin: 125px 0px 0px 0px;
    object-fit: scale-down;
}

/* TEXT */
.error-content h1 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 64px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 25px;
}

/* ============================================
   HEADER
=============================================== */
/* Sticky activated via JS */
.header-wrapper.is-sticky {
    position: sticky;
    top: 20px;
}

.header-wrapper {
    background-color: #ffffff0d !important;
    backdrop-filter: blur(14.5px);
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    border-radius: 15px;
    margin: 35px 40px 0px 40px;
    padding: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.scrolled .header-content {
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    background: var(--heading-text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--jdg-white);
    font-size: 1.125rem;
    font-family: var(--jdg-body-font-family);
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--jdg-btn-gradient);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: #667eea;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    color: #667eea;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ============================================
   MOBILE MENU TOGGLE
=============================================== */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 45px;
    height: 45px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    height: 2px;
    background: var(--jdg-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
    width: 28px;
}

.mobile-toggle span:nth-child(2) {
    width: 22px;
}

.mobile-toggle span:nth-child(3) {
    width: 16px;
}

.mobile-toggle.active span {
    background: #667eea;
}

.mobile-toggle.active span:nth-child(1) {
    width: 30px;
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-toggle.active span:nth-child(3) {
    width: 28px;
    transform: rotate(-45deg) translate(8px, -8px);
}

.hero {
    width: 100%;
    height: 100%;
    background: url("../imgs/grid-with-color.png");
    top: 0;
    left: 0;
    padding: 350px 0px 200px 0px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content h1 {
    color: var(--jdg-white);
    font-size: clamp(40px, 4vw, 72px) !important;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--jdg-heading-font-family);
}

.hero-content p {
    color: var(--jdg-white);
    font-size: 1.125rem;
    font-family: var(--jdg-body-font-family);
    margin: 0px;
}

.meeting-btn {
    margin-top: 60px;
}

.icon {
    position: absolute;
    width: 59px;
    height: 59px;
    animation: float 6s infinite ease-in-out;
}

.icon-1 {
    left: 20%;
    top: 25%;
}

.icon-2 {
    left: 12%;
    top: 38%;
}

.icon-3 {
    left: 22%;
    top: 52%;
}

.icon-4 {
    left: 15%;
    top: 68%;
}

.icon-5 {
    right: 20%;
    top: 25%;
}

.icon-6 {
    right: 12%;
    top: 38%;
}

.icon-7 {
    right: 22%;
    top: 52%;
}

.icon-8 {
    right: 15%;
    top: 68%;
}

/* ============================================
   Logo Slider
=============================================== */

.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 0 20px 0 0;
}

.logo-track {
    display: flex;
    gap: 20px;
    /* animation: scroll 10s linear infinite; */
    animation: jdgScroll 20s linear infinite;
}

.logo-item {
    position: relative;
    height: 70px;
    flex: 0 0 calc((100% - 8 * 20px) / 9);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    overflow: hidden;
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.logo-item:hover {
    background: var(--jdg-white);
    border-color: var(--jdg-white);
}

.logo-item img {
    position: absolute;
    width: 70%;
    height: 70%;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* default: show white logo */
.logo-item .bw {
    opacity: 1;
}

/* hide dark version initially */
.logo-item .color {
    opacity: 0;
}

/* on hover: show dark version */
.logo-item:hover .bw {
    opacity: 0;
}

.logo-item:hover .color {
    opacity: 1;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* ============================================
   SERVICES
=============================================== */
.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: linear-gradient(
        135deg,
        rgba(30, 30, 30, 0.8) 0%,
        rgba(20, 20, 20, 0.9) 100%
    );
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background: linear-gradient(
        180deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(99, 102, 241, 0.05) 50%,
        transparent 100%
    );
    border-radius: 0 12px 0 0;
    opacity: 0;
}

.service-card:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 0;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(50px) scale(0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card:hover .card-icon {
    height: 70px;
    margin-bottom: 10px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
    flex-shrink: 0;
}

.card-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.service-title {
    color: var(--jdg-white);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-description {
    color: #9ca3af;
    font-family: var(--jdg-body-font-family);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more {
    color: var(--jdg-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .learn-more::after {
    width: 100%;
}

.learn-more:hover {
    color: #6366f1;
}

/* ============================================
   WORK
=============================================== */

.stack-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 589px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.slide {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--jdg-white);
    will-change: transform, opacity, filter;
    /* FIX: 0.85s instead of 1.5s — fully settles before next cycle */
    transition:
        transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        z-index 0s linear 0.425s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

/* Stack positions — pos-2 is center/active */
.pos-0 {
    transform: translateY(-110px) scale(0.88) rotateX(8deg);
    opacity: 0.35;
    z-index: 1;
    filter: blur(2px) brightness(0.6);
}

.pos-1 {
    transform: translateY(-55px) scale(0.94) rotateX(4deg);
    opacity: 0.65;
    z-index: 2;
    filter: blur(0.8px) brightness(0.8);
}

.pos-2 {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
    z-index: 5;
    filter: blur(0px) brightness(1);
}

.pos-3 {
    transform: translateY(55px) scale(0.94) rotateX(-4deg);
    opacity: 0.65;
    z-index: 2;
    filter: blur(0.8px) brightness(0.8);
}

.pos-4 {
    transform: translateY(110px) scale(0.88) rotateX(-8deg);
    opacity: 0.35;
    z-index: 1;
    filter: blur(2px) brightness(0.6);
}

/* Slides outside the 5 slots — fade out smoothly, no jump */
.slide-hidden {
    opacity: 0 !important;
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-btn-box {
    padding-top: 60px;
}

/* Dots */
.work .slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

.work-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 0;
}

.work-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.work-dot.active {
    background: var(--jdg-btn-gradient);
    width: 35px;
    border-radius: 6px;
    border: 0;
    background-size: cover;
    border-color: transparent;
}

.work {
    overflow: visible;
}

/* ============================================
   ABOUT
=============================================== */
/* LEFT CARD */
.about-card {
    background: #00000075;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    padding: 15px 17px;
}

.about-img {
    width: 100%;
    display: block;
}

.about-card-content {
    padding: 29px 0px 0px 0px;
}

.about-card-content h5 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--jdg-white);
}

.about-card-content p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--jdg-white);
    margin: 0;
}

/* RIGHT CONTENT */
.about-title {
    font-size: clamp(2.75rem, 3rem, 3rem);
    font-weight: 400;
    color: var(--jdg-white);
    line-height: 1.25;
    margin-bottom: 35px;
}

.about-desc {
    color: var(--jdg-gray);
    font-size: 1.125rem;
    max-width: 100%;
    font-family: var(--jdg-body-font-family);
}

/* STATS */
.stats-row {
    margin-top: 40px;
}

/* STAT BOX */
.stat-box {
    padding-top: 10px;
}

.stat-label {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    color: var(--jdg-gray);
    font-size: 0.875rem;
}

/* HEADER */
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1px;
    color: #9ca3af;
    text-transform: uppercase;
}

/* ICON */
.stat-icon {
    font-size: 14px;
    color: #e5e7eb;
}

/* DIVIDER LINE */
.stat-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 12px 0 28px;
}

/* NUMBER */
.stat-box h3 {
    font-size: clamp(3rem, 6vw, 6.25rem);
    font-weight: 500;
    color: var(--jdg-white);
    margin-bottom: 10px;
}

/* TEXT */
.stat-box p {
    font-size: 1.125rem;
    color: var(--jdg-gray);
    font-family: var(--jdg-body-font-family);
}

/* ============================================
   BOOK NOW
=============================================== */
.cta-wrapper {
    background: #0a0a0a;
    border-radius: 20px;
    padding: 120px 40px;
    background-image: url("../imgs/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.cta-content {
    max-width: 100%;
    margin: auto;
    text-align: center;
}

.scroll-text {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.35;
    font-family: var(--jdg-heading-font-family);
    margin: 0px 0px 80px 0px;
}

.scroll-text span {
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.15s linear;
}

/* CTA */
.cta-btn-wrap {
    margin-top: 40px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #6366f1;
    padding: 14px 22px;
    color: var(--jdg-white);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
}

.cta-btn img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.cta-btn-wrap p {
    margin-top: 12px;
    color: var(--jdg-white);
    font-size: 1.125rem;
    font-family: var(--jdg-body-font-family);
}

.cta-btn-wrap .jdg-btn {
    gap: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 35px 15px 18px;
    white-space: nowrap;
    gap: 30px;
}

.grow-with-us .cta-btn-wrap .jdg-btn {
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 24px 30px;
}

/* ===============================
   IMAGE
================================ */

.c-img {
    position: relative;
}

.c-img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
}

.image-side,
.c-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-side {
    flex: 1 1 100%;
    transition: flex 0.5s ease;
}

/* ===============================
   CARD BOX
================================ */

.card-box {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 0;
    background: #000000;
    border-radius: 25px;
    position: relative;
    width: 100%;
    height: 470px;
    flex: 1;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.card-flex {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.card-flex:hover .card-box {
    flex: 0.6;
}

.card-flex .card-box:hover {
    flex: 1.4;
}

/* --- CSS OVERRIDE TO PREVENT TEXT WRAPPING --- */

/* 1. Force the inner elements to a fixed width so they don't reflow */
.card-box .text-side h3,
.card-box .text-side p {
    /* This creates a 'virtual' container width of 350px 
       so the text stays put while the parent slides over it */
    min-width: 20vw !important;
    white-space: normal;
    /* Allows normal wrapping within the 350px */
    display: block !important;
}

/* 2. Ensure the text-side doesn't try to 'squeeze' its children */
.card-box .text-side {
    display: block !important;
    /* Block handles the 'curtain' effect better than flex here */
    overflow: hidden !important;
}

/* 3. Smooth out the reveal */
.card-box:hover .text-side {
    /* We keep your 45% flex, but the content inside is now 350px wide constant */
    opacity: 1 !important;
    transition:
        flex 0.5s ease,
        opacity 0.3s ease 0.1s !important;
}

/* ===============================
   TEXT SIDE
================================ */

.text-side {
    flex: 0 0 0%;
    opacity: 0;
    padding-left: 0;
    overflow: hidden;
    min-width: 0;
    overflow-y: auto;
    transition:
        flex 0.5s ease,
        opacity 0.4s ease,
        padding 0.5s ease;
}

.card-box:hover .image-side {
    flex: 0 0 55%;
}

.card-box:hover .text-side {
    flex: 0 0 45%;
    opacity: 1;
    padding-left: 30px;
}

/* ===============================
   TEXT STYLES
================================ */

.text-side h3 {
    font-size: 26px;
    line-height: 32px;
    color: var(--jdg-white);
    margin-bottom: 50px;
}

.text-side p {
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
    margin: 0;
}

/* ===============================
   NAME
================================ */

.c-name {
    position: absolute;
    margin-top: -100px;
    margin-left: 36px;
    font-family: var(--jdg-heading-font-family);
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: var(--jdg-white);
}

/* ===============================
   MISC
================================ */

.spacer-line {
    text-align: center;
}

/* history section */
.title-cn h4 {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-white);
}

.title-cn h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -0.03em;
    color: var(--jdg-white);
}

.title-cn {
    margin-bottom: 97px;
}

/* timeline section */
.year-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 229, 229, 0.2);
    border-radius: 20px;
    margin-bottom: 30px;
}

.year-info h3 {
    font-weight: 400;
    font-size: 96px;
    line-height: 58px;
    letter-spacing: -0.03em;
    color: var(--jdg-white);
    margin-bottom: 50px;
}

.year-info h6 {
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: var(--jdg-white);
    margin-bottom: 10px;
}

.year-info p {
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
    margin: 0;
}

.timeline-section {
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.timeline-image {
    flex-shrink: 0.4;
}

.timeline-image img {
    max-width: 100%;
}

/* new */
.timeline-section {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    position: relative;
    padding: 50px 0;
}

.timeline-box {
    flex: 1;
    max-width: 45%;
}

.year-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 229, 229, 0.2);
    border-radius: 20px;
    margin-bottom: 30px;
    min-height: 280px;
    opacity: 0.4;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.year-info.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(229, 229, 229, 0.5);
}

.year-info.active h3 {
    opacity: 1;
}

/* Timeline Line */
.timeline-line {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    justify-content: center;
}

.timeline-line img {
    height: 100%;
    object-fit: contain;
}

/* Sticky Image Container */
.timeline-image {
    flex: 1;
    max-width: 40%;
    position: sticky;
    top: 100px;
    padding-bottom: 30px;

    height: fit-content;
    align-self: flex-start;
}

.year-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
}

/* Stacked Images */
.year-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.year-img img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* Optional: Add a subtle shadow to active image */
.year-img img.active {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Exiting animation (previous image) */
.year-img img.exit {
    opacity: 0;
    transform: scale(1.05) translateY(-30px);
    z-index: 5;
}

/* ============================================
   Service Tech
=============================================== */
/* Shimmer Headline */
.headline-container {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.headline-container::before,
.headline-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    z-index: 2;
    pointer-events: none;
}

.headline-container::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(15, 15, 16, 1) 0%,
        rgba(15, 15, 16, 0.8) 30%,
        rgba(15, 15, 16, 0) 100%
    );
}

.headline-container::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(15, 15, 16, 1) 0%,
        rgba(15, 15, 16, 0.8) 30%,
        rgba(15, 15, 16, 0) 100%
    );
}

.headline-scroll {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    font-family: var(--jdg-heading-font-family);
    font-size: 7.5rem;
    font-weight: 400;
}

.headline-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    margin: 0 3rem;
    background: linear-gradient(
        90deg,
        rgba(40, 40, 40, 0.6) 0%,
        rgba(80, 80, 80, 0.8) 20%,
        rgba(150, 150, 150, 1) 40%,
        rgba(200, 200, 200, 1) 50%,
        rgba(150, 150, 150, 1) 60%,
        rgba(80, 80, 80, 0.8) 80%,
        rgba(40, 40, 40, 0.6) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s ease-in-out infinite;
}

/* Service Tech Heading */
.service-tech-heading {
    padding: 60px 0;
}

.main-heading {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--jdg-white);
    margin-bottom: 80px;
}

.heading-emoji {
    /* display: inline-flex; */
    align-items: center;
    gap: 0.5rem;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.8s ease;
}

.primary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* grwoth slider */
.growth-slider {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    /* Space for scaling */
    position: relative;
}

/* The Track moves inside the container */
.growth-track {
    display: flex;
    gap: 30px;
    /* Space between cards */
    width: max-content;
    /* Ensure it fits all cards horizontally */
    will-change: transform;
    /* Performance optimization */
}

.growth-card {
    flex-shrink: 0;

    /* Transition for smooth active state */
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;

    /* Keep your existing styles */
    padding: 25px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 25px;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.growth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(
        150.09deg,
        rgba(49, 249, 187, 0.3) -3.04%,
        rgba(79, 70, 229, 0.3) 80.38%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.growth-title h2 {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.86;
    text-align: center;
    letter-spacing: -0.03em;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        rgba(10, 10, 10, 0) 113.24%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.growth-title p {
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: clamp(18px, 1.4vw, 20px);
    text-align: center;
    text-transform: capitalize;
    color: #ffffff;
}

.growth-title hr {
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: clamp(280px, 40vw, 407px);
}

.growth-title {
    margin-bottom: 30px;
}

.growth-img {
    border-radius: 15px;
    margin-bottom: 30px;
}

.growth-img img {
    border-radius: 15px;
}

.growth-cn p.title {
    font-weight: 700;
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: clamp(18px, 1.6vw, 23px);
    text-align: center;
    text-transform: capitalize;
    color: #ffffff;
    margin-bottom: 13px;
}

.growth-cn p {
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: clamp(18px, 1.6vw, 23px);
    text-align: center;
    color: #666666;
}

.growth-card.active {
    background: linear-gradient(340.65deg, #0b0573 -12.99%, #0f0f10 91.84%);
}

.growth-card.active p {
    color: #fff;
}

/* Container for the dots */
.growth-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    /* Space between slider and dots */
    width: 100%;
    position: relative;
    z-index: 10;
}

/* The Dot Styling */
.growth-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Active Dot Styling */
.growth-dot.active {
    background: var(--jdg-btn-gradient);
    width: 35px;
    border-radius: 6px;
    background-size: cover;
    border: 0;
}

/* Hover Effect */
.growth-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Service Tech Accordion */
.service-tech-accordion {
    padding: 0;
    position: relative;
}

.service-tech-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-tech-item {
    position: sticky;
    /* top is set dynamically via JS */
    background: #000000fa; /* must have a background or items will show through */
    will-change: transform;
}

.service-tech-item {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 1.5rem;
    transition: background-color 0.8s ease;
}

.service-tech-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tech-item.active {
    background: #000000b2;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
}

.service-tech-header {
    display: flex;
    align-items: flex-start;
    /* cursor: pointer; */
    position: relative;
}

.service-tech-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--jdg-white);
    line-height: 1.2;
    flex: 0 0 425px;
    padding-right: 3rem;
}

.service-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    flex: 1;
    padding-right: 3rem;
}

.service-tech-tag {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--jdg-white);
    cursor: pointer;
    transition: all 0.8s ease;
    text-transform: uppercase;
}

.service-tech-tag:hover {
    background: var(--jdg-white);
    border-color: var(--jdg-white);
    color: var(--jdg-black);
}

.service-tech-item:hover .service-tech-tag {
    border-color: rgba(255, 255, 255, 0.5);
}

.service-tech-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.8s ease;
    flex-shrink: 0;
}

.service-tech-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.service-tech-icon {
    transition: transform 0.8s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.service-tech-item .service-tech-icon::before {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1px;
    margin-top: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "+";
}

.service-tech-item.active .service-tech-icon::before {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1px;
    margin-top: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "−";
}

.service-tech-content {
    /* max-height: 0;
  overflow: hidden;
  transition: max-height 1.5s ease, opacity 1.5s ease, margin-top 1.5s ease;
  opacity: 0; */
    margin-left: 435px;
    padding-right: calc(3rem + 150px);
}

.service-tech-item.active .service-tech-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 2rem;
}

.service-tech-wrapper {
    background: transparent;
    border-radius: 20px;
    padding: 2.5rem 0;
}

.service-tech-description {
    font-family: var(--jdg-body-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: left;
    margin-bottom: 2rem;
    color: #fff;
}

.service-tech-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.service-tech-picture {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.8s ease;
}

.service-tech-picture:hover {
    transform: scale(1.05);
}

.service-tech-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-tech-picture:hover img {
    transform: scale(1.1);
}

/* ============================================
   TESTIMONIALS
=============================================== */
/* LEFT */
.left-wrapper {
    position: relative;
    min-height: 312px;
}

.left-content h2 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--jdg-white);
    max-width: 100%;
}

/* AVATARS */
.avatar-group {
    display: inline-flex;
    margin: 0 8px;
}

.avatar-group img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #000;
    margin-left: -8px;
}

/* BUTTON */
.quote-btn {
    background-color: #00000033;
    margin-top: 30px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

/* STICKY STATES */
.left-fixed {
    position: fixed;
    top: 90px;
    z-index: 10;
}

.left-stop {
    position: absolute;
    bottom: 0;
    top: auto;
}

/* RIGHT */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    position: relative;
    border-radius: 18px;
    padding: 30px 30px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card.light {
    background: #fff;
    color: #111;
    border: 1px solid transparent;
}

.testimonial-card .author strong {
    font-family: var(--jdg-body-font-family);
    font-weight: 400;
    font-size: 1.25rem;
}

.testimonial-card.dark {
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stars {
    color: #ff9f1c;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 2rem;
    line-height: 40px;
    font-family: var(--jdg-heading-font-family);
    font-weight: 300;
}

.author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    font-size: 13px;
}

.dark .author {
    border-color: rgba(255, 255, 255, 0.1);
}

.author span {
    display: block;
    font-size: 0.875rem;
    color: var(--jdg-gray);
    font-family: var(--jdg-body-font-family);
    font-weight: 400;
}

/* CARD AVATAR */
.card-avatar {
    position: absolute;
    bottom: 18px;
    right: 18px;
}

.card-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* ============================================
   CONTACT US
=============================================== */
.content-container {
    background-image: url("../imgs/contact-img.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 32px;
    padding: 80px 60px;
}

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

.section-label {
    color: #9ca3af;
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: normal;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 60px;
}

.info-block {
    margin-bottom: 40px;
}

.info-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1.5px;
    color: var(--jdg-white);
}

.info-title i {
    color: #8b5cf6;
    font-size: 14px;
}

.contact-info-form .info-text {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 28px;
    margin: 0;
    color: #999999;
}

.info-text a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: #fff;
}

.contact-form-card {
    backdrop-filter: blur(5.900000095367432px);
    box-shadow: 0px 11px 99.9px 0px #00000014;
    border: 1px solid;
    border-image-source: linear-gradient(
        137.97deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(204, 204, 204, 0) 38.15%,
        rgba(255, 255, 255, 0.18) 71.89%
    );
    border-radius: 20px;
    padding: 50px 58px;
    color: var(--jdg-white);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.25)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--jdg-white);
    margin-bottom: 40px;
}

.form-label {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
}

.form-control,
.form-select,
input {
    background-color: #f5f5f55e !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    font-family: Funnel Display;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    line-height: normal !important;
    text-transform: uppercase;
    color: var(--jdg-white) !important;
    transition: all 0.3s !important;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding-right: 45px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form-select option {
    background-color: #1e1e2f;
    color: white;
}

.form-control:focus,
.form-select:focus {
    outline: 2px solid #6c63ff !important;
}

.form-control::placeholder,
.form-select::placeholder {
    color: #9ca3af !important;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    color: #9ca3af !important;
}

.form-select:focus,
.form-select:valid {
    color: var(--jdg-white) !important;
}

/* ============================================
   BLOG
=============================================== */
.section-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 3rem;
    line-height: 58px;
    color: var(--jdg-white);
    margin-bottom: 80px;
    max-width: 700px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    height: 520px;
    transition: transform 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.blog-card-top {
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.blog-card:hover .blog-card-top {
    transform: translateY(0);
    opacity: 1;
}

.blog-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
}

.blog-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin-left: 15px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 15px;
}

.blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.blog-card-bottom {
    display: flex;
    justify-content: flex-end;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.blog-card:hover .blog-card-bottom {
    transform: translateY(0);
    opacity: 1;
}

.blog-arrow {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-arrow {
    animation: rotate 0.6s ease-in-out;
}

.blog-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #000;
    stroke-width: 2;
    transition: transform 0.3s ease;
}
/* 
.blog-card:hover .blog-arrow svg {
    transform: translateX(3px);
} */

/* Mobile Slider */
.mobile-slider-wrapper {
    display: none;
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.mobile-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.mobile-slider .blog-card {
    min-width: 85%;
    flex-shrink: 0;
}

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

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--jdg-btn-gradient);
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   TECH SLIDER
=============================================== */
.tech-logo .logo-wrapper {
    overflow: hidden;
    position: relative;
}

.tech-logo .logo-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: logoScroll 30s linear infinite;
}

.tech-logo .logo-wrapper:hover .logo-track {
    animation-play-state: paused;
}

.tech-logo .logo-pill {
    width: 104px;
    height: 104px;
    background: #00000033;
    border-radius: 19px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-logo .logo-pill {
    width: auto;
    height: auto;
    background: transparent;
}

.tech-logo .logo-pill img {
    max-height: 100%;
    max-width: 100%;
}

.award-logo .logo-track {
    gap: 89px;
}

.award-logo {
    padding-bottom: 150px;
}

/* ============================================
  ABOUT US PAGE
=============================================== */
/* Headings */
.about-section .about-label {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: #7c7c7c;
}

.about-section .about-title {
    margin-top: 12px;
}

.about-section .about-desc,
p.tech-inner-title {
    color: var(--jdg-white);
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 1.625rem;
    line-height: normal;
}

/* Card */
.about-section .about-card {
    border-radius: 20px;
    padding: 40px 41px;
    margin-bottom: 80px;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.6) 0%,
        rgba(10, 10, 10, 0.8) 100%
    );
    box-shadow: none;
}

/* Image */
.about-section .about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #00000078;
    padding: 10px;
}

.about-section .about-image-wrapper img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.about-section .image-plus {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1em;
    line-height: 1px;
    width: 34px;
    font-family: "Roboto", sans-serif;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
}

.about-section .image-caption {
    font-size: 1.25rem;
    padding: 16px 0 0;
    font-family: Funnel Display;
    font-weight: 400;
    text-align: center;
    color: var(--jdg-white);
    transition: opacity 0.3s ease;
}

/* Tabs */
.about-section .about-tabs {
    gap: 30px;
}

.about-section .about-tabs .nav-link {
    background: none !important;
    border: none !important;
    color: var(--jdg-gray);
    padding: 10px 0 15px;
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
}

.about-section .about-tabs .nav-link.active {
    color: #fff;
}

.tab-pane p {
    color: #fff !important;
}

/* Stats */
.about-section .stats-row {
    margin-top: 60px;
}

.about-section .stat-label {
    font-family: var(--jdg-heading-font-family);
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.about-section .stat-label + .stat-value::before {
    content: "";
    display: block;
    width: 80%;
    height: 1px;
    background: var(--jdg-white);
    margin-bottom: 14px;
}

.about-section .stat-value {
    font-size: 6.25rem;
    color: var(--jdg-white);
}

.award-title h2 {
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    line-height: clamp(36px, 5vw, 58px);
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 80px;
}

/* ============================================
  TEAM GALLERY
=============================================== */
.team-gallery-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: visible;
    margin-bottom: 60px;
    padding: inherit;
}

.team-gallery-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-gallery-slide-item {
    position: absolute;
    width: 900px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0px 0px 34.34px 0px #000000e5;
}

.team-gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Center slide - active */
.team-gallery-slide-item.tgs-active {
    z-index: 3;
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: brightness(1);
}

/* Left slide */
.team-gallery-slide-item.tgs-left {
    z-index: 2;
    transform: translateX(-650px) scale(0.8);
    opacity: 0.3;
    filter: brightness(0.4);
}

/* Right slide */
.team-gallery-slide-item.tgs-right {
    z-index: 2;
    transform: translateX(650px) scale(0.8);
    opacity: 0.3;
    filter: brightness(0.4);
}

/* Hidden slides */
.team-gallery-slide-item.tgs-hidden {
    z-index: 1;
    opacity: 0;
    transform: scale(0.7);
}

/* Dots navigation */
.team-gallery-slider-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.team-gallery-dot-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-gallery-dot-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.team-gallery-dot-indicator.tgs-dot-active {
    background: var(--jdg-btn-gradient);
    width: 35px;
    background-size: cover;
    border: 0;
    border-radius: 6px;
}

/* ============================================
  HOW WE WORK
=============================================== */
.how-we-work-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.how-we-work-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.how-we-work-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-we-work-label {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.how-we-work-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
}

.work-process-item {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.work-process-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.work-content-title {
    font-family: var(--jdg-heading-font-family);
    color: var(--jdg-white);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    padding-top: 5px;
    min-width: 325px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.work-content-description {
    color: var(--jdg-gray);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 0px;
    flex: 1;
}

/* ============================================
   CONTACT PAGE
=============================================== */
.contact {
    padding: 150px 0px;
}

.contact-wrapper {
    background-image: url("../imgs/contact-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    padding: 108px 139px 108px 139px;
    color: var(--jdg-white);
}

/* LEFT SIDE */
.contact-label {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #575757;
}

.contact-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    margin: 0px 0px 10px 0px;
}

.contact-desc {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #575757;
}

.contact-btn {
    display: inline-block;
    margin-top: 22px;
    text-decoration: none;
}

.contact-note {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 28px;
    color: #575757;
    margin-top: 8px;
}

.contact-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 36px 0;
}

.contact-subtitle {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 3rem;
    line-height: 58px;
    margin-top: 8px;
}

.contact-small {
    font-family: var(--jdg-extra-font-family);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 28px;
    color: #575757;
}

.contact-info-call {
    margin-top: 53px;
}

.contact-info p,
.contact-phone {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 2rem;
    line-height: 100%;
    margin: 4px 0;
    color: #c1c1c1;
}

.contact-info a,
.contact-info-call a {
    text-decoration: none;
    /* white-space: break-spaces;
  word-wrap: break-word; */
}

.contact-phone {
    margin-top: 12px;
}

/* FORM */
.contact-form {
    background: #ffffff0a;
    backdrop-filter: blur(2px);
    border-radius: 22px;
    padding: 53px 51px 53px 51px;
}

.contact-form h4 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 21px;
}

.contact-form p {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #999999;
    margin-bottom: 50px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    width: 100%;
    border-radius: 10px !important;
    padding: 18px !important;
    border: none !important;
    background-color: var(--jdg-white) !important;
    color: #0a0a0a !important;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #6c63ff;
}

/* SUBMIT BUTTON */
.contact-submit {
    margin-top: 26px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.contact-submit span {
    width: 36px;
    height: 36px;
    background: #6c63ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.calendly-iframe-wrap iframe {
    width: 100%;
    height: 720px;
    border-radius: 20px;
    overflow: auto;
    background: #fff;
}

/* ============================================
   OUR WORK PAGE
=============================================== */
.our-work h2 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--jdg-white);
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: clamp(48px, 7vw, 90px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: var(--heading-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.our-work .subtitle {
    font-family: var(--jdg-extra-font-family);
    text-align: center;
    color: var(--jdg-gray);
    margin-bottom: 116px;
    font-size: 1.125rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 100%;
    background: none;
    border: none;
    color: var(--jdg-gray);
    padding: 0px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-tab:hover {
    color: #fff;
}

.filter-tab.active {
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 37px;
    margin-bottom: 74px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-card.full-width {
    grid-column: 1 / -1;
}

.portfolio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-card:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-card:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-card:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-card:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.our-work .card-image-wrapper {
    position: relative;
    padding-top: 66%;
    border-radius: 20px;
    overflow: hidden;
}

.our-work .portfolio-card.full-width .card-image-wrapper {
    padding-top: 32%;
}

.our-work .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .card-bg {
    transform: scale(1.08);
}

.our-work .card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.our-work .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.our-work .card-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.our-work .card-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge {
    background: #00000030;
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    color: var(--jdg-white);
    backdrop-filter: blur(5.9px);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.portfolio-card:hover .category-badge {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.our-work .card-footer-info {
    background: #00000087;
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    margin: 15px 0px 0px 0px;
}

.our-work .card-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 100%;
    color: var(--jdg-white);
    margin: 0px;
}

.our-work .card-year {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 100%;
    text-align: right;
    text-transform: uppercase;
    color: #999999;
}

.our-work .see-more-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.our-work .see-more-btn.visible {
    display: flex;
}

.our-work .see-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.our-work .see-more-btn svg {
    transition: transform 0.3s ease;
}

.our-work .see-more-btn.active svg {
    transform: rotate(180deg);
}

.our-work .hidden-cards {
    display: none;
}

.our-work .hidden-cards.show {
    display: contents;
}

/* ============================================
   Footer
=============================================== */
footer {
    margin: 20px;
}

.pre-footer {
    background-image: url("../imgs/footer-grid.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-box {
    background-color: var(--jdg-footer-bg);
    padding: 40px 40px 73px;
    border-radius: 20px;
}

.footer-logo .footer-logo-img {
    opacity: 0;
    transform: translateY(50px);
    animation: bottomToTop 1.5s ease-out forwards;
}

.footer-logo p {
    color: var(--jdg-gray);
    font-family: var(--jdg-extra-font-family);
    font-size: 1.125rem;
}

.footer-email a {
    color: var(--jdg-white);
    font-family: var(--jdg-heading-font-family);
    font-size: 2.5rem;
    text-decoration: none;
    letter-spacing: -1.5px;
}

.main-footer .footer-item {
    list-style: none;
    display: grid;
    gap: 25px;
    padding-left: 0px;
}

.main-footer .footer-item a {
    color: var(--jdg-white);
    font-family: var(--jdg-heading-font-family);
    text-decoration: none;
    font-size: 1rem;
}

/* FOOTER COPYRIGHT */
.footer-copyright span,
.footer-copyright a {
    color: var(--jdg-white);
    font-family: var(--jdg-heading-font-family);
    text-decoration: none;
}

.main-footer .social-media-icons {
    display: flex;
    justify-content: end;
}

.footer-email {
    /* display: flex;
	justify-content: end; */
    text-align: end;
}

/* ============================================
   BACKGROUND GLOWS
=============================================== */
.glow-left,
.glow-right {
    position: absolute;
    width: 35vw;
    height: 30vw;
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

.glow-left {
    left: 0;
    background: radial-gradient(
        circle,
        rgba(40, 45, 100, 0.35),
        transparent 70%
    );
}

.glow-right {
    right: 0;
    background: radial-gradient(
        circle,
        rgba(0, 120, 80, 0.35),
        transparent 70%
    );
}

/* ============================================
   HERO + SHIMMER TEXT
=============================================== */
.pre-footer-hero {
    position: relative;
    text-align: center;
    padding: 0 0 180px;
    z-index: 5;
}

.shimmer-text {
    position: relative;
    font-size: 15.625rem;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -2px;
    font-family: var(--jdg-heading-font-family);
    display: block;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #f0f0f0 25%,
        #888888 50%,
        #f0f0f0 75%,
        #ffffff 100%
    );
    background-size: 500% 100%;
    animation: slowShimmer 20s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    /* opacity: 0; */
    transform: translateY(140px);
}

/* ============================================
   TALK NOW
=============================================== */
#talknow {
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 25%,
        rgba(0, 0, 0, 0.2) 55%,
        rgba(0, 0, 0, 0) 85%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 25%,
        rgba(0, 0, 0, 0.2) 55%,
        rgba(0, 0, 0, 0) 85%
    );
}

.talknow-container {
    position: relative;
    display: inline-block;
}

.circle-btn {
    position: absolute;
    bottom: -80px;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translateX(-50%);
}

.circle-btn svg {
    width: 100%;
    height: 100%;
    animation: rotateCircle 14s linear infinite;
}

.circle-text {
    fill: var(--jdg-white);
    font-family: var(--jdg-heading-font-family);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.separator {
    fill: var(--jdg-gray);
    font-size: 13px;
}

.center-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.center-arrow img {
    width: 34px;
}

.hidden {
    /* opacity: 0; */
    transform: translateY(150px);
}

/* SVG words */
.word {
    fill: var(--jdg-white);
    font-weight: 300;
    font-family: var(--jdg-heading-font-family);
}

.sep {
    fill: #999;
    opacity: 0.6;
    font-weight: 400;
}

/* ===========================================
Good Hand CTA
============================================== */

.good-hands .scroll-text {
    font-weight: 500;
    /* font-size: 120px;
	line-height: 150px; */
    font-size: clamp(48px, 6.5vw, 120px);
    line-height: clamp(60px, 8vw, 150px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(
        180deg,
        #ffffff 15%,
        rgba(255, 255, 255, 0) 80%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.grow-with-us .scroll-text {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 100%;
}

.good-hands .cta-content p {
    font-weight: 400;
    /* font-size: 22px;
	line-height: 28px; */
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: clamp(22px, 2vw, 28px);
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
}

.good-hands .cta-content {
    max-width: 100%;
}

.good-hands .cta-btn-wrap {
    margin-top: 80px;
}

.good-hands .cta-btn-wrap p {
    opacity: 1;
}

.book-a-call {
    padding-bottom: 0;
}

/* ===========================================
SERVICE PAGE
============================================== */
.service-title h2 {
    font-weight: 600;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: clamp(48px, 7vw, 90px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(
        180deg,
        #ffffff 8.33%,
        rgba(15, 15, 16, 0) 105.18%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 15px;
}

.service-title p {
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: clamp(22px, 2vw, 28px);
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
}

.pb-160 {
    padding-bottom: 100px;
}

/* contact page */
.t-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.t-icon h4 {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-white);
}

.t-icon i {
    opacity: 0.3;
    font-size: 14px;
}

.t-icon svg path {
    opacity: 0.3;
}

.contact-cn a,
.contact-cn p {
    display: block;
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: clamp(22px, 2vw, 28px);
    color: #999999;
    margin-bottom: 15px;
}

.contact-cn a:hover {
    color: var(--jdg-white);
}

.pt-150 {
    padding-top: 150px;
    padding-bottom: 0;
}

.contact-map iframe {
    width: 100%;
    height: 600px;
    border-radius: 20px;
}

.contact-bg {
    background-image: url("../imgs/JDG_Contact\ us.png");
    background-size: 100% 100%;
    background-repeat: repeat;
    background-position: bottom;
}

/* service child page */
.service-child-wrapper {
    padding: 50px 0px;
}

.webdesign-img {
    padding-bottom: 50px;
}

.s-text-wrapper ul {
    margin: 0;
    padding: 0;
    column-count: 2;
    margin-top: 34px;
}

.s-text-wrapper ul li {
    list-style: none;
    color: #666666;
    font-size: 18px;
    line-height: 36px;
}

.s-text-wrapper ul li img {
    margin-right: 15px;
}

.s-text-wrapper {
    margin: 60px 0;
}

.service-info .service-info-heading {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: var(--jdg-white);
    margin-bottom: 20px;
}

.service-info p {
    font-size: 18px;
    line-height: 28px;
}

.child-we-work-item {
    display: flex;
    gap: 30px;
    padding: 49px 40px;
    background: #ffffff05;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 20px;
}

.we-work-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.we-work-content-title {
    font-family: var(--jdg-heading-font-family);
    color: var(--jdg-white);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    padding-top: 5px;
    min-width: 325px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.we-work-content-description {
    color: #666666;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 0px;
    flex: 1;
}

.stats-wrapper .row {
    align-items: stretch;
}

/* Card size control */
.stat-card {
    width: 100%;
    height: 150px;
    /* adjust if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0000004f;
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.35s ease;
    cursor: pointer;
}

.stat-card span {
    font-size: 1.688rem;
}

.stat-card:hover {
    background: #6641fe1a;
}

.stat-card h2 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 500;
    font-size: 3.375rem;
    line-height: 100%;
    text-align: center;
    color: var(--jdg-white);
}

.stat-card p {
    font-family: var(--jdg-body-font-family);
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    margin: 0px;
}

/* ===========================================
Let’s Work Together
============================================== */

.lets-work-together {
    margin-bottom: 150px;
}

.lets-work-together .cta-wrapper {
    padding: 140px 100px;
}

.lets-work-together .cta-content {
    max-width: 774px;
}

.lets-work-together-title {
    font-style: normal;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 58px);
    line-height: clamp(40px, 5vw, 72px);
    text-align: center;
    letter-spacing: clamp(-0.02em, -0.03vw, -0.03em);
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lets-work-together-description {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: clamp(22px, 1.8vw, 28px);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.lets-work-together-btn-container {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.lets-work-together-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lets-work-together-btn-description {
    font-family: var(--jdg-body-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: var(--jdg-white);
}

.jdg-btn.jdg-outlined-btn {
    border: var(--primary-color) 1px solid;
    background-color: transparent;
}

/* ===========================================
LIFE AT JDG PAGE
============================================== */

.lag-intro-section {
    margin: 0 auto;
    padding: 168px 0;
    text-align: center;
    max-width: min(1080px, 100%);
}

.lag-intro--heading {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-size: clamp(36px, 4.8vw, 72px);
    line-height: clamp(44px, 6vw, 90px);
    letter-spacing: clamp(-0.02em, -0.03vw, -0.03em);
    text-transform: capitalize;

    background: var(--heading-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lag-intro--description {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: clamp(22px, 1.8vw, 28px);
    letter-spacing: 0;
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
}

.lag-scroll-section .container {
    display: flex;
    gap: 70px;
}

.lag-sticky-text-container {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-width: 50%;
    flex-shrink: 0;
}

.scroll-section--text_wrapper {
    display: flex;
    flex-direction: column;
    gap: 73px;
}

.lag-sticky-text-container .scroll-section--heading {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-style: SemiBold;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--jdg-white);
}

.lag-sticky-text-container .scroll-section--description_wrapper {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.lag-sticky-text-container
    .scroll-section--description_wrapper
    .scroll-section--description {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 1em;
    color: var(--jdg-white);
    opacity: 0.5;
    letter-spacing: -3%;
}

.scroll-section--image_wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.scroll-section--image_wrapper .scroll-section--image_item img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 34.34px 0px #000000e5;
    height: 300px;
    object-fit: cover;
}

.scroll-section--image_item {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    padding: 26px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    gap: 20px;
    border: 1px solid;
    border-image-source: linear-gradient(
        150.09deg,
        rgba(49, 249, 187, 0.3) -3.04%,
        rgba(79, 70, 229, 0.3) 80.38%
    );
    opacity: 27%;
    margin-top: -25px;
    flex-direction: column;
    box-shadow: 0px 20px 15.8px 0px #000000ab;
    z-index: 1;
    height: auto !important;
}

.scroll-section-image_title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-style: Regular;
    text-align: left;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: -4px;
    color: var(--jdg-white);
}

.scroll-section-image_desc {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--jdg-white);
}

.scroll-section--image_wrapper .scroll-section--image_item:first-child {
    opacity: 100%;
    margin-top: 0px;
    z-index: 4;
}

.scroll-section--image_item:nth-child(2) {
    z-index: 3;
}

.scroll-section--image_item:nth-child(3) {
    z-index: 2;
}

.scroll-section--image_item:nth-child(4) {
    z-index: 1;
}

/* Initial animation state */
.scroll-section--image_item {
    opacity: 0.25;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
}

/* Active card */
.scroll-section--image_item.is-active {
    opacity: 1;
}

.tech-desc {
    margin-top: 10px;
    font-size: 16px;
    color: #9a9a9a;
    margin-bottom: 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 18px;
}

.tech-card {
    height: 90px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    background: #00000033;
}

.tech-card img {
    max-width: 100%;
    width: auto;
    height: 100%;
    max-height: fit-content;
}

.main-title {
    text-align: center;
    margin-bottom: 60px;
}

.main-title h2 {
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    line-height: clamp(36px, 5vw, 60px);
    letter-spacing: -0.03em;
    color: var(--jdg-white);
}

.w-card-cn {
    background: #131314;
    padding: 24px;
    text-align: center;
    border-radius: 25px;
    transition: 0.2s ease all;
    height: 100%;
}

.w-card-cn:hover {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    transition: 0.2s ease all;
}

.w-img {
    margin-bottom: 20px;
}

.w-content h3 {
    font-weight: 400;
    font-size: clamp(16px, 2.2vw, 26px);
    line-height: clamp(22px, 2.8vw, 32px);
    text-align: center;
    color: var(--jdg-white);
    margin-bottom: 16px;
}

.w-content p {
    font-weight: 400;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: clamp(22px, 2.4vw, 28px);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.cel-slider {
    position: relative;
    background: none;
    overflow: hidden;
}

/* Background layer */
.cel-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../imgs/cel-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

/* Text wrapper */
.cel-text {
    position: relative;
    z-index: 1;
}

/* Diwali text */
.cel-text h3 {
    font-weight: 800;
    font-size: clamp(46px, 13vw, 280px);
    line-height: 86%;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SVG ROPE CONTAINER */
.rope-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* THE CARD FRAME */
.card {
    position: absolute;
    width: 130px;
    height: 160px;
    background-color: #f5f5f0;
    padding: 10px;
    padding-top: 14px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.4);
    transform-origin: top center;
    box-sizing: border-box;
    z-index: 2;
    border-radius: 3px;
    /* Start fully visible - no fade in */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* THE CLIP - Main body */
.card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #5a9fe0, #2a6db8);
    border: 2px solid #1e5090;
    border-radius: 5px 5px 3px 3px;
    z-index: 10;
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

/* THE CLIP DETAIL - Metal pin/rivet */
.card::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #e0e0e0, #999);
    border-radius: 50%;
    z-index: 11;
    box-shadow:
        inset 2px 2px 3px rgba(255, 255, 255, 0.9),
        0 2px 3px rgba(0, 0, 0, 0.5);
}

/* Card image styling */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ddd;
    border-radius: 2px;
}

.rp-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.rp-rope-svg {
    position: absolute;
    top: 11px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.rp-rope-svg path {
    stroke-width: 1px;
    stroke: #fff;
}

.cel-text h3 {
    font-weight: 800;
    font-size: clamp(46px, 13vw, 280px);
    line-height: 86%;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    z-index: -10;
    position: relative;
}

.rp-card {
    position: absolute;
    width: 371.2819519042969px;
    height: 445.1240234375px;
    transform-origin: top center;
    box-sizing: border-box;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* .rp-card::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #5a9fe0, #2a6db8);
    border: 2px solid #1e5090;
    border-radius: 5px 5px 3px 3px;
    z-index: 10;
    box-shadow:
        inset 3px 3px 6px rgba(255,255,255,0.3),
        inset -2px -2px 4px rgba(0,0,0,0.2),
        0 3px 6px rgba(0,0,0,0.4);
} */
/* 
.rp-card::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #e0e0e0, #999);
    border-radius: 50%;
    z-index: 11;
    box-shadow:
        inset 2px 2px 3px rgba(255,255,255,0.9),
        0 2px 3px rgba(0,0,0,0.5);
} */
section.cel-slider-main {
    height: auto;
    padding-bottom: 286px;
    background-image: url("../imgs/cel-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* Image line layer */
.cel-pics {
    position: relative;
    z-index: 2;
}

.service-child-faq .faq-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.service-child-faq .faq-item {
    background: #1b1b1b;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-child-faq .faq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}

.service-child-faq .faq-question {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 100%;
    color: var(--jdg-white);
}

.service-child-faq .faq-icon {
    width: 34px;
    height: 34px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
}

.service-child-faq .faq-body {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        height 0.7s ease,
        opacity 0.5s ease,
        transform 0.5s ease;
}

.service-child-faq .faq-item.active .faq-body {
    opacity: 1;
    transform: translateY(0);
}

.service-child-faq .faq-body p {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 28px;
    padding: 0px 24px;
    color: var(--jdg-gray);
}

/* Active */
.service-child-faq .faq-item.active .faq-body {
    max-height: 200px;
}

/* ===========================================
BLOG PAGE
============================================== */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-header h4 {
    font-size: clamp(1.75rem, 2rem, 2rem);
    font-weight: 400;
    color: var(--jdg-white);
    line-height: 1.25;
}

.view-toggle .btn {
    background: #1a1a1a;
    border: 1px solid #222;
    color: #aaa;
    margin-left: 6px;
}

.view-toggle .btn.active {
    background: var(--jdg-btn-gradient);
    color: var(--jdg-white);
}

/* BLOG CARD */
.blog-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    gap: 10px;
    display: grid;
}

.blog-card img {
    width: 100%;
    height: 433px;
    object-fit: cover;
    border-radius: 20px;
}

.blog-content {
    padding: 18px;
    background: #0000004f;
    color: var(--jdg-white);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.blog-meta {
    color: var(--jdg-white);
    margin-bottom: 6px;
    display: block;
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-content h5 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 30px;
}

/* LIST VIEW */
.list-view-active .blog-card img {
    height: 591px;
}

.list-view-active .blog-content h5 {
    font-size: 18px;
}

/* SIDEBAR */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: #0000004f;
    color: var(--jdg-white);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.sidebar-box h6 {
    font-size: 14px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.sidebar-box input {
    background: #0b0b0b;
    border: 1px solid #222;
    color: #fff;
}

/* RECENT POST */
.recent-post {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.recent-post img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post span {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-gray);
}

.recent-post p {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 20px;
    color: var(--jdg-white);
}

/* TAGS */
.tags li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

/* PAGINATION */
.pagination .page-link {
    background: #111;
    border: 1px solid #222;
    color: #aaa;
}

.pagination .active .page-link {
    background: #fff;
    color: #000;
}

.hide-sidebar {
    display: none !important;
}

/* ===========================================
CAREERS PAGE
============================================== */
.careers-content h2 {
    font-weight: 600;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: clamp(48px, 7vw, 90px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(
        180deg,
        #ffffff 8.33%,
        rgba(15, 15, 16, 0) 105.18%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 15px;
}

.careers-desc {
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: clamp(22px, 2vw, 28px);
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
    margin: auto;
}

.careers-images {
    margin-top: 70px;
}

.hiring-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 500;
    font-size: 52px;
    line-height: 58px;
    color: var(--jdg-white);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.job-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 66px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.job-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-item:hover::after {
    right: 0;
}

.job-left {
    display: flex;
    gap: 80px;
    flex: 1;
}

.job-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 23.32px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-white);
    letter-spacing: 0.3px;
    min-width: 535px;
}

.job-type {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 23.32px;
    line-height: 100%;
    text-transform: uppercase;
    color: #999999;
    min-width: 150px;
}

.apply-now {
    font-family: Funnel Display;
    font-weight: 400;
    font-size: 23.32px;
    line-height: 100%;
    text-align: right;
    text-transform: uppercase;
    color: #999999;
    letter-spacing: 0.8px;
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hiring-content {
    background-image: url("../imgs/hiring-bg-img.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.job-item:hover .apply-now {
    opacity: 1;
    transform: translateX(0);
}

.careers-work-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    color: var(--jdg-white);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.careers-work-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

.careers-work .feature-card {
    background: #ffffff08;
    border-radius: 20px;
    padding: 40px 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.careers-work .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165.97deg, #0b0573 -64.93%, #0f0f10 106.42%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.careers-work .feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        150.09deg,
        rgba(49, 249, 187, 0.3) -3.04%,
        rgba(79, 70, 229, 0.3) 80.38%
    );
    -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 cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.careers-work .feature-card:hover::before {
    opacity: 1;
}

.careers-work .feature-card:hover {
    background: rgba(30, 58, 138, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
}

.careers-work .feature-card-content {
    position: relative;
    z-index: 1;
}

.careers-work .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 51px;
}

.careers-work .feature-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: var(--jdg-white);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.careers-work .feature-description {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
}

.careers-work .col-card {
    margin-bottom: 30px;
}

.career-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.career-slider .slider-row {
    display: flex;
    width: max-content;
    will-change: transform;
}

.career-slider .slider-row:nth-child(1) {
    animation: scroll-left 200s linear infinite;
}

.career-slider .slider-row:nth-child(2) {
    /* flex-direction: row-reverse; */
    transform: translateX(-100%);
    animation: scroll-right 200s linear infinite;
}

.career-slider .slider-row.paused {
    animation-play-state: paused;
}

.career-slider .image-item {
    flex: 0 0 auto;
    width: 530px;
    height: 280px;
    margin: 5px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.career-slider .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.career-slider .image-item:hover img {
    transform: scale(1.05);
}

/* ===========================================
CAREER DETAILS PAGE
============================================== */
.career-details .career-wrapper {
    display: grid;
    grid-template-columns: 1fr 345px;
    gap: 50px;
    align-items: start;
}

.career-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    color: var(--jdg-white);
    margin-bottom: 16px;
}

.career-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.career-meta-label {
    color: var(--jdg-gray);
}

.career-meta-value {
    color: var(--jdg-white);
}

.career-intro {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
    margin-bottom: 40px;
}

.career-heading {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    padding: 40px 0px 30px 0px;
    border-top: 1px solid #e5e5e526;
    color: var(--jdg-white);
}

.career-list {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: var(--jdg-gray);
    padding-bottom: 40px;
}

.career-sidebar {
    position: sticky;
    top: 2rem;
    width: 320px;
    flex-shrink: 0;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    display: inline-grid;
    background: #0000004f;
    padding: 45px;
    border-radius: 20px;
    gap: 30px;
}

.career-info-label {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--jdg-gray);
    margin-bottom: 8px;
}

.career-info-value {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--jdg-white);
}

.career-footer-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: var(--jdg-white);
}

/* ===========================================
PORTFOLIO DETAILS PAGE
============================================== */

.work-detail-page-banner h1,
.work-detail-page-banner p {
    text-align: center;
}

.work-detail-page-banner .breadcrumb {
    justify-content: center;
}

.work-detail-page-banner .banner-content {
    max-width: 830px;
    margin: auto;
}

.work-detail-page-banner p {
    font-family: var(--jdg-extra-font-family);
}

.work-detail-page-banner h1 {
    letter-spacing: -3px;
}

.project-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.project-details-info {
    display: flex;
    gap: 4rem;
}

.project-details-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.project-details-label {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #999999;
}

.project-details-value {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-transform: capitalize;
    color: var(--jdg-white);
}

.project-details-hero {
    margin-bottom: 4rem;
}

.project-details-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.project-details-overview {
    margin-bottom: 4rem;
}

.project-details-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 28px;
    color: var(--jdg-white);
}

.project-details-text {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #c2c2c2;
}

.project-details-challenges {
    margin-bottom: 4rem;
}

.project-details-list {
    padding-left: 18px;
}

.project-details-list li {
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    color: var(--jdg-gray);
    line-height: 36px;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    position: relative;
}

.project-details-results {
    margin-bottom: 4rem;
}

.project-details-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.project-details-stat-item {
    text-align: left;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.project-details-stat-item:last-child {
    border-right: none;
}

.project-details-stat-number {
    font-family: var(--jdg-heading-font-family);
    font-weight: 300;
    font-size: 100px;
    line-height: 100%;
    color: #ffffffcc;
}

.project-details-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: capitalize;
}

.project-details-gallery {
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.project-gallery-slider {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery-slide {
    position: absolute;
    width: 70%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.project-gallery-slide.pgs-active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 3;
    pointer-events: auto;
}

.project-gallery-slide.pgs-left {
    opacity: 0.4;
    transform: scale(0.85) translateX(-85%);
    z-index: 1;
    pointer-events: auto;
}

.project-gallery-slide.pgs-right {
    opacity: 0.4;
    transform: scale(0.85) translateX(85%);
    z-index: 1;
    pointer-events: auto;
}

.project-gallery-slide.pgs-hidden {
    opacity: 0;
    transform: scale(0.7);
    z-index: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.project-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-gallery-dot.pgs-dot-active {
    background: var(--jdg-btn-gradient);
    width: 24px;
    border-radius: 5px;
}

.project-details-testimonial {
    background: #111112;
    border: 1px solid #29292a;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 4rem;
}

.project-details-stars {
    color: #ff8000;
    display: grid;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.project-details-testimonial-text {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 40px;
    color: var(--jdg-white);
    margin-bottom: 25px;
}

.project-details-author {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-details-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

.project-details-nav-link {
    font-family: Funnel Display;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--jdg-white);
    text-decoration: none;
}

.project-details-nav-link:hover {
    color: #ffffff;
}

.project-details-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    grid-template-rows: repeat(3, 8px);
    gap: 6px;
}

.project-details-nav-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-details-nav-dot:hover {
    background: var(--jdg-btn-gradient);
}

/* ===========================================
PRICING PAGE
============================================== */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-weight: 600;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: clamp(48px, 7vw, 90px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(
        180deg,
        #ffffff 8.33%,
        rgba(15, 15, 16, 0) 105.18%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 15px;
}

.pricing-subtitle {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}


.pricing-accordion-item {
    position: sticky;
    top: 0;
    background: #111; /* SOLID background — must match your page bg */
}

/* Force all accordion bodies open always */
.pricing-accordion-body {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}


.pricing-accordion-item.active {
    background: #000000fa;
    border-radius: 30px;
}

.pricing-accordion-item.active .pricing-accordion-header {
    border-top: none;
}

.pricing-accordion-header {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px 42px 0px 42px;
    transition: background-color 0.8s ease;
}

.pricing-accordion-left {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
}

.pricing-accordion-left h3 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    flex: 0 0 600px;
    color: var(--jdg-white);
}

.pricing-accordion-left p {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

.pricing-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 18px 40px;
}

.pricing-accordion-item.active .pricing-accordion-body {
    max-height: 1200px;
    padding: 0 18px 40px;
}

.pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pricing-card {
    background: #2525254f;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 25px;
    padding: 8px;
    transition: all 0.3s ease;
}

.pricing-card.active {
    border: 1px solid #0b0573 !important;
    background: linear-gradient(
        340.65deg,
        #0f0f10 -12.99%,
        #0b0573 91.84%
    ) !important;
    box-shadow:
        0px 8px 24px 0px rgba(255, 255, 255, 0.09) inset,
        0px 16px 24px 0px rgba(23, 11, 38, 0.1) !important;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-price {
    margin-bottom: 16px;
}

.pricing-card-price h2 {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-size: 64px;
    line-height: normal;
    margin-bottom: 0px;
    color: var(--jdg-white);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.pricing-card-price span {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #999999;
}

.pricing-card-name {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 28px;
    line-height: normal;
    padding-bottom: 34px;
    margin-bottom: 27px;
    color: #ffffff4f;
    border-bottom: 1px solid #29292a;
}

.pricing-card-box {
    background: #0a0a0a;
    padding: 24px 52px 22px 15px;
    border-radius: 20px;
}

.pricing-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 32px;
    text-decoration: none;
    width: 100%;
}

.pricing-card-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.pricing-card-button-icon {
    width: 20px;
    height: 20px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pricing-card-features {
    list-style: none;
    padding: 19px 24px;
    margin: 0;
}

.pricing-card-features li {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: var(--jdg-gray);
    display: flex;
    align-items: center;
    gap: 20px;
}

.pricing-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
}

.cst-pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
    background: #0a0a0a;
    padding: 15px 15px 15px 38px;
    border-radius: 30px;
}

.cst-pricing-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 41px;
}

.cst-pricing-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    color: var(--jdg-white);
    margin-bottom: 10px;
}

.cst-pricing-subtitle {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
}

.cst-pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cst-pricing-card {
    background: #2525254f;
    border-radius: 25px;
    padding: 8px;
    height: fit-content;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.cst-pricing-bottom {
    background: #0a0a0a;
    border-radius: 20px;
    padding: 19px 19px 25px 25px;
}

.cst-pricing-top {
    padding: 20px;
}

.cst-pricing-card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.cst-pricing-card-header {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    margin-bottom: 16px;
    color: #ffffff4f;
}

.cst-pricing-card:nth-child(1) {
    width: 379px;
}

.cst-pricing-card:nth-child(2) {
    width: 518px;
}

.cst-pricing-price-wrapper {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cst-pricing-price {
    font-family: var(--jdg-heading-font-family);
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    color: var(--jdg-white);
}

.cst-pricing-period {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    margin-left: 10px;
    color: #999999;
}

.cst-pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 23px;
}

.cst-pricing-feature {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    text-transform: capitalize;
    color: var(--jdg-gray);
    display: flex;
    align-items: center;
    gap: 20px;
}

.cst-pricing-button {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cst-pricing-button:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

.cst-pricing-button:before {
    content: "→";
    font-size: 1rem;
    font-weight: 600;
}

.cst-pricing-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 20px;
}

.cst-pricing-footer-item {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: var(--jdg-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cst-pricing-label {
    color: var(--jdg-white);
    margin-right: 3px;
    font-weight: 500;
}

.cst-pricing-faq-row {
    display: flex;
    gap: 37px;
    border-radius: 20px;
    padding: 67px 58px;
    background-image: url("../imgs/cst-pricing-bg-faq-img.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Left Side - Image & Contact */
.cst-pricing-faq-left {
    background: #2727274d;
    padding: 14px 14px 22px 14px;
    display: grid;
    gap: 32px;
    border-radius: 20px;
}

.cst-pricing-faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.cst-pricing-faq-contact-label {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-gray);
    letter-spacing: 0px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cst-pricing-faq-contact-info {
    margin-bottom: 30px;
}

.cst-pricing-faq-email,
.cst-pricing-faq-phone {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #ffffffb5;
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.cst-pricing-faq-email:hover,
.cst-pricing-faq-phone:hover {
    color: #7c6fff;
}

.cst-pricing-faq-btn {
    background: linear-gradient(135deg, #6b5fff 0%, #7c6fff 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(123, 111, 255, 0.3);
}

.cst-pricing-faq-btn::before {
    content: "+";
    font-size: 24px;
    font-weight: 300;
}

.cst-pricing-faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(123, 111, 255, 0.5);
}

/* Right Side - FAQ */
.cst-pricing-faq-right {
    flex: 1;
}

.cst-pricing-faq-header {
    margin-bottom: 50px;
}

.cst-pricing-faq-title {
    color: #ffffff;
    font-size: 52px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cst-pricing-faq-subtitle {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    color: var(--jdg-white);
}

/* FAQ Items */
.cst-pricing-faq-item {
    background: #2727274d;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cst-pricing-faq-item.active {
    background: #2727274d;
}

.cst-pricing-faq-question {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--jdg-white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

.cst-pricing-faq-question:hover {
    color: #e0e0e0;
}

.cst-pricing-faq-toggle {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--jdg-white);
}

.cst-pricing-faq-toggle::before,
.cst-pricing-faq-toggle::after {
    content: "";
    position: absolute;
    background: var(--jdg-black);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cst-pricing-faq-toggle::before {
    width: 12px;
    height: 2px;
}

.cst-pricing-faq-toggle::after {
    width: 2px;
    height: 12px;
}

/* When active, show only minus (horizontal line) */
.cst-pricing-faq-item.active .cst-pricing-faq-toggle {
    border-color: rgba(255, 255, 255, 0.5);
}

.cst-pricing-faq-item.active .cst-pricing-faq-toggle::after {
    opacity: 0;
    transform: rotate(90deg);
}

.cst-pricing-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s ease;
    opacity: 0;
}

.cst-pricing-faq-answer-content {
    padding: 0 20px 30px 20px;
    color: var(--jdg-gray);
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

.cst-pricing-faq-item.active .cst-pricing-faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* ===========================================
SQUARESPACE DEVELOPMENT SERVICES PAGE
============================================== */
.tech-inner-page-banner .banner-content {
    max-width: 80vw;
}

.tech-inner-page-banner .banner-content p {
    width: 40%;
}

.tech-inner-desc {
    margin-bottom: 10px;
    color: var(--jdg-gray);
}

p.tech-inner-title {
    margin-top: 50px;
    width: 62%;
}

button.tech-inner-btn {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 0px;
    /* border-radius: 50px; */
    background: transparent;
    color: var(--jdg-white);
    text-decoration: none;
    font-family: var(--jdg-heading-font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tech-inner-btn a {
    color: var(--jdg-white);
    gap: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.tech-stats-section {
    width: 1585px;
    margin: 0 auto;
    max-width: 100%;
}

.col-6.tech-box {
    display: flex;
    flex-direction: column;
    opacity: 0.26;
    transition: all 0.3s ease;
    padding: 25px 49px;
}

.tech-box:nth-child(2) {
    border-left: 1px solid rgb(229 229 229 / 21%);
    border-right: 1px solid rgb(229 229 229 / 21%);
}

.tech-box:nth-child(3) {
    border-left: none;
    border-right: 1px solid rgb(229 229 229 / 21%);
}

.tech-box:hover {
    opacity: 1;
}

.tech-box img {
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.tech-box-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--jdg-heading-font-family);
    color: var(--jdg-white);
    line-height: 1em;
    letter-spacing: -0.72px;
    text-align: center;
    margin-bottom: 15px;
}

.tech-box-desc {
    font-size: 18px;
    font-weight: 400;
    font-family: var(--jdg-extra-font-family);
    color: var(--jdg-gray);
    line-height: 1.5em;
    letter-spacing: -0.72px;
    text-align: center;
}

.main-card-section.service-card-section {
    padding: 60px 130px 0;
}

.service-main-heading h2 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.35;
    font-family: var(--jdg-heading-font-family);
    margin: 0px;
    text-align: center;
    color: var(--jdg-white);
    margin-bottom: 60px;
}

.service-card-box {
    padding: 32px 28px;
    background: rgb(118 118 118 / 5%);
    border-radius: 25px;
    width: 25%;
    border: 1px solid rgba(118, 118, 118, 0.2);
    transition: all 0.3s ease;
}

.service-card-box:hover {
    background: linear-gradient(120deg, #0b0573, #0f0f10);
}

.service-card-section .card-flex {
    gap: 20px;
    margin-bottom: 20px;
}

.service-number {
    text-align: center;
}

.service-card-box h3 {
    color: var(--jdg-white);
    text-align: center;
    font-family: var(--jdg-heading-font-family);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.5em;
    padding: 38px 0 16px;
}

.service-card-box p {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-family: var(--jdg-extra-font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55em;
}

section.why-choose {
    overflow-x: hidden;
    background: url("../imgs/bg-imgs/why-choose.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0;
    margin-top: 144px;
}

.why-choose-box {
    padding: 90px 30px 90px 130px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0px 20px 20px 0px;
}

.why-choose-box h2 {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: clamp(40px, 4.5vw, 58px);
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.why-choose-box p {
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.6);
}

.how-it-workk {
    padding-bottom: 0;
}

/* ─── wrapper ─── */
.dgurus-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin-left: 30px;
    padding-bottom: 60px;
}

/* ─── track ─── */
.dgurus-slider-track {
    display: flex;
    --dgurus-pos: 0;
    --dgurus-step: 33.3333%;
    transform: translateX(calc(var(--dgurus-pos) * var(--dgurus-step) * -1));
    transition: transform 0.6s ease;
    gap: 32px;
}

.why-choose .row {
    align-items: center;
}

/* ─── each card ─── */
.dgurus-slide {
    flex-shrink: 0;
    width: 33.3333%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    text-align: center;
}

.dgurus-slide:first-child {
    border-left: none;
}

.dgurus-slide-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 20px !important;
    width: 290px !important;
    max-width: 100%;
    margin: auto;
}

.dgurus-slide-text {
    color: rgba(102, 102, 102, 1);
    font-size: 18px;
    line-height: 28px;
}

/* ─── tablet  →  2 visible ─── */
@media (max-width: 900px) {
    .dgurus-slider-track {
        --dgurus-step: 50%;
    }

    .dgurus-slide {
        width: 50%;
        padding: 36px 22px;
    }

    .dgurus-slide-title {
        font-size: 16px;
    }
}

/* ─── mobile  →  1 visible ─── */
@media (max-width: 560px) {
    .dgurus-slider-track {
        --dgurus-step: 100%;
    }

    .dgurus-slide {
        width: 100%;
        padding: 30px 18px;
    }

    .dgurus-slide-title {
        font-size: 15px;
    }

    .dgurus-slide-text {
        font-size: 12px;
    }
}

.mj-process {
    color: #fff;
}

/* Title */
.mj-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
}

/* Card */
.mj-card {
    display: flex;
    gap: 30px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    color: #aaa;
    transition: 0.3s ease;
    margin-bottom: 20px;
}

section.mj-process {
    padding-top: 114px;
    padding-bottom: 151px;
}

.mj-card-active {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
    color: #fff;
}

.mj-card-img img {
    width: 304px;
    height: 259px;
    border-radius: 14px;
    object-fit: cover;
    max-width: 100%;
    min-height: 100%;
}

.mj-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.mj-card-content h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 24px;
}

.mj-card-content p {
    font-size: 18px;
    line-height: 28px;
    width: 485px;
    max-width: 100%;
}

/* Sticky Title CSS */
span.mj-step img {
    height: 69px !important;
}

.mj-process {
    position: relative;
    overflow: visible;
}

.mj-sticky-title {
    position: sticky;
    top: 0;
    z-index: 99;
}

/* Step number */

/* Hover */
.mj-card:hover {
    transform: translateY(-6px);
}

/* Responsive tweak */
@media (max-width: 991px) {
    .mj-title {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .mj-card {
        flex-direction: column;
    }

    .mj-card-img img {
        width: 100%;
        height: 200px;
    }

    .service-card-box {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .main-card-section.service-card-section {
        padding: 60px 30px 0;
    }

    .mj-sticky-title {
        position: static !important;
    }
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial-section {
    background-image: url("../imgs/test-bg.png");
    padding: 112px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ============================================
   TESTIMONIAL SLIDE
   ============================================ */
.testimonial-slide {
    width: 50%;
    padding: 20px;
    flex-shrink: 0;
}

.slide-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px 30px;
    background: transparent;
    position: relative;
}

/* ============================================
   QUOTE ICON
   ============================================ */
.quote-icon {
    flex-shrink: 0;
    width: 70px;
    height: 60px;
    color: rgba(255, 255, 255, 0.08);
    margin-top: -10px;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   SLIDE TEXT CONTENT
   ============================================ */
.slide-text {
    flex: 1;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    color: rgba(255, 128, 0, 1);
    font-size: 18px;
    line-height: 1;
}

/* Testimonial Heading */
.testimonial-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    color: #b0b7c3;
    line-height: 1.7;
    margin-bottom: 69px;
}

/* Divider Line */
.divider {
    width: 100%;
    height: 1px;
    background: rgba(229, 229, 229, 1);
    margin-bottom: 20px;
}

/* ============================================
   AUTHOR INFO
   ============================================ */
.author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.author-designation {
    font-size: 0.875rem;
    color: #9ca3af;
}

.author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SLIDER DOTS NAVIGATION
   ============================================ */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--jdg-btn-gradient);
    width: 35px;
    border: 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6px;
}

.section-header {
    text-align: center;
    margin-bottom: 79px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: clamp(36px, 5vw, 60px);
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 25px;
}

.section-header p {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: clamp(18px, 1.6vw, 22px);
    text-align: center;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .testimonial-section {
        padding: 60px 20px;
    }

    .testimonial-slide {
        min-width: 50%;
    }

    .slide-content {
        gap: 20px;
        padding: 30px 20px;
    }

    .quote-icon {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Mobile: 1 slide per view */
    .testimonial-slide {
        min-width: 100%;
        padding: 10px;
    }

    .slide-content {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .quote-icon {
        width: 50px;
        height: 50px;
        margin-top: 0;
    }

    .star-rating {
        margin-bottom: 12px;
    }

    .star {
        font-size: 16px;
        color: rgba(255, 128, 0, 1);
    }

    .testimonial-heading {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }

    .divider {
        margin-bottom: 16px;
    }

    .author-image {
        width: 48px;
        height: 48px;
    }

    .slider-dots {
        gap: 8px;
        margin-top: 35px;
    }

    .dot {
        width: 30px;
        height: 2.5px;
    }

    .dot.active {
        width: 40px;
    }
}

/* ============================================
   EXTRA SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .testimonial-section {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .slide-content {
        padding: 20px 15px;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
    }

    .testimonial-heading {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .author-image {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */
.testimonial-slide {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Smooth hover effect on slides */
.slide-content:hover .quote-icon {
    color: rgba(255, 255, 255, 0.12);
    transition: color 0.3s ease;
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
.dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .slider-dots {
        display: none;
    }

    .testimonial-slide {
        min-width: 100%;
        page-break-inside: avoid;
    }
}

/* video section start */

.video-moments-section {
    background-image: url("../imgs/video-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 78px;
}

.video-moments-section h2 {
    font-weight: 800;
    font-size: clamp(48px, 10vw, 133.327px);
    line-height: 0.86;
    text-align: center;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    margin-bottom: 126px;
}

.video-slider-container {
    position: relative;
    width: 100%;
}

.video-slider-track {
    display: flex;
    gap: 20px;
    animation: slide 40s linear infinite;
    will-change: transform;
}

.video-slider-track:hover {
    animation-play-state: running;
}

.video-slide {
    flex-shrink: 0;
    width: 280px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    animation: slideUpDown 3s ease-in-out infinite;
}

/* Staggered effect */
.video-slide:nth-child(2n) {
    margin-top: 73px;
}

/* Up-down floating animation with different delays */
.video-slide:nth-child(1) {
    animation-delay: 0s;
}

.video-slide:nth-child(2) {
    animation-delay: 0.2s;
}

.video-slide:nth-child(3) {
    animation-delay: 0.4s;
}

.video-slide:nth-child(4) {
    animation-delay: 0.6s;
}

.video-slide:nth-child(5) {
    animation-delay: 0.8s;
}

.video-slide:nth-child(6) {
    animation-delay: 1s;
}

.video-slide:nth-child(7) {
    animation-delay: 1.2s;
}

.video-slide:nth-child(8) {
    animation-delay: 1.4s;
}

.video-slide:nth-child(9) {
    animation-delay: 1.6s;
}

.video-slide:nth-child(10) {
    animation-delay: 1.8s;
}

.video-slide:nth-child(11) {
    animation-delay: 2s;
}

.video-slide:nth-child(12) {
    animation-delay: 2.2s;
}

.video-slide:nth-child(13) {
    animation-delay: 2.4s;
}

.video-slide:nth-child(14) {
    animation-delay: 2.6s;
}

.video-slide:nth-child(15) {
    animation-delay: 2.8s;
}

.video-slide:nth-child(16) {
    animation-delay: 3s;
}

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

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

/* .slide:nth-child(2n) {
    animation: slideUpDownOffset 3s ease-in-out infinite;
} */

@keyframes slideUpDownOffset {
    0%,
    100% {
        transform: translateY(30px);
    }

    50% {
        transform: translateY(15px);
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

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

/* Tablet */
@media (max-width: 1024px) {
    .video-slide {
        width: 240px;
        height: 420px;
    }

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

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

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(25px);
        }

        50% {
            transform: translateY(13px);
        }
    }

    .video-moments-section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .video-slide {
        width: 180px;
        height: 320px;
        border-radius: 16px;
    }

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

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

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(20px);
        }

        50% {
            transform: translateY(10px);
        }
    }

    .video-slider-track {
        gap: 15px;
    }

    .video-moments-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .video-slide {
        width: 160px;
        height: 280px;
    }

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

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

    @keyframes slideUpDownOffset {
        0%,
        100% {
            transform: translateY(15px);
        }

        50% {
            transform: translateY(7px);
        }
    }
}

/* jdg outing slider */
/* CSS Variables for easy customization */
:root {
    --orbit-width: 90vw;
    --orbit-height: 70vh;
    --orbit-radius-x: 35vw;
    --orbit-radius-y: 10vh;
    --active-scale: 1.2;
    --inactive-scale: 0.75;
    --inactive-blur: 5px;
    --inactive-opacity: 0.5;
    --animation-duration: 24s;
    --image-size: 180px;
}

@media (max-width: 768px) {
    :root {
        --orbit-width: 95vw;
        --orbit-height: 60vh;
        --orbit-radius-x: 47.5vw;
        --orbit-radius-y: 30vh;
        --image-size: 120px;
    }
}

@media (max-width: 480px) {
    :root {
        --orbit-height: 50vh;
        --orbit-radius-y: 25vh;
        --image-size: 90px;
    }
}

/* Main Container */
.orbital-slider {
    position: relative;
    width: 100vw;
    height: 175vh;
    background: url("../imgs/cs-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center Text Container */
.center-content {
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

/* Stacked text elements for CSS-only text changes */
.center-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    font-size: clamp(52px, 8.5vw, 133.327px);
    line-height: 0.86;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    /* or 115px */
    text-align: center;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Each heading appears during specific animation phases */
.center-heading:nth-child(1) {
    animation: textFade1 var(--animation-duration) infinite;
}

.center-heading:nth-child(2) {
    animation: textFade2 var(--animation-duration) infinite;
}

.center-heading:nth-child(3) {
    animation: textFade3 var(--animation-duration) infinite;
}

.center-heading:nth-child(4) {
    animation: textFade4 var(--animation-duration) infinite;
}

.center-heading:nth-child(5) {
    animation: textFade5 var(--animation-duration) infinite;
}

.center-heading:nth-child(6) {
    animation: textFade6 var(--animation-duration) infinite;
}

.center-heading:nth-child(7) {
    animation: textFade7 var(--animation-duration) infinite;
}

.center-heading:nth-child(8) {
    animation: textFade8 var(--animation-duration) infinite;
}

/* Text fade animations - each appears for 1/8 of the total duration */
@keyframes textFade1 {
    0%,
    10% {
        opacity: 1;
    }

    12.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade2 {
    0%,
    12.5% {
        opacity: 0;
    }

    13%,
    22.5% {
        opacity: 1;
    }

    25%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade3 {
    0%,
    25% {
        opacity: 0;
    }

    26%,
    35% {
        opacity: 1;
    }

    37.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade4 {
    0%,
    37.5% {
        opacity: 0;
    }

    38%,
    47.5% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade5 {
    0%,
    50% {
        opacity: 0;
    }

    51%,
    60% {
        opacity: 1;
    }

    62.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade6 {
    0%,
    62.5% {
        opacity: 0;
    }

    63%,
    72.5% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade7 {
    0%,
    75% {
        opacity: 0;
    }

    76%,
    85% {
        opacity: 1;
    }

    87.5%,
    100% {
        opacity: 0;
    }
}

@keyframes textFade8 {
    0%,
    87.5% {
        opacity: 0;
    }

    88%,
    97.5% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Individual Image Wrapper - positioned on orbital path */
.orbit-image {
    position: absolute;
    width: clamp(260px, 32vw, 421px);
    aspect-ratio: 421 / 316;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: orbit var(--animation-duration) linear infinite;
}

/* Stagger each image around the circle */
.orbit-image:nth-child(1) {
    animation-delay: calc(var(--animation-duration) * 0 / 8);
}

.orbit-image:nth-child(2) {
    animation-delay: calc(var(--animation-duration) * -1 / 8);
}

.orbit-image:nth-child(3) {
    animation-delay: calc(var(--animation-duration) * -2 / 8);
}

.orbit-image:nth-child(4) {
    animation-delay: calc(var(--animation-duration) * -3 / 8);
}

.orbit-image:nth-child(5) {
    animation-delay: calc(var(--animation-duration) * -4 / 8);
}

.orbit-image:nth-child(6) {
    animation-delay: calc(var(--animation-duration) * -5 / 8);
}

.orbit-image:nth-child(7) {
    animation-delay: calc(var(--animation-duration) * -6 / 8);
}

.orbit-image:nth-child(8) {
    animation-delay: calc(var(--animation-duration) * -7 / 8);
}

/* Orbital rotation animation */
@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
            translateX(var(--orbit-radius-x)) translateY(0) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
            translateX(var(--orbit-radius-x)) translateY(0) rotate(-360deg);
    }
}

/* Image styling */
.orbit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(var(--inactive-blur));
    opacity: var(--inactive-opacity);
    transform: scale(var(--inactive-scale));
}

/* Active state - when image is on the right side (0-45deg and 315-360deg) */
.orbit-image:nth-child(1) img {
    animation: activePulse var(--animation-duration) infinite;
}

.orbit-image:nth-child(2) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -1 / 8);
}

.orbit-image:nth-child(3) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -2 / 8);
}

.orbit-image:nth-child(4) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -3 / 8);
}

.orbit-image:nth-child(5) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -4 / 8);
}

.orbit-image:nth-child(6) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -5 / 8);
}

.orbit-image:nth-child(7) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -6 / 8);
}

.orbit-image:nth-child(8) img {
    animation: activePulse var(--animation-duration) infinite;
    animation-delay: calc(var(--animation-duration) * -7 / 8);
}

/* Active pulse animation - sharp and enlarged when on right side */
@keyframes activePulse {
    0%,
    6% {
        filter: blur(0);
        opacity: 1;
        transform: scale(var(--active-scale));
    }

    12%,
    88% {
        filter: blur(var(--inactive-blur));
        opacity: var(--inactive-opacity);
        transform: scale(var(--inactive-scale));
    }

    94%,
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(var(--active-scale));
    }
}



/* ===========================================
   TEAM PAGE
============================================== */
.main-team {
    margin-top: 80px;
}

.main-team .col-lg-3 {
    margin-bottom: 25px;
}

.team-card {
    border-radius: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease-in-out;
    /* max-width: 400px; */

    height: 100%;
}

.team-card:hover {
    background: linear-gradient(340.65deg, #0f0f10 -12.99%, #0b0573 91.84%);
}

.team-card-image {
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.team-card:hover .team-card-image {
    background: rgba(255, 255, 255, 0.08);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-content {
    margin-top: 30px;
    padding: 20px;
}

.team-card-info {
    margin-bottom: 26px;
}

.team-card-name {
    font-family: "Funnel Display", sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: clamp(1.8rem, 4.5vw, 2.4rem);
    color: #ffffff;
    margin: 0 0 10px 0;
}

.team-card-designation {
    font-family: "Funnel Display", sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: clamp(1.2rem, 2.5vw, 1.4rem);
    text-transform: uppercase;
    color: #666666;
    margin: 0;
}

.team-card-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}


/* ===========================================
   TEAM DETAILS PAGE
============================================== */
.team-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
}

.profile-content {
    padding: 30px;
}

/* Left Card */
.profile-card {
    background: linear-gradient(340.65deg, #0F0F10 -12.99%, #0B0573 91.84%);
    border: 1px solid;
    border-image-source: linear-gradient(150.09deg, rgba(49, 249, 187, 0.3) -3.04%, rgba(79, 70, 229, 0.3) 80.38%);
    border-radius: 20px;
    padding: 10px 10px 30px 10px;
    text-align: start;
    height: fit-content;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    color: var(--jdg-white);
}

.profile-title {
    font-size: 13px;
    color: var(--jdg-gray);
    margin-bottom: 25px;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: start;
    gap: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-links a:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Right Content */
.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff;
}

.section-text {
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #666666;
    margin-bottom: 12px;
}

.company-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.company-link:hover {
    text-decoration: underline;
}

/* Skills */
.skill-item {
    margin-bottom: 18px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.skill-percentage {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    transition: width 3s ease;
    width: 0;
}

/* Contact Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    color: #000;
}

.contact-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .team-grid {
        gap: 30px;
    }

    .profile-name {
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }
}




/* MODERN ANIMATION INITIAL STATES */

/* 1. Blur Reveal (For Headings/Text) */
.anim-text {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    will-change: transform, opacity, filter;
}

/* 2. Image Scale (For Photos) */
.anim-img {
    opacity: 0;
    transform: scale(1.1);
    /* Starts zoomed in */
    clip-path: inset(0 0 100% 0);
    /* Masiked from bottom */
    will-change: transform, opacity, clip-path;
}

/* 3. Panel/Card Pop (For single cards) */
.anim-pop {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    will-change: transform, opacity;
}

/* 4. Stagger Parent (Hides children initially) */
.anim-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* 5. Line/Divider Expand */
.anim-line {
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.out-line-btn {
    background: transparent;
    border: 1px solid rgba(102, 65, 254, 1);
}

.logo-slider-main {
    padding-bottom: 0;
}

/* ===========================================
   SERVICE PAGE SIDEBAR (SPECIFIC)
============================================== */

/* Container & Sticky Logic */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Specific Card Styling */
.sidebar-card {
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
    border-radius: 20px;
    padding: 40px 40px;
    background: #0000004f;
    transition: transform 0.3s ease;
}

/* Sidebar Headings */
.sidebar-card .sidebar-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--jdg-white);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

/* Project Links List */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    border-bottom: 1px solid #e5e5e5;
}

/* 
.sidebar-links li:last-child {
    border-bottom: none;
} */

.sidebar-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #999999;
    text-decoration: none;
    font-family: var(--jdg-heading-font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sidebar-links li a:hover {
    color: var(--jdg-white);
}

.sidebar-links .link-arrow {
    width: 16px;
    height: auto;
    opacity: 0.3;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.sidebar-links li a:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Consultation Form Specifics */
.sidebar-form .form-group {
    position: relative;
    margin-bottom: 15px;
}

.sidebar-form .form-control {
    background: #ffffff0f !important;
    /* Slightly lighter than card bg */
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    padding: 16px 50px 16px 20px !important;
    color: var(--jdg-white) !important;
    font-family: var(--jdg-body-font-family);
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.sidebar-form .form-control::placeholder {
    color: #444444;
}

.sidebar-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: #1c1c1c !important;
    box-shadow: none !important;
}

/* Icon placement inside inputs */
.sidebar-form .input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    opacity: 1;
    pointer-events: none;
}

.sidebar-form textarea.form-control {
    padding-top: 20px !important;
}

.sidebar-form textarea + .input-icon {
    top: 28px;
    transform: none;
}

/* ==================  
blog details CSS
=================== */

.blog_details_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog_details_post_content section {
    padding: 0px 0px !important;
}

.blog_details_layout {
    display: grid;
    grid-template-columns: 280px 1fr 350px;
    gap: 40px;
    align-items: start;
    overflow: visible !important;
}

/* LEFT SIDEBAR - TABLE OF CONTENTS */

.blog_details_toc_sidebar {
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
    /* Thoda kam kar diya */
    background: #6366f1;
    border-radius: 8px;
    padding: 25px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 100;
}

.blog_details_toc_sidebar h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.blog_details_toc_list {
    list-style: none;
    padding-left: 0px;
    max-height: calc(100vh - 180px);
}

.blog_details_toc_list li {
    margin-bottom: 10px;
}

.blog_details_toc_list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog_details_toc_list a:hover,
.blog_details_toc_list a.active {
    background: #f7fafc;
    color: #3182ce;
    padding-left: 16px;
}

/* MAIN CONTENT AREA */
.blog_details_main_content {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.blog_details_post_meta {
    display: flex;
    gap: 25px;
    font-size: 20px;
    color: #8c8f94;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog_details_post_meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog_details_post_title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.blog_details_featured_image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog_details_post_content h2 {
    font-size: 35px;
    color: #fff;
    margin: 0px 0 15px;
    padding-top: 10px;
}

.blog_details_post_content h3 {
    font-size: 22px;
    color: #fff;
    margin: 25px 0 12px;
}

.blog_details_post_content p {
    margin-bottom: 22px;
    line-height: 1.6;
    color: #8c8f94;
    font-size: 18px !important;
}

.blog_details_post_content ul {
    margin: 20px 0 20px 20px;
    line-height: 1.8;
}

.blog_details_post_content ul li {
    margin-bottom: 8px;
    color: #8c8f94;
}

.blog_details_content_image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.blog_details_post_footer {
    border-top: 1px solid #e2e8f0;

    margin-top: 40px;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;
}

.blog_details_post_tags {
    display: flex;

    gap: 10px;

    align-items: center;
}

.blog_details_post_tags span {
    font-weight: 600;

    color: #2d3748;
}

.blog_details_tag {
    background: #edf2f7;

    color: #4a5568;

    padding: 6px 12px;

    border-radius: 5px;

    font-size: 13px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.blog_details_tag:hover {
    background: #3182ce;

    color: #fff;
}

.blog_details_post_category {
    display: flex;

    gap: 10px;

    align-items: center;
}

.blog_details_post_category span {
    font-weight: 600;

    color: #2d3748;
}

.blog_details_category_link {
    background: #3182ce;

    color: #fff;

    padding: 6px 12px;

    border-radius: 5px;

    font-size: 13px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.blog_details_category_link:hover {
    background: #2c5aa0;
}

/* COMMENT SECTION */

.blog_details_comments_section {
    margin-top: 40px;

    padding-top: 40px;

    border-top: 1px solid #e2e8f0;
}

.blog_details_comments_section h3 {
    font-size: 24px;

    margin-bottom: 20px;

    color: #fff;
}

.blog_details_comment_form {
    display: grid;

    gap: 15px;
}

.blog_details_form_group {
    display: flex;

    flex-direction: column;
}

.blog_details_form_group label {
    margin-bottom: 8px;

    color: #fff;

    font-weight: 500;
}

.blog_details_form_group input,
.blog_details_form_group textarea {
    padding: 12px;

    border: 1px solid #1d1d1d;

    border-radius: 5px;

    font-family: inherit;

    font-size: 14px;
}

.blog_details_form_group textarea {
    min-height: 120px;

    resize: vertical;

    background-color: #1d1d1d;
}

.blog_details_submit_btn {
    background: #6366f1;

    color: #fff;

    padding: 12px 30px;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    transition: all 0.3s ease;

    justify-self: start;
}

.blog_details_submit_btn:hover {
    background: #2c5aa0;
}

/* RIGHT SIDEBAR */

.blog_details_sidebar_widget {
    background: #1d1d1d;

    border-radius: 8px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

    padding: 25px;

    margin-bottom: 30px;

    border: 1px solid #1d1d1d;
}

.blog_details_sidebar_widget h3 {
    font-size: 20px;

    margin-bottom: 20px;

    color: #fff;

    padding-bottom: 12px;

    border-bottom: 2px solid #e2e8f0;
}

/* SEARCH BAR */

.blog_details_search_form {
    display: flex;

    gap: 10px;
}

.blog_details_search_input {
    flex: 1;

    padding: 12px 15px;

    border: 1px solid #e2e8f0;

    border-radius: 5px;

    font-size: 14px;
}

.blog_details_search_btn {
    background: #6366f1;

    color: #fff;

    padding: 12px 20px;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.blog_details_search_input .form-control,
.form-select,
input {
    background-color: #1d1d1d !important;

    color: #fff !important;
}

.blog_details_search_btn:hover {
    background: #2c5aa0;
}

/* RECENT POSTS */

.blog_details_recent_post {
    display: flex;

    gap: 15px;

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid #f7fafc;
}

.blog_details_recent_post:last-child {
    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;
}

.blog_details_recent_post_image {
    width: 80px;

    height: 80px;

    object-fit: cover;

    border-radius: 5px;

    flex-shrink: 0;
}

.blog_details_recent_post_content h4 {
    font-size: 15px;

    margin-bottom: 8px;

    line-height: 1.4;
}

.blog_details_recent_post_content h4 a {
    color: #fff;

    text-decoration: none;

    transition: color 0.3s ease;
}

.blog_details_recent_post_content h4 a:hover {
    color: #3182ce;
}

.blog_details_recent_post_date {
    font-size: 13px;

    color: #fff;
}

/* CATEGORIES */

.blog_details_category_list {
    list-style: none;

    padding-left: 0px;
}

.blog_details_category_item {
    margin-bottom: 12px;
}

.blog_details_category_item a {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 15px;

    background: #f7fafc;

    border-radius: 5px;

    color: #4a5568;

    text-decoration: none;

    transition: all 0.3s ease;
}

.blog_details_category_item a:hover {
    background: #3182ce;

    color: #fff;

    padding-left: 20px;
}

.blog_details_category_count {
    background: #e2e8f0;

    color: #4a5568;

    padding: 3px 10px;

    border-radius: 12px;

    font-size: 12px;
}

.blog_details_category_item a:hover .blog_details_category_count {
    background: rgba(255, 255, 255, 0.2);

    color: #fff;
}

/* CATEGORY IMAGES */

.blog_details_category_images {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.blog_details_category_image_item {
    position: relative;

    overflow: hidden;

    border-radius: 5px;

    cursor: pointer;
}

.blog_details_category_image_item img {
    width: 100%;

    height: 90px;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.blog_details_category_image_item:hover img {
    transform: scale(1.1);
}

.blog_details_category_image_overlay {
    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);

    color: #fff;

    padding: 8px;

    font-size: 11px;

    font-weight: 600;
}

/* Scrollbar styling for TOC */

.blog_details_toc_sidebar::-webkit-scrollbar {
    width: 6px;
}

.blog_details_toc_sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;

    border-radius: 10px;
}

.blog_details_toc_sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;

    border-radius: 10px;
}

.blog_details_toc_sidebar::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Mobile TOC Toggle Button */

.blog_details_mobile_toc_toggle {
    display: none;

    position: fixed;

    bottom: 20px;

    right: 20px;

    background: #3182ce;

    color: #fff;

    width: 56px;

    height: 56px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    z-index: 1000;

    font-size: 24px;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;
}

.blog_details_mobile_toc_toggle:hover {
    background: #2c5aa0;

    transform: scale(1.05);
}

.blog_details_mobile_toc_overlay {
    display: none;

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.5);

    z-index: 999;
}

.blog_details_mobile_toc_overlay.active {
    display: block;
}
