/* =========================================================
   CodeShop Technologies — Modern Theme (Bootstrap 5 add-on)
   ========================================================= */

:root {
  /* Brand palette — sampled from CodeShop logo */
  --cs-primary:        #000656;   /* logo blue */
  --cs-primary-700:    #02034a;   /* darker — for hover / footer */
  --cs-primary-500:    #1a2080;   /* lifted — for highlights */
  --cs-primary-100:    #e6e7f1;   /* very light tint — for icon backgrounds */

  --cs-accent:         #018a1a;   /* logo green */
  --cs-accent-700:     #016a14;   /* darker — for hover */
  --cs-accent-100:     #e3f4e6;   /* very light tint — for icon backgrounds */

  --cs-dark:           #02034a;   /* same as primary-700 — used for footer/headings */
  --cs-muted:          #64748b;
  --cs-bg-soft:        #f5f7fb;
  --cs-border:         #e2e8f0;

  --cs-shadow-sm: 0 4px 12px rgba(0, 6, 86, .06);
  --cs-shadow-md: 0 10px 30px rgba(0, 6, 86, .10);
  --cs-radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cs-dark);
}

.text-muted-cs    { color: var(--cs-muted)   !important; }
.text-cs-primary  { color: var(--cs-primary) !important; }
.text-cs-accent   { color: var(--cs-accent)  !important; }
.bg-cs-soft       { background-color: var(--cs-bg-soft) !important; }

/* ---------- Navbar ---------- */
.cs-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--cs-border);
}
.cs-navbar .navbar-brand img { height: 40px; width: auto; }
.cs-navbar .nav-link {
  font-weight: 500;
  color: #334155;
  padding: .5rem 1rem;
}
.cs-navbar .nav-link:hover,
.cs-navbar .nav-link.active { color: var(--cs-primary); }

/* ---------- Buttons ---------- */
.btn-cs-primary {
  background: var(--cs-primary);
  color: #fff;
  border: none;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all .2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-cs-primary:hover {
  background: var(--cs-primary-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--cs-shadow-md);
}
.btn-cs-accent {
  background: var(--cs-accent);
  color: #fff;
  border: none;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all .2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-cs-accent:hover {
  background: var(--cs-accent-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--cs-shadow-md);
}
.btn-cs-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: .65rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all .2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-cs-outline:hover {
  background: #fff;
  color: var(--cs-primary);
}

/* ---------- Hero Carousel ---------- */
.cs-hero-carousel { position: relative; width: 100%; }

.cs-hero-slide {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 8rem 0 5rem; /* offsets fixed navbar */
}
.cs-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,.92) 0%, rgba(102,16,242,.85) 100%);
  z-index: 1;
}
.cs-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(255,255,255,.15), transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(255,255,255,.08), transparent 45%);
  z-index: 2;
  pointer-events: none;
}
.cs-hero-slide > .container { position: relative; z-index: 3; }

/* Slide variations — only brand blue + green */
.cs-hero-slide.slide-1::before {
  /* deep brand blue, slight lift */
  background: linear-gradient(135deg, rgba(0,6,86,.96) 0%, rgba(26,32,128,.92) 100%);
}
.cs-hero-slide.slide-2::before {
  /* brand blue → brand green */
  background: linear-gradient(135deg, rgba(0,6,86,.94) 0%, rgba(1,138,26,.88) 100%);
}
.cs-hero-slide.slide-3::before {
  /* brand green → deep brand blue */
  background: linear-gradient(135deg, rgba(1,138,26,.90) 0%, rgba(0,6,86,.95) 100%);
}

.cs-hero-slide h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
}
.cs-hero-slide .lead {
  color: rgba(255,255,255,.92);
  font-size: 1.15rem;
  max-width: 560px;
}
.cs-hero-slide .badge.bg-light { font-weight: 600; }

/* Carousel controls + indicators */
.cs-hero-carousel .carousel-control-prev,
.cs-hero-carousel .carousel-control-next {
  width: 6%;
  opacity: .65;
  z-index: 5;
}
.cs-hero-carousel .carousel-control-prev:hover,
.cs-hero-carousel .carousel-control-next:hover { opacity: 1; }
.cs-hero-carousel .carousel-control-prev-icon,
.cs-hero-carousel .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-size: 60% 60%;
  background-color: rgba(0,0,0,.25);
  border-radius: 50%;
  padding: 1rem;
}
.cs-hero-carousel .carousel-indicators {
  margin-bottom: 2rem;
  z-index: 5;
}
.cs-hero-carousel .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255,255,255,.5);
  border: none;
  transition: all .25s ease;
}
.cs-hero-carousel .carousel-indicators .active {
  background-color: #fff;
  width: 48px;
}

@media (max-width: 767.98px) {
  .cs-hero-slide { min-height: 80vh; padding: 7rem 0 4rem; text-align: center; }
  .cs-hero-slide .lead { margin-left: auto; margin-right: auto; }
  .cs-hero-carousel .carousel-control-prev,
  .cs-hero-carousel .carousel-control-next { display: none; }
}

/* ---------- Section ---------- */
.cs-section { padding: 5rem 0; }
.cs-section-soft { background-color: var(--cs-bg-soft); }
.cs-section-title { margin-bottom: 3rem; }
.cs-section-title .eyebrow {
  color: var(--cs-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  margin-bottom: .5rem;
}
.cs-section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.cs-section-title .divider {
  width: 60px;
  height: 4px;
  background: var(--cs-primary);
  border-radius: 4px;
  margin: 1rem auto 0;
}

/* ---------- Feature cards ---------- */
.cs-feature {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 2rem;
  height: 100%;
  transition: all .25s ease;
}
.cs-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--cs-shadow-md);
  border-color: transparent;
}
.cs-feature .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--cs-primary-100);
  color: var(--cs-primary);
}
.cs-feature h4 { font-size: 1.15rem; margin-bottom: .75rem; }
.cs-feature p { color: var(--cs-muted); margin-bottom: 0; font-size: .95rem; }

/* Two-tone icon system — only brand blue or brand green */
.icon-tone-primary { background: var(--cs-primary-100); color: var(--cs-primary); }
.icon-tone-accent  { background: var(--cs-accent-100);  color: var(--cs-accent);  }

/* ---------- Stats ---------- */
.cs-stat {
  text-align: center;
  padding: 1.5rem;
}
.cs-stat .num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--cs-primary);
  line-height: 1;
  display: block;
}
.cs-stat .label {
  color: var(--cs-muted);
  margin-top: .5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
}

/* ---------- About ---------- */
.cs-about-img {
  border-radius: var(--cs-radius);
  box-shadow: var(--cs-shadow-md);
}
.cs-checklist { list-style: none; padding: 0; }
.cs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  color: #334155;
}
.cs-checklist i {
  color: var(--cs-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* Stats: blue numbers; small accent underline */
.cs-stat .num { color: var(--cs-primary); }

/* ---------- Process / steps ---------- */
.cs-step {
  background: #fff;
  border-radius: var(--cs-radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--cs-border);
  position: relative;
}
.cs-step .step-num {
  position: absolute;
  top: -16px; left: 24px;
  background: var(--cs-accent);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cs-shadow-sm);
}
.cs-step h5 { margin: .5rem 0 .5rem; }
.cs-step p { color: var(--cs-muted); margin-bottom: 0; font-size: .95rem; }

/* ---------- CTA Band ---------- */
.cs-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--cs-radius);
  padding: 3rem;
}
.cs-cta h3 { color: #fff; }

/* ---------- Contact ---------- */
.cs-info-card {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all .2s ease;
  height: 100%;
}
.cs-info-card:hover { box-shadow: var(--cs-shadow-md); border-color: transparent; }
.cs-info-card .icon-circle { flex-shrink: 0; margin-bottom: 0; }
.cs-info-card h5 { margin-bottom: .25rem; font-size: 1rem; }
.cs-info-card p { margin: 0; color: var(--cs-muted); font-size: .95rem; }

.cs-form .form-control {
  border: 1px solid var(--cs-border);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-size: .95rem;
}
.cs-form .form-control:focus,
.cs-form .form-select:focus {
  border-color: var(--cs-primary);
  box-shadow: 0 0 0 .2rem rgba(0, 6, 86, .15);
}

/* ---------- Footer ---------- */
.cs-footer {
  background: var(--cs-dark);
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}
.cs-footer h5 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.cs-footer a { color: #cbd5e1; text-decoration: none; transition: color .15s; }
.cs-footer a:hover { color: #fff; }
.cs-footer ul { list-style: none; padding: 0; }
.cs-footer ul li { margin-bottom: .6rem; }
.cs-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-right: .5rem;
  transition: all .2s ease;
}
.cs-footer .social-icons a:hover {
  background: var(--cs-primary);
  color: #fff;
  transform: translateY(-2px);
}
.cs-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: .9rem;
}

/* Scroll to top */
.cs-scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cs-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--cs-shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 1000;
  text-decoration: none;
}
.cs-scroll-top:hover { background: var(--cs-primary-500); color: #fff; }
.cs-scroll-top.show { opacity: 1; visibility: visible; }

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .cs-hero { padding: 4rem 0 3rem; text-align: center; }
  .cs-section { padding: 3.5rem 0; }
  .cs-cta { padding: 2rem; text-align: center; }
}
