/* ==========================================================================
   G & M Import and Export Inc. - Global Stylesheet (Light Corporate Theme)
   Reference Inspiration: https://canadacargo.net/ (Professional Light Freight Portal)
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

/* CSS Variables */
:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --primary-bg: #FFFFFF;         /* Clean White */
  --secondary-bg: #F8FAFC;       /* Very Light Slate Grey */
  --card-bg: #FFFFFF;            /* White Card Background */
  --accent-navy: #0C2340;        /* Deep Navy Brand Color */
  --accent-navy-hover: #07172A;  /* Darker Navy */
  --gold-start: #C99A2E;         /* Brand Gold Start */
  --gold-end: #E9C74A;           /* Brand Gold End */
  --gold-gradient: linear-gradient(135deg, #C99A2E 0%, #E9C74A 100%);
  --gold-gradient-hover: linear-gradient(135deg, #A88126 0%, #C99A2E 100%);
  --accent-orange: #C99A2E;      /* Mapped to Brand Gold for site-wide consistency */
  --accent-orange-hover: #E9C74A;
  --text-main: #0F172A;          /* Slate Dark Charcoal */
  --text-muted: #475569;         /* Muted Slate Grey */
  --border-color: rgba(12, 35, 64, 0.12); /* Hairline Border Color */
  --glass-bg: rgba(255, 255, 255, 0.96);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

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

h1, h2, h3, h4, h5, h6, .heading, .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent-navy);
}

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

/* Sticky Header - Asymmetric Layout with Hairline Border */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: #FFFFFF;
  box-shadow: none; /* Avoid generic drop shadows */
}

header.scrolled .nav-container {
  padding: 1rem 2rem;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: flex-start; /* Asymmetric positioning */
  align-items: center;
}

.logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.75rem; /* Generous Sizing */
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  color: var(--accent-navy);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-start);
  text-transform: uppercase;
}

/* Signature Detail: Skewed vertical line matching the logo cut-line echo */
.logo-separator {
  width: 2px;
  height: 32px;
  background: var(--gold-gradient);
  transform: skewX(-20deg);
  margin-left: 2rem;
  margin-right: 1.25rem;
  opacity: 0.85;
}

nav {
  margin-left: auto; /* Push nav to the far right */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem; /* Generous, equal spacing between all links */
  align-items: center;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  text-transform: none; /* Sentence case, not ALL CAPS */
}

nav ul li a:hover,
nav ul li.active a {
  color: var(--accent-navy);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

nav ul li a:hover::after,
nav ul li.active a::after {
  width: 100%;
}


.nav-cta {
  background: var(--gold-gradient);
  color: var(--accent-navy) !important;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.65rem 1.5rem;
  border-radius: 4px; /* Sharp corners (4px radius) matching the geometric mark */
  border: 1px solid rgba(12, 35, 64, 0.1);
  transition: var(--transition-smooth);
  margin-left: 2.5rem; /* Clear visual gap before CTA */
  display: inline-block;
  box-shadow: none;
}

.nav-cta:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle (Premium Asymmetric Lines) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  width: 28px;
}

.menu-toggle span {
  height: 2px; /* Sleeker, thinned outline */
  background-color: var(--accent-navy);
  border-radius: 1px;
  transition: var(--transition-smooth);
  display: block;
}

.menu-toggle span:nth-child(1) {
  width: 28px;
}

.menu-toggle span:nth-child(2) {
  width: 18px;
  align-self: flex-end; /* Align right */
}

.menu-toggle span:nth-child(3) {
  width: 24px;
  align-self: flex-end; /* Align right */
}

/* Hover effect: stretch lines */
.menu-toggle:hover span:nth-child(2),
.menu-toggle:hover span:nth-child(3) {
  width: 28px;
}

/* Morph to clean X when active */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
  width: 28px;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 28px;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  width: 28px;
}

/* Hero Section (Minimal, Eyecatching Split-Layout) */
.hero {
  min-height: 80vh;
  padding-top: 200px; /* Generous space to clear the sticky navigation header and news marquee */
  padding-bottom: 4rem;
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--accent-navy);
}

.hero-text h1 span {
  color: var(--accent-orange);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Layered Visual Section (Inspired by Rentaly Template Layout) */
.hero-visual {
  position: relative;
  width: 100%;
  height: 440px; /* Anchored height for absolute layers positioning */
  display: block;
}

.hero-main-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 75%;
  height: 85%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(12, 35, 64, 0.15);
  border: 1px solid rgba(12, 35, 64, 0.08);
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 60%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(12, 35, 64, 0.3);
  border: 3px solid #FFFFFF;
  z-index: 3;
  transition: var(--transition-smooth);
}

/* Subtle gold outline inside the white border to tie into branding */
.hero-float-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 154, 46, 0.3);
  pointer-events: none;
  z-index: 4;
}

.hero-main-card img,
.hero-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-pane-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 35, 64, 0.9) 0%, rgba(12, 35, 64, 0.15) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  z-index: 2;
  transition: background 0.4s ease;
}

.hero-pane-content {
  color: #FFFFFF;
  text-align: left;
}

.hero-pane-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--accent-navy);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.35rem;
}

.hero-main-card h3,
.hero-float-card h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

/* Hover Zoom & Lift Interactions */
.hero-main-card:hover img {
  transform: scale(1.05);
}

.hero-float-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(12, 35, 64, 0.4);
}

.hero-float-card:hover img {
  transform: scale(1.05);
}

.hero-main-card:hover .hero-pane-overlay,
.hero-float-card:hover .hero-pane-overlay {
  background: linear-gradient(to top, rgba(12, 35, 64, 0.95) 0%, rgba(12, 35, 64, 0.25) 100%);
}

/* Dotted Matrix Background Decoration */
.dot-pattern {
  position: absolute;
  width: 100px;
  height: 120px;
  background-image: radial-gradient(#CBD5E1 20%, transparent 20%);
  background-size: 15px 15px;
  opacity: 0.45;
  z-index: 0;
}

.dot-pattern-1 {
  left: -2rem;
  top: 15%;
}

/* Sub-Pages Hero Section (Clean, Minimal Navy-Gradient Banner) */
.sub-hero {
  min-height: 38vh;
  padding-top: 130px;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--accent-navy) 0%, #0F172A 100%);
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

.sub-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.sub-hero-content h1 {
  color: #FFFFFF;
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.sub-hero-content h1 span {
  color: var(--accent-orange);
}

.sub-hero-content p {
  color: #E2E8F0;
  max-width: 650px;
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  background-color: rgba(234, 88, 12, 0.12);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--accent-navy);
  font-weight: 600;
  box-shadow: none; /* Avoid generic drop shadows */
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Stats Ribbon */
.stats-ribbon {
  background: linear-gradient(135deg, #0C2340 0%, #08172b 100%);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-end); /* Gold highlights for statistics */
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* General Sections */
section {
  padding: 6rem 2rem;
}

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

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Split Gateway (Home Page) */
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.gateway-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0; /* Changed to allow header image flush alignment */
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.gateway-image-wrapper {
  position: relative;
  height: 190px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.gateway-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gateway-card:hover .gateway-image-wrapper img {
  transform: scale(1.05);
}

.gateway-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-navy);
  opacity: 0.12; /* Subtle 12% navy overlay tint */
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

.gateway-card:hover .gateway-image-overlay {
  opacity: 0.08; /* Lighten slightly on hover */
}

.gateway-content {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: var(--transition-smooth);
  z-index: 5;
}

.gateway-card:hover::before {
  background-color: var(--accent-orange);
}

.gateway-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 154, 46, 0.25);
}

.gateway-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-orange);
}

.gateway-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--accent-navy);
}

.gateway-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  flex-grow: 1;
}

.gateway-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.gateway-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gateway-features li::before {
  content: "✓";
  color: var(--accent-orange);
  font-weight: bold;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--accent-navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--accent-navy);
}

/* Interactive Calculators & Forms */
.calculator-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.1);
}

.results-panel {
  background-color: var(--secondary-bg);
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.results-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-navy);
  font-family: var(--font-heading);
  margin: 1rem 0;
}

.results-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Grid & Office Cards */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.office-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.office-card:hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg);
}

.office-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--secondary-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-navy);
}

.office-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--accent-navy);
}

.office-details {
  list-style: none;
}

.office-details li {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.office-icon-wrapper {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-top: 2px;
}

.office-details a:hover {
  color: var(--accent-orange);
}

/* Content Blocks (About details) */
.about-hero {
  background-color: var(--secondary-bg);
  padding: 4rem 2rem;
  border-radius: 8px;
  margin-bottom: 4rem;
  border: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--accent-navy);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-feat-item {
  border-left: 2px solid var(--accent-orange);
  padding-left: 1rem;
}

.about-feat-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-navy);
}

.about-feat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Call to Action Block */
.cta-banner {
  background: linear-gradient(135deg, #0C2340 0%, #08172b 100%);
  border-radius: 8px;
  padding: 5.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.cta-banner p {
  color: #E2E8F0;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Footers (Aligned with B2B logistics standard navy footer) */
footer {
  background-color: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 2rem 2rem 2rem;
  color: #E2E8F0;
}

footer h4 {
  color: #FFFFFF;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin: 1.25rem 0;
  max-width: 300px;
}

.footer-brand .logo-main {
  color: #FFFFFF;
  display: block;
}

.footer-brand .logo-sub {
  display: block;
  margin-top: 0.15rem;
}

.footer-logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-container img {
  width: 200px;
  height: auto;
  background: #FFFFFF;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.registration-number {
  font-size: 0.75rem;
  color: #94A3B8;
  opacity: 0.7;
}

.footer-links h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-links ul li a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.footer-contact p {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Alerts / Warning blocks */
.alert-note {
  background-color: rgba(234, 88, 12, 0.05);
  border: 1px solid rgba(234, 88, 12, 0.2);
  padding: 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.alert-note svg {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   VEHICLE SLIDER / CAROUSEL STYLES
   ========================================================================== */
.slider-section {
  padding: 4rem 0;
  background-color: var(--secondary-bg);
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  border: 1px solid var(--border-color);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  color: #FFFFFF;
  padding: 2.5rem 2rem;
  text-align: left;
}

.slide-caption h4 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
}

.slide-caption p {
  font-size: 0.95rem;
  color: #E2E8F0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--accent-navy);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.slider-arrow-prev {
  left: 1.5rem;
}

.slider-arrow-next {
  right: 1.5rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background-color: var(--accent-orange);
  transform: scale(1.3);
}

/* Table styling for comparison */
table {
  background-color: #FFFFFF;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .stat-item {
    border-right: none;
  }
  .stat-item:nth-child(2n) {
    border-right: 1px solid var(--border-color);
  }
  .stat-item:last-child {
    grid-column: span 2;
    border-right: none !important;
  }
  section {
    padding: 4rem 1.5rem;
  }

  header {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-shadow: 0 4px 15px rgba(12, 35, 64, 0.05) !important;
  }

  header.scrolled {
    height: auto !important;
    box-shadow: 0 4px 15px rgba(12, 35, 64, 0.05) !important;
  }

  .logo-main {
    font-size: 1.35rem !important;
  }

  .logo-sub {
    font-size: 0.55rem !important;
  }

  .nav-container {
    padding: 0 1.5rem !important;
    width: 100%;
    height: 70px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header.scrolled .nav-container {
    padding: 0 1.5rem !important;
    height: 70px !important;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    margin-left: 0; /* Reset desktop margin */
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #FFFFFF;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem 0 !important;
    gap: 2rem !important;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    overflow-y: auto;
  }

  nav ul li {
    margin-right: 0 !important; /* Reset desktop grouping margins */
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    font-size: 1.25rem !important;
    display: inline-block;
    padding: 0.5rem 0;
  }

  nav ul li a::after {
    left: 50% !important;
    transform: translateX(-50%);
  }

  nav ul.active {
    left: 0;
  }

  /* Split Hero Mobile Responsive */
  .hero {
    padding-top: 210px; /* Spacious clearance for header & stacked news marquee on mobile */
    min-height: auto;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.05rem;
    margin: 0 auto 2rem auto;
  }

  .hero-visual {
    order: 2;
    display: block !important;
    height: 400px !important;
    width: 100%;
    margin-top: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Sub-Hero Mobile Responsive */
  .sub-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 2.5rem;
  }

  .sub-hero-content h1 {
    font-size: 2.15rem;
  }

  .sub-hero-content p {
    font-size: 0.95rem;
  }

  /* Slider Mobile Responsive */
  .slider-container {
    aspect-ratio: 4/3;
  }

  .slide-caption {
    padding: 1.5rem 1.25rem;
  }

  .slide-caption h4 {
    font-size: 1.2rem;
  }

  .slide-caption p {
    font-size: 0.85rem;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  /* Gateway & Cards Stacking */
  .gateway-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gateway-card {
    padding: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-box {
    padding: 1.75rem;
  }

  .calc-grid {
    padding: 0;
  }

  .office-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .office-card {
    padding: 1.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    grid-column: span 1;
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-text h1 {
    font-size: 2.15rem;
  }
}

/* ==========================================================================
   Vehicles Showcase Gallery Grid (Hover Overlay)
   ========================================================================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0; /* Zero space between images */
  margin-top: 3rem;
}

.vehicle-hover-card {
  position: relative;
  height: 400px; /* Sized to 400px to balance longer dimensions with crisp image sharpness */
  border-radius: 0; /* Flush flat edges */
  overflow: hidden;
  box-shadow: none;
  border: none; /* No separator borders */
  cursor: pointer;
}

.vehicle-hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.vehicle-hover-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  width: calc(100% - 2.5rem);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  box-shadow: 0 10px 25px -5px rgba(12, 35, 64, 0.15);
  border: 1px solid rgba(12, 35, 64, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.vehicle-hover-content {
  color: var(--accent-navy);
  text-align: center;
  width: 100%;
}

.vehicle-hover-badge {
  display: inline-block;
  background: rgba(201, 154, 46, 0.15);
  color: #C99A2E;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.vehicle-hover-card h3 {
  color: var(--accent-navy);
  font-size: 1.05rem;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}

.vehicle-hover-card p {
  color: rgba(12, 35, 64, 0.7);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
}

/* Hover States */
.vehicle-hover-card:hover img {
  transform: scale(1.06);
}

.vehicle-hover-card:hover .vehicle-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet/laptop */
  }
}

@media (max-width: 768px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
  }
}

@media (max-width: 480px) {
  .vehicles-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

/* ==========================================================================
   Scroll Reveal Animation System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Live Visitor Strip */
.live-visitors-bar {
  background: #091322;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.15rem 0;
  text-align: center;
  color: #94A3B8;
  font-size: 0.95rem;
  font-weight: 500;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  animation: counter-pulse 2s infinite;
}

@keyframes counter-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.vehicle-hover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-navy);
  color: #FFFFFF !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 0.85rem;
  transition: background-color 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.vehicle-hover-btn:hover {
  background-color: var(--gold-start);
  color: var(--accent-navy) !important;
  transform: translateY(-1px);
}

/* News Marquee Section */
.news-marquee-container {
  display: flex;
  align-items: center;
  background: #081B33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--gold-start); /* Distinct gold bottom border for visibility */
  overflow: hidden;
  height: 48px; /* Slightly taller */
  position: relative;
  z-index: 10;
  font-family: var(--font-body);
}

.news-marquee-label {
  background: var(--gold-gradient);
  color: var(--accent-navy);
  font-weight: 800;
  font-size: 0.8rem; /* Prominent label */
  letter-spacing: 0.1em;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.25);
  z-index: 15;
}

.news-marquee-track {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.news-marquee-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.9rem; /* Larger font size */
  animation: marquee-scroll 35s linear infinite;
  animation-play-state: running;
  padding-left: 2rem;
}

.news-marquee-content:hover {
  animation-play-state: paused;
}

.marquee-news-item {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, text-decoration 0.2s;
  padding: 0 0.5rem;
}

.marquee-news-item:hover {
  color: var(--gold-start);
  text-decoration: underline;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Mobile Overrides for News Marquee Ticker */
@media (max-width: 768px) {
  .news-marquee-container {
    display: flex;
    flex-direction: column !important; /* Stack news track vertically below the label */
    align-items: stretch !important;
    height: auto !important; /* Adapt dynamically to stacked layout */
    padding: 0 !important;
    border-bottom: 2px solid var(--gold-start);
  }
  
  .news-marquee-label {
    font-size: 0.8rem !important;
    font-weight: 800;
    padding: 0.35rem 0 !important;
    height: 34px !important; /* Increased by 20% for mobile spacing */
    width: 100% !important;
    justify-content: center !important; /* Center the label text */
    box-shadow: none !important; /* Remove side shadow as it spans full width */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .news-marquee-track {
    width: 100% !important;
    height: 46px !important; /* Increased by 20% to give text more breathing room */
    display: flex;
    align-items: center;
  }
  
  .news-marquee-content {
    font-size: 1.05rem !important; /* Large text for easy mobile reading */
  }
  
  .marquee-news-item {
    color: var(--gold-start) !important; /* High contrast gold links */
    text-decoration: underline !important; /* Explicit underlines for touchscreen clicks */
  }
}

