/* ============================================================
   Truelove's Tech Solutions — Global Stylesheet
   Colors: Navy #0D2B5E · Teal #1B9FD8
   Font: Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0D2B5E;
  --navy-mid:  #163a7a;
  --teal:      #1B9FD8;
  --teal-dark: #1480b0;
  --white:     #FFFFFF;
  --light:     #F4F7FC;
  --text:      #1A1A2E;
  --muted:     #5C6880;
  --border:    #DDE3EF;
  --radius:    8px;
  --shadow:    0 2px 16px rgba(13,43,94,0.10);
  --shadow-lg: 0 8px 32px rgba(13,43,94,0.16);
  --max-w:     1100px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-white h1,
.text-white h2,
.text-white h3,
.text-white p,
.text-white li { color: #fff; }
.text-white p, .text-white li { color: rgba(255,255,255,0.82); }

/* ---- Layout helpers --------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.bg-navy  { background: var(--navy); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 48px; }
.section-header p { font-size: 1.05rem; max-width: 600px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,159,216,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---- NAV -------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 160px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 4px 8px;
  display: block;
}
.nav-logo-main {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active { border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #0a2150 0%, #0D2B5E 50%, #163a7a 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 40%, rgba(27,159,216,0.12) 0%, transparent 60%),
                    radial-gradient(circle at 20% 80%, rgba(27,159,216,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 680px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--teal); }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.12rem;
  margin-bottom: 36px;
  max-width: 560px;
}

/* ---- CREDIBILITY STRIP ------------------------------------ */
.cred-strip {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}
.cred-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-align: center;
}
.cred-strip-inner .dot { opacity: 0.4; }

/* ---- SERVICE CARDS (home pillars) ------------------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pillar-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.pillar-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.pillar-card p { font-size: 14px; flex: 1; }
.pillar-card .btn { margin-top: 20px; align-self: flex-start; }

/* ---- HOW IT WORKS ----------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 12px);
  right: calc(16.67% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  opacity: 0.2;
}
.step { text-align: center; }
.step-num {
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(27,159,216,0.4);
}
.step h3 { margin-bottom: 8px; }
.step p  { font-size: 14px; }

/* ---- TESTIMONIAL ------------------------------------------ */
.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 32px;
  font-size: 96px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.18;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.75;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-card cite::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--teal);
}

/* ---- CTA SECTION ------------------------------------------ */
.cta-section { text-align: center; padding: 80px 0; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 32px; font-size: 1.02rem; }

/* ---- PAGE HEADER ------------------------------------------ */
.page-header {
  background: linear-gradient(135deg, #0a2150 0%, #0D2B5E 100%);
  padding: 60px 0 56px;
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.page-header p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0; }

/* ---- SERVICES PAGE ---------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-info {}
.service-info .section-label { margin-top: 0; }
.service-info h2 { margin-bottom: 6px; font-size: 1.65rem; }
.service-info .tagline {
  font-size: 1.05rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
}
.service-info p { margin-bottom: 20px; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.service-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.service-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(27,159,216,0.12);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.pricing-box {
  background: var(--light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}
.service-visual {
  background: var(--light);
  border-radius: 14px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.service-icon-large {
  font-size: 80px;
  opacity: 0.25;
}

/* ---- ABOUT PAGE ------------------------------------------- */
.about-intro { font-size: 1.08rem; max-width: 700px; }
.about-intro p { color: var(--text); }
.about-bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
}
.about-photo {
  border-radius: 14px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.about-bio h2 { font-size: 1.7rem; margin-bottom: 6px; }
.about-bio .title-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-bio p { color: var(--text); }
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.fact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.fact-text strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.fact-text span { font-size: 12.5px; color: var(--muted); }

/* ---- CASE STUDIES ----------------------------------------- */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.case-study-header {
  background: var(--navy);
  padding: 28px 36px;
}
.case-study-header h2 { color: #fff; font-size: 1.3rem; line-height: 1.35; }
.case-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(27,159,216,0.2);
  color: #7fd4f5;
  letter-spacing: 0.04em;
}
.case-study-body {
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.case-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 12px;
}
.case-col ul { padding-left: 0; }
.case-col li {
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.case-col li::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.case-result {
  grid-column: 1 / -1;
  background: var(--light);
  border-radius: var(--radius);
  padding: 22px 26px;
  border-left: 4px solid var(--teal);
}
.case-result h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 10px;
}
.case-result p { color: var(--text); font-size: 14px; margin: 0; }

.placeholder-card {
  text-align: center;
  padding: 56px 36px;
  background: var(--light);
  border-radius: 14px;
  border: 2px dashed var(--border);
}
.placeholder-card p { margin-bottom: 20px; }

/* ---- CONTACT PAGE ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,159,216,0.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info { padding-top: 12px; }
.contact-info h3 { margin-bottom: 16px; font-size: 1.1rem; }
.contact-info p  { font-size: 14px; }
.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.contact-detail-text strong { display: block; font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-detail-text span { font-size: 14px; color: var(--muted); }

/* ---- FILL-IN HIGHLIGHT ------------------------------------ */
.fill-in {
  background: #fff3cd;
  border: 1px dashed #d4a017;
  border-radius: 3px;
  padding: 0 4px;
  font-style: italic;
  color: #856404;
  font-size: 0.9em;
}

/* ---- FOOTER ----------------------------------------------- */
.site-footer {
  background: var(--navy);
  padding: 52px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand {}
.footer-brand .brand-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.footer-brand .brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  margin: 0;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .pillar-grid    { grid-template-columns: 1fr; gap: 18px; }
  .steps-grid     { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .service-block  { grid-template-columns: 1fr; gap: 28px; }
  .service-block.reverse { direction: ltr; }
  .service-visual { min-height: 160px; }
  .about-bio-grid { grid-template-columns: 1fr; }
  .about-photo    { min-height: 220px; }
  .quick-facts    { grid-template-columns: 1fr; }
  .case-study-body{ grid-template-columns: 1fr; }
  .case-result    { grid-column: auto; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section        { padding: 56px 0; }
  .hero           { padding: 72px 0 64px; }
  .nav-links      { display: none; }
  .nav-toggle     { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 15px;
  }
  .nav-cta        { display: none; }
  .btn-group      { flex-direction: column; align-items: flex-start; }
  .testimonial-card { padding: 32px 24px; }
  .contact-form-card { padding: 28px 22px; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; gap: 6px; text-align: center; }
}

@media print {
  .site-nav, .site-footer, .btn, .nav-toggle { display: none !important; }
}

/* ---- Ask AI Footer Block ---------------------------------- */
.ask-ai-block {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 28px 0 24px;
  text-align: center;
}
.ask-ai-label {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.ask-ai-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ask-ai-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 1.5px solid var(--teal);
  border-radius: 4px;
  color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.ask-ai-btn:hover {
  background: var(--teal);
  color: #fff;
}
