/* ============================================================
   CyberClick — Complete redesign
   Dark navy / electric blue / clean white
   ============================================================ */
:root {
  --navy: #0A1628;
  --navy-mid: #0F2744;
  --blue: #1565C0;
  --blue-bright: #1E88E5;
  --blue-deep: #0D47A1;
  --text: #1A2332;
  --text-muted: #5A6A7E;
  --bg: #F4F7FB;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 10px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header ---------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(10,22,40,0.04);
}

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

.logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover { color: var(--blue-bright); }

.btn-nav {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-nav:hover {
  background: var(--navy);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--blue-bright);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,136,229,0.3);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid #CBD5E1;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: #F8FAFC;
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover { background: var(--bg); }

/* ---------- Hero ---------- */
section.hero {
  padding: 0;
  background: #F4F7FB;
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  background: #F4F7FB;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  padding: 56px 0 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.hero-copy h1 {
  color: var(--navy);
}

.hero-copy .hero-pillars {
  max-width: 100%;
}

/* Image as contained background panel — not full page */
.hero-visual {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: #0A1628;
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.14);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 72px 0 64px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: #94A3B8;
  font-size: 1.15rem;
  max-width: 560px;
}

.page-hero .btn {
  margin-top: 24px;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
}

.card:hover {
  border-color: #BBD4F0;
  box-shadow: 0 12px 32px rgba(10,22,40,0.08);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  background: #E8F1FB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--blue);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.process-step { text-align: center; padding: 12px; }

.process-number {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 12px;
  box-shadow: 0 4px 14px rgba(10,22,40,0.25);
}

.process-step h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(10,22,40,0.1);
}

.feature-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image:hover img { transform: scale(1.03); }

.feature-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.feature-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 1.02rem;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s;
}

.why-item:hover { border-color: #BBD4F0; }

.why-item h3 {
  font-size: 1.05rem;
  color: var(--blue-bright);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Lists ---------- */
.check-list {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
}

.check-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  font-size: 1.02rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 700;
}

/* ---------- Content (service pages) ---------- */
.content-section { padding: 56px 0; }

.content-section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 14px;
}

.content-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.content-section ul {
  list-style: none;
  margin: 16px 0;
}

.content-section ul li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--text);
}

.content-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 600;
}

.service-hero-image {
  background: var(--bg);
  padding: 0 0 12px;
  margin-top: -12px;
}

.service-hero-image .container { max-width: 960px; }

.service-hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(10,22,40,0.12);
}

/* ---------- Industry cards ---------- */
.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.industry-card:hover {
  box-shadow: 0 12px 32px rgba(10,22,40,0.08);
  transform: translateY(-3px);
}

.industry-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.industry-card:hover img { transform: scale(1.05); }

.industry-card-body { padding: 22px; }

.industry-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-band p {
  color: #94A3B8;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
}

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

.contact-card {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
}

.contact-card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-card p {
  color: #94A3B8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 56px 0 28px;
}

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

.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  margin-bottom: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.acknowledgement {
  border-top: 1px solid #1A3A5C;
  padding: 28px 0 8px;
  margin-top: 12px;
}

.acknowledgement p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #9CA3AF;
  margin: 0;
  max-width: 820px;
}

.footer-bottom {
  border-top: 1px solid #1A3A5C;
  padding-top: 20px;
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 40px;
  }
  .hero-visual {
    order: -1;
    min-height: 260px;
  }
  .hero-visual img {
    min-height: 260px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 36px;
  }
  .hero-visual {
    order: -1;
    min-height: 220px;
  }
  .hero-visual img { min-height: 220px; }

  nav { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-pillars { flex-direction: column; gap: 16px; }
  .hero-pillar {
    border-right: none;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(10,22,40,0.08);
  }
  .hero-pillar:last-child { border-bottom: none; }
  .service-hero-image img { height: 190px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .logo img { height: 40px; max-width: 180px; }
  .header-inner { height: 64px; }
}

.hero-copy .hero-pillars {
  max-width: 100%;
}
.hero-copy h1 {
  color: var(--navy);
}


/* ========== Dynamic enhancements ========== */
html { scroll-behavior: smooth; }

.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #1E88E5, #0D47A1);
  transition: height 0.3s ease;
}

.card:hover::after {
  height: 100%;
}

.card-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.08);
  background: #D6E8FA;
}

.process-number {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.35);
}

.why-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.08);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.4);
}

.hero-visual {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10, 22, 40, 0.2);
}

.hero-visual img {
  transition: transform 0.6s ease;
}

.hero-visual:hover img {
  transform: scale(1.04);
}

.section-label {
  position: relative;
  display: inline-block;
  width: 100%;
}

.industry-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,136,229,0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.service-hero-image img {
  transition: transform 0.5s ease;
}

.service-hero-image:hover img {
  transform: scale(1.02);
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,136,229,0.15) 0%, transparent 70%);
  top: -180px;
  right: -100px;
  pointer-events: none;
}

/* Subtle entrance feel via opacity on key blocks */
.cards-grid .card,
.why-grid .why-item,
.process-step {
  animation: fadeUp 0.5s ease both;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.02s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.05s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.08s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.11s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.14s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.17s; }
.cards-grid .card:nth-child(7) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(8) { animation-delay: 0.23s; }
.cards-grid .card:nth-child(9) { animation-delay: 0.26s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ack-mark {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  opacity: 0.9;
}
@media (max-width: 600px) {
  .acknowledgement { flex-direction: column; align-items: flex-start; }
}
