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

:root {
  --blue:      #1a3c6e;
  --blue-mid:  #1e5296;
  --accent:    #e8a020;
  --text:      #333;
  --text-light:#666;
  --white:     #ffffff;
  --bg-light:  #f5f7fa;
  --bg-dark:   #1a2a40;
  --border:    #dde3ec;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
  letter-spacing: .5px;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: #c8881a; border-color: #c8881a; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--blue); }
.full-width { width: 100%; text-align: center; }

/* =====================
   SECTION HELPERS
   ===================== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
}
.section-subtitle.light { color: #c5d4e8; }

section { padding: 72px 0; }
.section-light { background: var(--bg-light); }
.section-alt  { background: var(--white); }
.section-dark { background: var(--bg-dark); }

/* =====================
   TOP BAR
   ===================== */
.top-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-contact span { margin-right: 24px; }
.top-contact i, .top-social i { margin-right: 6px; color: var(--accent); }
.top-social a {
  color: var(--white);
  margin-left: 14px;
  font-size: 14px;
  transition: color .2s;
}
.top-social a:hover { color: var(--accent); }

/* =====================
   HEADER
   ===================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 60px; }

.main-nav { position: relative; }
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links li a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links li a:hover {
  background: var(--blue);
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--blue);
  cursor: pointer;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--blue-mid) 60%, var(--blue) 100%);
}
.hero-slides { height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,40,80,.75) 0%, rgba(20,60,120,.65) 100%);
}
.slide-content { position: relative; z-index: 1; }
.slide.active { opacity: 1; }
.slide-content {
  text-align: center;
  color: var(--white);
  max-width: 720px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.slide-content h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: .9;
}
.slide-content .btn { margin: 0 8px; }

.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: var(--white); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* =====================
   SERVICES CARDS
   ===================== */
.services-overview { background: var(--white); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.card-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.card h3 { font-size: 20px; color: var(--blue); margin-bottom: 12px; }
.card p { color: var(--text-light); margin-bottom: 20px; }
.card-link { color: var(--blue-mid); font-weight: 600; font-size: 14px; }
.card-link:hover { color: var(--accent); }
.card-link i { margin-left: 4px; font-size: 12px; }

/* =====================
   TWO-COLUMN LAYOUT
   ===================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-image { order: 1; }

.col-text h2 { font-size: 30px; color: var(--blue); margin-bottom: 16px; }
.col-text p { color: var(--text-light); margin-bottom: 16px; }

.feature-list { margin-bottom: 28px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--text-light); }
.feature-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

.image-placeholder {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: 12px;
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 80px;
}

/* =====================
   INDUSTRIES
   ===================== */
.industries { background: var(--white); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: background .2s, color .2s;
}
.industry-item:hover { background: var(--blue); color: var(--white); }
.industry-item i { font-size: 32px; color: var(--accent); margin-bottom: 12px; display: block; }
.industry-item:hover i { color: var(--white); }
.industry-item span { font-weight: 600; font-size: 14px; }

/* =====================
   PROCESS
   ===================== */
.process { background: var(--bg-light); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}
.step-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 18px; color: var(--blue); margin-bottom: 10px; }
.step p { color: var(--text-light); font-size: 14px; }
.step-arrow {
  color: var(--blue);
  font-size: 22px;
  margin-top: 64px;
  flex-shrink: 0;
  opacity: .4;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials { background: var(--bg-dark); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 32px 28px;
  color: #c5d4e8;
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
}
.testimonial-author {
  margin-top: 20px;
  font-style: normal;
}
.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 14px;
}
.testimonial-author span { font-size: 13px; opacity: .65; }

/* =====================
   PARTNERS
   ===================== */
.partners { background: var(--white); }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.partner-logo {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 36px;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  letter-spacing: .5px;
  transition: box-shadow .2s;
}
.partner-logo:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* =====================
   CONTACT
   ===================== */
.contact { background: var(--blue); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-top: 8px;
}
.contact-block { margin-bottom: 28px; }
.contact-block h3 { color: var(--white); font-size: 16px; margin-bottom: 6px; }
.contact-block h3 i { color: var(--accent); margin-right: 8px; }
.contact-block p { color: #c5d4e8; font-size: 14px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.contact-form select option { color: var(--text); background: var(--white); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row input { margin-bottom: 0; }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: #0f1e32; color: #adbbd0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 56px 24px;
}
.footer-logo { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #adbbd0; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: background .2s;
}
.social-links a:hover { background: var(--accent); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

.footer-bottom {
  background: #091320;
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: #5a7090;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-radius: 6px;
    padding: 12px;
    min-width: 200px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 10px 16px; display: block; }

  .hero { height: 460px; }
  .slide-content h1 { font-size: 26px; }
  .slide-content p { font-size: 15px; }

  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-text { order: 1; }
  .two-col.reverse .col-image { order: 2; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { display: none; }
  .section-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .top-contact span:last-child { display: none; }
  .slide-content h1 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
}
