/* ===============================
   ROOT VARIABLES
   =============================== */
:root {
  --accent: #0b5cff;
  --muted: #6b7280;
  --bg: #f8fafc;
  font-family: Inter, system-ui, Arial, sans-serif;
}

/* ===============================
   GLOBAL STYLES
   =============================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { text-decoration: none; }

/* ===============================
   HEADER
   =============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0056b3;
  color: white;
  padding: 15px 30px;
}

header .logo-section { display: flex; align-items: center; }

header img {
  height: 60px;
  margin-right: 15px;
  background: transparent;
  mix-blend-mode: multiply;
}

header h1 { font-size: 22px; margin: 0; font-weight: bold; }

header .contact { font-size: 16px; font-weight: bold; }

header .contact a { color: white; }

/* ===============================
   NAVIGATION
   =============================== */
nav {
  background: #007bff;
  padding: 10px 0;
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li { margin: 0 20px; }

nav ul li a {
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover { color: #ffcc00; }

/* ===============================
   HAMBURGER MENU
   =============================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: 9999; /* ensures it's always on top */
}

.menu-toggle span {
  display: block;
  height: 4px;
  background: red;
  border-radius: 2px;
}

/* ===============================
   MAIN CONTENT
   =============================== */
main, .content {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex: 1;
}

main h1, .content h1 { color: #FFFFFF; }

main h2, .content h2 { color: #0055aa; margin-bottom: 20px; }

main p, .content p { font-size: 18px; line-height: 1.8; }

.cta a {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta a:hover { background: #003d80; }

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

footer a { color: #ffcc00; }

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 768px) {
  header { flex-direction: column; text-align: center; }
  header .logo-section { margin-bottom: 10px; }
  header .contact { margin-top: 5px; }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav ul.showing { display: flex; }
  nav ul li { margin: 15px 0; }

  .menu-toggle { display: flex; }
}

/* ===============================
   HERO SECTIONS
   =============================== */
header.hero, .hero {
  position: relative;
  color: #fff;
  text-align: center;
}

.hero img {
  width: 100%;
  height: 420px;
  object-fit: none;
}

.hero .overlay {
  background: rgba(0,0,0,0.2);
  position: absolute;
  inset: 0;
}

.hero .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0; }

/* ===============================
   CLIENTS PAGE
   =============================== */
.clients-hero {
  background: url('images/clients-banner.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.clients-hero h1 {
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.clients-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  text-align: center;
}

.client-card {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  transition: transform 0.3s ease;
}

.client-card:hover { transform: scale(1.05); }

.client-card img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

.client-card p { font-size: 1rem; font-weight: bold; color: #333; }

/* ===============================
   CONTACT PAGE
   =============================== */
.page-header {
  background: url('images/contact-banner.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.page-header h1 { font-size: 2.5rem; margin: 0; }
.page-header p { font-size: 1.2rem; margin-top: 10px; }

.contact-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-box h2 { margin-top: 0; color: #222; }
.contact-item { margin: 15px 0; font-size: 1.1rem; }
.contact-item strong { color: #004080; }

iframe {
  width: 100%;
  height: 400px;
  border: 0;
  margin-top: 20px;
  border-radius: 10px;
}

/* ===============================
   GENERAL SECTIONS
   =============================== */
section {
  background: #fff;
  margin-top: 28px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

h2 { color: var(--accent); margin-top: 0; }
ul { line-height: 1.6; }

img.section-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0;
}

/* ===============================
   CONTENT PADDING FOR SCREEN MARGIN
   =============================== */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px; /* adds small gap from screen edges */
}

/* ===============================
   RESPONSIVE GRID FOR HERO/FEATURES
   =============================== */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr; } }
