/* ============================================================
   CompuTechNet Services Ltd — Global Styles
   File: css/global.css
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- CSS Variables ---------------------------------------- */
:root {
  --navy:        #1a2e4a;
  --navy-dark:   #0f1e30;
  --navy-mid:    #243d5c;
  --blue:        #2a6fcb;
  --blue-light:  #3d87e8;
  --accent:      #e8f4ff;
  --accent2:     #c8dcf5;
  --text:        #1a2e4a;
  --muted:       #5a6d82;
  --border:      #d0dde8;
  --white:       #ffffff;
  --off-white:   #f5f8fc;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* --- Layout Helpers --------------------------------------- */
.section {
  padding: 80px 5%;
}

.section-alt {
  background: var(--off-white);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy-dark);
}

.section-header p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* --- Buttons ---------------------------------------------- */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--blue); }

/* --- SVG Icon Base ---------------------------------------- */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Animations ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 600px) {
  .section { padding: 60px 5%; }
}
