/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    font-family: Pattanakarn,sans-serif;
}

@font-face {
  font-family: 'Pattanakarn';
  src: url('/z/zingsansrustb_baseg.otf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Pattanakarn', 'Unbounded', 'Poppins', sans-serif;
    background: #0A0A0A;
    color: #E5E5E5;
}

body {
    height: 4000vh;
    display: flex;
    flex-direction: column;
}

/* ==================== CURSOR ==================== *//* ==================== CURSOR ==================== */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(180, 75, 255, 1);
    pointer-events: none;
    z-index: 10003; /* ✅ CHANGED - Ensures it's on top of the intro screen */
    mix-blend-mode: screen;
    transition: transform 0.15s ease-out, opacity 0.3s ease;
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(180, 75, 255, 0.6);
    pointer-events: none;
    z-index: 10003; /* ✅ CHANGED - Matches the cursor's z-index */
    transition: transform 0.2s ease-out, opacity 0.3s ease;
}

/* Add this to your CSS file */
.cursor.hover-active {
    transform: scale(3);
    background: rgba(255, 255, 255, 0.8);
}

.cursor-trail.hover-active {
    opacity: 0;
}


/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #B44BFF, #FF69B4);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
}

/* ==================== WEBGL BACKGROUND ==================== */
#webgl {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: linear-gradient(135deg, #0a0a14 0%, #1a0520 50%, #0a0a14 100%);
    pointer-events: none;
}

.content-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== LOADING SCREEN ==================== */
#loading {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #0A0A0A;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.8s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #B44BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== INTRO SCREEN ==================== */
#intro-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(26, 5, 32, 0.98), rgba(10, 10, 20, 1));
    backdrop-filter: blur(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: all;
    overflow: hidden;
    flex-direction: column;
    gap: 15px;
}

#intro-screen.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 25px;
    width: 100%;
    max-width: 900px;
    padding: 0 30px;
}

.intro-logo-container {
    position: relative;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(25px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 30px;
    height: 240px;
    width: auto;
    box-shadow:
        0 0 20px rgba(180, 75, 255, 0.3),
        0 0 50px rgba(255, 105, 180, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-logo-container::before,
.intro-logo-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.intro-logo-container::before {
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.05) 60%
    );
    transform: rotate(20deg);
    opacity: 0.5;
}

.intro-logo-container::after {
    background: radial-gradient(
        circle at 50% 80%,
        rgba(255, 105, 180, 0.35),
        rgba(180, 75, 255, 0.1),
        transparent 70%
    );
    z-index: -1;
    filter: blur(20px);
}

.intro-logo-img {
    width: clamp(220px, 45vw, 420px);
    height: auto;
    filter: brightness(1.15) drop-shadow(0 0 35px rgba(255, 105, 180, 0.4));
}

.intro-tagline {
    font-size: clamp(15px, 2.2vw, 24px);
    font-weight: 300;
    color: rgba(229, 229, 229, 0.9);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.dive-button {
    padding: 18px 55px;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(270deg, #FF69B4, #B44BFF, #FF1493);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: all;
    box-shadow:
        0 0 18px rgba(255, 105, 180, 0.5),
        0 8px 25px rgba(180, 75, 255, 0.4);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.dive-button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow:
        0 0 30px rgba(255, 105, 180, 0.9),
        0 12px 45px rgba(180, 75, 255, 0.6);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================== HAMBURGER MENU ==================== */
.hamburger {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.15), rgba(255, 105, 180, 0.15));
    border: 2px solid rgba(180, 75, 255, 0.4);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.hamburger:hover {
    border-color: rgba(255, 105, 180, 0.8);
    box-shadow: 0 0 18px rgba(255, 105, 180, 0.4);
    transform: scale(1.05);
}

.hamburger i {
    font-size: 18px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== MENU OVERLAY ==================== */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 5, 32, 0.98), rgba(10, 0, 20, 0.98));
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s ease;
    border-left: 2px solid rgba(180, 75, 255, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.menu-overlay.active {
    right: 0;
}

.menu-header {
    padding: 0 20px;
    border-bottom: 1px solid rgba(180, 75, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-links {
    padding: 0 20px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin-bottom: 4px;
    color: rgba(229, 229, 229, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.menu-link:hover {
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.1), rgba(255, 105, 180, 0.1));
    border-color: rgba(255, 105, 180, 0.4);
    transform: translateX(5px);
}

.menu-link i {
    font-size: 17px;
    width: 25px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

/* ==================== DROPDOWN MENU STYLES ==================== */
.menu-link-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 40px;
}

.menu-link-dropdown.active .dropdown-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    margin-bottom: 2px;
    color: rgba(229, 229, 229, 0.8);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.08), rgba(255, 105, 180, 0.08));
    color: rgba(229, 229, 229, 1);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== NAV DOTS ==================== */
nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: all;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(180, 75, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.nav-dot.active {
    background: rgba(255, 105, 180, 0.8);
    border-color: rgba(255, 105, 180, 1);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
    transform: scale(1.4);
}

.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.nav-dot:hover::after {
    opacity: 1;
}

/* ==================== TEXT SECTIONS (FLEX LAYOUT) ==================== */
.text-section {
    position: fixed;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.text-section.active {
    opacity: 1;
    pointer-events: all;
}

.text-section.active * {
    pointer-events: all !important;
}

#contact-text:not(.active) .social-link {
    pointer-events: none !important;
    cursor: default !important;
}

/* ==================== WELCOME SCREEN ==================== */
#welcome-screen {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    font-size: clamp(28px, 5.5vw, 55px);
    font-weight: 300;
    background: linear-gradient(135deg, #B44BFF, #FF69B4, #FF1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    line-height: 1.3;
}

/* ==================== ABOUT SECTION (CSS GRID BENTO) ==================== */
#about-text {
    overflow: hidden;
    padding: 50px 30px;
}

#about-text h2 {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    pointer-events: all;
    width: 100%;
    max-width: 1300px;
    max-height: 60vh;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 105, 180, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

.bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
.bento-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.bento-card:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
.bento-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.bento-card:nth-child(5) { grid-column: 2 / 4; grid-row: 2 / 3; }
.bento-card:nth-child(6) { grid-column: 4 / 5; grid-row: 2 / 3; }

.bento-card h3 {
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-card p {
    font-size: clamp(11px, 1vw, 12px);
    line-height: 1.5;
    color: rgba(229, 229, 229, 0.7);
}

.bento-stat {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 900;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.bento-label {
    font-size: clamp(9px, 0.85vw, 10px);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(229, 229, 229, 0.6);
}

/* ==================== STATIC SECTIONS (FLEX + GRID) ==================== */
.static-section {
    overflow: visible;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 30px;
}

.static-section h2 {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
}

.section-subtitle {
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 300;
    color: rgba(229, 229, 229, 0.6);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1300px;
    pointer-events: all;
    max-height: 42vh;
    overflow: visible;
    margin: 0 auto;
}

/* ==================== PROCESS SECTION (FLEXBOX HORIZONTAL SCROLL) ==================== */
#process-text {
    overflow: hidden !important;
    padding: 50px 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.process-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.process-scroll-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    pointer-events: all;
    padding: 30px 0;
    position: relative;
}

.process-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 80px;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.process-card {
    width: 420px;
    min-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.process-cards {
    width: 420px;
    min-width: 420px;
    
    padding: 40px 30px;
 
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.5);
}

.process-number {
    font-size: clamp(50px, 7vw, 80px);
    font-weight: 900;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1;
}

.process-card h3 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    margin-bottom: 14px;
    color: #FFFFFF;
}

.process-card p {
    font-size: clamp(13px, 1.4vw, 16px);
    line-height: 1.7;
    color: rgba(229, 229, 229, 0.75);
}

/* ==================== SERVICE/CASE STUDY/CLIENT/TEAM/BLOG CARDS ==================== */
.service-card, .casestudy-card, .client-card, .team-card, .blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    pointer-events: all !important;
    isolation: isolate;
    z-index: 999;
    transform-style: preserve-3d;
}

.service-card {
    padding: 12px;
    min-height: 170px;
    text-align: center;
    justify-content: space-between;
}

.service-card:hover, .casestudy-card:hover, .client-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 105, 180, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.4);
    z-index: 10;
}
.team-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-12px) rotateY(5deg);
    box-shadow: 
        0 25px 60px rgba(255, 105, 180, 0.6),
        0 0 40px rgba(180, 75, 255, 0.4);
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, 
        rgba(255, 105, 180, 0.4), 
        transparent 70%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.team-card:hover::after {
    opacity: 1;
}
.blog-card{
    
        height: 320px !important;
        margin: 20px 30px 0 30px;
        

}
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(180, 75, 255, 0.15), 
        transparent 50%, 
        rgba(255, 105, 180, 0.15));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 10px 20px rgba(255, 105, 180, 0.5),
        0 0 15px rgba(180, 75, 255, 0.3);
}

.service-animation {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    pointer-events: none;
}

.service-title {
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 700;
    margin-bottom: 6px;
    color: #FFFFFF;
    pointer-events: none;
}

.service-description {
    font-size: clamp(10px, 0.95vw, 11px);
    line-height: 1.5;
    color: rgba(229, 229, 229, 0.7);
    flex: 1;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.read-more-btn {
    display: inline-block;
    position: relative !important;
    z-index: 999999 !important;
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #B44BFF, #FF69B4) !important;
    border: none !important;
    border-radius: 20px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin-top: 10px;
    pointer-events: all !important;
    box-shadow: 0 3px 12px rgba(255, 105, 180, 0.3);
    isolation: isolate;
    transform: translateZ(0);
    align-self: center;
}

.read-more-btn:hover {
    transform: translateY(-2px) translateZ(0) !important;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.6) !important;
    background: linear-gradient(135deg, #C55FFF, #FF89C4) !important;
}

/* ==================== CASE STUDY SPECIFIC - IMPROVED RESPONSIVE ==================== */
.casestudy-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.casestudy-image {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.2), rgba(255, 105, 180, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
}

.casestudy-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: 3px solid rgba(180, 75, 255, 0.4);
    transition: all 0.4s ease;
    pointer-events: none;
}

.casestudy-card:hover .casestudy-icon {
    transform: rotate(360deg) scale(1.2);
}

.casestudy-icon i {
    font-size: 20px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.casestudy-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.casestudy-tag {
    display: inline-block;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #FF69B4;
    background: rgba(255, 105, 180, 0.1);
    padding: 3px 8px;
    border-radius: 15px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    align-self: flex-start;
    pointer-events: none;
}

.casestudy-card h3 {
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 700;
    margin-bottom: 6px;
    color: #FFFFFF;
    pointer-events: none;
    line-height: 1.3;
}

.casestudy-card p {
    font-size: clamp(10px, 1vw, 11px);
    line-height: 1.6;
    color: rgba(229, 229, 229, 0.7);
    margin-bottom: 10px;
    flex: 1;
    pointer-events: none;
}

.casestudy-stats {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    flex-wrap: wrap;
}

.casestudy-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 70px;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(229, 229, 229, 0.5);
}

/* ==================== CLIENT CARD ==================== */
.client-card {
    padding: 18px 16px;
    min-height: 170px;
}

.client-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
    font-size: 15px;
}

.star {
    color: #FFD700;
}

.client-quote {
    font-size: clamp(11px, 1.2vw, 12px);
    line-height: 1.6;
    color: rgba(229, 229, 229, 0.8);
    margin-bottom: 12px;
    font-style: italic;
    flex: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.3), rgba(255, 105, 180, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid rgba(180, 75, 255, 0.4);
    flex-shrink: 0;
}
.client-details h4 {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.client-details p {
    font-size: 10px;
    color: rgba(229, 229, 229, 0.6);
}
/* ==================== TEAM CARD ==================== */
.team-card {
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    width: 200px !important;
}

.team-photo {
    width: 100%;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.1), rgba(255, 105, 180, 0.1));
    padding: 5px;
    border-radius: 8px;
}

.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* This ensures the image fills the container */
    object-position: top !important;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.5s ease;
    border-radius: 4px; /* Match container's border-radius */
}

.team-card:hover .team-photo img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.team-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.team-role {
    font-size: 11px;
    color: #FF69B4;
    margin-bottom: 8px;
    font-weight: 500;
}

.team-bio {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(229, 229, 229, 0.7);
}


/* ==================== BLOG CARD ==================== */
.blog-slider-wrapper {
    width: 100%;
    max-width: 1600px;
    position: relative;
    padding-bottom: 60px;
}

.blog-slider-container {
    width: 100%;
    overflow: visible;
}

.blogSwiper {
    width: 100%;
    padding: 10px 0 45px 0;
}

.blog-card {
    padding: 0;
    min-height: 300px;
}

.blog-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 9px;
    color: #FF69B4;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(229, 229, 229, 0.7);
    margin-bottom: 15px;
    flex: 1;
}

.blog-link {
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-nav-controls {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.2), rgba(255, 105, 180, 0.2));
    border: 1px solid rgba(180, 75, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    color: #FF69B4;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.4), rgba(255, 105, 180, 0.4));
    border-color: rgba(255, 105, 180, 0.8);
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: rgba(180, 75, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #FF69B4;
}

/* ==================== GLOBAL SCROLLBAR - DESKTOP ONLY ==================== */

/* MAIN PAGE SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 20, 0.95);
    border-left: 2px solid rgba(180, 75, 255, 0.4);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B44BFF 0%, #FF69B4 50%, #FF1493 100%);
    border-radius: 12px;
    border: 2px solid rgba(10, 10, 20, 0.95);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.8), inset 0 0 10px rgba(180, 75, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C55FFF 0%, #FF89C4 50%, #FF3BA3 100%);
    box-shadow: 0 0 30px rgba(255, 105, 180, 1), inset 0 0 15px rgba(180, 75, 255, 0.6);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #D566FF 0%, #FFAAD4 50%, #FF5BB3 100%);
    box-shadow: 0 0 40px rgba(255, 105, 180, 1), inset 0 0 20px rgba(180, 75, 255, 0.8);
}

::-webkit-scrollbar-corner {
    background: rgba(10, 10, 20, 0.95);
}

/* ==================== INTERNAL SCROLLBARS ==================== */

.contact-info-grid::-webkit-scrollbar {
    width: 12px;
}

.contact-info-grid::-webkit-scrollbar-track {
    background: rgba(10, 10, 20, 0.7);
    border-radius: 10px;
    margin: 5px 0;
}

.contact-info-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B44BFF, #FF69B4);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
    border: 1px solid rgba(180, 75, 255, 0.3);
}

.contact-info-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C55FFF, #FF89C4);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.9);
}

.menu-links::-webkit-scrollbar {
    width: 10px;
}

.menu-links::-webkit-scrollbar-track {
    background: rgba(10, 10, 20, 0.6);
    border-radius: 10px;
}

.menu-links::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B44BFF, #FF69B4);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(255, 105, 180, 0.6);
}

.menu-links::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C55FFF, #FF89C4);
    box-shadow: 0 0 18px rgba(255, 105, 180, 0.8);
}

/* ==================== CONTACT SECTION - ZERO SCROLL ==================== */
#contact-text {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0px 40px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 20 !important;
}

#contact-text.active {
    pointer-events: all !important;
    z-index: 50 !important;
}

#contact-text h1 {
    font-size: clamp(32px, 5vw, 55px);
    font-weight: 900;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0 !important;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.contact-subtitle {
    font-size: clamp(12px, 1.3vw, 15px);
    font-weight: 300;
    color: rgba(229, 229, 229, 0.7);
    text-align: center;
    margin: 0 0 20px 0 !important;
    width: 100%;
    flex-shrink: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 300px);
    flex-shrink: 0;
    min-height: 0;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 16px;
    overflow: hidden !important;
    border: 1px solid rgba(180, 75, 255, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(100%) invert(92%) contrast(90%);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 0 8px 0 0 !important;
    margin: 0 !important;
    min-height: 0;
}

.contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 7px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 10px;
    
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 105, 180, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.2), rgba(255, 105, 180, 0.2));
    border: 1px solid rgba(180, 75, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 18px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(229, 229, 229, 0.5);
    margin: 0 0 5px 0 !important;
}

.contact-value {
    font-size: 13px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 !important;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 0 0 !important;
    width: 100%;
    flex-wrap: wrap;
    flex-shrink: 0;
    padding: 0 !important;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(180, 75, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    pointer-events: all !important;
    cursor: pointer;
    margin: 0 !important;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.3), rgba(255, 105, 180, 0.3));
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.social-link i {
    font-size: 18px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: rgba(229, 229, 229, 0.5);
    margin: 15px 0 0 0 !important;
    padding: 15px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    flex-shrink: 0;
}

/* ==================== ALL TEXT SECTIONS - DESKTOP ==================== */

.text-section {
    position: fixed;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 50px 30px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    top: 0;
    left: 0;
    z-index: 20;
    margin: 0 !important;
}

.text-section.active {
    opacity: 1;
    pointer-events: all;
    z-index: 50;
}

.text-section.active * {
    pointer-events: all !important;
}

#welcome-screen {
    padding: 50px 30px !important;
}

#about-text {
    padding: 50px 30px !important;
    overflow: hidden !important;
}

#services-text {
    padding: 50px 30px !important;
}

#process-text {
    padding: 50px 0 !important;
}

#casestudies-text {
    padding: 50px 30px !important;
}

#clients-text {
    padding: 50px 30px !important;
}

#team-text {
    padding: 50px 30px !important;
}

#blog-text {
    padding: 50px 30px !important;
}

/* ==================== MOBILE RESPONSIVE (768px and below) ==================== */
@media (max-width: 768px) {
    body {
        height: 100vh !important;
        overflow: hidden !important;
    }

    .cursor, .cursor-trail {
        display: none !important;
    }

    ::-webkit-scrollbar {
        width: 2px !important;
    }

    ::-webkit-scrollbar-track {
        background: rgba(10, 10, 20, 0.6) !important;
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #B44BFF 0%, #FF69B4 100%) !important;
        border-radius: 4px !important;
        box-shadow: 0 0 6px rgba(255, 105, 180, 0.4) !important;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #C55FFF 0%, #FF89C4 100%) !important;
        box-shadow: 0 0 10px rgba(255, 105, 180, 0.6) !important;
    }

    nav {
        display: none !important;
    }

    #process-text {
        display: none !important;
    }

    .text-section {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        z-index: 1 !important;
    }

    .text-section.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        z-index: 50 !important;
    }

    .text-section.active * {
        pointer-events: all !important;
    }

    #welcome-screen {
        padding: 100px 20px 150px 20px !important;
        overflow: hidden !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .welcome-text {
        font-size: clamp(22px, 6vw, 32px) !important;
        line-height: 1.3 !important;
    }

    #about-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #about-text h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-height: none !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4),
    .bento-card:nth-child(5),
    .bento-card:nth-child(6) {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        min-height: 110px !important;
        padding: 14px !important;
        flex-shrink: 0 !important;
    }

    .bento-card h3 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .bento-card p {
        font-size: 10px !important;
        line-height: 1.4 !important;
    }

    .bento-stat {
        font-size: 26px !important;
        margin-bottom: 5px !important;
    }

    .bento-label {
        font-size: 8px !important;
    }

    #services-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #services-text h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .section-subtitle {
        font-size: 10px !important;
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
    }

    .static-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-height: none !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .service-card {
        width: 100% !important;
        min-height: 130px !important;
        padding: 10px !important;
        flex-shrink: 0 !important;
    }

    .service-animation {
        height: 70px !important;
        margin-bottom: 8px !important;
    }

    .service-title {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    .service-description {
        font-size: 9px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }

    .read-more-btn {
        padding: 6px 16px !important;
        font-size: 9px !important;
        margin-top: 8px !important;
    }

    #casestudies-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #casestudies-text h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
    }

    .casestudy-card {
        width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 12px !important;
    }

    .casestudy-image {
        width: 100% !important;
        height: 80px !important;
        flex-shrink: 0 !important;
    }

    .casestudy-content {
        padding: 14px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .casestudy-tag {
        font-size: 8px !important;
        padding: 4px 8px !important;
        margin-bottom: 8px !important;
    }

    .casestudy-card h3 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    .casestudy-card p {
        font-size: 10px !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
    }

    .casestudy-stats {
        gap: 10px !important;
        padding-top: 10px !important;
        padding-bottom: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-wrap: wrap !important;
    }

    .casestudy-stat {
        min-width: 60px !important;
        flex: 0 1 auto !important;
    }

    .stat-value {
        font-size: 12px !important;
    }

    .stat-label {
        font-size: 7px !important;
        letter-spacing: 0.6px !important;
    }

    #clients-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #clients-text h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .client-card {
        width: 100% !important;
        min-height: 130px !important;
        padding: 12px !important;
        flex-shrink: 0 !important;
    }

    .client-quote {
        font-size: 9px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }

    .client-info {
        gap: 8px !important;
        padding-top: 8px !important;
    }

    .client-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .client-details h4 {
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }

    .client-details p {
        font-size: 8px !important;
    }

    #team-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    #team-text h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .team-card {
        width: 100% !important;
        min-height: 200px !important;
        flex-shrink: 0 !important;
    }

    .team-photo {
        width: 100% !important;
        height: 180px !important;
        flex-shrink: 0 !important;
    }

    .team-photo img {
        object-fit: cover !important; /* Corrected for mobile */
    }

    .team-info {
        padding: 12px !important;
    }

    .team-card h3 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    .team-role {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    .team-bio {
        font-size: 9px !important;
        line-height: 1.4 !important;
    }

    #blog-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #blog-text h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .blog-slider-wrapper {
        padding-bottom: 50px !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .blog-card {
        min-height: 280px !important;
        padding: 0 !important;
    }

    .blog-image {
        height: 140px !important;
    }

    .blog-content {
        padding: 14px !important;
    }

    .blog-date {
        font-size: 8px !important;
        margin-bottom: 6px !important;
    }

    .blog-title {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .blog-excerpt {
        font-size: 9px !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }

    .blog-link {
        font-size: 10px !important;
    }

    .blog-nav-controls {
        bottom: 0 !important;
        gap: 12px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }

    .blogSwiper {
        padding: 10px 0 40px 0 !important;
    }

    #contact-text {
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #contact-text h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .contact-subtitle {
        font-size: 11px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .contact-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex-shrink: 0 !important;
    }

    .map-container {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        flex-shrink: 0 !important;
    }

    .contact-info-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    .contact-box {
        width: 100% !important;
        padding: 12px !important;
        gap: 10px !important;
        min-height: auto !important;
        flex-shrink: 0 !important;
    }

    .contact-icon {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }

    .contact-icon i {
        font-size: 14px !important;
    }

    .contact-label {
        font-size: 8px !important;
        margin-bottom: 3px !important;
    }

    .contact-value {
        font-size: 11px !important;
        word-break: break-word !important;
        line-height: 1.4 !important;
    }

    .social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 20px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        flex-shrink: 0 !important;
    }

    .social-link {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }

    .social-link i {
        font-size: 14px !important;
    }

    .footer-bottom {
        font-size: 9px !important;
        margin-top: 15px !important;
        padding-top: 12px !important;
        line-height: 1.4 !important;
        flex-shrink: 0 !important;
    }

    .hamburger {
        top: 12px !important;
        right: 12px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .hamburger i {
        font-size: 16px !important;
    }

    .menu-overlay {
        max-width: 280px !important;
    }

    .menu-header {
        padding: 15px !important;
        height: 70px !important;
    }

    .menu-links {
        padding: 0 !important;
    }

    .menu-links::-webkit-scrollbar {
        width: 2px !important;
    }

    .menu-link {
        padding: 12px 18px !important;
        font-size: 12px !important;
    }

    .menu-link:hover {
        padding-left: 20px !important;
    }

    .menu-link i {
        font-size: 14px !important;
        width: 18px !important;
    }

    .dropdown-trigger {
        padding: 12px 18px !important;
        font-size: 12px !important;
    }

    .dropdown-trigger:hover {
        padding-left: 20px !important;
    }

    .dropdown-trigger i:first-child {
        font-size: 14px !important;
        width: 18px !important;
    }

    .dropdown-arrow {
        font-size: 10px !important;
    }

    .dropdown-item {
        padding: 8px 18px 8px 40px !important;
        font-size: 11px !important;
    }

    .dropdown-item:hover {
        padding-left: 45px !important;
    }

    .dropdown-item i {
        font-size: 11px !important;
        width: 14px !important;
    }
}

@media (max-width: 480px) {
    .text-section {
        padding: 90px 14px 140px 14px !important;
    }

    #welcome-screen {
        padding: 90px 14px 140px 14px !important;
    }

    #about-text {
        padding: 90px 14px 140px 14px !important;
    }

    #services-text {
        padding: 90px 14px 140px 14px !important;
    }

    #casestudies-text {
        padding: 90px 14px 140px 14px !important;
    }

    #clients-text {
        padding: 90px 14px 140px 14px !important;
    }

    #team-text {
        padding: 90px 14px 140px 14px !important;
    }

    #blog-text {
        padding: 90px 14px 140px 14px !important;
    }

    #contact-text {
        padding: 90px 14px 140px 14px !important;
    }

    .static-section {
        padding: 90px 14px !important;
    }
    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4),
    .bento-card:nth-child(5),
    .bento-card:nth-child(6) {
        min-height: 110px !important;
        padding: 12px !important;
    }

    .bento-stat {
        font-size: 22px !important;
    }

    .service-card {
        min-height: 130px !important;
        padding: 8px !important;
    }

    .service-animation {
        height: 60px !important;
        margin-bottom: 6px !important;
    }

    .service-title {
        font-size: 11px !important;
    }

    .service-description {
        font-size: 8px !important;
    }

    .casestudy-card {
        width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 10px !important;
    }

    .casestudy-image {
        height: 70px !important;
    }

    .casestudy-content {
        padding: 12px !important;
    }

    .casestudy-tag {
        font-size: 7px !important;
        padding: 3px 6px !important;
    }

    .casestudy-card h3 {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .casestudy-card p {
        font-size: 9px !important;
        margin-bottom: 8px !important;
    }

    .casestudy-stats {
        gap: 8px !important;
        padding-top: 8px !important;
        padding-bottom: 6px !important;
    }

    .stat-value {
        font-size: 11px !important;
    }

    .stat-label {
        font-size: 6px !important;
    }

    .client-card {
        min-height: 130px !important;
        padding: 10px !important;
    }

    .client-quote {
        font-size: 8px !important;
    }

    .team-card {
        min-height: 180px !important;
    }

    .team-photo {
        height: 160px !important;
    }

    .blog-card {
        min-height: 280px !important;
    }

    .blog-image {
        height: 130px !important;
    }

    .blog-content {
        padding: 12px !important;
    }

    #contact-text {
        padding: 90px 14px 140px 14px !important;
    }

    #contact-text h1 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .contact-subtitle {
        font-size: 10px !important;
        margin-bottom: 20px !important;
    }

    .contact-box {
        padding: 10px !important;
        gap: 8px !important;
    }

    .contact-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .contact-icon i {
        font-size: 12px !important;
    }

    .contact-value {
        font-size: 10px !important;
    }

    .social-link {
        width: 34px !important;
        height: 34px !important;
    }

    .social-link i {
        font-size: 12px !important;
    }

    .footer-bottom {
        font-size: 8px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
    }
}

@media (max-width: 375px) {
    .text-section {
        padding: 85px 12px 135px 12px !important;
    }

    #about-text {
        padding: 85px 12px 135px 12px !important;
    }

    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4),
    .bento-card:nth-child(5),
    .bento-card:nth-child(6) {
        min-height: 100px !important;
        padding: 10px !important;
    }

    .bento-stat {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .static-section {
        padding: 85px 12px !important;
    }

    .service-card {
        min-height: 120px !important;
        padding: 8px !important;
    }

    .service-animation {
        height: 50px !important;
    }

    .service-title {
        font-size: 10px !important;
    }

    .casestudy-card {
        margin-bottom: 8px !important;
    }

    .casestudy-image {
        height: 65px !important;
    }

    .casestudy-content {
        padding: 10px !important;
    }

    #contact-text {
        padding: 85px 12px 135px 12px !important;
    }

    #contact-text h1 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .contact-box {
        padding: 10px !important;
        gap: 8px !important;
    }

    .contact-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .social-link {
        width: 32px !important;
        height: 32px !important;
    }

    .team-photo {
        height: 140px !important;
    }
}
/* ==================== CASE STUDY SECTION - WITH GENEROUS PADDING ==================== */

#casestudies-text {
    padding: 50px 60px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100vh !important;
}

#casestudies-text h2 {
    font-size: 36px !important;
    font-weight: 900;
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    width: 100%;
}

.section-subtitle {
    font-size: 12px !important;
    font-weight: 300;
    color: rgba(229, 229, 229, 0.5);
    margin-bottom: 30px !important;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}
/* ==================== CASE STUDIES SECTION - HORIZONTAL SCROLL LIKE PROCESS ==================== */

#casestudies-text {
    padding: 50px 30px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
}

#casestudies-text h2 {
    font-size: 36px !important;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    width: 100%;
}

#casestudies-text .section-subtitle {
    font-size: 12px !important;
    font-weight: 300;
    color: rgba(229, 229, 229, 0.5);
    margin-bottom: 30px !important;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.casestudies-scroll-container {
    width: 100%;
    overflow: hidden;
    pointer-events: all;
    padding: 20px 0;
}

.casestudies-container {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0 80px;
    transition: transform 0.3s ease-out;
    will-change: transform;
}
.casestudy-card {
    width: 380px;
    min-width: 380px;
    height: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    pointer-events: all !important;
    isolation: isolate !important;
    z-index: 999 !important;
}

.casestudy-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 105, 180, 0.6) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.4) !important;
    z-index: 10 !important;
}

.casestudy-image {
    width: 100%;
    height: 85px;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.2), rgba(255, 105, 180, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
}

.casestudy-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: 3px solid rgba(180, 75, 255, 0.4);
    transition: all 0.4s ease;
    pointer-events: none;
}

.casestudy-card:hover .casestudy-icon {
    transform: rotate(360deg) scale(1.2);
}

.casestudy-icon i {
    font-size: 22px;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.casestudy-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.casestudy-tag {
    display: inline-block;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #FF69B4;
    background: rgba(255, 105, 180, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    align-self: flex-start;
    pointer-events: none;
}

.casestudy-card h3 {
    font-size: 15px !important;
    font-weight: 700;
    margin-bottom: 6px;
    color: #FFFFFF;
    pointer-events: none;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.casestudy-card p {
    font-size: 11px !important;
    line-height: 1.5;
    color: rgba(229, 229, 229, 0.7);
    margin-bottom: 10px;
    flex: 1;
    pointer-events: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.casestudy-stats {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    flex-wrap: wrap;
}

.casestudy-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 60px;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #B44BFF, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(229, 229, 229, 0.5);
}



/* ==================== DESKTOP ONLY (769px+) ==================== */
@media (min-width: 769px) {
    #casestudies-text {
        height: 100vh !important;
        padding: 50px 30px !important;
        overflow: hidden !important;
    }

    #casestudies-text h2 {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }

    .casestudies-container {
        gap: 18px !important;
        padding: 0 80px !important;
    }

    .casestudy-card {
        width: 380px !important;
        min-width: 380px !important;
        height: 310px !important;
    }

    #team-text {
        height: 100vh !important;
        padding: 50px 30px !important;
        overflow: hidden !important;
    }

    #team-text h2 {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }

    .team-container {
        gap: 18px !important;
        padding: 0 80px !important;
    }

    .team-card {
    width: 420px !important;
    min-width: 420px !important;
    height: 400px !important;
    border-radius: 8px !important; /* small rounding for neat edges */
    border: 1px solid #b926be !important; /* just to show the shape */

}

.team-photo {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(180, 75, 255, 0.1), rgba(255, 105, 180, 0.1));
    padding: 5px;
    border-radius: 8px;
}

.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* This ensures the image fills the container */
    object-position: top !important;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.5s ease;
    border-radius: 4px; /* Match container's border-radius */
}

.team-photo img p{
    font-size: 20px;
    color: w;
}
}

/* ==================== MOBILE (768px and below) ==================== */
@media (max-width: 768px) {
    #casestudies-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #casestudies-text h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    #casestudies-text .section-subtitle {
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
    }

    .casestudies-scroll-container {
        overflow: visible !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .casestudies-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 5 !important;
        transform: none !important;
    }

    .casestudy-card {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        margin-bottom: 8px !important;
    }

    .casestudy-image {
        height: 70px !important;
    }

    .casestudy-content {
        padding: 12px !important;
    }

    .casestudy-card h3 {
        font-size: 13px !important;
    }

    .casestudy-card p {
        font-size: 9px !important;
    }

    #team-text {
        padding: 100px 18px 150px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #team-text h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    #team-text .section-subtitle {
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
    }

    .team-scroll-container {
        overflow: visible !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .team-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        transform: none !important;
    }

    .team-card {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        margin-bottom: 8px !important;
    }

    .team-photo {
        height: 160px !important;
    }

    .team-info {
        padding: 12px !important;
    }

    .team-card h3 {
        font-size: 13px !important;
    }
}

/* ==================== CASE STUDIES SECTION - HORIZONTAL SCROLL ==================== */
#casestudies-text {
    overflow: hidden !important;
    padding: 50px 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.casestudies-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.casestudies-scroll-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    pointer-events: all;
    padding: 30px 0;
    position: relative;
}

.casestudies-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 80px;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Spacer cards for proper alignment */
.casestudy-spacer {
    width: 420px;
    min-width: 420px;
    flex-shrink: 0;
    visibility: hidden;
}
/* ==================== MOBILE (768px and below) ==================== */
@media (max-width: 768px) {
    
    .text-section {
        display: flex !important;
        flex-direction: column !important;
        width: 100vw !important;
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        position: fixed !important;
    }

    /* ✅ ALL SECTIONS - 50px TOP & BOTTOM PADDING */
    #welcome-screen,
    #about-text,
    #services-text,
    #process-text,
    #casestudies-text,
    #clients-text,
    #team-text,
    #blog-text,
    #contact-text {
        display: flex !important;
        flex-direction: column !important;
        padding: 50px 20px 50px 20px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ✅ ALL SECTION HEADERS */
    #welcome-screen h2,
    #about-text h2,
    #services-text h2,
    #process-text h2,
    #casestudies-text h2,
    #clients-text h2,
    #team-text h2,
    #blog-text h2,
    #contact-text h2 {
        font-size: 32px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    /* ✅ ALL SECTION SUBTITLES */
    #process-text .section-subtitle,
    #casestudies-text .section-subtitle,
    #team-text .section-subtitle {
        font-size: 13px !important;
        margin-bottom: 25px !important;
        width: 100% !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        line-height: 1.6 !important;
    }

    /* ✅ PROCESS SECTION - SHOW ALL CARDS */
    .process-scroll-container {
        overflow: visible !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .process-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .process-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 18px !important;
        border-radius: 8px !important;
    }

    .process-card .process-number {
        font-size: 38px !important;
        margin-bottom: 8px !important;
        font-weight: bold !important;
    }

    .process-card h3 {
        font-size: 17px !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
    }

    .process-card p {
        font-size: 11px !important;
        line-height: 1.6 !important;
    }

    .process-cards,
    .process-spacer {
        display: none !important;
    }

    /* ✅ CASE STUDIES SECTION - SHOW ALL CARDS */
    .casestudies-scroll-container {
        overflow: visible !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .casestudies-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .casestudy-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .casestudy-spacer {
        display: none !important;
    }

    .casestudy-image {
        height: 120px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .casestudy-content {
        padding: 15px !important;
        flex: 1 !important;
    }

    .casestudy-card h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
    }

    .casestudy-card p {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }

    /* ✅ TEAM SECTION */
   .team-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 18px !important; /* horizontal spacing */
    padding: 0 80px !important;
    width: auto !important;
    overflow: hidden !important;
}


    .team-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .team-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .team-photo {
        height: 150px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .team-info {
        padding: 15px !important;
        flex: 1 !important;
    }

    .team-card h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
    }

    .team-card p {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }

    /* ✅ SERVICES SECTION */
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .service-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
    }

    .service-card h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
    }

    .service-card p {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }

    /* ✅ CLIENTS SECTION */
    .clients-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .client-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
    }

    .client-card h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
    }

    .client-card p {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }

    /* ✅ BLOG SECTION */
    .blogSwiper {
        width: 100% !important;
        padding: 0 !important;
    }

    .swiper-slide {
        width: 100% !important;
    }

    /* ✅ CONTACT SECTION */
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
    }
}



/* ==================== CTA Section Below Grid ==================== */

/* This container will hold the button and center it */
.cta-section {
    text-align: center;
    padding: 40px 20px; /* Adds space above and below the button */
    background-color: transparent; /* Same background as the contact grid for consistency */
}

/* ==================== Theme-Aligned CTA Button ==================== */

.theme-cta-button {
    display: inline-block; /* Allows padding and margin */
    padding: 16px 40px; /* Generous padding for a modern look */
    font-size: 18px;
    font-weight: 700; /* Bold text */
    color: #fff; /* White text */

    /* THEME: Professional Teal - Matches modern/medical themes */
    background-color: #d754ff;

    border: none;
    border-radius: 50px; /* Pill-shaped button */
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;

    /* A smooth transition for all properties */
    transition: all 0.3s ease;

    /* A subtle shadow for depth */
    box-shadow: 0 5px 20px rgba(85, 4, 85, 0.3);
}

.theme-cta-button:hover,
.theme-cta-button:focus {
    /* On hover, the button lifts and the color darkens */
    transform: translateY(-5px);
    background-color: #b430a9; /* A slightly darker shade of teal */
    box-shadow: 0 8px 25px rgba(144, 42, 240, 0.4);
}

/* ==================== Responsive Adjustments ==================== */

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }

    .theme-cta-button {
        padding: 14px 35px;
        font-size: 16px;
    }
}
.contact-cta-btn {
  display: block;
  margin: 20px auto 0;
  padding: 14px 40px;
  background: linear-gradient(135deg, #B44BFF, #FF69B4);
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(180, 75, 255, 0.3);
}

.contact-cta-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #C55FFF, #FF89C4);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.6);
}

@media (max-width: 480px) {
  .contact-cta-btn {
    padding: 12px 30px;
    font-size: 13px;
  }
}
#blog-text {
    height: 100vh;
    overflow: hidden !important;
    overscroll-behavior: contain;
}

.blogSwiper {
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
}
