/* =============================
   KRIYATEEV BPO - GLOBAL STYLES
   ============================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a56db;
  --blue-dark:  #1342a8;
  --blue-light: #eff6ff;
  --accent:     #f59e0b;
  --text:       #1e293b;
  --muted:      #64748b;
  --light-bg:   #f8fafc;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }

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

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue-light); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
}
.btn-nav:hover { background: var(--blue-dark); }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }
.logo-white { color: var(--white); }
.logo-white span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0f2e6e 0%, #1a56db 60%, #2563eb 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero-inner { max-width: 780px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-meta {
  font-size: 14px !important;
  opacity: 0.75 !important;
  margin-bottom: 32px !important;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0f2e6e 0%, #1a56db 100%);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 17px;
  opacity: 0.88;
  max-width: 580px;
  margin: 0 auto 24px;
}
.page-hero .hero-meta {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 28px;
}

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.bg-light { background: var(--light-bg); }

.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 48px;
}

.section-cta { margin-top: 40px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- CARDS GRID ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

.card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p { font-size: 15px; color: var(--muted); }

/* ---- TWO COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.check-list { margin-bottom: 24px; }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.visual-box {
  background: linear-gradient(135deg, #1a56db 0%, #0f2e6e 100%);
  border-radius: 16px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 72px;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-size: 16px;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 16px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, #0f2e6e 0%, #1a56db 100%);
  color: var(--white);
  padding: 72px 0;
}
.cta-banner h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 17px;
  opacity: 0.88;
  margin-bottom: 32px;
}

/* ---- VALUES ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---- MISSION/VISION ---- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.mv-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 12px;
}
.mv-card p { font-size: 16px; color: var(--muted); }

/* ---- SERVICES ---- */
.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: transform var(--transition);
}
.service-block:hover { transform: translateY(-3px); }
.service-icon {
  font-size: 40px;
  width: 72px; height: 72px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-block p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.service-block ul { padding-left: 18px; list-style: disc; }
.service-block ul li { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.service-result {
  margin-top: 14px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
}

/* ---- WHY TABLE ---- */
.why-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-table thead { background: var(--blue); color: var(--white); }
.why-table th, .why-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 15px;
}
.why-table tbody tr:nth-child(even) { background: var(--light-bg); }
.why-table tbody tr:hover { background: var(--blue-light); }
.why-table td:first-child { font-weight: 600; }

/* ---- CAREERS ---- */
.job-card {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(26,86,219,0.1);
}
.job-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}
.job-section { margin-bottom: 28px; }
.job-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.job-section ul { padding-left: 20px; list-style: disc; }
.job-section ul li { color: var(--muted); font-size: 15px; margin-bottom: 6px; }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.perk {
  background: var(--blue-light);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.perk .perk-icon { font-size: 24px; margin-bottom: 8px; }
.perk p { font-size: 14px; font-weight: 600; color: var(--blue); }

.apply-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  font-size: 15px;
  color: var(--muted);
}
.apply-box p { margin-bottom: 8px; }
.apply-box strong { color: var(--text); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }

.contact-form { margin-top: 48px; }
.contact-form h2 { margin-bottom: 32px; }
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  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: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.office-info {
  margin-top: 48px;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.office-detail h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.office-detail p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }

/* ---- FOOTER ---- */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }

  .two-col, .mv-grid, .contact-grid, .office-info { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .visual-box { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0; }
  .section { padding: 56px 0; }
}
