/* ============================================
   NexGem - Corporate Website Styles
   Modern SECS/GEM & Factory Automation Company
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #0052CC;
  --primary-dark: #003D99;
  --primary-light: #E6F0FF;
  --secondary: #00B8D9;
  --secondary-dark: #008DA6;
  --accent: #FF6B35;
  --dark: #0A1628;
  --dark-alt: #121E33;
  --gray-900: #1A2332;
  --gray-800: #2C3E50;
  --gray-700: #34495E;
  --gray-600: #546E7A;
  --gray-500: #78909C;
  --gray-400: #B0BEC5;
  --gray-300: #CFD8DC;
  --gray-200: #E8EDF1;
  --gray-100: #F4F7FA;
  --white: #FFFFFF;
  --success: #00C853;
  --warning: #FFB300;
  --gradient-primary: linear-gradient(135deg, #0052CC 0%, #00B8D9 100%);
  --gradient-dark: linear-gradient(135deg, #0A1628 0%, #1A2332 100%);
  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #0052CC 50%, #00B8D9 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer .nav-logo img {
  height: 44px;
}

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

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta a {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0,82,204,0.3);
}

.nav-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,82,204,0.4);
  background: var(--gradient-primary) !important;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,184,217,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,82,204,0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,107,53,0.05) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 20px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, #7DD3FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Hero visual side */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  z-index: 1;
}

.hero-visual .circuit-lines {
  position: absolute;
  inset: 0;
}

.circuit-line {
  position: absolute;
  background: rgba(0,184,217,0.2);
  border-radius: 2px;
}

.circuit-line.h1 { top: 20%; left: 0; width: 60%; height: 2px; }
.circuit-line.h2 { top: 50%; left: 10%; width: 80%; height: 2px; }
.circuit-line.h3 { top: 80%; left: 5%; width: 50%; height: 2px; }
.circuit-line.v1 { top: 10%; left: 30%; width: 2px; height: 50%; }
.circuit-line.v2 { top: 30%; left: 60%; width: 2px; height: 60%; }

.circuit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,184,217,0.5);
  animation: nodePulse 3s ease-in-out infinite;
}

.circuit-node:nth-child(2) { animation-delay: 0.5s; }
.circuit-node:nth-child(3) { animation-delay: 1s; }
.circuit-node:nth-child(4) { animation-delay: 1.5s; }

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,184,217,0.3); transform: scale(1); }
  50% { box-shadow: 0 0 40px rgba(0,184,217,0.6); transform: scale(1.2); }
}

.node1 { top: 20%; left: 30%; }
.node2 { top: 50%; left: 60%; }
.node3 { top: 80%; left: 25%; }
.node4 { top: 20%; left: 60%; }

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  color: white;
  animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) { animation-delay: 2s; }
.float-card:nth-child(3) { animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.float-card.card1 { top: 15%; right: 20%; width: 200px; }
.float-card.card2 { bottom: 25%; right: 10%; width: 180px; }
.float-card.card3 { top: 45%; right: 40%; width: 160px; }

.float-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.float-card .card-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.float-card .card-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.3);
  color: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,82,204,0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,82,204,0.4);
  color: var(--white);
}

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

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

.btn-icon {
  font-size: 1.1rem;
}

/* === Section Styles === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.section-light {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--secondary);
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.6);
}

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

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

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* === Product Card === */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--primary-light);
  color: var(--primary);
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-card .card-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-card .card-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card .card-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

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

.card-link:hover {
  gap: 10px;
}

/* === Feature Card (dark bg) === */
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,184,217,0.3);
  transform: translateY(-4px);
}

.feature-card .card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(0,184,217,0.15);
}

.feature-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* === Industry Card === */
.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.industry-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* === Two-Column Layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reversed {
  direction: rtl;
}

.two-col.reversed > * {
  direction: ltr;
}

.two-col-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.two-col-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.two-col-visual {
  position: relative;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.two-col-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(0,184,217,0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* === Standards Table === */
.standards-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.standards-table thead {
  background: var(--gradient-primary);
}

.standards-table th {
  padding: 16px 20px;
  text-align: left;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.standards-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.standards-table tbody tr {
  background: var(--white);
  transition: var(--transition);
}

.standards-table tbody tr:hover {
  background: var(--primary-light);
}

.standards-table tbody tr:last-child td {
  border-bottom: none;
}

/* === CTA Section === */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,184,217,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Contact Form === */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,82,204,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

/* === Footer === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-col li {
  margin-bottom: 10px;
}

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

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

/* === Page Header (for inner pages) === */
.page-header {
  background: var(--gradient-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,82,204,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0,184,217,0.1) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.4);
}

.page-header .breadcrumb a:hover {
  color: var(--secondary);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 650px;
}

/* === Accordion === */
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--gray-500);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--primary-light);
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* === Info Box === */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.info-box p {
  color: var(--gray-700);
  font-size: 0.9rem;
}

/* === Contact Info === */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* === Scroll Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta { margin-left: 0; }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat { flex: 1 1 120px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .cards-grid, .cards-grid-3, .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-header h2 { font-size: 1.8rem; }
  .contact-form { padding: 28px; }
}
