/* Balaji Telecom — brand styles */
:root {
  --navy: #0c3566;
  --navy-deep: #072447;
  --navy-mid: #134a86;
  --orange: #ef5a22;
  --orange-hot: #d94a14;
  --blue: #1b7cc4;
  --sky: #e8f3fb;
  --mist: #f4f7fb;
  --paper: #ffffff;
  --ink: #122033;
  --muted: #5a6778;
  --line: #dce6f0;
  --ok: #12805c;
  --danger: #c0392b;
  --shadow: 0 18px 50px rgba(12, 53, 102, 0.12);
  --radius: 18px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Figtree, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: Sora, Figtree, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: #d7e6f5;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}

.topbar a:hover {
  color: #fff;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header.open .nav,
.header.open .header-actions {
  display: flex;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a,
.nav .drop-btn {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav a:hover,
.nav .drop-btn:hover,
.nav a.active {
  background: var(--sky);
  color: var(--navy-deep);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-lg {
  padding: 14px 22px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(239, 90, 34, 0.18), transparent 50%),
    radial-gradient(700px 400px at 0% 100%, rgba(27, 124, 196, 0.16), transparent 50%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 53, 102, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(#000, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--navy-deep);
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--navy);
  font-weight: 700;
}

.hero-meta span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.hero-meta strong {
  font-size: 22px;
  color: var(--navy-deep);
  font-family: Sora, sans-serif;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.service-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--mist);
}

.chip .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  flex-shrink: 0;
}

.chip b {
  display: block;
  font-size: 13px;
}

.chip small {
  color: var(--muted);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--mist);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy-deep);
}

.muted {
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--sky);
  color: var(--navy);
}

.icon-box.orange {
  background: #ffece5;
  color: var(--orange);
}

.card h3 {
  font-size: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: 12px;
  box-shadow: inset 0 0 0 4px #ffece5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.panel {
  background: var(--navy-deep);
  color: #dbe8f6;
  border-radius: 28px;
  padding: 36px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.panel h2,
.panel h3 {
  color: #fff;
}

.panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.2;
  right: -60px;
  bottom: -60px;
}

.steps {
  counter-reset: step;
}

.steps article {
  counter-increment: step;
}

.steps article h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--orange);
  font-size: 13px;
  margin-bottom: 6px;
}

.cta {
  background:
    linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.form {
  display: grid;
  gap: 12px;
}

.form.two {
  grid-template-columns: 1fr 1fr;
}

.form label {
  font-weight: 700;
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(27, 124, 196, 0.35);
  border-color: var(--blue);
}

.full {
  grid-column: 1 / -1;
}

.page-hero {
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(239, 90, 34, 0.2), transparent),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 64px 0 56px;
}

.page-hero h1 {
  color: #fff;
}

.breadcrumbs {
  opacity: 0.8;
  font-size: 14px;
  margin-bottom: 10px;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.info-tile {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-tile b {
  display: block;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background:
    radial-gradient(500px 300px at 20% 20%, rgba(239, 90, 34, 0.35), transparent),
    linear-gradient(160deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-visual h1 {
  color: #fff;
  font-size: 42px;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: var(--mist);
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--mist);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}

.tabs button.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(12, 53, 102, 0.08);
}

.alert {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.alert.show {
  display: block;
}

.alert.ok {
  background: #e8f8f1;
  color: var(--ok);
}

.alert.err {
  background: #fdecea;
  color: var(--danger);
}

.alert.info {
  background: var(--sky);
  color: var(--navy);
}

.check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

#captcha-q {
  font-weight: 600;
  color: var(--navy);
}

.legal {
  max-width: 860px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 28px;
}

.legal ol {
  padding-left: 18px;
}

footer {
  background: var(--navy-deep);
  color: #c9d8e8;
  padding: 56px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

footer h3 {
  color: #fff;
  font-size: 16px;
}

footer a:hover {
  color: #fff;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin: 8px 0;
}

.footer-logo {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  display: none;
  z-index: 80;
}

.toast.show {
  display: block;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-3,
  .grid-4,
  .form.two,
  .contact-grid,
  .auth-page,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .header.open .nav,
  .header.open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .header.open .header-inner {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
  }

  .hero-grid,
  .section {
    padding: 48px 0;
  }
}

@media (max-width: 640px) {
  .service-chips,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: none;
  }

  .logo img {
    height: 44px;
  }
}
