@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --secondary: #f97316;
  --accent: #22c55e;
  --accent-pink: #ec4899;
  --bg-page: #0f172a;
  --bg-section: #f9fafb;
  --bg-alt: #eef2ff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --card-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* GLOBAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.14), transparent 55%),
    #0b1120;
}

/* Simple container helper for pages that don't use Bootstrap .container */
.page-container {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}

/* MAIN PAGE HEADER (Sicotechfinal) */

header {
  position: static;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

header nav {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo a img {
  height: 150px;
}
.logo img {
	height: 150px
}
/* If you have nav links in main page */
header ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

header ul li a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}

header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent-pink));
  transition: width 0.25s ease-out;
}

header ul li a:hover::after {
  width: 100%;
}

/* HERO (main & service pages share this) */

.hero {
  padding: 90px 20px 80px;
  text-align: center;
  color: #f9fafb;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.4), transparent 60%),
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.45), transparent 55%),
    linear-gradient(135deg, #0f172a, #111827);
}

.hero .page-container,
.hero .container {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  font-size: 1rem;
  color: #e5e7eb;
}

/* MAIN PAGE – SERVICES GRID */

.services {
  padding: 70px 20px 80px;
}

.services .page-container {
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: #f9fafb;
  margin-bottom: 12px;
}

.services > .page-container > p {
  color: #cbd5f5;
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 0.98rem;
}

/* service boxes – used on main page */

.service-link {
  text-decoration: none;
  color: inherit;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
	align-items: stretch;
}




.service-box {
  border-radius: 24px;
  padding: 22px 20px;
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.85), rgba(226, 232, 240, 0.9));
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.3s ease-out;

  height: 100%;              /* Fill vertically */
  display: flex;             /* Make content align inside */
  flex-direction: column;    /* Stack text properly */
  justify-content: space-between;
}



.service-box::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.service-box-inner {
  position: relative;
  z-index: 1;
}

.service-box h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: #111827;
}

.service-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  background: radial-gradient(circle at top left, #eff6ff, #fdf2ff);
}

.service-box:hover::before {
  opacity: 1;
}

/* ABOUT + CONTACT on main page */

.about,
.contact {
  padding: 70px 20px;
}

.about .page-container,
.contact .page-container {
  text-align: center;
  max-width: 750px;
}

.about h2,
.contact h2 {
  color: #f9fafb;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.about p,
.contact p {
  color: #cbd5f5;
  font-size: 0.98rem;
}

/* FOOTER – shared */

footer {
  margin-top: 40px;
  padding: 18px 20px;
  text-align: center;
  color: #cbd5f5;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
              #020617;
  font-size: 0.85rem;
}

/* SERVICE PAGES – LOGO & SECTION WRAPS */

.logo {
  width: min(1100px, 100% - 40px);
  margin: 18px auto 5px;
}

.logo div img {
  height: 70px;
}

/* section wrappers on service pages */

.service-details,
.offer-section,
.survey-section {
  width: min(1100px, 100% - 40px);
  margin: 40px auto 0;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 26px;
  padding: 32px 26px 30px;
  box-shadow: var(--card-shadow);
  color: #e5e7eb;
}

/* SERVICE DETAILS (text paragraphs on side pages) */

.service-details h2 {
  margin-top: 0;
  font-size: 1.7rem;
  color: #e0f2fe;
}

.service-details p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #cbd5f5;
}

/* OFFER SECTION – icon grid, etc. */

.offer-section h3 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #a5b4fc;
}

.offer-section h2 {
  margin: 8px 0 6px;
  font-size: 1.6rem;
  color: #e0f2fe;
}

.offer-subtitle {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.offer-box {
  margin-top: 18px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.offer-item {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(236, 72, 153, 0.18));
  border-radius: 20px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

.offer-item h4 {
  margin: 0;
  font-size: 1rem;
  color: #f9fafb;
}

.offer-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* SURVEY FORMS – shared across all service pages */

.survey-section h2 {
  margin-top: 0;
  text-align: center;
  font-size: 1.7rem;
  color: #e0f2fe;
}

.survey-section p {
  text-align: center;
  color: #cbd5f5;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto 18px;
}

.survey-form {
  max-width: 720px;
  margin: 26px auto 0;
  background: #020617;
  background-image:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.3), transparent 55%);
  border-radius: 26px;
  padding: 26px 24px 26px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.survey-form h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #f9fafb;
  margin-bottom: 10px;
}

/* Form fields */

.survey-form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.survey-form input,
.survey-form select,
.survey-form textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.survey-form textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 100px;
  padding-top: 10px;
}

.survey-form input::placeholder,
.survey-form textarea::placeholder {
  color: #9ca3af;
}

.survey-form input:focus,
.survey-form select:focus,
.survey-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
  background: #020617;
}

/* Submit button */

.btn-submit,
.survey-form button[type="submit"] {
  margin-top: 18px;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #0b1120;
  background: linear-gradient(135deg, #f97316, #eab308);
  box-shadow: 0 18px 35px rgba(248, 181, 0, 0.4);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, filter 0.18s ease-out;
}

.btn-submit:hover,
.survey-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(248, 181, 0, 0.6);
  filter: brightness(1.05);
}

/* Back button */

.back-btn-container {
  width: min(1100px, 100% - 40px);
  margin: 10px auto 0;
  padding-bottom: 10px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  color: #0b1120;
  background: linear-gradient(135deg, #22c55e, #a3e635);
  box-shadow: 0 15px 28px rgba(34, 197, 94, 0.45);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, filter 0.18s ease-out;
}

.back-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.6);
  filter: brightness(1.02);
}

/* Small responsive tweaks */

@media (max-width: 768px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-details,
  .offer-section,
  .survey-section {
    padding: 22px 18px 24px;
  }

  .survey-form {
    padding: 22px 18px;
  }

  .logo {
    margin-top: 12px;
  }
}
/* ==== MOBILE FIXES ==== */
@media (max-width: 768px) {

  /* make the main wrapper a bit wider on mobile */
  .page-container {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  /* header: stack logo + menu nicely */
  header nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header ul {
    gap: 14px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* hero text smaller + tighter */
  .hero {
    padding: 60px 16px 50px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  /* services: ONE card per row on phone */
  .service-grid {
    grid-template-columns: 1fr;   /* from 3 columns → 1 */
    gap: 16px;
  }

  .service-box {
    text-align: center;
  }

  /* sections less padding */
  .services {
    padding: 40px 16px 50px;
  }

  .about,
  .contact {
    padding: 40px 16px;
  }
}
.contact a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}
