/* 
  ========================================================
  CRE Group - Corporate Stylesheet
  Premium Enterprise Design System
  ======================================================== 
*/

:root {
  /* Brand Colors */
  --primary-blue: #0A3D7C;
  --dark-blue: #062C5A;
  --navy: #041E3F;
  --accent-gold: #D4A017;
  --light-gold: #E8C547;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --text-dark: #1A1E2C;
  --text-body: #3D4455;
  --text-muted: #6B7891;
  --text-light: #F0F2F5;
  --border-color: rgba(10, 61, 124, 0.08);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Premium Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 61, 124, 0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(10, 61, 124, 0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(10, 61, 124, 0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px rgba(10, 61, 124, 0.18);
  --shadow-glow: 0 0 25px rgba(212, 160, 23, 0.35);
}

/* ================== Reset & Basics ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-padding {
  padding: var(--section-padding);
}

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

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

/* ================== Typography ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
}

.section-title h2 span {
  color: var(--primary-blue);
}

.section-title .line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--light-gold));
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================== Buttons ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ================== Header & Nav ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border-color);
  transition: var(--transition-fast);
  padding: 0.875rem 0;
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.97);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-blue);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Logo Images */
.header-logo-img {
  height: 45px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.header.scrolled .header-logo-img {
  height: 38px;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dark);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ================== Hero Section ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--navy, #041E3F) 0%, var(--dark-blue) 50%, var(--primary-blue) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(10, 61, 124, 0.3) 0%, transparent 70%);
  z-index: 1;
}

/* Circuit Background Pattern */
.circuit-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.25rem 0.5rem 2.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  position: relative;
}

.hero-badge i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.gold-letter {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.2em;
}

.hero-content h1 {
  font-size: 3.25rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Gold Button */
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
  color: var(--navy, #041E3F);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-gold:hover {
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
  transform: translateY(-2px);
}

.btn-gold i {
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.btn-gold:hover i {
  transform: translateX(4px);
}

/* Light Outline Button */
.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--bg-white);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}



/* Hero Graphic (Gear Animation) */
.hero-graphic {
  position: relative;
  height: 500px;
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Decorative gear teeth ring */
.gear-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 3px dashed rgba(212, 160, 23, 0.25);
  border-radius: 50%;
  opacity: 0.5;
  animation: gearSpin 60s linear infinite reverse;
}

/* Central Chip */
.chip {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-white);
  font-size: 3rem;
  box-shadow: var(--shadow-glow);
  z-index: 10;
  border: 2px solid var(--accent-gold);
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(224, 178, 27, 0.4); }
  50% { box-shadow: 0 0 30px rgba(224, 178, 27, 0.8); }
  100% { box-shadow: 0 0 15px rgba(224, 178, 27, 0.4); }
}

/* Orbit ring - container that rotates all nodes */
.orbit-ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  animation: gearSpin 30s linear infinite;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Nodes - no ::before lines */
.node {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-gold);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  /* Counter-rotate to stay upright */
  animation: counterSpin 30s linear infinite;
}

@keyframes counterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.node:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border-color: var(--primary-blue);
}

/* Node labels - light for dark hero */
.node-label {
  position: absolute;
  bottom: -22px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  padding: 2px 4px;
  border-radius: 4px;
  pointer-events: none;
}

/* Positioning 8 nodes on orbit ring (400x400, center=200) */
.node-1 { top: 0; left: 175px; }
.node-2 { top: 29px; left: 317px; }
.node-3 { top: 175px; left: 350px; }
.node-4 { top: 317px; left: 317px; }
.node-5 { top: 350px; left: 175px; }
.node-6 { top: 317px; left: 29px; }
.node-7 { top: 175px; left: 0; }
.node-8 { top: 29px; left: 29px; }

/* ================== Connector Lines (inside orbit-ring) ================== */
/* Lines are inside orbit-ring, so they rotate WITH the nodes */
/* Positioned from center of orbit-ring (200, 200) */
.line-connector {
  position: absolute;
  top: 200px;
  left: 200px;
  height: 2px;
  width: 200px;
  background-color: rgba(212, 160, 23, 0.5);
  opacity: 0.5;
  transform-origin: 0 50%;
  pointer-events: none;
}

/* 8 lines at 45° intervals pointing to each node */
.line-c1 { transform: rotate(-90deg); }   /* up → node-1 */
.line-c2 { transform: rotate(-45deg); }   /* top-right → node-2 */
.line-c3 { transform: rotate(0deg); }     /* right → node-3 */
.line-c4 { transform: rotate(45deg); }    /* bottom-right → node-4 */
.line-c5 { transform: rotate(90deg); }    /* down → node-5 */
.line-c6 { transform: rotate(135deg); }   /* bottom-left → node-6 */
.line-c7 { transform: rotate(180deg); }   /* left → node-7 */
.line-c8 { transform: rotate(225deg); }   /* top-left → node-8 */

/* Pause orbit animation on hover */
.hero-graphic:hover .orbit-ring {
  animation-play-state: paused;
}
.hero-graphic:hover .node {
  animation-play-state: paused;
}
.hero-graphic:hover .gear-ring {
  animation-play-state: paused;
}

/* ================== About Section ================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-gold);
}

.about-text p {
  color: var(--text-body, var(--text-muted));
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-features {
  margin-top: 2rem;
}

.about-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.about-features li:hover {
  background-color: var(--bg-light);
}

.about-features i {
  color: var(--accent-gold);
  margin-right: 12px;
  font-size: 1rem;
  flex-shrink: 0;
}

.image-wrapper {
  position: relative;
  border-radius: 16px;
}

.placeholder-img {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl, var(--shadow-lg));
  position: relative;
  overflow: hidden;
}

.placeholder-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(212, 160, 23, 0.15) 100%);
  border-radius: 16px;
}

.experience-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--accent-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.experience-badge .text {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* ================== Coverage Map Card ================== */
.coverage-card {
  width: 100%;
  background: linear-gradient(180deg, #0a2e5c, #083a6b);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.25);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Circuit radial detail */
.coverage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(224, 178, 27, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(224, 178, 27, 0.12), transparent 40%);
  z-index: 0;
}

.coverage-title,
.coverage-subtitle,
.map-container,
.coverage-footer {
  position: relative;
  z-index: 1;
}

.coverage-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.coverage-subtitle {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 25px;
  color: #d6e6ff;
}

.map-container {
  width: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
}

/* Google Maps Iframe Wrapper - hides user info bar */
.map-iframe-wrapper {
  overflow: hidden;
  border-radius: 12px;
  height: 350px;
}

.google-map-embed {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  margin-top: -60px;
}

/* Coverage Cities List */
.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 178, 27, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.city-item:hover {
  background: rgba(224, 178, 27, 0.1);
  border-color: rgba(224, 178, 27, 0.5);
  color: #ffffff;
}

.city-item i {
  color: #E0B21B;
  font-size: 14px;
}

/* Coverage Footer */
.coverage-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #d6e6ff;
}

.coverage-footer strong {
  color: #e0b21b;
  font-size: 15px;
}


/* ================== Divisions Section ================== */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.division-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--light-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.division-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(10, 61, 124, 0.08), rgba(10, 61, 124, 0.04));
  color: var(--primary-blue);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.division-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--bg-white);
  transform: scale(1.05);
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
  line-height: 1.7;
}

.link-arrow {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.link-arrow i {
  margin-left: 6px;
  transition: var(--transition-fast);
  font-size: 0.75rem;
}

.division-card:hover .link-arrow i {
  transform: translateX(5px);
}

/* ================== Value Proposition ================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.value-item:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.v-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(10, 61, 124, 0.06), rgba(10, 61, 124, 0.02));
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.75rem;
  color: var(--primary-blue);
  transition: var(--transition-fast);
}

.value-item:hover .v-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-color: var(--primary-blue);
  color: var(--bg-white);
  transform: scale(1.08);
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ================== Contact Section ================== */

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 76, 146, 0.08);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(14, 76, 146, 0.3);
}

.contact-card-icon.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-card h4 {
  font-size: 1rem;
  color: var(--dark-blue);
  font-weight: 700;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary-blue);
}

.contact-card-detail {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* CTA Banner */
.contact-cta {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(14, 76, 146, 0.25);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-icon {
  font-size: 2.5rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.contact-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--bg-white);
}

.contact-cta p {
  font-size: 0.95rem;
  opacity: 0.85;
  color: var(--text-light);
}

.btn-cta {
  background-color: var(--accent-gold);
  color: var(--dark-blue);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: var(--transition-fast);
  border: none;
}

.btn-cta:hover {
  background-color: #c99a17;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 178, 27, 0.4);
  color: var(--dark-blue);
}

/* Business Hours */
.business-hours {
  margin-top: 2rem;
  text-align: center;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid rgba(14, 76, 146, 0.08);
}

.hours-badge i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.hours-badge strong {
  color: var(--dark-blue);
}

/* ================== Footer ================== */
.footer {
  background: linear-gradient(180deg, var(--dark-blue) 0%, var(--navy, #041E3F) 100%);
  color: var(--text-light);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo .logo-text {
  color: var(--bg-white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  margin: 1.25rem 0;
  max-width: 320px;
  line-height: 1.7;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.social-links a:hover {
  background-color: var(--accent-gold);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* ================== Floating Elements ================== */
.float-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.whatsapp-btn {
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, #25D366, #128c7e);
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.back-to-top {
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-blue);
  opacity: 0;
  visibility: hidden;
}

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

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

/* ================== Animations ================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; transition-delay: 0.8s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================== Responsive Design ================== */

/* Tablet */
@media (max-width: 992px) {
  .hero-container, .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    order: 2;
  }
  
  .hero-badge {
    font-size: 0.7rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  /* Scale down the gear graphic */
  .hero-graphic {
    order: 1;
    height: 420px;
    width: 420px;
    margin: 0 auto;
  }
  
  .orbit-ring {
    width: 340px;
    height: 340px;
  }
  
  .gear-ring {
    width: 240px;
    height: 240px;
  }
  
  .chip {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  .node {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  
  .node-label {
    font-size: 0.65rem;
    bottom: -20px;
  }
  
  /* Recalculate node positions for 340px ring */
  .node-1 { top: 0; left: 148px; }
  .node-2 { top: 25px; left: 269px; }
  .node-3 { top: 148px; left: 296px; }
  .node-4 { top: 269px; left: 269px; }
  .node-5 { top: 296px; left: 148px; }
  .node-6 { top: 269px; left: 25px; }
  .node-7 { top: 148px; left: 0; }
  .node-8 { top: 25px; left: 25px; }
  
  /* Recalculate line origin for 340px */
  .line-connector {
    top: 170px;
    left: 170px;
    width: 170px;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-text {
    order: 2;
  }
  
  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .cta-content {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none !important;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
  }
  

  
  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .contact-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-cta {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .cta-icon {
    font-size: 2rem;
  }
  
  .contact-cta h3 {
    font-size: 1.1rem;
  }
  
  .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
  
  .hours-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
    transition: var(--transition-fast);
    flex-direction: column;
    text-align: center;
    z-index: 999;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero {
    min-height: auto;
    padding: 100px 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  /* Scale gear graphic for mobile */
  .hero-graphic {
    height: 320px;
    width: 320px;
  }
  
  .orbit-ring {
    width: 260px;
    height: 260px;
  }
  
  .gear-ring {
    width: 180px;
    height: 180px;
  }
  
  .chip {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 16px;
  }
  
  .node {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .node-label {
    font-size: 0.6rem;
    bottom: -18px;
  }
  
  /* Recalculate node positions for 260px ring */
  .node-1 { top: 0; left: 112px; }
  .node-2 { top: 19px; left: 205px; }
  .node-3 { top: 112px; left: 224px; }
  .node-4 { top: 205px; left: 205px; }
  .node-5 { top: 224px; left: 112px; }
  .node-6 { top: 205px; left: 19px; }
  .node-7 { top: 112px; left: 0; }
  .node-8 { top: 19px; left: 19px; }
  
  /* Recalculate line origin for 260px */
  .line-connector {
    top: 130px;
    left: 130px;
    width: 130px;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .about-grid {
    gap: 2rem;
  }
  
  .placeholder-img {
    height: 250px;
    font-size: 3rem;
  }
  
  .experience-badge {
    bottom: -10px;
    left: -10px;
    padding: 1rem;
  }
  
  .experience-badge .number {
    font-size: 1.8rem;
  }
  
  .divisions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .division-card {
    padding: 1.5rem;
  }
  
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .value-item {
    padding: 1rem 0.5rem;
  }
  
  .v-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-grid {
    max-width: 100%;
  }
  
  .contact-info h3 {
    text-align: center;
  }
  
  .contact-info p {
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .header-logo-img {
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .hero-graphic {
    height: 280px;
    width: 280px;
  }
  
  .orbit-ring {
    width: 220px;
    height: 220px;
  }
  
  .gear-ring {
    width: 150px;
    height: 150px;
  }
  
  .chip {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
    border-radius: 14px;
  }
  
  .node {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  
  .node-label {
    font-size: 0.55rem;
    bottom: -16px;
  }
  
  /* Recalculate node positions for 220px ring */
  .node-1 { top: 0; left: 95px; }
  .node-2 { top: 16px; left: 173px; }
  .node-3 { top: 95px; left: 190px; }
  .node-4 { top: 173px; left: 173px; }
  .node-5 { top: 190px; left: 95px; }
  .node-6 { top: 173px; left: 16px; }
  .node-7 { top: 95px; left: 0; }
  .node-8 { top: 16px; left: 16px; }
  
  /* Recalculate line origin for 220px */
  .line-connector {
    top: 110px;
    left: 110px;
    width: 110px;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .logo {
    gap: 6px;
  }
  
  .header-logo-img {
    height: 30px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .contact-card {
    padding: 1.25rem;
  }
  
  .contact-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-cta {
    padding: 1.25rem;
  }
  
  .contact-cta h3 {
    font-size: 1rem;
  }
  
  .contact-cta p {
    font-size: 0.85rem;
  }
  
  .hours-badge {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.75rem;
  }
}

/* Coverage Map Responsive */
@media (max-width: 768px) {
  .coverage-card {
    padding: 20px;
  }

  .coverage-title {
    font-size: 22px;
  }

  .coverage-subtitle {
    font-size: 14px;
  }

  .mexico-map {
    max-height: 250px;
  }
}
