/* ============================================
   BluProto - IT Consulting & Cloud Solutions
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2847;
  --primary-light: #2a5298;
  --accent: #e8a022;
  --accent-light: #f0b840;
  --accent-dark: #c88a18;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --dark-bg: #0f2847;
  --darker-bg: #0a1d35;
  --light-bg: #f5f7fa;
  --lighter-bg: #fafbfc;
  --border: #e0e4ea;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 160, 34, 0.4);
}

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

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

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-bg);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--darker-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Contact footer grid */
.contact-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

/* Skip to content (Accessibility) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  height: 70px;
}

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

.nav-logo img {
  height: 50px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
}

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

.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../images/hero/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

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

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

.hero-content {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    linear-gradient(to right, rgba(15,40,71,0.85) 0%, transparent 30%),
    linear-gradient(to left, rgba(15,40,71,0.6) 0%, transparent 20%),
    linear-gradient(to bottom, rgba(15,40,71,0.7) 0%, transparent 25%),
    linear-gradient(to top, rgba(15,40,71,0.7) 0%, transparent 25%);
  pointer-events: none;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  border-radius: 16px;
  filter: brightness(0.9) contrast(1.05);
}

/* ============================================
   Section Defaults
   ============================================ */
.section-subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 640px;
}

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

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

.section-header.center .section-text {
  margin-left: auto;
  margin-right: auto;
}

/* Dark section variants */
.dark-section {
  background: var(--dark-bg);
  color: var(--white);
}

.dark-section .section-title { color: var(--white); }
.dark-section .section-text { color: rgba(255,255,255,0.75); }

/* ============================================
   About / Think Outside the Box Section
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-content .section-title {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ============================================
   Industries Section
   ============================================ */
.industries {
  padding: 100px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.industry-card-image {
  height: 200px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}

.industry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card-body {
  padding: 28px;
}

.industry-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.industry-card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  padding: 100px 0;
}

.services-numbered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-numbered-card {
  position: relative;
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.service-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(26, 60, 110, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.service-numbered-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.service-numbered-card h3 a {
  color: var(--primary);
  transition: var(--transition);
}
.service-numbered-card h3 a:hover { color: var(--accent); }

.service-numbered-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Technologies / What We Do Section
   ============================================ */
.tech-section {
  padding: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

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

.tech-card .tech-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
}

.tech-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tech-card-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.tech-card-links a {
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-card-links .link-primary {
  background: var(--primary);
  color: var(--white);
}
.tech-card-links .link-primary:hover {
  background: var(--primary-dark);
}

.tech-card-links .link-accent {
  background: var(--accent);
  color: var(--white);
}
.tech-card-links .link-accent:hover {
  background: var(--accent-dark);
}

/* ============================================
   Clients / Partners Section
   ============================================ */
.clients-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.clients-logos img {
  height: 50px;
  width: auto;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
}

.clients-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item .stat-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 8px;
}

.dark-section .stat-number { color: var(--accent); }
.dark-section .stat-label { color: rgba(255,255,255,0.7); }

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-bg), var(--primary));
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/clients/clients-bg.jpg') center/cover;
  opacity: 0.1;
}

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

.cta-banner h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

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

/* ============================================
   Page Header (inner pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-bg), var(--primary));
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 800;
}

.breadcrumb {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }

.breadcrumb .separator {
  font-size: 0.7rem;
}

/* ============================================
   Services Detail Page
   ============================================ */
.service-detail-section {
  padding: 80px 0;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.service-detail-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-detail-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================
   Technologies Detail
   ============================================ */
.tech-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.tech-detail-grid:nth-child(even) {
  direction: rtl;
}
.tech-detail-grid:nth-child(even) > * {
  direction: ltr;
}

.tech-detail-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.tech-detail-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tech-detail-content ul {
  list-style: none;
  padding: 0;
}

.tech-detail-content ul li {
  padding: 6px 0;
  color: var(--text-light);
  padding-left: 24px;
  position: relative;
}

.tech-detail-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.tech-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tech-detail-image img {
  width: 100%;
  object-fit: cover;
}

/* ============================================
   Mission / Vision Section
   ============================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
}

.mission-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.mission-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

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

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

.contact-form {
  background: var(--light-bg);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

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

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

/* Map */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 300px;
  margin-top: 32px;
  box-shadow: var(--shadow);
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links.dark a {
  background: var(--light-bg);
  color: var(--primary);
}
.social-links.dark a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--darker-bg);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
}

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

.footer-logo img {
  height: 60px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
  width: 16px;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--accent); }

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

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   Scroll to top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Notification
   ============================================ */
.notification {
  position: fixed;
  top: 100px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  z-index: 2000;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.notification.success { background: #16a34a; }
.notification.error { background: #dc2626; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .hero-grid { gap: 40px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .services-numbered { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .contact-footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    display: block;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    display: block;
  }

  .nav-toggle { display: flex; }

  .hero-grid,
  .about-split,
  .tech-detail-grid,
  .contact-grid,
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-detail-grid:nth-child(even) { direction: ltr; }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title { font-size: 2rem; }
  .hero-image { order: -1; }

  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 2rem; }

  .industries-grid,
  .services-numbered,
  .tech-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .contact-form { padding: 24px; }
  .service-detail-card { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .cta-banner h2 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* Print Styles */
@media print {
  .header, .scroll-top, .nav-toggle, .cta-banner, .social-links, .skip-to-content { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding: 40px 0; background: #f5f5f5 !important; }
  .dark-section { background: #f5f5f5 !important; color: #000 !important; }
  .dark-section *, .footer * { color: #000 !important; }
  img { max-width: 100%; }
  .footer { background: #f5f5f5 !important; }
}
