/* ========================================================
   RISE ELECTRONICS — OFFICIAL CORPORATE STYLESHEET
   Matching Pixel-Perfect Reference Design
   ======================================================== */

/* --------------------------------------------------------
   1. CSS VARIABLES & SYSTEM DESIGN TOKENS
   -------------------------------------------------------- */
:root {
  /* Brand Identity Colors */
  --navy: #082653;
  --navy-deep: #061b3f;
  --navy-mid: #0b316b;
  --navy-light: #163d7a;
  --red: #d71920;
  --red-hover: #b81319;
  --red-soft: rgba(215, 25, 32, 0.1);
  --white: #ffffff;
  --soft-blue: #f0f5ff;
  --light-blue: #d8e4f8;
  --ice-blue: #e8f0fe;

  /* Typography Colors */
  --text-main: #0a1f3d;
  --text-muted: #4e6788;
  --text-light: #7b93b2;
  --text-white: #ffffff;
  --text-white-muted: rgba(255, 255, 255, 0.82);

  /* Borders & Shadows */
  --border-subtle: rgba(8, 38, 83, 0.08);
  --border-card: rgba(8, 38, 83, 0.1);
  --border-navy-card: rgba(216, 228, 248, 0.14);
  --shadow-sm: 0 4px 12px rgba(8, 38, 83, 0.06);
  --shadow-md: 0 12px 28px rgba(8, 38, 83, 0.08);
  --shadow-lg: 0 20px 45px rgba(8, 38, 83, 0.12);
  --shadow-card-hover: 0 24px 50px rgba(8, 38, 83, 0.18);
  --shadow-red: 0 10px 24px rgba(215, 25, 32, 0.28);

  /* Layout & Geometry */
  --max-width: 1440px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography Font Families */
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", sans-serif;
  --font-script: "Caveat", cursive;

  /* Header Height */
  --header-height: 98px;
}

/* --------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: #f7faff;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  position: relative;
}

/* Subtle circuit background decorations across page */
.circuit-bg-decor {
  position: absolute;
  width: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  background-repeat: no-repeat;
}

.decor-top {
  top: 0;
  height: 800px;
  background-image: radial-gradient(circle at 85% 20%, rgba(216, 228, 248, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(240, 245, 255, 0.8) 0%, transparent 50%);
}

.decor-bottom {
  bottom: 0;
  height: 900px;
  background-image: radial-gradient(circle at 15% 80%, rgba(216, 228, 248, 0.5) 0%, transparent 60%);
}

/* Containers */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Common Section Styling */
.section {
  padding-block: 84px;
  position: relative;
}

.section-header {
  margin-bottom: 44px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  margin-top: 10px;
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Anchor tags */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn .btn-arrow {
  transition: transform 0.25s ease;
}

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

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 38, 83, 0.18);
}

.btn-primary:hover {
  background-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 38, 83, 0.26);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background-color: var(--soft-blue);
  transform: translateY(-2px);
}

.btn-red {
  background-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-red:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.35);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 13px 24px;
  box-shadow: var(--shadow-sm);
}

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

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  border-radius: var(--radius-full);
  padding: 13px 26px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: var(--soft-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

/* --------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(8, 38, 83, 0.07);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

/* Brand Logo + Text */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(8, 38, 83, 0.14);
  border: 1px solid rgba(8, 38, 83, 0.08);
  background: var(--white);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(5deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 0.95;
}

.brand-sub {
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-top: 4px;
  line-height: 1;
}

.brand-sub-tag {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-top: 3px;
  white-space: nowrap;
}

.card-scroll-anchor {
  position: absolute;
  top: -120px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* Desktop Navigation Menu */
.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--red);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Navbar Right Red Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-cta-btn .btn-arrow {
  transition: transform 0.25s ease;
}

.nav-cta-btn:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.35);
}

.nav-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------
   4. HERO SECTION (Pixel-Perfect Reference Design)
   -------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 580px;
  background: linear-gradient(135deg, #f7faff 0%, #eef5fc 55%, #e6f0fa 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

/* Background Circuit SVG Traces */
.hero-circuit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 5;
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  min-height: 560px;
}

/* Hero Left Content */
.hero-content {
  max-width: 660px;
  width: 52%;
  padding-block: 40px;
  position: relative;
  z-index: 6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #e8f2fc;
  border: 1px solid #d2e4f8;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ed573;
  box-shadow: 0 0 10px #2ed573;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 55px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.text-accent-red {
  color: var(--red);
  display: block;
  white-space: nowrap;
  margin-top: 2px;
}

.hero-lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: #4b6584;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
}

.btn-navy-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 28px rgba(8, 38, 83, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-navy-hero:hover {
  background-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 38, 83, 0.3);
}

.btn-navy-hero .btn-arrow {
  transition: transform 0.25s ease;
}

.btn-navy-hero:hover .btn-arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------
   Hero Right Content: User's Official Geometric Electronics Visual
   -------------------------------------------------------- */
.hero-visual-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 53%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual-frame picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-electronics-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 21% center;
  display: block;
  filter: drop-shadow(-8px 0 20px rgba(8, 38, 83, 0.1));
}

/* --------------------------------------------------------
   5. QUICK HIGHLIGHTS
   Floating white rounded horizontal card immediately below hero
   -------------------------------------------------------- */
.highlights-section {
  position: relative;
  z-index: 20;
  margin-top: -38px;
  margin-bottom: 24px;
}

.highlights-card {
  background-color: var(--white);
  border-radius: 28px;
  border: 1px solid var(--border-card);
  box-shadow: 0 18px 45px rgba(8, 38, 83, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}

.highlight-col {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  transition: transform 0.25s ease;
}

.highlight-col:hover {
  transform: translateY(-2px);
}

.highlight-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ebf3fc;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.highlight-col:hover .highlight-icon-box {
  background-color: var(--navy);
  color: var(--white);
}

.highlight-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.highlight-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.highlight-divider {
  width: 1px;
  height: 48px;
  background-color: var(--border-subtle);
  flex-shrink: 0;
}

/* --------------------------------------------------------
   6. TWO PLATFORMS, ONE CONNECTED VISION
   (MOST IMPORTANT SECTION)
   -------------------------------------------------------- */
.platforms-section {
  background-color: transparent;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Premium Horizontal Platform Cards */
.platform-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-navy-card);
  box-shadow: 0 18px 40px rgba(8, 38, 83, 0.16);
  text-decoration: none;
  color: var(--white);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-height: 290px;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(8, 38, 83, 0.26), 0 0 30px rgba(215, 25, 32, 0.12);
  border-color: rgba(215, 25, 32, 0.4);
}

.platform-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 290px;
}

.platform-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.platform-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 38, 83, 0.1) 0%, rgba(6, 27, 63, 0.75) 100%);
}

.platform-content {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.platform-badge {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 12px;
}

.platform-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

/* Red Prominent CTA Button */
.platform-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.3);
  transition: all 0.25s ease;
  margin-top: auto;
}

.platform-card:hover .platform-cta-btn {
  background-color: var(--red-hover);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.45);
}

.platform-card:hover .platform-cta-btn .btn-arrow {
  transform: translateX(6px);
}

/* --------------------------------------------------------
   7. WHO WE ARE
   -------------------------------------------------------- */
.about-section {
  background-color: var(--white);
  border-radius: 36px;
  box-shadow: 0 15px 35px rgba(8, 38, 83, 0.04);
  margin-block: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.95fr;
  align-items: center;
  gap: 40px;
}

/* Left Column */
.about-heading-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.accent-bar-red {
  width: 5px;
  height: 44px;
  background-color: var(--red);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.about-text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Center Column: Building Image */
.about-center {
  display: flex;
  justify-content: center;
}

.about-image-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
  aspect-ratio: 4 / 3;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-frame:hover .about-img {
  transform: scale(1.05);
}

/* Right Column: Statistics */
.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: var(--soft-blue);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: #eaf1ff;
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--light-blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* --------------------------------------------------------
   8. OUR SERVICES
   -------------------------------------------------------- */
.services-section {
  background-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--soft-blue);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.service-card:hover {
  transform: translateY(-6px);
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 38, 83, 0.16);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--light-blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}

.service-card:hover .service-icon-box {
  background-color: var(--navy);
  color: var(--white);
}

.service-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------
   9. WHY CHOOSE US?
   -------------------------------------------------------- */
.why-section {
  background-color: transparent;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 38, 83, 0.18);
}

.why-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--light-blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon-circle {
  background-color: var(--navy);
  color: var(--white);
  transform: scale(1.06);
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

/* --------------------------------------------------------
   10. CONTACT SECTION
   Wide, premium dark-navy rounded contact panel
   -------------------------------------------------------- */
.contact-section {
  padding-bottom: 96px;
}

.contact-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 27, 63, 0.28);
  border: 1px solid var(--border-navy-card);
}

/* Decorative Circuit Board Lines */
.contact-circuit-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* Left Column */
.contact-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.contact-accent-bar {
  width: 5px;
  height: 120px;
  background-color: var(--red);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-white-muted);
  margin-bottom: 24px;
}

/* Center Column */
.contact-center {
  position: relative;
  z-index: 2;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(216, 228, 248, 0.15);
  color: #7dd3fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(216, 228, 248, 0.2);
}

.contact-link,
.contact-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.contact-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Right Column: Handwritten Style Quote */
.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.handwritten-message {
  font-family: var(--font-script);
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.25;
  color: #e0edff;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: rotate(-3deg);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------
   11. FOOTER
   Full-width deep navy footer (#061B3F)
   -------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-deep);
  color: var(--white);
  padding-top: 56px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--white);
}

.footer-brand-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

/* Footer Navigation Links */
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--red);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background-color: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
  color: var(--white);
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-tagline {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------
   12. ANIMATIONS & SCROLL REVEAL
   -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* --------------------------------------------------------
   13. CONTACT MODAL DIALOG
   -------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 27, 63, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 36px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--red);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-main);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-card);
  background-color: #fbfdff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 38, 83, 0.1);
  background-color: var(--white);
}

.modal-submit-btn {
  margin-top: 8px;
  width: 100%;
}

.form-feedback {
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  min-height: 20px;
}

.form-feedback.success {
  color: #10b981;
}

/* --------------------------------------------------------
   14. RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------- */

/* Tablet (max-width: 1100px) */
@media (max-width: 1100px) {
  .hero-content {
    width: 55%;
    max-width: 500px;
  }

  .hero-heading {
    font-size: 44px;
  }

  .highlights-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .highlight-divider {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-left {
    grid-column: span 2;
    text-align: center;
  }

  .about-heading-wrap {
    justify-content: center;
  }

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

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

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

  .contact-right {
    grid-column: span 2;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Small Tablet & Mobile Navigation (max-width: 860px) */
@media (max-width: 860px) {
  .site-header {
    --header-height: 84px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-title {
    font-size: 26px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .brand-sub-tag {
    font-size: 7px;
  }

  .hero-section {
    min-height: auto;
    flex-direction: column;
    padding-bottom: 50px;
  }

  .hero-container {
    min-height: auto;
    width: calc(100% - 36px);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-block: 28px 12px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual-frame {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: 12px;
  }

  .hero-electronics-img {
    object-position: center center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(8, 38, 83, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 30px;
    gap: 20px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links-wrap.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-link {
    font-size: 18px;
    width: 100%;
    display: block;
    padding-block: 6px;
  }

  .nav-cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .platform-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .platform-image-wrap {
    height: 220px;
    min-height: 220px;
  }

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

  .about-left {
    grid-column: span 1;
    text-align: left;
  }

  .about-heading-wrap {
    justify-content: flex-start;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 28px;
  }

  .contact-right {
    grid-column: span 1;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

/* Mobile Screens (max-width: 600px) */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero-heading {
    font-size: clamp(26px, 6.8vw, 34px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-visual-frame {
    height: 240px;
  }

  .highlights-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .highlight-col {
    padding: 8px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .modal-box {
    padding: 28px 20px;
  }
}