/* ==========================================================================
   RIVA SHIPPING - Official CSS Stylesheet
   Corporate Navy & Blue International Logistics Theme
   ========================================================================== */

:root {
  --primary-navy: #0B1D3A;
  --secondary-navy: #152C52;
  --accent-blue: #0066CC;
  --accent-cyan: #00A8E8;
  --accent-hover: #004B99;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 2px 4px rgba(11, 29, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 10px 25px rgba(11, 29, 58, 0.12);
  --shadow-hover: 0 18px 36px rgba(11, 29, 58, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(0, 102, 204, 0.08);
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 102, 204, 0.15);
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Page Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-navy);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-brand {
  text-align: center;
}

.loader-logo-text {
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.loader-logo-text span {
  color: var(--accent-cyan);
}

.loader-tagline {
  font-size: 0.85rem;
  color: #94A3B8;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  animation: loadProgress 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Header & Sticky Navbar */
.top-bar {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-info a, .top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}

.top-bar-info a:hover {
  color: var(--accent-cyan);
}

.top-bar-social {
  display: flex;
  gap: 14px;
}

.top-bar-social a {
  color: #94A3B8;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.top-bar-social a:hover {
  color: #FFFFFF;
  background: var(--accent-blue);
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 29, 58, 0.12);
  padding: 4px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

/* Navbar Logo Specs: Desktop height: 75px - 95px, Mobile: 58px - 72px */
.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img, .brand-logo svg {
  height: 82px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand-logo img,
.site-header.scrolled .brand-logo svg {
  height: 75px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.btn-navy:hover {
  background-color: var(--secondary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline:hover {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--primary-navy);
}

.btn-white:hover {
  background-color: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1EBE5B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
}

.hamburger-box {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-navy);
  overflow: hidden;
  color: #FFFFFF;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 24s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.92) 0%, rgba(15, 23, 42, 0.82) 60%, rgba(0, 102, 204, 0.45) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  padding: 80px 24px;
}

.hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--accent-cyan);
}

.hero-text {
  font-size: 1.2rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: #94A3B8;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

/* Quick Service Strip */
.quick-services-strip {
  background-color: #FFFFFF;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.quick-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border-color);
  transition: var(--transition-normal);
  background-color: #FFFFFF;
  color: var(--primary-navy);
}

.quick-strip-item:last-child {
  border-right: none;
}

.quick-strip-item:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
}

.quick-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(0, 102, 204, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quick-strip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
}

/* Section Wrapper */
.section {
  padding: 90px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.section-navy .section-title {
  color: #FFFFFF;
}

.section-navy .section-subtitle {
  color: #94A3B8;
}

/* About Intro Section */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 29, 58, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-cyan);
}

.about-badge-overlay strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.about-badge-overlay span {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.about-content-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.3);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-icon-floating {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-blue);
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.service-card-body {
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 0.9rem;
}

.service-card-link i {
  transition: transform 0.2s ease;
}

.service-card-link:hover i {
  transform: translateX(4px);
}

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 204, 0.3);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Global Network Section */
.network-card-wrap {
  position: relative;
  background: radial-gradient(circle at center, #152C52 0%, #0B1D3A 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.network-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  background-image: radial-gradient(#FFFFFF 1px, transparent 1px);
  background-size: 24px 24px;
}

.network-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.network-hubs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.hub-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-badge i {
  color: var(--accent-cyan);
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 102, 204, 0.15);
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Industries / Solutions */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-box {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
}

.industry-box:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.industry-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* CTA Banner Section */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #152C52 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-banner-text h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-banner-text p {
  color: #94A3B8;
  font-size: 1.1rem;
  max-width: 600px;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Inner Page Hero Header */
.page-hero {
  position: relative;
  padding: 100px 0 70px 0;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.94) 0%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 2;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-container {
  position: relative;
  z-index: 3;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #CBD5E1;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-separator {
  color: #64748B;
}

.page-hero-title {
  font-size: 3rem;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 700px;
}

/* Detailed Service Sections (services.html) */
.service-detail-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-features-list {
  margin: 20px 0 30px 0;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-body);
}

.service-features-list li i {
  color: var(--accent-blue);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Timeline (logistics.html) */
.timeline-container {
  position: relative;
  margin: 40px 0;
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.timeline-step {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 24px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.timeline-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.timeline-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  font-size: 1.1rem;
  font-weight: 700;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-text p, .info-text a {
  color: #FFFFFF;
  font-size: 1.05rem;
  line-height: 1.5;
}

.info-text a:hover {
  color: var(--accent-cyan);
}

.contact-form-wrapper {
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-wrapper p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-control.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.invalid-feedback {
  color: #EF4444;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-alert.alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  display: block;
}

/* Google Map Container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-blue);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px 24px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.6;
  z-index: -1;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary-navy);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 9990;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-blue);
  transform: translateY(-3px);
}

/* Footer Section */
.site-footer {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding-top: 70px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo img, .footer-logo svg {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-about {
  line-height: 1.6;
  margin-bottom: 24px;
  color: #94A3B8;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-blue);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #CBD5E1;
}

.footer-contact-list i {
  color: var(--accent-cyan);
  font-size: 1rem;
  margin-top: 4px;
}

.footer-bottom {
  background-color: #071326;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom-content a {
  color: #94A3B8;
}

.footer-bottom-content a:hover {
  color: #FFFFFF;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile & Tablet Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .quick-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-strip-item:nth-child(3) {
    border-right: none;
  }

  .services-grid, .features-grid, .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .timeline-horizontal {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-text p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar on smaller mobile screens for maximum header height */
  }

  /* Mobile Navbar Spec: height: 58px - 72px */
  .brand-logo img, .brand-logo svg {
    height: 62px;
  }

  .site-header.scrolled .brand-logo img,
  .site-header.scrolled .brand-logo svg {
    height: 58px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--accent-blue);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    z-index: 9998;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-cta-group {
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
  }

  .nav-cta-group .btn {
    width: 100%;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .quick-strip-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .quick-strip-item:last-child {
    border-bottom: none;
  }

  .about-intro-grid, .service-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

  .services-grid, .features-grid, .industries-grid, .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-horizontal {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Prefers Reduced Motion Accessibility */
@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;
  }
}
