﻿/* =========================================
   Custom Properties
   ========================================= */
:root {
  --brand:        #2f5697;
  --dark:         #1a1a2e;
  --text:         #333344;
  --muted:        #666680;
  --light:        #f5f6fa;
  --white:        #ffffff;
  --border:       #e0e0e8;
  --font-head:    "Montserrat", sans-serif;
  --font-sub:     "Raleway", sans-serif;
  --radius:       8px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.12);
  --max-w:        1140px;
  --nav-h:        72px;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sub); color: var(--text); line-height: 1.6; background: var(--white); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* =========================================
   Layout Helpers
   ========================================= */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: 5rem; }
.section-label { display: block; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.section-title { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 1.25rem; }
.section-title--light { color: var(--white); }
.section-body { font-size: 1rem; color: var(--muted); max-width: 560px; }

/* =========================================
   Navigation
   ========================================= */
.site-header { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); background: var(--white); border-bottom: 2px solid var(--border); display: flex; align-items: center; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: .625rem; font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--dark); white-space: nowrap; }
.nav-brand img { height: 36px; width: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { font-family: var(--font-head); font-size: .875rem; font-weight: 600; color: var(--text); padding: .5rem .875rem; border-radius: var(--radius); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--brand); background: rgba(47,86,151,.08); }
.nav-toggle { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; cursor: pointer; background: none; border: none; padding: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: .75rem 1rem; font-size: 1rem; }
}

/* =========================================
   Hero
   ========================================= */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; background-image: linear-gradient(120deg, rgba(26,26,46,.78) 0%, rgba(47,86,151,.45) 100%), url("../images/laptop_hero.jpeg"); background-size: cover; background-position: center; padding-block: 5rem; }
.hero-eyebrow { display: inline-block; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 1.25rem; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 1.75rem; max-width: 680px; }
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; padding: .875rem 2rem; border-radius: var(--radius); transition: background .2s, transform .2s; }
.hero-cta:hover { background: #254a82; transform: translateY(-2px); }
.hero-cta svg { flex-shrink: 0; }

/* =========================================
   Tagline Band
   ========================================= */
.tagline-band { background: var(--dark); padding-block: 2.25rem; }
.tagline-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.tagline-title { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; color: var(--white); letter-spacing: .01em; }
.tagline-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.tagline-badges span { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: rgba(47,86,151,.6); border: 1px solid rgba(47,86,151,.8); padding: .35rem .9rem; border-radius: 999px; }
.tagline-body { font-size: .9375rem; color: rgba(255,255,255,.65); max-width: 580px; line-height: 1.65; }
.tagline-divider { display: block; width: 40px; height: 2px; background: rgba(47,86,151,.6); border-radius: 2px; }

/* =========================================
   Services
   ========================================= */
.services { background: var(--light); }
.services-header { text-align: center; margin-bottom: 3rem; }
.services-header .section-body { margin-inline: auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5); padding: 2.25rem 1.75rem; text-align: center; transition: box-shadow .25s, transform .25s; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; overflow: hidden; }
.service-icon img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.service-card h3 { font-family: var(--font-sub); font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.service-card ul, .service-card p { font-size: .9rem; color: var(--muted); line-height: 1.9; }

/* =========================================
   Why Choose Us
   ========================================= */
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.why-image { border-radius: calc(var(--radius) * 2); overflow: hidden; max-width: 380px; margin-inline: auto; }
.why-image img { width: 100%; height: auto; object-fit: contain; display: block; opacity: .9; }
.why-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .875rem; }
.why-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; color: var(--text); }
.why-list li::before { content: ""; display: block; flex-shrink: 0; margin-top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

@media (max-width: 767px) { .why-grid { grid-template-columns: 1fr; } }

/* =========================================
   Capability Statement
   ========================================= */
.capability { background: var(--light); }
.capability .section-label { color: var(--brand); }
.capability .section-title { color: var(--dark); }
.capability-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.capability-body { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin-bottom: 2rem; }
.btn-download { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid var(--brand); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: .875rem; padding: .75rem 1.75rem; border-radius: var(--radius); transition: background .2s, color .2s; }
.btn-download:hover { background: var(--brand); color: var(--white); }
.codes-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
.codes-box h6 { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.codes-box p { font-size: .875rem; color: var(--muted); line-height: 1.8; }
.codes-box p strong { color: var(--dark); font-weight: 600; }

@media (max-width: 767px) { .capability-grid { grid-template-columns: 1fr; } }

/* =========================================
   Business Commitment
   ========================================= */
.about { background: var(--white); }
.about-header { text-align: center; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.feature { background: var(--white); border-radius: calc(var(--radius) * 1.5); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); }
.feature-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(47,86,151,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-icon svg { width: 24px; height: 24px; fill: var(--brand); }
.feature h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .625rem; }
.feature p { font-size: .9rem; color: var(--muted); }

/* =========================================
   Contact
   ========================================= */
.contact { background: var(--brand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { flex-shrink: 0; width: 44px; height: 44px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; fill: white; }
.contact-label { font-family: var(--font-head); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); margin-bottom: .2rem; }
.contact-value { font-size: 1.0625rem; font-weight: 600; color: white; }
.contact-value a { color: white; transition: opacity .2s; }
.contact-value a:hover { opacity: .75; }
.contact-map { border-radius: calc(var(--radius) * 1.5); overflow: hidden; min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================
   Footer
   ========================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .875rem; }
.footer-inner strong { color: white; }

/* =========================================
   Back to Top
   ========================================= */
.back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 48px; height: 48px; background: var(--brand); color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 500; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }