/* ============================================================
   Selenium Master LLC – Static Site Styles
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a2740;
  background: #fff;
}

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

/* ---------- Utility ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border: 2px solid transparent;
}
.btn-primary { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.btn-primary:hover { background: #357abd; border-color: #357abd; }
.btn-outline { background: transparent; color: #4a90d9; border-color: #4a90d9; }
.btn-outline:hover { background: #4a90d9; color: #fff; }
.btn-white { background: #fff; color: #1a2740; border-color: #fff; }
.btn-white:hover { background: #e8f0fe; border-color: #e8f0fe; }

.text-center { text-align: center; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2740;
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 40px;
}
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }
.bg-light { background: #f4f7fb; }
.bg-dark { background: #1a2740; color: #fff; }
.bg-dark .section-title { color: #fff; }
.bg-dark .section-subtitle { color: #a0b4cc; }
.divider { width: 60px; height: 4px; background: #4a90d9; margin: 0 auto 24px; border-radius: 2px; }
.divider-left { margin: 0 0 24px; }

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a2740;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.logo-text span { color: #4a90d9; }
.logo-sub {
  font-size: 0.7rem;
  color: #a0b4cc;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: #c8d8ea;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: #fff; background: rgba(74,144,217,0.2); }

/* Dropdown */
.has-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 999;
  overflow: hidden;
}
.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: #1a2740;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid #f0f4f8;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: #f0f7ff; color: #4a90d9; }
.has-dropdown:hover .dropdown { display: block; }

/* Social icons in header */
.header-social { display: flex; gap: 10px; margin-left: 16px; }
.header-social a {
  color: #a0b4cc;
  font-size: 0.8rem;
  padding: 6px 10px;
  border: 1px solid #2d4a7a;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.header-social a:hover { color: #fff; border-color: #4a90d9; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2740 0%, #2d4a7a 60%, #1a3a5c 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}
.hero-tag {
  display: inline-block;
  background: rgba(74,144,217,0.25);
  color: #7ab8f0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(74,144,217,0.4);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: #4a90d9; }
.hero p {
  font-size: 1.15rem;
  color: #c0d4e8;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero for inner pages */
.hero-inner {
  min-height: 320px;
  padding: 80px 0 60px;
}
.hero-inner h1 { font-size: 2.4rem; }
.breadcrumb { color: #7ab8f0; font-size: 0.9rem; margin-bottom: 12px; }
.breadcrumb a { color: #7ab8f0; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(26,39,64,0.08);
  border-top: 4px solid #4a90d9;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(26,39,64,0.14); }
.service-icon {
  width: 52px; height: 52px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: #1a2740; }
.service-card p { color: #4a5568; font-size: 0.95rem; margin-bottom: 20px; }
.service-card a { color: #4a90d9; font-weight: 600; font-size: 0.9rem; }
.service-card a:hover { text-decoration: underline; }

/* ---------- Stats / Counter ---------- */
.stats-bar {
  background: #4a90d9;
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat-item p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Why Us (numbered) ---------- */
.why-list { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.why-item { display: flex; gap: 24px; align-items: flex-start; }
.why-num {
  min-width: 56px; height: 56px;
  background: #4a90d9;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}
.why-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.why-body p { color: #4a5568; }

/* ---------- Clients Logos ---------- */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}
.logos-grid img {
  max-height: 80px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(60%);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}
.logos-grid img:hover { filter: grayscale(0%); opacity: 1; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.industry-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(26,39,64,0.08);
  border-left: 4px solid #4a90d9;
}
.industry-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #1a2740; }
.industry-card ul { padding-left: 0; }
.industry-card ul li {
  position: relative;
  padding-left: 18px;
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.industry-card ul li::before { content: '•'; position: absolute; left: 0; color: #4a90d9; font-weight: 700; }

/* ---------- Project / Pricing ---------- */
.approach-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.approach-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #e8eef6;
}
.approach-step:last-child { border-bottom: none; }
.step-num {
  min-width: 48px; height: 48px;
  background: linear-gradient(135deg, #4a90d9, #2d6fb5);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: #4a5568; font-size: 0.95rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(26,39,64,0.1);
  text-align: center;
  position: relative;
  border: 2px solid #e8eef6;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover { border-color: #4a90d9; transform: translateY(-4px); }
.pricing-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #4a90d9;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.pricing-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #1a2740; margin-top: 10px; }
.pricing-card p { color: #4a5568; font-size: 0.9rem; margin-bottom: 20px; }
.pricing-rate { font-size: 1.3rem; font-weight: 800; color: #4a90d9; }

/* ---------- Global Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.team-card { text-align: center; }
.team-card img { border-radius: 12px; margin-bottom: 16px; max-height: 180px; width: 100%; object-fit: cover; }
.team-card h3 { font-size: 2rem; font-weight: 800; color: #4a90d9; }
.team-card p { font-size: 0.9rem; color: #4a5568; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Jobs ---------- */
.skill-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.skill-block {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(26,39,64,0.08);
}
.skill-block-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #4a90d9;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.skill-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.skill-block ul { padding-left: 0; }
.skill-block ul li {
  padding-left: 18px;
  position: relative;
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.skill-block ul li::before { content: '•'; position: absolute; left: 0; color: #4a90d9; font-weight: 700; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6fb5 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-banner p { color: #c0d4e8; margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- Contact / Footer ---------- */
.footer-contact { background: #1a2740; padding: 64px 0 0; color: #c8d8ea; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-contact h2 { color: #fff; font-size: 1.6rem; margin-bottom: 24px; }
.contact-info { margin-bottom: 24px; font-size: 0.95rem; }
.contact-info p { margin-bottom: 10px; }
.contact-info strong { color: #fff; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #2d4a7a;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6d8aaa; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: #4a90d9; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select option { background: #1a2740; }
.contact-form .btn { align-self: flex-start; }

/* Footer Bottom */
.footer-bottom {
  background: #11192d;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; }
.footer-bottom p { color: #6d8aaa; font-size: 0.85rem; }
.footer-links-list { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links-list a { color: #6d8aaa; font-size: 0.85rem; transition: color 0.2s; }
.footer-links-list a:hover { color: #4a90d9; }

/* ---------- Forms (project-request / job-application) ---------- */
.form-page-wrap { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 30px rgba(26,39,64,0.1); padding: 48px 40px; }
.form-page-wrap h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.form-page-wrap p { color: #4a5568; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: #1a2740; }
.form-group label .req { color: #e53e3e; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1dce8;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a2740;
  background: #f8f9fb;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #4a90d9; box-shadow: 0 0 0 3px rgba(74,144,217,0.15); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group .hint { font-size: 0.8rem; color: #718096; margin-top: 4px; }
.form-success { display: none; text-align: center; padding: 32px; background: #f0f9f4; border-radius: 8px; border: 1px solid #c3e6d8; color: #276749; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* ---------- Back Link ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #4a90d9; font-weight: 600; font-size: 0.9rem; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }

/* ---------- Bullet Lists ---------- */
.bullet-list { padding-left: 0; }
.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.bullet-list li::before { content: '▶'; position: absolute; left: 0; color: #4a90d9; font-size: 0.65rem; top: 5px; }
.bullet-list.white li { color: #c8d8ea; }
.bullet-list.white li::before { color: #7ab8f0; }

/* ---------- Two-col layout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: 12px; }

/* ---------- Tag list ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  background: #e8f0fe;
  color: #2d5fa0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .header-social { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: #1a2740; padding: 20px; gap: 0; z-index: 999; }
  .nav-links.open > li > a { padding: 14px 16px; border-bottom: 1px solid #2d4a7a; }
  .dropdown { position: static; box-shadow: none; background: #253655; border-radius: 0; }
  .dropdown li a { padding-left: 36px; color: #c8d8ea; background: transparent; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .form-two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section-title { font-size: 1.6rem; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.8rem; }
  .form-page-wrap { padding: 28px 20px; }
}
