/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0f4c81;
  --blue-lt: #1a6fba;
  --accent:  #00b4d8;
  --dark:    #0d1b2a;
  --gray:    #f4f7fa;
  --text:    #2c3e50;
  --muted:   #6b7c93;
  --white:   #ffffff;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(15,76,129,.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(8px);
}
.logo { text-decoration: none; display: flex; align-items: center; }
nav .logo img { height: 58px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
footer .logo img { height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2rem; list-style: none; margin-left: auto; margin-right: 2rem; }
.nav-links a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .95rem; transition: color .2s; padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--dark) !important;
  padding: .5rem 1.2rem; border-radius: 6px; font-weight: 600;
  text-decoration: none; font-size: .9rem; transition: opacity .2s;
  border-bottom: none !important;
}
.nav-cta:hover { opacity: .85; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: url("assets/index.jpg") center center / cover no-repeat;
  padding: 130px 5% 70px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,42,74,.85) 0%, rgba(15,76,129,.75) 60%, rgba(10,42,74,.85) 100%);
}
.page-hero-content { position: relative; max-width: 700px; }
.page-hero-breadcrumb { color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: .8rem; }
.page-hero-breadcrumb a { color: var(--accent); text-decoration: none; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800;
  color: var(--white); line-height: 1.15; margin-bottom: 1rem;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 540px; }

/* ── SECTIONS ── */
section { padding: 90px 5%; }
.section-label {
  display: inline-block; color: var(--blue-lt); font-weight: 700;
  font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem;
}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--dark); }
.section-intro { color: var(--muted); font-size: 1.05rem; margin-top: .8rem; max-width: 560px; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin: .8rem auto 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--dark);
  padding: .85rem 2rem; border-radius: 8px; font-weight: 700;
  text-decoration: none; font-size: 1rem; transition: transform .2s, opacity .2s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: .9; }
.btn-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,.4); color: var(--white);
  padding: .85rem 2rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: 1rem; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(0,180,216,.1); }
.btn-secondary {
  display: inline-block; border: 2px solid var(--blue); color: var(--blue);
  padding: .75rem 1.8rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: .95rem; transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--blue); color: var(--white); }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(15,76,129,.18); border-top-color: var(--accent); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; color: var(--dark); }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card ul { margin-top: .8rem; padding-left: 1rem; color: var(--muted); font-size: .9rem; }
.service-card ul li { margin-bottom: .3rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .8rem; }
.testimonial blockquote { color: var(--text); font-size: .95rem; font-style: italic; margin-bottom: 1.2rem; }
.t-author { display: flex; align-items: center; gap: .8rem; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem; min-width: 42px;
}
.t-name { font-weight: 700; font-size: .9rem; }
.t-company { color: var(--muted); font-size: .82rem; }

/* ── FORMS ── */
form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
input, textarea, select {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid #dde3eb;
  border-radius: 8px; font-size: .95rem; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: var(--white); border: none; padding: .9rem 2rem;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: opacity .2s, transform .2s;
}
.form-submit:hover { opacity: .9; transform: translateY(-2px); }
.form-success {
  display: none; background: #ecfdf5; border: 1.5px solid #6ee7b7;
  border-radius: 8px; padding: 1rem 1.4rem; color: #065f46;
  font-weight: 600; text-align: center;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
  padding: 80px 5%; text-align: center; color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.65);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { display: block; margin-bottom: .8rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .2s; }
footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; font-size: .85rem; flex-wrap: wrap; gap: .5rem;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── METRIC BARS ── */
.metric { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.metric-bar-wrap { flex: 1; background: rgba(255,255,255,.15); border-radius: 4px; height: 8px; }
.metric-bar { height: 8px; border-radius: 4px; background: var(--accent); width: 0; transition: width 1.2s ease; }
.metric-label { min-width: 150px; font-size: .9rem; color: rgba(255,255,255,.85); }
.metric-value { font-weight: 700; font-size: .9rem; color: var(--white); }

/* ── CONTACT INFO ── */
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-item-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item strong { display: block; font-size: .9rem; margin-bottom: .1rem; }
.contact-item span { color: var(--muted); font-size: .9rem; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--dark); padding: 1rem 5%;
  }
  nav.open .nav-links a { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); border-right: none; }
  nav.open .nav-cta { display: block; margin: 1rem 5%; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
