/* ============================================================
   OrderMax — Computer Systems Design & Related Services
   Complete Professional Stylesheet
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1E3A5F;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #F0C040;
  color: #16293F;
  border-color: #F0C040;
}

.btn-primary:hover {
  background-color: #D8A820;
  border-color: #D8A820;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.18);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #FFFFFF;
  color: #1E3A5F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-full {
  width: 100%;
}

/* --- Header ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #16293F;
  border-bottom: 1px solid rgba(240, 192, 64, 0.15);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background-color: #F0C040;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #16293F;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #E8EEF6;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: #F0C040;
  background-color: rgba(240, 192, 64, 0.08);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 24px !important;
  background-color: #F0C040 !important;
  color: #16293F !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background-color: #D8A820 !important;
  color: #16293F !important;
}

/* --- Mobile Toggle ----------------------------------------- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Hero -------------------------------------------------- */
#hero {
  position: relative;
  background-color: #1E3A5F;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 192, 64, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240, 192, 64, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero {
  position: relative;
  padding: 100px 0 80px;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(240, 192, 64, 0.12);
  border: 1px solid rgba(240, 192, 64, 0.25);
  color: #F0C040;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 720px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #E8EEF6;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #F0C040;
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: 14px;
  color: #A8BBD0;
  font-weight: 500;
}

/* --- Sections (shared) ------------------------------------- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F0C040;
  margin-bottom: 14px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #1E3A5F;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: #A8BBD0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Services ---------------------------------------------- */
#services {
  padding: 100px 0;
  background-color: #FFFFFF;
}

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

.service-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 14px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(30, 58, 95, 0.10);
  border-color: rgba(240, 192, 64, 0.30);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(240, 192, 64, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  color: #1E3A5F;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: #A8BBD0;
  line-height: 1.6;
}

/* --- About ------------------------------------------------- */
#about {
  padding: 100px 0;
  background-color: #F7F9FC;
}

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

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1E3A5F;
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content p {
  font-size: 16px;
  color: #A8BBD0;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-credentials {
  display: flex;
  gap: 40px;
}

.credential {
  text-align: center;
}

.credential-number {
  font-size: 38px;
  font-weight: 800;
  color: #F0C040;
  line-height: 1;
  margin-bottom: 6px;
}

.credential-label {
  font-size: 14px;
  color: #A8BBD0;
  font-weight: 500;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1E3A5F, #16293F);
  border-radius: 16px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30, 58, 95, 0.15);
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(240, 192, 64, 0.04) 20px,
      rgba(240, 192, 64, 0.04) 21px
    );
}

.about-accent-shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: #F0C040;
  border-radius: 16px;
  z-index: 1;
  opacity: 0.85;
}

.about-diagram {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  background-color: #FFFFFF;
  border: 2px solid #F0C040;
  border-radius: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.10);
}

/* --- Process ----------------------------------------------- */
#process {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.process-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgba(30, 58, 95, 0.10);
}

.process-step {
  position: relative;
  padding-left: 100px;
  padding-bottom: 48px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: #1E3A5F;
  border: 3px solid #F0C040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background-color: rgba(30, 58, 95, 0.10);
}

.process-step:last-child .step-line {
  display: none;
}

.step-content {
  background-color: #FFFFFF;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 14px rgba(30, 58, 95, 0.04);
}

.step-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: #A8BBD0;
  line-height: 1.6;
  margin-bottom: 14px;
}

.step-deliverable {
  display: inline-block;
  background-color: rgba(240, 192, 64, 0.12);
  color: #16293F;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
}

/* --- Industries -------------------------------------------- */
#industries {
  padding: 100px 0;
  background-color: #F7F9FC;
}

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

.industry-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.03);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(30, 58, 95, 0.08);
  border-color: rgba(240, 192, 64, 0.25);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background-color: rgba(240, 192, 64, 0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #1E3A5F;
}

.industry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: #A8BBD0;
  line-height: 1.5;
}

/* --- Stats Band -------------------------------------------- */
#stats {
  padding: 80px 0;
  background-color: #1E3A5F;
}

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

.stat-item {
  padding: 8px;
}

.stat-value {
  font-size: 44px;
  font-weight: 800;
  color: #F0C040;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 15px;
  color: #E8EEF6;
  font-weight: 500;
}

/* --- Testimonials ------------------------------------------ */
#testimonials {
  padding: 100px 0;
  background-color: #FFFFFF;
}

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

.testimonial-card {
  background-color: #F7F9FC;
  border: 1px solid rgba(30, 58, 95, 0.06);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.03);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 14px 30px rgba(30, 58, 95, 0.08);
  transform: translateY(-3px);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #1E3A5F;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  padding-top: 8px;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 48px;
  line-height: 1;
  color: #F0C040;
  font-style: normal;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 700;
  color: #1E3A5F;
}

.testimonial-role {
  font-size: 13px;
  color: #A8BBD0;
  margin-top: 2px;
}

/* --- Contact ----------------------------------------------- */
#contact {
  padding: 100px 0;
  background-color: #F7F9FC;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1E3A5F;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  font-size: 16px;
  color: #A8BBD0;
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail .detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: rgba(240, 192, 64, 0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1E3A5F;
}

.contact-detail h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 14px;
  color: #A8BBD0;
}

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.05);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E3A5F;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: #1E3A5F;
  background-color: #F7F9FC;
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #F0C040;
  box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.15);
}

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

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

/* --- Footer ------------------------------------------------ */
.site-footer {
  background-color: #0F1D30;
  padding: 72px 0 32px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 15px;
  color: #A8BBD0;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 280px;
}

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

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.footer-logo .logo-text {
  font-size: 20px;
  color: #FFFFFF;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #A8BBD0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F0C040;
}

.footer-contact h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 14px;
  color: #A8BBD0;
  line-height: 1.65;
  margin-bottom: 6px;
}

.footer-contact a {
  color: #E8EEF6;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #F0C040;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(168, 187, 208, 0.15);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
  color: #A8BBD0;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 14px;
  color: #A8BBD0;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #F0C040;
}

/* --- Responsive -------------------------------------------- */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }

  .section-title {
    font-size: 34px;
  }

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

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

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

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

/* Tablets & Landscape Phones */
@media (max-width: 768px) {
  .header-container {
    height: 68px;
    padding: 0 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #16293F;
    border-top: 1px solid rgba(240, 192, 64, 0.12);
    border-bottom: 1px solid rgba(240, 192, 64, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: 480px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav a {
    padding: 12px 24px;
    font-size: 16px;
  }

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

  #hero {
    padding: 60px 0 50px;
    min-height: auto;
  }

  .hero-title {
    font-size: 34px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats-row {
    gap: 28px;
  }

  .hero-stat .stat-value {
    font-size: 26px;
  }

  .section-container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15px;
  }

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

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

  .about-credentials {
    gap: 24px;
  }

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

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

  .stat-value {
    font-size: 36px;
  }

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

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

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

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

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

  .footer-legal-links {
    justify-content: center;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

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

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

  .process-step {
    padding-left: 72px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .process-timeline::before {
    left: 31px;
  }

  .step-marker {
    width: 62px;
  }

  .contact-form {
    padding: 24px;
  }

  .about-accent-shape {
    width: 80px;
    height: 80px;
    top: -14px;
    right: -14px;
  }

  .about-diagram {
    width: 70px;
    height: 70px;
    bottom: -12px;
    left: -12px;
  }
}
