/* ============================
   LOGIHOST BRAND VARIABLES
   Keep these at the top always.
   Change a color here = changes everywhere.
   ============================ */
:root {
  --color-navy: #090e68; /* primary - headers, nav, buttons */
  --color-blue: #0280ce; /* accent - links, highlights, hovers */
  --color-grey: #929497; /* secondary text */
  --color-white: #ffffff;
  --color-light-bg: #f5f8fc; /* soft background for sections */

  --font-main: "Segoe UI", Arial, sans-serif;
}

/* Reset - removes browser default spacing so we control everything */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--color-blue);
}

img {
  max-width: 100%;
  display: block;
}

/* ============================
   LAYOUT HELPER
   ============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   HEADER
   ============================ */
.site-header {
  background-color: var(--color-white);
  border-bottom: 3px solid var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--color-blue);
}

/* ============================
   BUTTONS (reused everywhere)
   ============================ */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
}

.btn-login {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
}

.btn-login:hover {
  background-color: var(--color-blue);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background-color: var(--color-navy);
  color: #dcdde6;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 20px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #dcdde6;
}

.footer-col a:hover {
  color: var(--color-blue);
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-blue) 100%
  );
  overflow: hidden;
  padding: 80px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  color: var(--color-white);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #a6d2ee;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: #dfeff9;
  margin-bottom: 30px;
  max-width: 480px;
}

.domain-search {
  display: flex;
  max-width: 500px;
  margin-bottom: 20px;
}

.domain-search input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 15px;
  outline: none;
}

.btn-search {
  background-color: #ffffff;
  color: var(--color-navy);
  border-radius: 0 6px 6px 0;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn-search:hover {
  background-color: var(--color-light-bg);
}

.tld-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tld-list span {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.hero-graphic {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.shape-circle {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.shape-square {
  width: 200px;
  height: 200px;
  bottom: -80px;
  right: 10%;
  border-radius: 30px;
  transform: rotate(20deg);
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }
  .domain-search {
    flex-direction: column;
  }
  .domain-search input,
  .btn-search {
    border-radius: 6px;
    width: 100%;
  }
  .btn-search {
    margin-top: 10px;
  }
}

/* ============================
   SERVICE CATEGORIES
   ============================ */
.categories {
  padding: 80px 0;
  background-color: var(--color-light-bg);
}

.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: 32px;
  color: var(--color-navy);
}

.category-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 35px 30px;
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(9, 14, 104, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(9, 14, 104, 0.15);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-white);
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.icon-tech {
  background-color: var(--color-navy);
}

.icon-print {
  background-color: var(--color-blue);
}

.icon-marketing {
  background-color: var(--color-grey);
}

.category-card h3 {
  color: var(--color-navy);
  font-size: 21px;
  margin-bottom: 12px;
}

.category-card p {
  color: #555;
  font-size: 14px;
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  margin-bottom: 25px;
}

.check-list li {
  font-size: 14px;
  color: #333;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.check-list li::before {
  content: "✓";
  color: var(--color-blue);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.btn-card {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
}

.btn-card:hover {
  background-color: var(--color-blue);
}

/* Responsive: stack cards on smaller screens */
@media (max-width: 900px) {
  .category-grid {
    flex-direction: column;
    align-items: center;
  }
}

.quote-cta {
  background-color: var(--color-light-bg);
  border-radius: 12px;
  padding: 40px;
  margin: 50px 0;
}

.quote-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-cta h3 {
  color: var(--color-navy);
  font-size: 24px;
  margin-bottom: 8px;
}

.quote-cta p {
  color: #555;
  margin-bottom: 20px;
}

.quote-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #fff !important;
  cursor: pointer;
  border: none;
}

.btn-whatsapp {
  background-color: #25d366;
}
.btn-whatsapp:hover {
  background-color: #1ebc59;
}

.btn-call {
  background-color: var(--color-navy);
}
.btn-call:hover {
  background-color: var(--color-blue);
}

.quote-form {
  text-align: left;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
}

.quote-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.quote-form input,
.quote-form textarea {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.btn-quote-submit {
  background-color: var(--color-navy);
  width: 100%;
  margin-top: 5px;
}

.btn-quote-submit:hover {
  background-color: var(--color-blue);
}

@media (max-width: 600px) {
  .quote-form-row {
    flex-direction: column;
  }
}

/* ============================
   PAGE BANNER (category/service/sub-service headers)
   ============================ */
.page-banner {
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-blue) 100%
  );
  color: #fff;
  padding: 60px 0;
}

.page-banner h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.page-banner p {
  color: #dfeff9;
  max-width: 600px;
}

/* ============================
   SUB-SERVICE GALLERY
   ============================ */
.sub-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.sub-gallery-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
