/* ==========================================================================
   CONVENTIONS AND EXHIBITIONS - ARCHITECTURAL LUXURY & SPATIAL INFRASTRUCTURE
   Aesthetic: High-Confidence Engineering, Architectural Rigor, Turnkey Luxury
   Typography: 'Sora' (Architectural Headings) + 'Manrope' (Crisp Body & UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --color-dark-bg: #070a0f;
  --color-dark-card: #0e1420;
  --color-dark-surface: #141c2c;
  --color-accent-blue: #004390;
  --color-accent-green: #10b981;
  --color-whatsapp: #25d366;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: #1e293b;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Professional Sleek Typography (Refined Sora & Manrope) */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 600;
}

h1, .text-5xl.font-heading, .text-6xl.font-heading {
  font-weight: 700 !important;
  letter-spacing: -0.03em;
}

h2, .text-3xl.font-heading, .text-4xl.font-heading {
  font-weight: 600 !important;
  letter-spacing: -0.025em;
}

h3, h4, h5, h6 {
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

/* Specific Hero Headline (Sora 800 - Striking, Architectural, Uncluttered) */
.hero-headline {
  font-family: 'Sora', var(--font-heading);
  font-weight: 800 !important;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* Specific Hero Description (Manrope 400/500 off-white) */
.hero-description {
  font-family: 'Manrope', var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: #cbd5e1;
}

/* Specific Hero Eyebrow */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Eliminate bulbous 900 weight across non-hero elements */
.font-black,
.font-extrabold,
h2.font-black,
h3.font-black,
h4.font-black {
  font-weight: 600 !important;
}

.hero-headline.font-black,
.hero-headline.font-bold,
.hero-headline {
  font-weight: 800 !important;
}

.font-mono-tech {
  font-family: var(--font-mono);
}

/* Signature Brand Royal Sapphire Radiant Gradient (Official Logo Color Aligned) */
.text-gradient-brand {
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 50%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
}

.text-gradient-brand-light {
  background: linear-gradient(90deg, #004390 0%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
}

/* Gradient Backgrounds aligned with Heading Gradient */
.bg-gradient-brand {
  background: linear-gradient(135deg, #004390 0%, #0284c7 50%, #38bdf8 100%) !important;
  color: #ffffff !important;
}

.bg-gradient-brand-horizontal {
  background: linear-gradient(90deg, #004390 0%, #0284c7 50%, #38bdf8 100%) !important;
}

.bg-gradient-brand-subtle {
  background: linear-gradient(135deg, rgba(0, 67, 144, 0.12) 0%, rgba(2, 132, 199, 0.16) 50%, rgba(56, 189, 248, 0.12) 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
}

.shadow-brand-glow {
  box-shadow: 0 10px 25px -5px rgba(0, 67, 144, 0.45), 0 8px 10px -6px rgba(56, 189, 248, 0.25) !important;
}

/* Hide scrollbar for clean single line scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Glassmorphic Navbar */
.nav-glass {
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Hero Section Custom Swiper & Architectural Visuals
   ========================================================================== */
.hero-swiper {
  width: 100%;
  min-height: 540px;
  height: calc(100vh - 105px);
  max-height: 780px;
  position: relative;
  background-color: #070a0f;
}

@media (max-width: 768px) {
  .hero-swiper {
    min-height: auto;
    height: auto;
    padding-bottom: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 64px;
    line-height: 0.98;
  }
}

@media (min-width: 1280px) {
  .hero-headline {
    font-size: 70px !important;
    line-height: 0.98;
  }
}

.hero-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Ken Burns Subtle Cinematic Scale with High Visual Fidelity */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.02) contrast(1.06) saturate(1.1);
  transform: scale(1);
  transition: transform 7.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg,
  .swiper-slide-active .hero-slide-bg {
    transform: none !important;
    transition: none !important;
  }
}

/* High-Precision Left-to-Right Obsidian Gradient Scrim (Optimized for Image Clarity & Legibility) */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(7, 10, 15, 0.82) 0%, rgba(7, 10, 15, 0.68) 28%, rgba(7, 10, 15, 0.35) 55%, rgba(7, 10, 15, 0.10) 80%, rgba(7, 10, 15, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.38) 0%, transparent 22%, transparent 75%, rgba(7, 10, 15, 0.65) 100%),
    radial-gradient(circle at 75% 35%, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-slide-overlay {
    background: 
      linear-gradient(180deg, rgba(7, 10, 15, 0.68) 0%, rgba(7, 10, 15, 0.78) 50%, rgba(7, 10, 15, 0.88) 100%);
  }
}

/* Architectural blueprint grid texture */
.hero-blueprint-grid {
  position: absolute;
  inset: 0;
  background-size: 44px 44px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Architectural Swiper Navigation Buttons (8-12px radius, no pills) */
.hero-nav-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav-btn:hover {
  background: linear-gradient(135deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.hero-nav-btn:active {
  transform: translateY(0);
}

/* Horizontal Swiper Pagination Bars */
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 4px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 48px;
  background: linear-gradient(90deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
}

/* Right-Side Floating Glassmorphic Spec Card */
.hero-tech-card {
  background: rgba(14, 20, 32, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
}

.hero-tech-card:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 67, 144, 0.25);
}

/* Modern Infinite Marquee */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 3.5rem;
  animation: marquee-glide 32s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-glide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   SECTION 2: FOUR DECADES OF MASTERY • SINCE 1980 (ARCHITECTURAL PROOF)
   Strict Manrope Typography System & 2-Column Responsive Layout
   ========================================================================== */

#about {
  background-color: #FAFAF8 !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

#about * {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

#about .mastery-eyebrow {
  background: linear-gradient(90deg, #004390 0%, #0284c7 60%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#about .mastery-heading {
  font-weight: 800 !important;
  line-height: 1.0 !important;
  letter-spacing: -2px !important;
  color: #07111F;
}

@media (min-width: 1024px) {
  #about .mastery-heading {
    font-size: 56px;
    line-height: 1.0 !important;
  }
}

@media (min-width: 1280px) {
  #about .mastery-heading {
    font-size: 62px;
    line-height: 0.98 !important;
  }
}

#about .mastery-body {
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.65;
  color: #334155;
}

#about .mastery-number {
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}

#about .mastery-label {
  font-weight: 700 !important;
  letter-spacing: 1px;
}

#about .mastery-btn-primary {
  width: 100%;
  max-width: 260px;
  height: 54px;
  border-radius: 28px;
  background-color: #07111F;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(7, 17, 31, 0.12);
}

#about .mastery-btn-primary:hover {
  background: linear-gradient(135deg, #004390 0%, #0284c7 50%, #38bdf8 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 67, 144, 0.35);
}

#about .mastery-btn-secondary {
  width: 100%;
  max-width: 230px;
  height: 54px;
  border-radius: 28px;
  background-color: #f1f5f9;
  color: #07111F;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#about .mastery-btn-secondary:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  #about .mastery-btn-primary,
  #about .mastery-btn-secondary {
    max-width: 100%;
    width: 100%;
  }
}

/* Modern Service Cards */
.modern-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-8px);
  border-color: #0284c7;
  box-shadow: 0 24px 48px -12px rgba(0, 67, 144, 0.18);
}

.modern-card .card-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-card:hover .card-glow-bar {
  opacity: 1;
}

/* Gallery Hover Dynamics */
.gallery-zoom-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}

.gallery-zoom-card img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-zoom-card:hover img {
  transform: scale(1.08);
}

.gallery-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 15, 0.95) 0%, rgba(7, 10, 15, 0.5) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.gallery-zoom-card:hover .gallery-glass-overlay {
  opacity: 1;
}

/* ==========================================================================
   FLOATING BUTTONS - BOTH IN VIBRANT GREEN (AS REQUESTED)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

/* WhatsApp Floating Button - Green */
.btn-floating-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.btn-floating-whatsapp:hover {
  transform: scale(1.12);
  background: #20ba5a;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

.btn-floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: green-pulse-ring 2.2s infinite;
  z-index: -1;
}

/* Call Floating Button - ALSO GREEN (As specifically requested by user) */
.btn-floating-call {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #10b981; /* Premium Emerald Green */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.btn-floating-call:hover {
  transform: scale(1.12);
  background: #059669;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.6);
}

.btn-floating-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  animation: green-pulse-ring 2.2s infinite 0.5s;
  z-index: -1;
}

/* Scroll To Top Button */
.btn-floating-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s ease;
  margin: 0 auto;
}

.btn-floating-top.active,
.btn-floating-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-floating-top:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

@keyframes green-pulse-ring {
  0% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.96); opacity: 0; }
}

/* Modal Styling */
.modal-backdrop-v2 {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop-v2.active {
  opacity: 1;
  visibility: visible;
}

.modal-card-v2 {
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

.modal-backdrop-v2.active .modal-card-v2 {
  transform: scale(1);
}

/* Live Pulse Indicator */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  position: relative;
}

/* ==========================================================================
   TIMELINE STYLES FOR ABOUT US MILESTONES
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Central spine for desktop */
.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
  top: 40px;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .timeline-container::after {
    left: 28px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Node indicator dot */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #004390;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004390;
  font-size: 12px;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 67, 144, 0.25), 0 0 0 4px rgba(0, 67, 144, 0.08);
}

@media (max-width: 768px) {
  .timeline-node {
    left: 28px;
  }
}

.timeline-card {
  width: calc(50% - 48px);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 67, 144, 0.15);
}

@media (max-width: 768px) {
  .timeline-card {
    width: calc(100% - 64px);
    margin-left: 64px !important;
  }
}

/* Architectural Background Patterns & Depth */
.bg-blueprint-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-blueprint-pattern-light {
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-blueprint-pattern-dark {
  background-image: linear-gradient(to right, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.bg-dot-pattern-dark {
  background-image: radial-gradient(rgba(2, 132, 199, 0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.bg-dot-pattern-light {
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.bg-engineering-grid {
  background-image: 
    radial-gradient(rgba(0, 67, 144, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 67, 144, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 67, 144, 0.04) 1px, transparent 1px);
  background-size: 24px 24px, 96px 96px, 96px 96px;
}

/* ==========================================================================
   TESTIMONIALS SLIDER CONTROLS (Brand 2-Color Design)
   ========================================================================== */
.testimonials-swiper {
  position: relative;
  overflow: hidden;
}

.testimonials-swiper .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #cbd5e1;
  opacity: 1;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 !important;
  cursor: pointer;
}

.testimonials-swiper .swiper-pagination-bullet:hover {
  background-color: #94a3b8;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #004390 0%, #0284c7 50%, #38bdf8 100%);
  width: 28px;
  border-radius: 9999px;
}

.testimonials-prev.swiper-button-disabled,
.testimonials-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Continuous Sliding Gallery Ticker (Framer Solutions Gallery Architecture)
   ========================================================================== */
:root {
  --framer-border: rgba(255, 255, 255, 0.1);
  --framer-accent: #38bdf8;
  --framer-card-bg: #0c121e;
}

.ticker-gallery-section {
  padding: 4.5rem 0;
  background-color: #060911;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.ticker-gallery-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.framer-ticker {
  overflow: hidden;
  display: flex;
  position: relative;
  border-radius: 8px;
  width: 100%;
  will-change: auto;
}

.framer-ticker-track {
  display: flex;
  position: relative;
  list-style-type: none;
  padding: 0;
  margin: 0;
  align-items: center;
  width: max-content;
  will-change: transform;
}

@keyframes tickerMoveLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes tickerMoveRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.framer-ticker-left {
  animation: tickerMoveLeft 48s linear infinite;
}

.framer-ticker-right {
  animation: tickerMoveRight 48s linear infinite;
}

.framer-ticker:hover .framer-ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  width: 360px;
  height: 225px;
  margin-right: 14px;
}

@media (max-width: 640px) {
  .ticker-item {
    width: 280px !important;
    height: 180px !important;
    flex: 0 0 280px !important;
    margin-right: 10px !important;
  }
}

.framer-ticker-card {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d131f;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.framer-ticker-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.8), 0 0 25px -3px rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}

.framer-ticker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.framer-ticker-card:hover img {
  transform: scale(1.06);
}

.framer-ticker-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.2) 0%, rgba(7, 10, 15, 0.45) 45%, rgba(7, 10, 15, 0.95) 100%);
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.framer-ticker-card .card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(7, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  z-index: 2;
}

.framer-ticker-card .card-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(7, 10, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  z-index: 2;
  transition: all 0.25s ease;
}

.framer-ticker-card:hover .card-arrow {
  background: #38bdf8;
  color: #030712;
  border-color: #38bdf8;
  transform: translate(1px, -1px);
}

.framer-ticker-card .card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 2;
}

.framer-ticker-card .card-loc {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.framer-ticker-card .card-title {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.framer-ticker-card:hover .card-title {
  color: #38bdf8;
}

/* ==========================================================================
   Comprehensive Mobile & Multi-Screen Responsiveness Polish
   ========================================================================== */
@media (max-width: 640px) {
  .floating-dock {
    bottom: 20px !important;
    right: 16px !important;
    gap: 10px !important;
  }
  .btn-floating-whatsapp,
  .btn-floating-call {
    width: 48px !important;
    height: 48px !important;
  }
  .btn-floating-whatsapp i {
    font-size: 1.25rem !important;
  }
  .btn-floating-call i {
    font-size: 1.05rem !important;
  }
  .btn-floating-top {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Timeline refinement for narrow screens (320px - 400px) */
  .timeline-container::after {
    left: 20px !important;
  }
  .timeline-node {
    left: 20px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 10px !important;
  }
  .timeline-card {
    width: calc(100% - 46px) !important;
    margin-left: 46px !important;
  }
}

/* iOS Safe Area Insets Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .floating-dock {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }
}

/* Ensure no media or iframe causes unexpected layout shift or overflow */
img, video, iframe {
  max-width: 100%;
}

/* Prevent unwanted mobile text enlargement */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
