/* digitalservices.css */

/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    /* Global Box Sizing Reset for Consistency */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    /* Global Box Sizing Reset for Consistency */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Gold Gradient */
    --gold-1: #bf953f;
    --gold-2: #fcf6ba;
    --gold-3: #b38728;
    --gold-4: #fbf5b7;
    --gold-5: #aa771c;

    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================================
   UTILITIES
   ========================================= */
.ds-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #f3e3c3, #eec063);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-padding {
    padding: 100px 0;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.ds-why-img-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(238, 192, 99, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ds-why-img-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ds-why-img-container:hover img {
    transform: scale(1.05);
}

.ds-why-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
/* =========================================
   CINEMATIC HERO SECTION
   ========================================= */
.cinematic-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
}

/* 1. Background Gradient (CSS Fallback & Overlay) */
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(19, 19, 19, 1) 0%, rgba(5, 5, 5, 1) 100%);
    z-index: 1;
}

/* High-Quality Gradient Mesh Animation (Fallback Mode) */
.fallback-mode .hero-bg-gradient {
    background:
        radial-gradient(at 0% 0%, rgba(209, 169, 95, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(40, 40, 40, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(209, 169, 95, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(40, 40, 40, 0.1) 0px, transparent 50%);
    background-size: 150% 150%;
    animation: meshBreath 15s ease infinite alternate;
}

@keyframes meshBreath {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Three.js Canvas Container */
.canvas-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through if needed, but we handle interaction globally */
}

/* 3. Content overlay */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    pointer-events: none;
    /* Text shouldn't block canvas interaction */
}

/* Pointer events re-enabled for interactive elements */
.hero-content a {
    pointer-events: auto;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #fff;
    mix-blend-mode: exclusion;
    /* Cool effect over 3D orb */
}

.hero-headline span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    animation: cineFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-headline .line-1 {
    animation-delay: 0.2s;
}

.hero-headline .line-2 {
    animation-delay: 0.4s;
    color: var(--gold-1);
}

.hero-subtext {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: cineFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.8s;
}

@keyframes cineFadeIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* 4. Magnetic CTA */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    color: var(--gold-1);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: color 0.3s;
    cursor: pointer;
    overflow: hidden;
    /* For border effect */
    opacity: 0;
    animation: cineFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s;
}

.magnetic-btn .btn-text {
    position: relative;
    z-index: 2;
}

/* Custom border logic */
.magnetic-btn .btn-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(209, 169, 95, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.magnetic-btn:hover {
    color: #fff;
}

.magnetic-btn:hover .btn-border {
    border-color: var(--gold-1);
    background: rgba(209, 169, 95, 0.1);
    box-shadow: 0 0 30px rgba(209, 169, 95, 0.2);
    transform: scale(1.05);
}

/* 5. Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: cineFadeIn 1s forwards 2s;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold-1);
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* OLD HERO DELETED */

/* =========================================
   2. PROCESS SECTION (Cards with Hover)
   ========================================= */
.ds-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.ds-process-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Big Number Background */
.ds-process-num {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    transition: all 0.5s ease;
    z-index: 0;
}

/* Content */
.ds-process-content {
    position: relative;
    z-index: 1;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.ds-p-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(191, 149, 63, 0.3));
    transition: transform 0.5s ease;
}

.ds-p-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.ds-p-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-1);
    transition: width 0.4s ease;
}

.ds-process-card:hover .ds-p-title::after {
    width: 100%;
}

.ds-p-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Hover Details (Hidden by default or slide up) */
.ds-p-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.ds-p-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-p-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid var(--gold-1);
}

/* HOVER EFFECTS */
.ds-process-card:hover {
    background: linear-gradient(145deg, rgba(191, 149, 63, 0.1) 0%, rgba(5, 5, 5, 0.8) 100%);
    border-color: var(--gold-1);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ds-process-card:hover .ds-process-num {
    color: rgba(191, 149, 63, 0.1);
    transform: translateY(-10px) scale(1.1);
}

.ds-process-card:hover .ds-process-content {
    transform: translateY(0);
}

.ds-process-card:hover .ds-p-icon {
    transform: scale(1.1);
}

.ds-process-card:hover .ds-p-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
}

/* Add glow dot */
.ds-process-card::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 8px;
    height: 8px;
    background: var(--gold-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-1);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.ds-process-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px var(--gold-2);
}

/* =========================================
   2. PROCESS SECTION (Steps/Progress)
   ========================================= */
.ds-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.ds-process-steps {
    border-left: 2px solid rgba(191, 149, 63, 0.3);
    padding-left: 40px;
}

.ds-process-step {
    position: relative;
    padding-bottom: 40px;
}

.ds-process-step::before {
    content: '';
    position: absolute;
    left: -49px;
    /* adjusts for border + padding */
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gold-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-2);
}

.ds-step-title {
    color: var(--gold-2);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* =========================================
   3. WHY US & 4. DIFFERENTIATION
   ========================================= */
.ds-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    align-items: center;
}

.ds-chart-circle {
    width: 300px;
    height: 300px;
    max-width: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 20, 20, 1) 40%, rgba(191, 149, 63, 0.1) 70%);
    border: 1px solid rgba(191, 149, 63, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(191, 149, 63, 0.1);
}

.chart-val {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-1);
}

/* =========================================
   5. PARTNERS STRIP
   ========================================= */
.ds-partners-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.ds-partner-logo {
    /* filter: grayscale(100%) brightness(0.8); REMOVED for visibility */
    /* opacity: 0.6; REMOVED for visibility */
    transition: transform 6s ease-in-out;
    /* Adjusted for float logic */
    height: 80px;
    /* Bigger size as requested */
    object-fit: contain;
    animation: floatLogo 6s ease-in-out infinite;
}

/* Staggered animation delays for dynamic feel */
.ds-partner-logo:nth-child(1) {
    animation-delay: 0s;
}

.ds-partner-logo:nth-child(2) {
    animation-delay: 1.5s;
}

.ds-partner-logo:nth-child(3) {
    animation-delay: 3s;
}

.ds-partner-logo:nth-child(4) {
    animation-delay: 4.5s;
}

/* Hover effects removed as requested */

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================
   6. FAQ
   ========================================= */
/* =========================================
   6. FAQ (Premium Modern)
   ========================================= */
.ds-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-left: 3px solid transparent;
    /* Accent line prep */
    border-radius: 12px;
    margin-bottom: 24px;
    /* Increased spacing */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ds-faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(191, 149, 63, 0.3);
    transform: translateY(-2px);
}

.ds-faq-item.open {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
    border-color: rgba(191, 149, 63, 0.4);
    border-left-color: var(--gold-1);
    /* Accent line on active */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.ds-faq-q {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    /* Bolder */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.ds-faq-item:hover .ds-faq-q,
.ds-faq-item.open .ds-faq-q {
    color: var(--gold-1);
}

/* Animated Plus Icon */
.ds-faq-q::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), color 0.3s;
    line-height: 1;
    display: block;
}

.ds-faq-item.open .ds-faq-q::after {
    transform: rotate(135deg);
    /* Rotates to X */
    color: var(--gold-1);
}

.ds-faq-a {
    padding: 0 30px 30px;
    color: #ccc;
    /* Lighter text */
    display: none;
    line-height: 1.8;
    /* Increased line-height */
    border-top: none;
    /* Visual separation */
    margin-top: -10px;
    padding-top: 24px;
    font-size: 1rem;
    font-weight: 300;
}

.ds-faq-item.open .ds-faq-a {
    display: block;
    animation: slideDown 0.4s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   8. SERVICES GRID
   ========================================= */
.ds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.ds-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ds-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ds-card:hover {
    transform: translateY(-10px);
    border-color: rgba(191, 149, 63, 0.5);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ds-card:hover::before {
    opacity: 1;
}

.ds-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-1);
    margin: 20px 0;
    display: block;
}

.ds-card__price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.ds-card__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.ds-card__list li {
    margin-bottom: 12px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.ds-card__list li::before {
    content: '✓';
    color: var(--gold-2);
}

.ds-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-1);
    color: black;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* =========================================
   9. PROCESS STEPS (Horizontal)
   ========================================= */
/* =========================================
   9. PROCESS STEPS (Horizontal)
   ========================================= */
.ds-pill {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--gold-2);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.ds-steps-horiz {
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: relative;
    margin-top: 80px;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-steps-horiz::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 0;
    border-top: 2px dashed rgba(191, 149, 63, 0.3);
    z-index: 0;
    display: none;
}

.ds-step-h-item {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.ds-step-h-item:hover {
    transform: translateY(-8px);
}

.ds-step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 1px solid var(--gold-1);
    color: var(--gold-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    box-shadow: 0 0 0 10px var(--bg-dark);
    /* Extends background to mask line */
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.ds-step-h-item:hover .ds-step-icon {
    transform: scale(1.1);
    border-color: var(--gold-2);
    box-shadow: 0 0 0 10px var(--bg-dark), 0 0 25px rgba(191, 149, 63, 0.6);
    color: #fff;
}

/* =========================================
   10. RECENT WORK (Bento Grid)
   ========================================= */
.ds-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.ds-bento-title {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-main);
}

.ds-link-arrow {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--gold-1);
    padding-bottom: 4px;
    transition: all 0.3s;
}

.ds-link-arrow:hover {
    color: var(--gold-1);
    padding-right: 10px;
}

.ds-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    grid-auto-rows: 320px;
}

.ds-span-2 {
    grid-column: span 2;
}

.ds-bento-card {
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    color: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.ds-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.ds-bc-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.ds-bc-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ds-bc-content strong {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Background Colors */
.bg-purple {
    background: #3D1C33;
}

.bg-yellow {
    background: #F5C242;
    color: #222 !important;
    /* Dark text for yellow card */
}

.bg-yellow .ds-bc-content h3 {
    text-shadow: none;
}

.bg-red {
    background: #D9232D;
}

.bg-pink {
    background: #E05C9E;
}

.bg-green {
    background: #3CB85D;
}

.bg-blue {
    background: #0075BE;
}

/* Images */
.ds-bc-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    z-index: 1;
}

.ds-bc-img-wide {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 90%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    z-index: 1;
}

.ds-bento-card:hover .ds-bc-img,
.ds-bento-card:hover .ds-bc-img-wide {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .ds-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ds-bento-grid {
        grid-template-columns: 1fr;
    }

    .ds-span-2 {
        grid-column: span 1;
    }
}

/* =========================================
   TABS & CTA
   ========================================= */
.ds-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ds-tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.ds-tab-btn.active,
.ds-tab-btn:hover {
    border-color: var(--gold-1);
    color: var(--gold-2);
    background: rgba(191, 149, 63, 0.1);
}

.ds-cta {
    background: linear-gradient(to top, rgba(191, 149, 63, 0.1), transparent);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.ds-cta__box {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--gold-3);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (min-width: 768px) {
    .ds-steps-horiz::before {
        display: block;
    }
}

@media (max-width: 768px) {
    .ds-hero__title {
        font-size: 3rem;
    }

    .ds-card {
        padding: 30px;
    }

    .ds-diff-layout {
        flex-direction: column;
    }

    .ds-chart-circle {
        width: 250px;
        height: 250px;
    }
}

/* =========================================
   3. WHY US SECTION (Deep Blue Premium)
   ========================================= */
.ds-why-section {
    background: radial-gradient(circle at 100% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(5, 5, 5, 1) 70%);
    position: relative;
    overflow: hidden;
}

.ds-why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    z-index: -1;
}

.ds-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Left Text */
.ds-why-text {
    padding-top: 20px;
}

.ds-why-label {
    color: var(--gold-1);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.ds-why-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-why-desc {
    color: #ffffff;
    /* slight blue-gray tint */
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Right Cards */
.ds-why-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.ds-why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 244, 185, 0.374);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    /* Stretch to fill available vertical space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ds-why-card:hover {

    border-color: rgba(255, 229, 100, 0.674);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ds-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 213, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.245);
}

.ds-wc-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.ds-wc-text {
    font-size: 0.95rem;
    color: #b0b0cc;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ds-why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ds-why-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   4. DIFFERENTIATION SECTION (Founder Style)
   ========================================= */
.ds-diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Visuals */
.ds-diff-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.ds-diff-circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.ds-diff-founder-img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    border-radius: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.ds-diff-stat {
    position: absolute;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--gold-3);
    padding: 15px 20px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.stat-1 {
    top: 10%;
    left: 0;
}

.stat-2 {
    top: 15%;
    right: 0;
}

.stat-3 {
    bottom: 10%;
    right: 10%;
}

.ds-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-1);
}

.ds-stat-label {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 4px;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.stat-2.floating {
    animation-delay: 1s;
}

.stat-3.floating {
    animation-delay: 2s;
}

/* Right Content */
.ds-diff-content {
    padding-left: 20px;
}

.ds-section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.ds-section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.ds-diff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ds-diff-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prepare for border transition */
    cursor: default;
}

/* Active State & Hover Effect */
/* Standard Item Hover: Slide + Glow */
.ds-diff-item:not(.active):hover {
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.05), transparent);
    border: 1px solid rgba(191, 149, 63, 0.3);
    transform: translateX(10px);
}

/* Active Item (Listen & Engage): Always Highlighted */
.ds-diff-item.active {
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.1), transparent);
    border: 1px solid rgba(191, 149, 63, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

/* Unique Hover for Active Item: Pulse/Scale More */
.ds-diff-item.active:hover {
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.2), transparent);
    border-color: var(--gold-1);
    box-shadow: 0 0 40px rgba(191, 149, 63, 0.4);
    transform: scale(1.05);
}

.ds-diff-icon {
    width: 30px;
    height: 30px;
    background: rgba(191, 149, 63, 0.2);
    color: var(--gold-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1rem;
    border: 1px solid var(--gold-1);
    transition: all 0.3s ease;
}

.ds-diff-item.active .ds-diff-icon,
.ds-diff-item:hover .ds-diff-icon {
    background: var(--gold-1);
    color: black;
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.5);
}

.ds-diff-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: var(--font-heading);
}

.ds-diff-item p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .ds-diff-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .ds-diff-visual {
        margin-bottom: 50px;
    }
}

/* =========================================
   7. CALL TO ACTION (CTA) - Premium Redesign
   ========================================= */
.ds-cta-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(25, 25, 25, 0.95));
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 30px;
    padding: 60px 80px;
    display: flex;
    /* Flexbox Force */
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.ds-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
}

.ds-cta-content {
    flex: 1;
    z-index: 2;
    text-align: left;
}

.ds-cta-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--gold-1);
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 700;
}

.ds-cta-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
    font-family: var(--font-heading);
}

.ds-cta-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.ds-cta-desc strong {
    color: var(--gold-2);
    font-weight: 600;
}

/* Button with distinct Glow */
.ds-btn-glow {
    display: block;
    /* Ensure block level */
    width: 100%;
    margin: 0 auto;
    padding: 16px 20px;
    background: linear-gradient(90deg, #f3e3c3, #eec063);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(191, 149, 63, 0.3);
    /* Consistent with first def */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.ds-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(191, 149, 63, 0.6);
}

/* Image Wrapper & Circle Profile */
.ds-cta-image-wrapper {
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ds-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ESSENTIAL for cropping */
    border-radius: 50%;
    /* ESSENTIAL for circle */
    border: 4px solid var(--gold-1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.ds-cta-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.3) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 900px) {
    .ds-cta-card {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }

    .ds-cta-image-wrapper {
        width: 250px;
        height: 250px;
        margin-bottom: 30px;
        order: -1;
    }

    .ds-cta-content {
        text-align: center;
    }

    .ds-cta-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   8. SERVICES TABS (Premium Floating Pills)
   ========================================= */
.ds-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Spacing between independent pills */
    margin-bottom: 50px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.ds-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    /* Individual Glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 12px 30px;
    border-radius: 50px;
    /* Full pill for each */
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ds-tab-btn.active {
    background: linear-gradient(90deg, #f3e3c3, #eec063);
    color: #000;
    border-color: var(--gold-1);
    box-shadow: 0 5px 20px rgba(191, 149, 63, 0.4);
    font-weight: 700;
    transform: translateY(-2px);
    /* Slight lift */
}

.ds-tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .ds-tabs {
        flex-direction: column;
        align-items: center;
    }

    .ds-tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .ds-cta-card {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }

    .ds-cta-image-wrapper {
        width: 250px;
        height: 250px;
        margin-bottom: 30px;
        order: -1;
    }

    .ds-cta-content {
        text-align: center;
    }

    .ds-cta-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   1. HERO (Seamless Update)
   ========================================= */
.ds-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    /* Nav spacing */
}

.ds-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.ds-hero__content {
    text-align: left;
    max-width: 600px;
}

.ds-hero__visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ds-hero-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Creative Float Animation */
    animation: floatHero 6s ease-in-out infinite;
}

.ds-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Seamless Gradient Overlay */
.ds-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%);
    pointer-events: none;
}

.ds-btn-outline {
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 10px;

}

.ds-btn-outline:hover {
    border-color: var(--gold-1);
    color: var(--gold-1);
    background: rgba(255, 255, 255, 0.05);
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 900px) {
    .ds-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ds-hero__content {
        margin: 0 auto;
        text-align: center;
    }

    .ds-actions {
        justify-content: center;
    }

    .ds-hero__visual {
        height: 400px;
    }
}

/* Fix for sticky hover on mobile */
@media (hover: none) and (pointer: coarse),
(max-width: 900px) {
    .ds-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border-color);
        background: var(--bg-card);
    }

    .ds-card:hover::before {
        opacity: 0;
    }
}