 :root {
     --clr-bg-deepest: #eef2fb;
     --clr-bg: #ffffff;
     /* Glass‑morphism utilities */
     --glass-bg: rgba(255, 255, 255, 0.06);
     --glass-blur: 16px;
     --ui-transition: 0.4s ease;

     --clr-bg-light: #0d1a33;
     --clr-bg-lighter: #142445;

     /* Navy Blue Section Colors */
     --clr-navy: #081122;
     --clr-navy-mid: #0d1a33;
     --clr-navy-light: #142445;
     --clr-navy-border: rgba(69, 112, 245, 0.22);
     --clr-navy-text: rgba(210, 225, 255, 0.78);
     --clr-navy-heading: #ffffff;

     --clr-accent: #2055d5;
     --clr-accent-hover: #3569eb;
     --clr-accent-glow: #5282ff;

     --clr-light-bg: #edf2fc;
     --clr-light-bg-dim: #e2eafa;

     --clr-white: #ffffff;
     --clr-true-white: #ffffff;
     --clr-text-main: rgba(210, 225, 255, 0.85);
     --clr-text-dark: rgba(210, 225, 255, 0.70);

     --font-heading: 'Inter', sans-serif;
     --font-body: 'Inter', sans-serif;
     --font-script: 'Caveat', cursive;

     --transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
 }

 /* ==========================================================================
   Reset & Base
   ========================================================================== */
 *,
 *::before,
 *::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: auto;
     /* Required for custom smooth scroll/pinning */
     cursor: none;
 }

 body {
     font-family: var(--font-body);
     color: var(--clr-text-main);
     background-color: var(--clr-bg);
     line-height: 1.6;
     overflow-x: hidden;
     -webkit-font-smoothing: antialiased;
 }

 /* ==========================================================================
   Loading Screen
   ========================================================================== */
 .loader-wrap {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;
     background: #081122;
     z-index: 10000;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 0.5rem;
     transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1);
 }

 .loader-wrap.hide {
     transform: translateY(-100%);
 }

 .loader-text {
     font-family: var(--font-heading);
     font-size: clamp(3.5rem, 8vw, 6rem);
     font-weight: 900;
     letter-spacing: 12px;
     color: #ffffff !important;
     opacity: 1;
     text-shadow: 0 0 30px rgba(32, 85, 213, 0.8), 0 0 60px rgba(82, 130, 255, 0.4);
     transition: opacity 0.5s;
 }

 .loader-subtext {
     font-family: var(--font-heading);
     font-size: 1.1rem;
     letter-spacing: 8px;
     color: #5282ff;
     font-weight: 700;
     text-transform: uppercase;
     text-shadow: 0 0 15px rgba(82, 130, 255, 0.6);
 }

 /* ==========================================================================
   Custom Cursor
   ========================================================================== */
 .cursor {
     width: 6px;
     height: 6px;
     background: var(--clr-accent);
     border-radius: 50%;
     position: fixed;
     top: 0;
     left: 0;
     pointer-events: none;
     z-index: 9999;
     transform: translate(-50%, -50%);
     transition: transform 0.1s, width 0.3s, height 0.3s;
     box-shadow: 0 0 8px rgba(32, 85, 213, 0.5);
 }

 .cursor-follower {
     width: 40px;
     height: 40px;
     border: 1px solid rgba(69, 112, 245, 0.4);
     border-radius: 50%;
     position: fixed;
     top: 0;
     left: 0;
     pointer-events: none;
     z-index: 9998;
     transform: translate(-50%, -50%);
     transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
 }

 .cursor-follower.hover {
     width: 80px;
     height: 80px;
     background: rgba(69, 112, 245, 0.08);
     border-color: transparent;
     backdrop-filter: blur(2px);
 }

 .cursor.hover-hidden {
     opacity: 0;
 }

 .container {
     width: 100%;
     max-width: 1300px;
     margin: 0 auto;
     padding: 0 5vw;
 }

 h1,
 h2,
 h3,
 h4 {
     font-family: var(--font-heading);
     font-weight: 700;
     line-height: 1.1;
     color: var(--clr-white);
 }

 a {
     text-decoration: none;
     color: inherit;
     cursor: none;
 }

 ul {
     list-style: none;
 }

 .highlight-accent {
     color: var(--clr-accent);
 }

 .handwritten-accent {
     font-family: var(--font-script);
     font-size: clamp(3rem, 5vw, 4.5rem);
     color: var(--clr-white);
     font-weight: 500;
     transform: rotate(-3deg);
     margin-bottom: -10px;
 }

 .center {
     text-align: center;
 }

 /* ==========================================================================
   Header
   ========================================================================== */
 .header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     padding: 1.5rem 0;
     background: rgba(8, 17, 34, 0.88);
     backdrop-filter: blur(16px);
     border-bottom: 1px solid rgba(69, 112, 245, 0.18);
     transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
 }

 .header.scrolled {
     padding: 1rem 0;
     background: rgba(8, 17, 34, 0.95);
     backdrop-filter: blur(20px);
     border-bottom: 1px solid rgba(69, 112, 245, 0.25);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
 }

 .header .text-escott,
 .header .nav-link,
 .header.scrolled .text-escott,
 .header.scrolled .nav-link {
     color: #ffffff;
 }

 .header .text-tagline,
 .header.scrolled .text-tagline {
     color: rgba(200, 215, 255, 0.6);
 }

 .header .mobile-toggle span,
 .header.scrolled .mobile-toggle span {
     background-color: #ffffff !important;
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .mobile-toggle {
     display: none;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 12px;
     text-decoration: none;
 }

 .logo-icon-wrapper {
     width: 45px;
     height: 45px;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: flex-start;
 }

 .nav-logo-img {
     height: 100%;
     width: 200px;
     /* Force width so it crops the right side text */
     max-width: none;
     object-fit: cover;
     object-position: left center;
     transition: opacity 0.3s ease;
 }

 .logo-text {
     display: flex;
     flex-direction: column;
     justify-content: center;
     line-height: 1;
 }

 .text-escott {
     font-family: var(--font-heading);
     font-size: 1.35rem;
     font-weight: 900;
     letter-spacing: 2px;
     color: #ffffff !important;
     text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
     transition: color 0.3s;
 }

 .text-solutions {
     font-family: var(--font-heading);
     font-size: 0.95rem;
     font-weight: 700;
     letter-spacing: 4px;
     color: #2055d5;
 }

 .text-tagline {
     font-size: 0.55rem;
     letter-spacing: 1.5px;
     color: rgba(255, 255, 255, 0.6);
     margin-top: 4px;
     text-transform: uppercase;
     font-weight: 500;
     transition: color 0.3s;
 }

 .nav-list {
     display: flex;
     gap: 3rem;
     align-items: center;
 }

 .nav-link {
     font-weight: 500;
     font-size: 0.95rem;
     color: var(--clr-true-white);
     transition: color 0.3s;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 .nav-link:hover {
     color: var(--clr-accent);
 }

 .btn-primary {
     background: var(--clr-accent);
     padding: 12px 28px;
     border-radius: 100px;
     color: var(--clr-true-white) !important;
     font-weight: 600;
     transition: transform 0.3s, background 0.3s;
 }

 .btn-primary:hover {
     background: var(--clr-accent-hover);
     transform: scale(1.05);
 }

 /* ==========================================================================
   Hero (Minimal)
   ========================================================================== */
 .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     position: relative;
     padding-top: 120px;
     padding-bottom: 80px;
     overflow: hidden;
     background: url('assets/hero-bg.png') center/cover no-repeat;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(8, 17, 34, 0.82), rgba(8, 17, 34, 0.92) 70%, #edf2fc 100%);
     z-index: 1;
 }

 .hero-container {
     position: relative;
     z-index: 2;
     display: flex;
     justify-content: center;
     width: 100%;
 }

 .hero-content {
     max-width: 900px;
     transition: transform 0.2s ease-out;
     width: 100%;
     text-align: center;
 }

 .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 8px 22px;
     background: rgba(32, 85, 213, 0.22);
     border: 1px solid rgba(82, 130, 255, 0.45);
     border-radius: 100px;
     color: #5282ff;
     font-size: 0.85rem;
     font-weight: 700;
     letter-spacing: 2px;
     margin-bottom: 1rem;
     box-shadow: 0 4px 20px rgba(32, 85, 213, 0.25);
     backdrop-filter: blur(10px);
 }

 .hero-title {
     font-size: clamp(3rem, 7vw, 5.8rem);
     line-height: 0.98;
     letter-spacing: -2px;
     margin-bottom: 0.5rem;
     margin-top: 0.5rem;
     text-transform: uppercase;
     color: #ffffff;
     font-weight: 900;
     text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
 }

 .hero-subtitle {
     font-size: clamp(1.5rem, 3.5vw, 2.4rem);
     color: #ffffff;
     font-weight: 700;
     margin-bottom: 1.2rem;
     line-height: 1.2;
 }

 .hero-desc {
     font-size: 1.25rem;
     max-width: 650px;
     line-height: 1.6;
     margin: 0 auto 2.5rem;
     color: rgba(220, 230, 255, 0.9);
     font-weight: 400;
 }

 .hero-cta-group {
     display: flex;
     gap: 1.5rem;
     justify-content: center;
     align-items: center;
     margin-bottom: 3rem;
     flex-wrap: wrap;
 }

 .btn-secondary {
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.25);
     padding: 12px 28px;
     border-radius: 100px;
     color: #ffffff !important;
     font-weight: 600;
     backdrop-filter: blur(10px);
     transition: transform 0.3s, background 0.3s, border-color 0.3s;
 }

 .btn-secondary:hover {
     background: rgba(255, 255, 255, 0.25);
     border-color: #ffffff;
     transform: scale(1.05);
 }

 .hero-feature-pill {
     display: inline-flex;
     align-items: center;
     gap: 12px;
     padding: 10px 24px;
     background: rgba(8, 17, 34, 0.85);
     border: 1px solid rgba(82, 130, 255, 0.35);
     border-radius: 100px;
     color: #ffffff;
     font-size: 0.85rem;
     letter-spacing: 1.5px;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
     backdrop-filter: blur(10px);
 }

 .pill-icon-globe {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     background: #2055d5;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #ffffff;
     font-size: 0.95rem;
     box-shadow: 0 0 12px rgba(32, 85, 213, 0.6);
 }

 /* ==========================================================================
   Pillars (3D Tilt Cards)
   ========================================================================== */
 /* ===== NAVY SECTION UTILITY ===== */
 .section-navy {
     background: var(--clr-navy) !important;
 }

 .section-navy h1,
 .section-navy h2,
 .section-navy h3,
 .section-navy h4 {
     color: var(--clr-navy-heading) !important;
 }

 .section-navy p,
 .section-navy span:not(.text-solutions):not(.nav-link):not(.social-handle) {
     color: var(--clr-navy-text) !important;
 }

 .pillars {
     padding: 6rem 0 8rem;
     background: #edf2fc;
     position: relative;
     border-bottom: 1px solid rgba(32, 85, 213, 0.1);
 }

 .pillars-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 3rem;
     perspective: 1500px;
 }

 .tilt-card {
     height: 300px;
     transform-style: preserve-3d;
     background: transparent;
 }

 .tilt-content {
     position: relative;
     width: 100%;
     height: 100%;
     padding: 3rem;
     background: #ffffff;
     border-radius: 24px;
     border: 1px solid rgba(32, 85, 213, 0.12);
     display: flex;
     flex-direction: column;
     justify-content: center;
     transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
     transform-style: preserve-3d;
     box-shadow: 0 15px 35px rgba(32, 85, 213, 0.06);
     overflow: hidden;
 }

 .tilt-content h3 {
     transform: translateZ(40px);
     margin-bottom: 0.5rem;
     font-size: 1.4rem;
     color: #0b162c !important;
 }

 .tilt-content p {
     transform: translateZ(20px);
     font-size: 1rem;
     color: #4a5568 !important;
 }

 .tilt-content .pillar-icon {
     transform: translateZ(50px);
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background: var(--clr-accent);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     color: var(--clr-true-white);
     margin-bottom: 1.5rem;
     box-shadow: 0 10px 20px rgba(47, 95, 238, 0.4);
 }

 /* Glare Effect */
 .glare {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.08) 25%, transparent 30%);
     z-index: 10;
     pointer-events: none;
     opacity: 0;
     transition: opacity 0.3s;
     transform: translateZ(1px);
 }

 .tilt-content:hover .glare {
     opacity: 1;
 }

 /* ==========================================================================
   Services (Pinned Horizontal Scroll)
   ========================================================================== */
 .services {
     /* Height will be set dynamically via JS to allow for scrolling */
     background: var(--clr-navy);
     position: relative;
 }

 .pin-wrap {
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     position: sticky;
     top: 0;
     overflow: hidden;
     /* Hide horizontal scrollbar */
 }

 .services .section-header {
     position: absolute;
     top: 15vh;
     left: 5vw;
     z-index: 10;
 }

 .services .section-title {
     background: #081122;
     color: #ffffff;
     display: inline-block;
     padding: 12px 45px;
     border-radius: 100px;
     font-size: 1.5rem;
     letter-spacing: 2px;
     box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
     border: 1px solid rgba(255, 255, 255, 0.15);
 }

 .horizontal-scroll-container {
     display: flex;
     gap: 3rem;
     padding: 0 5vw;
     margin-top: 5vh;
     will-change: transform;
 }

 .service-card {
     min-width: 400px;
     height: 500px;
     background: #ffffff;
     border-radius: 28px;
     position: relative;
     display: flex;
     flex-direction: column;
     border: 1px solid rgba(0, 0, 0, 0.08);
     box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
     transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
     overflow: hidden;
 }

 .service-card:hover {
     background: #ffffff;
     border-color: rgba(32, 85, 213, 0.4);
     box-shadow: 0 25px 60px rgba(32, 85, 213, 0.25);
     transform: translateY(-8px);
 }

 .service-image {
     width: 100%;
     height: 200px;
     overflow: hidden;
     position: relative;
     border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
 }

 .service-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.6s ease, filter 0.6s ease;
     filter: grayscale(40%) brightness(0.95);
 }

 .service-card:hover .service-image img {
     transform: scale(1.1);
     filter: grayscale(0%) brightness(1);
 }

 .service-content {
     padding: 2.5rem;
     flex: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
     position: relative;
     background: #ffffff;
 }

 .service-number {
     position: absolute;
     top: 1.5rem;
     right: 2rem;
     font-size: 5rem;
     font-family: var(--font-heading);
     font-weight: 900;
     color: #0b162c;
     opacity: 0.05;
     transition: opacity 0.4s, color 0.4s;
     z-index: 0;
 }

 .service-card:hover .service-number {
     opacity: 0.12;
     color: var(--clr-accent);
 }

 .service-icon {
     width: 58px;
     height: 58px;
     background: #081122;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.4rem;
     color: #ffffff;
     margin-bottom: 1.2rem;
     transition: transform 0.4s, background 0.4s, color 0.4s, box-shadow 0.4s;
     position: relative;
     z-index: 1;
     box-shadow: 0 6px 20px rgba(8, 17, 34, 0.35);
 }

 .service-card:hover .service-icon {
     transform: scale(1.1) rotate(-8deg);
     background: var(--clr-accent);
     color: #ffffff;
     box-shadow: 0 10px 30px rgba(32, 85, 213, 0.45);
 }

 .service-content h3 {
     font-size: 1.8rem;
     margin-bottom: 0.5rem;
     line-height: 1.2;
     color: #0b162c;
     font-weight: 800;
     position: relative;
     z-index: 1;
 }

 .service-content p {
     font-size: 1.05rem;
     color: #4a5568;
     position: relative;
     z-index: 1;
     font-weight: 500;
     line-height: 1.5;
 }

 .service-card-spacer {
     min-width: 50vw;
 }

 /* Add padding at the end of scroll */

 /* ==========================================================================
   Who We Are
   ========================================================================== */
 .who-we-are {
     padding: 10rem 0;
     background: #ffffff;
     position: relative;
     border-top: 1px solid rgba(32, 85, 213, 0.08);
 }

 .who-we-are-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
 }

 .who-text .section-title {
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 4px;
     color: var(--clr-accent);
     margin-bottom: 2rem;
     font-weight: 600;
 }

 .who-text .large-text {
     font-size: clamp(1.5rem, 3vw, 2.5rem);
     font-family: var(--font-heading);
     color: #0b162c;
     font-weight: 700;
     line-height: 1.4;
 }

 .who-stats {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
 }

 .stat-box {
     padding: 2rem;
     background: #f8faff;
     border: 1px solid rgba(32, 85, 213, 0.12);
     border-radius: 20px;
     text-align: center;
     transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
 }

 .stat-box:hover {
     transform: translateY(-10px);
     background: #ffffff;
     border-color: rgba(32, 85, 213, 0.3);
     box-shadow: 0 15px 40px rgba(32, 85, 213, 0.1);
 }

 .stat-box h3 {
     font-size: 2.5rem;
     margin-bottom: 0.25rem;
     color: var(--clr-accent);
 }

 .stat-box p {
     color: #4a5568;
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 @media (max-width: 768px) {
     .who-we-are-grid {
         grid-template-columns: 1fr;
     }
 }

 /* 
   Tech Stack Marquee
   */
 .tech-marquee {
     padding: 1.4rem 0;
     background: #2055d5;
     border-top: 1px solid rgba(255, 255, 255, 0.15);
     border-bottom: 1px solid rgba(255, 255, 255, 0.15);
     overflow: hidden;
     white-space: nowrap;
     position: relative;
     box-shadow: 0 8px 30px rgba(32, 85, 213, 0.35);
 }

 .marquee-content {
     display: inline-block;
     animation: scrollMarquee 20s linear infinite;
 }

 .marquee-content span {
     font-family: var(--font-heading);
     font-size: 3rem;
     font-weight: 800;
     color: #ffffff;
     -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
     margin-right: 3rem;
     text-transform: uppercase;
     transition: transform 0.3s, opacity 0.3s;
     cursor: default;
 }

 .marquee-content span:hover {
     color: #ffffff;
     opacity: 0.8;
 }

 @keyframes scrollMarquee {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 /* ==========================================================================
   Our Process
   ========================================================================== */
 .process {
     padding: 8rem 0;
     background: #081122;
     border-top: 1px solid rgba(69, 112, 245, 0.2);
 }

 .process .section-header {
     margin-bottom: 4rem;
 }

 .process .section-title {
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 4px;
     color: #5282ff;
     font-weight: 600;
 }

 .process-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .process-card {
     padding: 3rem 2rem;
     border-top: 2px solid rgba(69, 112, 245, 0.2);
     position: relative;
     transition: background 0.3s, border-color 0.3s;
 }

 .process-card:hover {
     background: rgba(69, 112, 245, 0.08);
     border-top-color: #2055d5;
 }

 .process-num {
     font-size: 2.5rem;
     font-weight: 800;
     color: #5282ff;
     margin-bottom: 0.5rem;
     font-family: var(--font-heading);
     transition: color 0.3s;
 }

 .process-card:hover .process-num {
     color: #ffffff;
 }

 .process-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     color: #ffffff;
 }

 .process-card p {
     color: rgba(210, 225, 255, 0.8);
     font-size: 1rem;
     line-height: 1.6;
 }

 /* ==========================================================================
   Industries (Bento Box)
   ========================================================================== */
 .industries {
     padding: 8rem 0;
     background: #ffffff;
     border-top: 1px solid rgba(32, 85, 213, 0.08);
 }

 .industries .section-title {
     color: #0b162c;
     font-size: 2.2rem;
     letter-spacing: 2px;
 }

 .bento-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     grid-template-rows: repeat(2, 260px);
     gap: 1.5rem;
     margin-top: 3rem;
 }

 .bento-box {
     background: #081122;
     border-radius: 24px;
     padding: 2.5rem;
     position: relative;
     border: 1px solid rgba(82, 130, 255, 0.3);
     transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
     box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
 }

 .bento-box::after {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(to top, rgba(8, 17, 34, 0.95) 0%, rgba(8, 17, 34, 0.5) 60%, rgba(8, 17, 34, 0.15) 100%);
     z-index: 1;
     pointer-events: none;
 }

 .bento-box:hover {
     transform: translateY(-6px);
     border-color: rgba(32, 85, 213, 0.6);
     box-shadow: 0 25px 55px rgba(32, 85, 213, 0.3);
 }

 .bento-large {
     grid-column: span 2;
     grid-row: span 2;
 }

 .bento-tall {
     grid-column: span 1;
     grid-row: span 2;
 }

 .bento-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
     filter: brightness(0.75) contrast(1.1);
     opacity: 0.85;
     transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
 }

 .bento-box:hover .bento-bg {
     transform: scale(1.08);
     filter: brightness(0.9) contrast(1.15);
     opacity: 0.95;
 }

 .bento-content {
     position: relative;
     z-index: 2;
 }

 .bento-icon {
     font-size: 2.5rem;
     color: #5282ff;
     margin-bottom: auto;
     filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
 }

 .bento-content h3 {
     font-family: var(--font-heading);
     font-size: 1.6rem;
     color: #ffffff;
     font-weight: 800;
     margin: 1rem 0 0.5rem;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
 }

 .bento-content p {
     color: rgba(220, 230, 255, 0.9);
     font-size: 0.98rem;
     line-height: 1.5;
     font-weight: 400;
     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
 }

 /* ==========================================================================
   Featured Products / Case Studies
   ========================================================================== */
 .products {
     padding: 8rem 0;
     background: #edf2fc;
     border-top: 1px solid rgba(32, 85, 213, 0.1);
 }

 .products .section-title {
     color: #0b162c;
 }

 .product-blocks {
     display: flex;
     flex-direction: column;
     gap: 6rem;
     margin-top: 3rem;
 }

 .product-block {
     display: flex;
     gap: 4rem;
     align-items: center;
 }

 .product-block.reverse {
     flex-direction: row-reverse;
 }

 .product-info {
     flex: 1;
 }

 .product-name {
     font-family: var(--font-heading);
     font-size: 3rem;
     color: #0b162c;
     margin-bottom: 1rem;
     line-height: 1.1;
 }

 .product-desc {
     color: #4a5568;
     font-size: 1.1rem;
     margin-bottom: 2rem;
     max-width: 500px;
 }

 .product-metrics {
     display: flex;
     gap: 3rem;
     margin-bottom: 2.5rem;
     border-left: 3px solid var(--clr-accent);
     padding-left: 1.5rem;
 }

 .metric {
     display: flex;
     flex-direction: column;
     color: #4a5568;
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 .metric strong {
     color: var(--clr-accent);
     font-size: 2.5rem;
     font-family: var(--font-heading);
     margin-bottom: 0.2rem;
     letter-spacing: -1px;
 }

 .product-visual {
     flex: 1;
     border-radius: 24px;
     overflow: hidden;
     background: #ffffff;
     aspect-ratio: 4/3;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 1px solid rgba(32, 85, 213, 0.12);
     position: relative;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
 }

 .product-visual img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     filter: brightness(0.95);
     transition: transform 0.6s ease, filter 0.6s ease;
 }

 .product-block:hover .product-visual img {
     transform: scale(1.05);
     filter: brightness(1);
 }

 .mt-4 {
     margin-top: 1rem;
 }

 /* ==========================================================================
   Technologies We Master
   ========================================================================== */
 .tech-grid-section {
     padding: 8rem 0;
     background: #ffffff;
     border-top: 1px solid rgba(32, 85, 213, 0.1);
 }

 .tech-grid-section .section-title {
     color: #0b162c;
 }

 .tech-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
     gap: 1.5rem;
     margin-top: 3rem;
 }

 .tech-grid:hover .tech-item {
     opacity: 0.4;
 }

 .tech-item {
     background: #edf2fc;
     border: 1px solid rgba(32, 85, 213, 0.12);
     border-radius: 16px;
     padding: 2.5rem 1rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 1rem;
     transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
 }

 .tech-item i {
     font-size: 3.2rem;
     color: var(--clr-accent);
     transition: color 0.4s ease, transform 0.4s ease;
 }

 .tech-item span {
     color: #4a5568;
     font-size: 0.9rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     transition: color 0.4s ease;
 }

 .tech-grid .tech-item:hover {
     opacity: 1 !important;
     transform: translateY(-10px) scale(1.05);
 }

 .tech-grid .tech-item:hover i {
     transform: scale(1.1);
 }

 /* Authentic Brand Colors on Hover */
 .tech-html:hover { background: #ffffff; border-color: #e34f26; box-shadow: 0 12px 30px rgba(227, 79, 38, 0.35); }
 .tech-html:hover i, .tech-html:hover span { color: #e34f26 !important; }

 .tech-css:hover { background: #ffffff; border-color: #1572b6; box-shadow: 0 12px 30px rgba(21, 114, 182, 0.35); }
 .tech-css:hover i, .tech-css:hover span { color: #1572b6 !important; }

 .tech-js:hover { background: #1e1e1e; border-color: #f7df1e; box-shadow: 0 12px 30px rgba(247, 223, 30, 0.35); }
 .tech-js:hover i, .tech-js:hover span { color: #f7df1e !important; }

 .tech-react:hover { background: #0e1e28; border-color: #61dafb; box-shadow: 0 12px 30px rgba(97, 218, 251, 0.4); }
 .tech-react:hover i, .tech-react:hover span { color: #61dafb !important; }

 .tech-node:hover { background: #ffffff; border-color: #339933; box-shadow: 0 12px 30px rgba(51, 153, 51, 0.35); }
 .tech-node:hover i, .tech-node:hover span { color: #339933 !important; }

 .tech-php:hover { background: #ffffff; border-color: #777bb4; box-shadow: 0 12px 30px rgba(119, 123, 180, 0.35); }
 .tech-php:hover i, .tech-php:hover span { color: #777bb4 !important; }

 .tech-laravel:hover { background: #ffffff; border-color: #ff2d20; box-shadow: 0 12px 30px rgba(255, 45, 32, 0.35); }
 .tech-laravel:hover i, .tech-laravel:hover span { color: #ff2d20 !important; }

 .tech-bootstrap:hover { background: #ffffff; border-color: #7952b3; box-shadow: 0 12px 30px rgba(121, 82, 179, 0.35); }
 .tech-bootstrap:hover i, .tech-bootstrap:hover span { color: #7952b3 !important; }

 .tech-jquery:hover { background: #ffffff; border-color: #0769ad; box-shadow: 0 12px 30px rgba(7, 105, 173, 0.35); }
 .tech-jquery:hover i, .tech-jquery:hover span { color: #0769ad !important; }

 .tech-mysql:hover { background: #ffffff; border-color: #00758f; box-shadow: 0 12px 30px rgba(0, 117, 143, 0.35); }
 .tech-mysql:hover i, .tech-mysql:hover span { color: #00758f !important; }

 .tech-sqlserver:hover { background: #ffffff; border-color: #cc292b; box-shadow: 0 12px 30px rgba(204, 41, 43, 0.35); }
 .tech-sqlserver:hover i, .tech-sqlserver:hover span { color: #cc292b !important; }

 .tech-shopify:hover { background: #ffffff; border-color: #96bf48; box-shadow: 0 12px 30px rgba(150, 191, 72, 0.35); }
 .tech-shopify:hover i, .tech-shopify:hover span { color: #96bf48 !important; }

 .tech-wordpress:hover { background: #ffffff; border-color: #21759b; box-shadow: 0 12px 30px rgba(33, 117, 155, 0.35); }
 .tech-wordpress:hover i, .tech-wordpress:hover span { color: #21759b !important; }

 .tech-figma:hover { background: #1a1a1a; border-color: #f24e1e; box-shadow: 0 12px 30px rgba(242, 78, 30, 0.4); }
 .tech-figma:hover i, .tech-figma:hover span { color: #f24e1e !important; }

 .tech-illustrator:hover { background: #261400; border-color: #ff9a00; box-shadow: 0 12px 30px rgba(255, 154, 0, 0.4); }
 .tech-illustrator:hover i, .tech-illustrator:hover span { color: #ff9a00 !important; }

 .tech-photoshop:hover { background: #001e36; border-color: #31a8ff; box-shadow: 0 12px 30px rgba(49, 168, 255, 0.4); }
 .tech-photoshop:hover i, .tech-photoshop:hover span { color: #31a8ff !important; }

 .tech-vue:hover { background: #0e2018; border-color: #4fc08d; box-shadow: 0 12px 30px rgba(79, 192, 141, 0.4); }
 .tech-vue:hover i, .tech-vue:hover span { color: #4fc08d !important; }

 .tech-docker:hover { background: #ffffff; border-color: #2496ed; box-shadow: 0 12px 30px rgba(36, 150, 237, 0.35); }
 .tech-docker:hover i, .tech-docker:hover span { color: #2496ed !important; }

 .tech-grid .tech-item:hover i,
 .tech-grid .tech-item:hover span {
     color: #ffffff;
 }

 /* ==========================================================================
   Contact
   ========================================================================== */
 .contact {
     padding: 8rem 0;
     background: #081122;
     border-top: 1px solid rgba(69, 112, 245, 0.2);
 }

 .contact-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
 }

 .contact-text .section-title {
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 4px;
     color: #5282ff;
     margin-bottom: 2rem;
     font-weight: 600;
 }

 .contact-heading {
     font-size: clamp(2rem, 4vw, 3rem);
     font-family: var(--font-heading);
     color: #ffffff;
     font-weight: 700;
     line-height: 1.2;
     margin-bottom: 1.5rem;
 }

 .contact-text p {
     color: rgba(210, 225, 255, 0.8);
     font-size: 1.1rem;
     max-width: 400px;
 }

 .contact-info-blocks {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }

 .info-block {
     padding-bottom: 2rem;
     border-bottom: 1px solid rgba(69, 112, 245, 0.2);
 }

 .info-block h4 {
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 2px;
     color: #5282ff;
     margin-bottom: 1rem;
 }

 .info-block a,
 .info-block p {
     font-size: 1.5rem;
     color: #ffffff;
     transition: color 0.3s;
     line-height: 1.4;
 }

 .info-block a:hover {
     color: #5282ff;
 }

 @media (max-width: 768px) {
     .contact-grid {
         grid-template-columns: 1fr;
     }
 }

 /* ==========================================================================
   Footer
   ========================================================================== */
 .footer {
     padding: 2.5rem 0;
     border-top: 1px solid rgba(69, 112, 245, 0.2);
     position: relative;
     z-index: 2;
     background: #040914;
 }

 .footer .text-escott {
     color: #ffffff !important;
 }

 .footer .text-tagline {
     color: rgba(200, 215, 255, 0.6) !important;
 }

 .footer-inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }

 .footer-logo {
     font-weight: 800;
     color: #ffffff;
     letter-spacing: 2px;
 }

 .socials {
     display: flex;
     align-items: center;
     gap: 1.5rem;
 }

 .socials span {
     font-size: 0.85rem;
     letter-spacing: 1px;
     color: rgba(210, 225, 255, 0.8);
 }

 .socials a {
     color: #ffffff;
     transition: color 0.3s;
     font-size: 1.2rem;
 }

 .socials a:hover {
     color: #5282ff;
 }

 .social-handle {
     color: #ffffff !important;
     font-weight: 600;
 }

 /* ==========================================================================
   Animations
   ========================================================================== */
 .reveal-text-line {
     display: inline-block;
     overflow: hidden;
     vertical-align: top;
 }

 .reveal-text-line span {
     display: inline-block;
     transform: translateY(110%);
     transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
 }

 .reveal-text-line.active span {
     transform: translateY(0);
 }

 .reveal-fade {
     opacity: 0;
     transform: translateY(40px);
     transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
     transition-delay: var(--delay, 0s);
 }

 .reveal-fade.active {
     opacity: 1;
     transform: translateY(0);
 }

 /* ==========================================================================
    Mobile Responsiveness
    ========================================================================== */
 @media (max-width: 1024px) {
     .bento-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .bento-wide {
         grid-column: span 2;
     }

     .hero-title {
         font-size: 4.5rem;
     }
     
     .container {
         padding: 0 4vw;
     }
 }

 @media (max-width: 768px) {
     /* Prevent Mobile Horizontal Page Overflow */
     html, body {
         overflow-x: hidden !important;
         width: 100vw;
     }

     /* Container & Sections */
     .container {
         padding: 0 5vw;
     }
     
     .pillars,
     .process,
     .industries,
     .products,
     .tech-grid-section,
     .contact {
         padding: 5rem 0;
     }

     /* Header & Mobile Navigation */
     .header {
         padding: 1rem 0;
     }

     .mobile-toggle {
         display: flex;
         flex-direction: column;
         justify-content: space-between;
         width: 28px;
         height: 20px;
         background: transparent;
         border: none;
         cursor: pointer;
         z-index: 1001;
     }

     .mobile-toggle span {
         width: 100%;
         height: 2px;
         background-color: #ffffff;
         border-radius: 10px;
         transition: all 0.3s ease;
         position: relative;
         transform-origin: 1px;
     }

     .mobile-toggle.active span:first-child {
         transform: rotate(45deg);
     }

     .mobile-toggle.active span:nth-child(2) {
         opacity: 0;
     }

     .mobile-toggle.active span:nth-child(3) {
         transform: rotate(-45deg);
     }

     .nav {
         position: fixed;
         top: 0;
         right: -100%;
         width: 100%;
         height: 100vh;
         background: rgba(8, 17, 34, 0.98);
         backdrop-filter: blur(20px);
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
         z-index: 999;
     }

     .nav.active {
         right: 0;
     }

     .nav-list {
         flex-direction: column;
         gap: 2.2rem;
         text-align: center;
     }

     .nav-link {
         font-size: 1.35rem;
         color: #ffffff;
     }

     /* Hero Section Mobile */
     .hero {
         min-height: 100vh;
         padding-top: 110px;
         padding-bottom: 60px;
     }

     .hero-badge {
         font-size: 0.75rem;
         padding: 6px 16px;
         margin-bottom: 0.8rem;
     }

     .hero-title {
         font-size: clamp(2.4rem, 8vw, 3.8rem);
         letter-spacing: -1px;
         line-height: 1.05;
     }

     .hero-subtitle {
         font-size: 1.3rem;
         margin-bottom: 1rem;
     }

     .hero-desc {
         font-size: 1.05rem;
         margin: 0 auto 2rem;
         padding: 0 1rem;
     }

     .hero-cta-group {
         gap: 1rem;
         margin-bottom: 2rem;
         flex-direction: column;
         width: 100%;
     }

     .hero-cta-group .btn-primary,
     .hero-cta-group .btn-secondary {
         width: 100%;
         max-width: 320px;
         text-align: center;
         justify-content: center;
     }

     .hero-feature-pill {
         font-size: 0.75rem;
         padding: 8px 16px;
         letter-spacing: 1px;
         max-width: 90%;
         margin: 0 auto;
     }

     /* Who We Are Mobile */
     .who-we-are {
         padding: 5rem 0;
     }

     .who-we-are-grid {
         grid-template-columns: 1fr;
         gap: 3rem;
     }

     .who-text .large-text {
         font-size: 1.6rem;
     }

     .who-stats {
         grid-template-columns: 1fr 1fr;
         gap: 1rem;
     }

     .stat-box {
         padding: 1.5rem 1rem;
     }

     .stat-box h3 {
         font-size: 2rem;
     }

     .stat-box p {
         font-size: 0.8rem;
     }

     /* Pillars Section Mobile */
     .pillars-grid {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }

     .tilt-card {
         height: auto;
         min-height: 220px;
     }

     .tilt-content {
         padding: 2rem 1.5rem;
     }

     /* Services Horizontal Scroll on Mobile */
     .services {
         background: #081122;
         padding: 4rem 0;
         height: auto !important;
     }

     .services .pin-wrap {
         height: auto !important;
         position: relative !important;
         top: 0 !important;
         padding: 0;
     }

     .services .section-header {
         position: relative !important;
         top: 0 !important;
         left: 0 !important;
         margin-bottom: 2rem;
         padding: 0 5vw;
     }

     .services .section-title {
         font-size: 1.2rem;
         padding: 10px 30px;
     }

     .horizontal-scroll-container {
         display: flex;
         overflow-x: scroll;
         scroll-snap-type: x mandatory;
         padding: 0 5vw 1.5rem;
         gap: 1.5rem;
         margin-top: 0;
         -webkit-overflow-scrolling: touch;
         /* Hide scrollbar — Firefox */
         scrollbar-width: none;
         /* Hide scrollbar — IE/Edge */
         -ms-overflow-style: none;
     }

     /* Hide scrollbar — Chrome / Safari / Opera */
     .horizontal-scroll-container::-webkit-scrollbar {
         display: none;
     }

     .service-card {
         min-width: 85vw;
         height: auto;
         min-height: 420px;
         scroll-snap-align: center;
         border-radius: 20px;
     }

     .service-card-spacer {
         display: none;
     }

     .service-content {
         padding: 1.8rem;
     }

     .service-content h3 {
         font-size: 1.5rem;
     }

     /* Industries Bento Grid Mobile */
     .bento-grid {
         grid-template-columns: 1fr;
         grid-template-rows: auto;
         gap: 1.2rem;
     }

     .bento-large,
     .bento-wide,
     .bento-tall,
     .bento-box {
         grid-column: span 1;
         grid-row: span 1;
         min-height: 240px;
         padding: 1.8rem;
     }

     .bento-content h3 {
         font-size: 1.4rem;
     }

     /* Process Section Mobile */
     .process-grid {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }

     .process-card {
         padding: 2rem 1.5rem;
     }

     .process-num {
         font-size: 2rem;
     }

     /* Products Case Studies Mobile */
     .product-blocks {
         gap: 4rem;
     }

     .product-block {
         flex-direction: column;
         gap: 2rem;
         text-align: center;
     }

     .product-name {
         font-size: 2rem;
     }

     .product-desc {
         margin: 0 auto 1.5rem;
         font-size: 1rem;
     }

     .product-metrics {
         justify-content: center;
         border-left: none;
         padding-left: 0;
         border-top: 2px solid rgba(32, 85, 213, 0.15);
         padding-top: 1.5rem;
         gap: 2rem;
     }

     .product-visual {
         aspect-ratio: 16/10;
         width: 100%;
     }

     /* Tech Grid Mobile */
     .tech-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 1rem;
     }

     .tech-item {
         padding: 1.8rem 1rem;
     }

     .tech-item i {
         font-size: 2.5rem;
     }

     .tech-item span {
         font-size: 0.8rem;
     }

     /* Tech Marquee Mobile */
     .marquee-content span {
         font-size: 1.8rem;
         margin-right: 1.5rem;
     }

     /* Contact Section Mobile */
     .contact-grid {
         grid-template-columns: 1fr;
         gap: 3rem;
     }

     .contact-heading {
         font-size: 2.2rem;
     }

     .info-block a,
     .info-block p {
         font-size: 1.2rem;
     }

     /* Footer Mobile */
     .footer {
         padding: 2rem 0 3rem;
     }

     .footer-inner {
         flex-direction: column;
         text-align: center;
         gap: 1.5rem;
     }
 }

 @media (max-width: 480px) {
     .hero-title {
         font-size: 2.2rem;
     }

     .hero-subtitle {
         font-size: 1.15rem;
     }

     .section-title {
         font-size: 1.8rem;
     }

     .service-card {
         min-width: 90vw;
     }

     .who-stats {
         grid-template-columns: 1fr;
     }
 }

/* ==========================================================================
   FAQ Section & Accordion
   ========================================================================== */
.faq-section {
    padding: 8rem 0;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-navy-text);
    margin-top: 0.5rem;
    font-weight: 400;
}

.faq-accordion {
    max-width: 860px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(13, 26, 51, 0.6);
    border: 1px solid var(--clr-navy-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(82, 130, 255, 0.45);
    background: rgba(20, 36, 69, 0.85);
    box-shadow: 0 8px 30px rgba(32, 85, 213, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--clr-accent-glow);
}

.faq-icon {
    font-size: 1rem;
    color: var(--clr-accent-glow);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1), padding 0.4s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.8rem 1.5rem 1.8rem;
}

.faq-answer p {
    color: var(--clr-navy-text);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-accent);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 20px rgba(32, 85, 213, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(82, 130, 255, 0.6);
}