/* =====================================
   THE ARROW LINK
   Premium Navy Blue + Gold Theme
====================================== */

:root {
  --navy: #10243A;
  --navy-light: #193A59;
  --gold: #D9A928;
  --gold-light: #F5D778;
  --background: #F3F6FA;
  --white: #FFFFFF;
  --text: #263445;
  --muted: #5C6877;
  --border: #DCE3EB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
}

/* HEADER */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(16, 36, 58, 0.12);
}

.brand-logo {
  display: block;
  width: min(230px, 42vw);
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--gold-light);
}

/* HERO / MAIN BANNER */

.hero {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      rgba(16, 36, 58, 0.80),
      rgba(25, 58, 89, 0.78)
    ),
    url('Collaborative Office Workflow Review.png') center/cover no-repeat;
  border-bottom: 5px solid var(--gold);
  background-attachment: scroll;
}

.eyebrow {
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.12;
  margin: 10px 0 18px;
  color: var(--white);
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  color: #E5ECF4;
  font-size: 1.1rem;
}

/* CALL AND WHATSAPP BUTTONS */

.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-button {
  display: inline-block;
  padding: 13px 23px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.call-button {
  background: var(--gold);
  color: #172235;
}

.whatsapp-button {
  background: #168B50;
  color: var(--white);
}

/* PAGE SECTIONS */

.section {
  padding: 70px clamp(20px, 6vw, 90px);
  max-width: 1400px;
  margin: auto;
}

.section h2 {
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 38px;
}

.section h2::after {
  content: "";
  display: block;
  width: 66px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--gold);
  border-radius: 5px;
}




/* SERVICE CARDS */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-grid article {
  position: relative;
  min-width: 0;
  height: 310px;
  padding: 0;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  background-color: #e9edf2;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgba(16, 36, 58, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  box-sizing: border-box;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

/* Text title */
.service-grid article h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 18px 18px 6px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

/* Text description */
.service-grid article p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 18px 18px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* Dark text background */
.service-grid article::before {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(16, 36, 58, 0.95)
  );
  z-index: 0;
  pointer-events: none;
}

.service-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.12);
}

/* Tablet */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    height: 300px;
  }
}

.service-grid article:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.08), rgba(16, 36, 58, 0.56)),
    url('Fibre Connectivity Network Operations Montage.png') center/cover no-repeat;
}

.service-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.12), rgba(16, 36, 58, 0.52)),
    url("Twilight Security Operations Centre.png") center/cover no-repeat;
}

.service-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.10), rgba(16, 36, 58, 0.54)),
    url('Connected IP Campus PA System.png') center/cover no-repeat;
}

.service-grid article:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.10), rgba(16, 36, 58, 0.54)),
    url('Smart Solutions Home Automation Interface.png') center/cover no-repeat;
}

.service-grid article:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.12), rgba(16, 36, 58, 0.52)),
    url('Friendly Call Centre Teamwork.png') center/cover no-repeat;
}

.service-grid article:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.12), rgba(16, 36, 58, 0.52)),
    url('Fire Safety Inspection in a Modern Facility.png') center/cover no-repeat;
}

.service-card-content {
  width: 100%;
  padding: 24px 22px 26px;
  background: linear-gradient(180deg, rgba(16, 36, 58, 0.04), rgba(16, 36, 58, 0.38));
}

.service-grid article h3,
.service-grid article p {
  color: var(--white);
  margin: 0;
}

.service-grid h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.service-grid p {
  font-size: 0.95rem;
}

.service-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.service-content {
  padding: 24px 22px 26px;
}

/* ABOUT SECTION */

.about {
  max-width: 1200px;
}

.about-full {
  text-align: center;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro {
  margin-bottom: 40px;
}

.about-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-intro p:first-child {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-mission,
.about-why {
  text-align: center;
  margin-bottom: 36px;
}

.about-mission h3,
.about-why h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.about-mission p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

.about-why ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-why li {
  color: var(--muted);
  font-size: 1.05rem;
  padding-left: 28px;
  position: relative;
}

.about-why li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.about-tagline {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--gold);
}

.about-tagline p {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 0;
}

/* CONTACT SECTION */

.contact-section {
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border: 1px solid #284967;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 50px 24px;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  color: #E1E8F0;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 24px 20px;
  color: #D8E1EB;
  background: var(--navy);
  border-top: 3px solid var(--gold);
}

/* TABLET */

@media (max-width: 950px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .brand-logo {
    width: min(210px, 75vw);
  }

  .site-header nav {
    justify-content: center;
    gap: 14px;
  }

  .hero {
    min-height: 380px;
    padding: 60px 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .service-card .service-content {
    padding: 20px 18px 22px;
  }

  .service-image {
    height: 180px;
  }

  .service-grid article {
    min-height: 220px;
  }

  .contact-section {
    margin-left: 16px;
    margin-right: 16px;
  }
}
