/* Sreemanie Builders & Developers - Premium Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  
  --primary-navy: #0B1A2D;
  --navy-light: #162B44;
  --navy-hover: #1E3859;
  --accent-cyan: #00A8E8;
  --accent-blue: #0077B6;
  --accent-gold: #C5A059;
  --accent-gold-bright: #D4AF37;
  --accent-gold-light: rgba(197, 160, 89, 0.15);
  --accent-cyan-light: rgba(0, 168, 232, 0.12);
  --accent-cyan-glow: rgba(0, 168, 232, 0.4);
  --gradient-accent: linear-gradient(135deg, #00A8E8 0%, #0077B6 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  --gradient-dark: linear-gradient(135deg, #0B1A2D 0%, #162B44 100%);
  --gradient-luxury: linear-gradient(135deg, #0B1A2D 0%, #14273E 50%, #0B1A2D 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(11, 26, 45, 0.88) 0%, rgba(11, 26, 45, 0.96) 100%);
  
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-accent: rgba(0, 168, 232, 0.25);
  --border-gold: rgba(197, 160, 89, 0.3);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(0, 168, 232, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(11, 26, 45, 0.14);
  --shadow-glow: 0 0 30px rgba(0, 168, 232, 0.3);
  --shadow-gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Manrope', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Helper Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

.text-gold {
  color: var(--accent-gold-bright) !important;
}

.bg-navy {
  background-color: var(--primary-navy) !important;
  color: var(--text-white);
}

.bg-light-accent {
  background-color: #F1F5F9;
}

.who-we-are-section {
  background-image: linear-gradient(rgba(241, 245, 249, 0.92), rgba(241, 245, 249, 0.92)), url('../images/img bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Subtle Engineering Architectural Blueprint Pattern */
.blueprint-grid-bg {
  background-image: linear-gradient(rgba(0, 168, 232, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 168, 232, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-cyan-light);
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid var(--border-accent);
}

.section-badge-gold {
  background-color: var(--accent-gold-light);
  color: #B8860B;
  border-color: var(--border-gold);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-subtitle.light {
  color: #94A3B8;
}

/* Top Header Contact Bar */
.top-bar {
  background: var(--primary-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 0.875rem;
  padding: 0.6rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item i {
  color: var(--accent-cyan);
}

.top-bar-item a:hover {
  color: var(--accent-cyan);
}

.top-bar-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar-socials a:hover {
  background: var(--accent-cyan);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
    height: 130px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.45);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--primary-navy);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--navy-hover);
  transform: translateY(-3px);
  color: var(--text-white);
}

.btn-outline {
  background: var(--gradient-accent);
  color: var(--text-white);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--text-white);
  color: var(--primary-navy);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-3px);
}

/* Floating Action Bar (WhatsApp, Call, Facebook) on ALL pages */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.float-btn .float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--primary-navy);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  right: 64px;
}

.float-whatsapp {
  background: #25D366;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: var(--accent-cyan);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(0, 168, 232, 0.5);
}

.float-facebook {
  background: #1877F2;
}

.float-facebook:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.5);
}

.float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* HERO SECTION */
.hero {
    position: relative;
    background: var(--primary-navy);
    color: var(--text-white);
    min-height: 600px;
    padding: 7rem 0 6rem;
    overflow: hidden;
}

/* Remove heavy blue overlay */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background: rgba(11, 26, 45, 0.15);

    z-index: 1;
    pointer-events: none;
}

/* Show background image clearly (inner-page hero photos) */
.hero-img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0.55;
    mix-blend-mode: normal;
    z-index: 0;
}

/* Keep content above image */
.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

/* Homepage hero: full-bleed video background with centered overlay content */
.hero-video {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 9rem 0 6rem;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Light video overlay */
.hero-video .hero-bg-overlay {
    background: linear-gradient(
        180deg,
        rgba(11, 26, 45, 0.20) 0%,
        rgba(11, 26, 45, 0.10) 45%,
        rgba(11, 26, 45, 0.25) 100%
    );
}
.hero-video .hero-container {
    display: flex;
    justify-content: flex-start;
}

.hero-text-content {
    max-width: 780px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;

    /* Makes heading sharp over image */
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.7;

    /* Makes paragraph readable */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
}

.hero-phone-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.hero-phone-direct i {
  color: white;
  font-size: 1.2rem;
}

.hero-phone-direct strong {
  color: var(--text-white);
}

/* Mute toggle sits over the full-bleed video, bottom-left (right side is reserved for the floating WhatsApp/call/Facebook stack) */
.hero-video-mute-toggle {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-video-mute-toggle:hover {
  background: var(--accent-cyan);
  color: var(--primary-navy);
}

/* HERO IMAGE SLIDER — 3 rotating hero photos, crossfade */
.hero-slider {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.45, 0, 0.2, 1);
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Next-slide control — glass circular button, upper-right so it never sits
   near the fixed WhatsApp/call/Facebook stack anchored to the viewport bottom-right */
.hero-slider-next {
  position: absolute;
  top: calc(50% - 90px);
  right: 1.75rem;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slider-next:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--primary-navy);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Dot / progress indicators — bottom-center, fill animates with the autoplay timer */
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.hero-slider-dot {
  position: relative;
  width: 38px;
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dot-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent-cyan);
  border-radius: inherit;
}

.hero-slider-dot.is-active .hero-slider-dot-fill {
  animation: heroDotProgress 6s linear forwards;
}

@keyframes heroDotProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* STATS COUNTER STRIP */
.stats-strip {
  background: #081321;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 600;
}

/* FEATURES / THREE COMMITMENTS */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.commitment-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.commitment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.commitment-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.commitment-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.commitment-card:hover .commitment-card-media img {
  transform: scale(1.08);
}

.commitment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 26, 45, 0) 28%, rgba(11, 26, 45, 0.6) 62%, rgba(11, 26, 45, 0.94) 100%);
  transition: var(--transition);
}

.commitment-card:hover::after {
  background: linear-gradient(180deg, rgba(11, 26, 45, 0.05) 20%, rgba(11, 26, 45, 0.68) 55%, rgba(11, 26, 45, 0.96) 100%);
}

.commitment-card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.commitment-card:hover .commitment-card-badge {
  background: var(--accent-cyan);
  border-color: transparent;
  color: var(--text-white);
  transform: scale(1.08) rotate(-4deg);
}

.commitment-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem 1.75rem;
}

.commitment-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--text-white);
}

.commitment-card-body p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

.feature-bullets li i {
  color: var(--accent-cyan);
}

/* SEVEN VERTICALS / SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-navy);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.service-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-link:hover {
  color: var(--accent-cyan);
  gap: 0.75rem;
}

/* PROCESS TIMELINE — numbered circles on a dashed connector, each aligned
   above a photo card (hireandbuild.com-style step track, in site colors) */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.process-track-line {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed var(--accent-cyan);
  opacity: 0.45;
  transform: translateY(-50%);
  z-index: 0;
}

.bg-navy .process-track-line {
  border-top-color: rgba(0, 168, 232, 0.6);
  opacity: 1;
}

.process-track-num {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border-accent);
  color: var(--accent-blue);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-navy .process-track-num {
  background: var(--primary-navy);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
background: rgba(0, 168, 232, 0.10);
  padding-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.process-step-media {
  position: relative;
  margin: 0.85rem 0.85rem 1.25rem 0.85rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gradient-dark);
}

.process-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step:hover .process-step-media img {
  transform: scale(1.06);
}

.process-step-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  background: var(--bg-card);
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.process-step h4 {
  padding: 0 1.5rem;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color:#00A8E8
}

.process-step p {
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: white;
}

/* CLIENT TRANSPARENCY PORTAL DEMO */
.transparency-section {
  background: var(--primary-navy);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.transparency-info h2 {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.transparency-info p {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.portal-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(11, 26, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portal-2x2-item {
  padding: 2.2rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.portal-2x2-item:nth-child(2n) {
  border-right: none;
}

.portal-2x2-item:nth-child(3),
.portal-2x2-item:nth-child(4) {
  border-bottom: none;
}

.portal-2x2-item:hover {
  background: rgba(0, 168, 232, 0.06);
}

.portal-2x2-icon {
  font-size: 1.75rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.portal-2x2-item h4 {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
}

.portal-2x2-item p {
  color: #94A3B8;
  font-size: 0.925rem;
  line-height: 1.6;
}

.daily-log-stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.daily-log-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.log-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.5rem;
}

.log-title {
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.log-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.log-progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
}

/* TESTIMONIALS / CLIENT VOICES */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-cyan-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info h5 {
  font-size: 0.975rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PROJECTS PAGE FILTER TABS */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-accent);
  color: var(--text-white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-box img {
  transform: scale(1.08);
}

.project-status-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 26, 45, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
}

.project-details {
  padding: 1.5rem;
}

.project-category {
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.project-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CONTACT PAGE & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-box {
  background: var(--primary-navy);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.contact-info-box h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 232, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h5 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  min-width: 0;
}

.fee-notice-banner {
  background: var(--accent-cyan-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--primary-navy);
  font-size: 0.9rem;
}

.fee-notice-banner i {
  color: var(--accent-blue);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--accent-cyan-light);
}

.form-success-alert,
.form-error-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-success-alert {
  background: #DEF7EC;
  border: 1px solid #31C48D;
  color: #03543F;
}

.form-success-alert i {
  font-size: 1.25rem;
  color: #31C48D;
}

.form-error-alert {
  background: #FDE8E8;
  border: 1px solid #F98080;
  color: #9B1C1C;
}

.form-error-alert i {
  font-size: 1.25rem;
  color: #E02424;
}

.form-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Site-wide Consultation Popup */
body.popup-open {
  overflow: hidden;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 51, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  padding: 2rem 1rem;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.popup-modal {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  margin: auto;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease forwards;
}

.popup-form-title {
  color: var(--primary-navy);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.popup-modal .fee-notice-banner {
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}

.popup-modal .form-grid {
  gap: 1rem;
}

.popup-modal .form-group {
  gap: 0.35rem;
}

.popup-modal .form-group label {
  font-size: 0.8rem;
}

.popup-modal .form-control {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.popup-modal .form-success-alert,
.popup-modal .form-error-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--accent-cyan-light);
  color: var(--accent-blue);
  transform: rotate(90deg);
}

@media (max-width: 576px) {
  .popup-modal {
    padding: 1.5rem 1.25rem;
  }
}

/* FOOTER */
.footer {
  background: var(--primary-navy);
  color: #CBD5E1;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 74px;
  width: auto;
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  line-height: 1;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #64748B;
}

.footer-credit {
  margin-right: 3rem;
}

/* PREMIUM ANIMATIONS & MICRO-INTERACTIONS */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageFadeIn 0.6s ease both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag, .hero-title, .hero-subtitle, .hero-btns, .hero-phone-direct {
  opacity: 0;
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-tag { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.28s; }
.hero-btns { animation-delay: 0.4s; }
.hero-phone-direct { animation-delay: 0.5s; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
}

/* Zero-specificity so any real hover/animation rule (e.g. .service-card:hover)
   always wins the resting transform instead of tying with it on source order. */
:where(.reveal.in-view) {
  transform: translateY(0);
}

/* Parallax hero background */
.hero-video-bg video {
  will-change: transform;
}

/* Magnetic hover lift refinements */
.commitment-card, .service-card, .process-step, .testimonial-card, .project-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

/* Button shine sweep */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:hover::before {
  left: 130%;
}

/* Ripple click feedback */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Nav logo subtle breathing on hover */
.brand-logo img {
  transition: var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

/* Smooth image zoom easing upgrade */
.service-img-wrapper img, .project-img-box img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   LIVING HOME CARDS — idle float + hover shine (carrd.com-style motion)
   Cards drift gently on their own, then hand off to the existing hover-lift
   the moment the pointer arrives. Float only starts once a card has finished
   sliding into view, so it never fights the scroll-reveal entrance.
   ========================================================================== */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.service-card.in-view,
.testimonial-card.in-view,
.portal-2x2-item.in-view {
  animation: cardFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

.about-commitment-item {
  animation: cardFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

.services-grid .service-card:nth-child(1) { animation-delay: 1.3s; }
.services-grid .service-card:nth-child(2) { animation-delay: 1.4s; }
.services-grid .service-card:nth-child(3) { animation-delay: 1.5s; }
.services-grid .service-card:nth-child(4) { animation-delay: 1.6s; }
.services-grid .service-card:nth-child(5) { animation-delay: 1.7s; }
.services-grid .service-card:nth-child(6) { animation-delay: 1.8s; }

.testimonials-grid .testimonial-card:nth-child(1) { animation-delay: 1.3s; }
.testimonials-grid .testimonial-card:nth-child(2) { animation-delay: 1.4s; }
.testimonials-grid .testimonial-card:nth-child(3) { animation-delay: 1.5s; }

.portal-2x2-item:nth-child(1) { animation-delay: 1.3s; }
.portal-2x2-item:nth-child(2) { animation-delay: 1.4s; }
.portal-2x2-item:nth-child(3) { animation-delay: 1.5s; }
.portal-2x2-item:nth-child(4) { animation-delay: 1.6s; }

.about-commitments-list .about-commitment-item:nth-child(1) { animation-delay: 0.2s; }
.about-commitments-list .about-commitment-item:nth-child(2) { animation-delay: 0.9s; }
.about-commitments-list .about-commitment-item:nth-child(3) { animation-delay: 1.6s; }

.service-card:hover,
.testimonial-card:hover,
.portal-2x2-item:hover,
.about-commitment-item:hover {
  animation: none;
}

/* Shine sweep across the plainer cards on hover */
.service-card,
.testimonial-card,
.portal-2x2-item {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.testimonial-card::after,
.portal-2x2-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::after,
.testimonial-card:hover::after,
.portal-2x2-item:hover::after {
  left: 130%;
}

/* ==========================================================================
   ENHANCED ABOUT US SECTION STYLES (Standard Modern Engineering Layout)
   ========================================================================== */

.about-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.about-img-box img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img-wrapper:hover .about-img-box img {
  transform: scale(1.05);
}

.about-badge-overlay {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(11, 26, 45, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-white);
  max-width: 330px;
  z-index: 10;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.about-badge-text h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-family: 'Cormorant Garamond', serif;
}

.about-badge-text p {
  color: var(--accent-cyan);
  font-size: 0.825rem;
  font-weight: 600;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-lead-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-commitments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-commitment-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-commitment-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.about-commitment-item:hover {
  transform: translateX(6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.about-commitment-item:hover::before {
  opacity: 1;
}

.about-item-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.about-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.about-commitment-item:hover .about-item-icon {
  background: var(--gradient-accent);
  color: var(--text-white);
}

.about-item-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-commitment-item > p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 0.85rem;
  padding-left: 3.25rem;
}

.about-commitment-item .feature-bullets {
  padding-left: 3.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.commitment-rows-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.commitment-row-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.commitment-row-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-accent);
}

.commitment-row-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-light) 0%, rgba(197, 160, 89, 0) 70%);
  pointer-events: none;
}

.commitment-row-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.commitment-row-card--reverse .commitment-card-left {
  order: 2;
}

.commitment-row-card--reverse .commitment-card-right {
  order: 1;
}

.commitment-card-left {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.commitment-thumb-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}

.commitment-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
}

.commitment-icon-badge {
  position: absolute;
  bottom: -1.75rem;
  left: 1.75rem;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.commitment-row-card:hover .commitment-icon-badge {
  background: var(--gradient-accent);
  color: var(--text-white);
  transform: scale(1.08) rotate(-4deg);
}

.commitment-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.commitment-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.commitment-eyebrow-line {
  flex: 1;
  max-width: 48px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--radius-full);
}

.commitment-card-left h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.commitment-card-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.commitment-card-right {
  background: linear-gradient(165deg, var(--bg-light) 0%, #EEF3F9 100%);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.commitment-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commitment-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.commitment-bullets-list li i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.25rem;
  flex-shrink: 0;
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablets & small laptops */
@media (max-width: 1024px) {
  .hero-container, .transparency-grid, .contact-grid, .about-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .commitments-grid, .services-grid, .testimonials-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* The dashed number track only reads correctly as a single row above 4
     evenly-spaced cards — once the cards wrap, drop it and let each card's
     "Step 0X" badge carry the ordering instead. */
  .process-track {
    display: none;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
  }
  .commitment-row-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .commitment-row-card--reverse .commitment-card-left,
  .commitment-row-card--reverse .commitment-card-right {
    order: initial;
  }
  /* Service vertical rows use inline grid/order styles in services.php —
     !important is required to win over them at this width */
  .service-detail-section {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .service-detail-section > div {
    order: 0 !important;
  }
  .about-img-box img {
    height: 420px;
  }
}

/* Mobile phones & small tablets — dedicated, center-aligned mobile layout */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 3.75rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Top bar */
  .top-bar-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .top-bar-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
  .top-bar-socials {
    justify-content: center;
  }

  /* Navbar */
  .navbar-container {
    height: 68px;
  }
  .brand-logo img {
    height: 85px;
  }
  .nav-actions {
    gap: 0.6rem;
  }
.nav-actions .btn-primary {
    padding: 0.4rem 0.7rem;
    font-size: 0.65rem;
}
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--primary-navy);
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    color: var(--text-white);
    font-size: 1.2rem;
  }

  /* Hero */
  .hero {
    padding: 4rem 0 3.5rem 0;
    text-align: center;
  }
  .hero-video {
    min-height: 80vh;
    padding: 6rem 0 3.5rem 0;
  }
  .hero-title {
    font-size: 2.15rem;
  }
.hero-subtitle {
    font-size: 0.85rem;
    opacity: 0.85;
}
  .hero-btns {
    justify-content: center;
  }

  /* Slider next-arrow moves to the top-right on mobile so it never collides
     with the fixed WhatsApp/call stack sitting bottom-right of the viewport. */
  .hero-slider-next {
    top: 1.5rem;
    bottom: auto;
    right: 1.25rem;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
  .hero-slider-next:hover,
  .hero-slider-next:active {
    transform: scale(0.95);
  }

  /* Who We Are / About split content — center on mobile instead of left */
  .about-split-grid {
    text-align: center;
  }
  .about-content {
    align-items: center;
  }
  .about-content .section-title {
    text-align: center !important;
  }
  .about-item-header {
    justify-content: center;
  }
  .about-commitment-item > p {
    padding-left: 0;
  }
  .about-commitment-item .feature-bullets {
    padding-left: 0;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* Client Transparency Portal */
  .transparency-info {
    text-align: center;
  }

  /* About page commitment rows */
  .commitment-row-card {
    text-align: center;
  }
  .commitment-card-left {
    align-items: center;
  }
  .commitment-eyebrow {
    justify-content: center;
  }
  .commitment-bullets-list {
    align-items: center;
  }
  .commitment-bullets-list li {
    justify-content: flex-start;
    text-align: left;
    max-width: 420px;
    width: 100%;
  }

  /* Service vertical rows (services.php) */
  .service-detail-section {
    text-align: center;
  }
  .deliverables-box {
    text-align: left;
  }

  /* Contact info panel */
  .contact-info-box {
    text-align: center;
    align-items: center;
  }
  .contact-info-list {
    align-items: flex-start;
  }
  .contact-item {
    text-align: left;
  }

  /* Card grids collapse to a single centered column */
  .commitments-grid, .services-grid, .testimonials-grid, .portfolio-grid, .process-timeline {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .portal-2x2-grid {
    grid-template-columns: 1fr;
  }
  .portal-2x2-item {
    text-align: center;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .portal-2x2-item:last-child {
    border-bottom: none;
  }
  .portal-2x2-icon {
    display: flex;
    justify-content: center;
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-card {
    padding: 2rem 1.5rem;
  }

  /* Footer */
  .footer {
    padding-top: 3.5rem;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
    text-align: center;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
.footer-brand img {
    height: 90px;
    width: auto;
    margin-bottom: 1.25rem;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links, .footer-contact-items {
    align-items: center;
  }
  .footer-links a {
    width: 100%;
    max-width: 200px;
    justify-content: flex-start;
  }
  .footer-contact-item {
    width: 100%;
    max-width: 260px;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .portfolio-filter {
    gap: 0.6rem;
  }
}

/* Small phones — tighter spacing, compact side-by-side CTAs */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section-title {
    font-size: 2rem;
  }
  .hero-video {
    min-height: 88vh;
    padding: 3.5rem 0 1.75rem 0;
  }
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
  }
  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
  .hero-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .hero-btns .btn {
    flex: 1 1 0;
    width: auto;
    padding: 0.55rem 0.45rem;
    font-size: 0.62rem;
    gap: 0.3rem;
    white-space: normal;
    text-align: center;
  }
  .hero-btns .btn i {
    font-size: 0.7rem;
  }
  /* Avoid colliding with the fixed WhatsApp/call/Facebook stack on short phone
     screens — this info is already available via the top bar and floating call button. */
  .hero-video .hero-phone-direct {
    display: none;
  }
  .hero-slider-next {
    top: 1.1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }
  .hero-slider-dots {
    bottom: 1.1rem;
  }
  .hero-slider-dot {
    width: 26px;
  }
  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }
  .nav-actions .btn-primary {
    font-size: 0.75rem;
    padding: 0.55rem 0.85rem;
  }
  .commitment-row-card,
  .commitment-card,
  .service-content,
  .testimonial-card,
  .form-card {
    padding: 1.75rem 1.25rem;
  }
  /* Keep the floating photo/icon badge inside the image box instead of
     poking past the right edge (its desktop -1.5rem offset causes
     horizontal overflow on narrow phones). */
  .about-badge-overlay {
    right: 0.75rem;
    bottom: -1rem;
    max-width: calc(100% - 1.5rem);
    padding: 1rem 1.1rem;
    gap: 0.75rem;
  }
  .about-badge-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .top-bar {
    font-size: 0.8rem;
  }
  .top-bar-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  .top-bar-item {
    justify-content: center;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-title {
    font-size: 1rem;
  }
  .footer-links a,
  .footer-contact-items {
    font-size: 0.85rem;
  }
}

/* =========================================
   PREMIUM FLOATING BUTTON ANIMATIONS
========================================= */

.float-btn {
    overflow: visible;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Premium hover movement */
.float-btn:hover {
    transform: translateY(-6px) scale(1.08);
}

/* Icon animation */
.float-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.float-btn:hover i {
    transform: scale(1.15) rotate(8deg);
}

/* WhatsApp */
.float-whatsapp:hover i {
    animation: whatsapp-bounce 0.7s ease;
}

/* Call */
.float-call:hover i {
    animation: phone-ring 0.7s ease;
}

/* Facebook */
.float-facebook:hover i {
    transform: scale(1.15) rotate(-8deg);
}


/* =========================================
   PREMIUM GLOW
========================================= */

.float-btn::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.float-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.float-whatsapp::before {
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25),
                0 0 25px rgba(37, 211, 102, 0.55);
}

.float-call::before {
    box-shadow: 0 0 0 2px rgba(0, 168, 232, 0.25),
                0 0 25px rgba(0, 168, 232, 0.55);
}

.float-facebook::before {
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.25),
                0 0 25px rgba(24, 119, 242, 0.55);
}


/* =========================================
   TOOLTIP PREMIUM SLIDE
========================================= */

.float-btn .float-tooltip {
    transform: translateX(10px) scale(0.95);
    transform-origin: right center;
}

.float-btn:hover .float-tooltip {
    right: 64px;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}


/* =========================================
   WHATSAPP ICON BOUNCE
========================================= */

@keyframes whatsapp-bounce {

    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.25) rotate(-8deg);
    }

    60% {
        transform: scale(1.1) rotate(6deg);
    }

    100% {
        transform: scale(1.15) rotate(8deg);
    }
}


/* =========================================
   PHONE RING
========================================= */

@keyframes phone-ring {

    0% {
        transform: rotate(0deg) scale(1);
    }

    15% {
        transform: rotate(15deg) scale(1.12);
    }

    30% {
        transform: rotate(-15deg) scale(1.12);
    }

    45% {
        transform: rotate(12deg) scale(1.12);
    }

    60% {
        transform: rotate(-10deg) scale(1.12);
    }

    75% {
        transform: rotate(5deg) scale(1.12);
    }

    100% {
        transform: rotate(0deg) scale(1.15);
    }
}


/* =========================================
   PREMIUM PULSE RING
========================================= */

.float-pulse {
    animation: premium-pulse 2.2s infinite;
}

@keyframes premium-pulse {

    0% {
        transform: scale(0.9);
        opacity: 0.65;
    }

    60% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}


/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 576px) {

    .floating-actions {
        right: 1rem;
        bottom: 1.2rem;
        gap: 0.7rem;
    }

    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .float-btn:hover {
        transform: translateY(-4px) scale(1.06);
    }

    .float-btn .float-tooltip {
        display: none;
    }
}


/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .float-btn,
    .float-btn i,
    .float-tooltip,
    .float-pulse {
        animation: none !important;
        transition: none !important;
    }
}
/* ================================
   SERVICES INFINITE SLIDER
================================ */

.services-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 40px;
}




/* Moving track */
.services-slider-track {
    display: flex;
    gap: 24px;
    width: max-content;

    animation: servicesInfiniteMove 35s linear infinite;

    will-change: transform;
}


/* Pause on hover */
.services-slider:hover .services-slider-track {
    animation-play-state: paused;
}


/* Card width */
.services-slider .service-card {
    flex: 0 0 360px;
    width: 360px;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}


/* Card hover */
.services-slider .service-card:hover {
    transform: translateY(-10px);
    z-index: 10;
}


/* Image animation */
.services-slider .service-img-wrapper {
    overflow: hidden;
}

.services-slider .service-img-wrapper img {
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-slider .service-card:hover
.service-img-wrapper img {
    transform: scale(1.08);
}


/* Infinite animation */
@keyframes servicesInfiniteMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }

}


/* ================================
   TABLET
================================ */

@media (max-width: 992px) {

    .services-slider .service-card {
        flex: 0 0 330px;
        width: 330px;
    }

    .services-slider-track {
        gap: 20px;
        animation-duration: 32s;
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .services-slider {
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-slider .service-card {
        flex: 0 0 300px;
        width: 300px;
    }

    .services-slider-track {
        gap: 18px;
        animation-duration: 28s;
    }

    .services-slider::before,
    .services-slider::after {
        width: 40px;
    }

}


/* ==========================================================================
   SEVEN VERTICALS — hover-to-open fan accordion (our-revolution.com style)
   Collapsed panels show a rotated label; the hovered/opened panel grows and
   its content slides + fades in while its siblings compress to make room.
   ========================================================================== */
.verticals-accordion {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 85%;
    height: 520px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vertical-panel {
    position: relative;
    flex: 0 0 130px;
    min-width: 50px;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-color: var(--primary-navy);
    transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.vertical-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(11, 26, 45, 0.92) 0%, rgba(11, 26, 45, 0.55) 45%, rgba(11, 26, 45, 0.32) 100%);
    transition: background 0.6s ease;
}

.vertical-panel:hover::before,
.vertical-panel.is-open::before {
    background: linear-gradient(0deg, rgba(11, 26, 45, 0.95) 0%, rgba(11, 26, 45, 0.5) 55%, rgba(11, 26, 45, 0.1) 100%);
}

.vertical-panel-index {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.4s ease;
}

.vertical-panel-label {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem 1rem;
    pointer-events: none;
}

.vertical-panel-label span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.vertical-panel-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 340px;
    max-width: 80vw;
    padding: 2rem;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.45s ease 0.1s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.vertical-panel-content .service-tag {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.85rem;
}

.vertical-panel-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.vertical-panel-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.vertical-panel-content .service-link {
    color: var(--accent-cyan);
}

.vertical-panel-content .service-link:hover {
    color: #fff;
}

/* Expanded state — hover-driven, mirrored by JS-toggled .is-open for touch/tap */
.vertical-panel:hover,
.vertical-panel.is-open {
    flex-grow: 4;
}

.verticals-accordion:hover .vertical-panel:not(:hover),
.verticals-accordion.has-open .vertical-panel:not(.is-open) {
    flex-grow: 0.6;
}

.vertical-panel:hover .vertical-panel-label span,
.vertical-panel.is-open .vertical-panel-label span {
    opacity: 0;
}

.vertical-panel:hover .vertical-panel-index,
.vertical-panel.is-open .vertical-panel-index {
    opacity: 0;
}

.vertical-panel:hover .vertical-panel-content,
.vertical-panel.is-open .vertical-panel-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 992px) {
    .verticals-accordion {
        height: 460px;
    }
}

/* Mobile: horizontal swipe slider — cards sit side by side, swipe right to see more, tap to open */
@media (max-width: 768px) {

    .verticals-accordion {
        flex-direction: row;
        flex-wrap: nowrap;
        height: 320px;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .verticals-accordion::-webkit-scrollbar {
        display: none;
    }

    .vertical-panel {
        flex: 0 0 78%;
        min-width: 78%;
        max-width: 320px;
        min-height: 100%;
        scroll-snap-align: start;
        transition: none;
    }

    .vertical-panel:hover,
    .vertical-panel.is-open {
        flex-grow: 0;
    }

    .vertical-panel-label {
        align-items: flex-end;
        padding: 1.5rem 1.25rem;
    }

    .vertical-panel-label span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.05rem;
        white-space: normal;
        line-height: 1.3;
        display: block;
    }

    .vertical-panel-index {
        top: 1.25rem;
        left: 1.25rem;
        right: auto;
        transform: none;
    }

    .vertical-panel.is-open .vertical-panel-index {
        opacity: 0;
    }

    .vertical-panel-content {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .vertical-panel,
    .vertical-panel-content,
    .vertical-panel-label span {
        transition: none !important;
    }
}

/* ==========================================================================
   VIDEO TESTIMONIALS (YouTube client video cards)
   ========================================================================== */

.video-testimonials-wrap {
  position: relative;
  margin-top: 1rem;
}

.video-testimonials-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
}

.video-testimonials-row::-webkit-scrollbar {
  display: none;
}

.video-card {
  position: relative;
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.video-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
}

.video-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-card-frame img {
  transform: scale(1.06);
}

.video-card-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(11, 26, 45, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.video-card:hover .video-play-btn {
  background: var(--gradient-accent);
  transform: scale(1.08);
  border-color: transparent;
}

.video-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 26, 45, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-accent);
}

.video-card-info {
  padding: 1.1rem 1.25rem 1.35rem;
}

.video-card-info h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.video-card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.video-scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.video-scroll-btn:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

.video-scroll-btn.prev {
  left: -6px;
}

.video-scroll-btn.next {
  right: -6px;
}

@media (max-width: 900px) {
  .video-scroll-btn {
    display: none;
  }
}

/* ==========================================================================
   REAL SITE PHOTO GALLERY + LIGHTBOX
   ========================================================================== */

.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.real-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.real-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.real-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.real-gallery-item:hover img {
  transform: scale(1.06);
}

.real-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 26, 45, 0.65) 100%);
  opacity: 0;
  transition: var(--transition-fast);
}

.real-gallery-item:hover::after {
  opacity: 1;
}

.real-gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition-fast);
  z-index: 2;
}

.real-gallery-item:hover .real-gallery-caption {
  opacity: 1;
  transform: none;
}

.real-gallery-zoom-icon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 26, 45, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 2;
}

.real-gallery-item:hover .real-gallery-zoom-icon {
  opacity: 1;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.92);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease forwards;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--gradient-accent);
  border-color: transparent;
}

/* Photo variant of the existing icon badge overlay (about-badge-overlay) */
.about-badge-overlay--photo .about-badge-icon {
  padding: 0;
  overflow: hidden;
  background: none;
}

.about-badge-overlay--photo .about-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .real-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .real-gallery-grid {
    grid-template-columns: 1fr;
  }
  .video-card {
    flex-basis: 260px;
  }
}

/* Desktop banner */
#heroSlider .desktop-banner {
    display: block;
}

#heroSlider .mobile-banner {
    display: none;
}

/* Mobile banner */
@media screen and (max-width: 767px) {
    #heroSlider .desktop-banner {
        display: none !important;
    }

    #heroSlider .mobile-banner {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}


/* Increase Desktop Hero Banner Height */
@media (min-width: 768px) {
    .hero.hero-video {
        min-height: 750px;
    }

    #heroSlider {
        height: 100%;
    }

    #heroSlider .hero-slide,
    #heroSlider .desktop-banner {
        height: 100%;
    }
}



@media (max-width: 767px) {
    .hero.hero-video {
        height: 600px;
        min-height: 600px;
    }

    #heroSlider {
        height: 100%;
    }

    #heroSlider .hero-slide,
    #heroSlider .mobile-banner {
        height: 100%;
    }

    #heroSlider .mobile-banner {
        width: 100%;
        object-fit: cover;
    }
}


@media (max-width: 767px) {
    .hero-container {
        padding-top: 80px;
    }

    .hero-text-content {
        transform: translateY(60px);
    }
}



