@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --primary-color: #0d1b2a;
  --accent-color: #0088ff;
  --light-bg: #f4f8fb;
  --dark-text: #222;
  --white: #fff;
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; color: var(--dark-text); background: var(--white); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* NAVBAR */
.navbar { background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; flex-wrap: wrap; }
.logo { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent-color); text-decoration: none; display: flex; align-items: baseline; gap: 0.5rem; }
.logo .enterprise-text { font-size: 1rem; font-weight: 400; color: var(--accent-color); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 2rem; }
.nav-links a { color: var(--dark-text); text-decoration: none; font-weight: 500; font-family: 'Poppins', sans-serif; }
.nav-links a:hover { color: var(--accent-color); }
.nav-toggle { display: none; cursor: pointer; font-size: 1.8rem; color: var(--accent-color); background: none; border: none; }

/* HERO */
.hero { background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%); color: var(--white); text-align: center; padding: 6rem 1rem; }
.hero h1 { font-family: 'Poppins', sans-serif; font-size: 3.5rem; margin-bottom: 0.5rem; }
.hero h2.subtitle { font-family: 'Roboto', sans-serif; font-size: 1.5rem; margin-bottom: 2rem; font-weight: 400; }
.btn-primary { background: var(--accent-color); color: var(--white); padding: 0.75rem 1.5rem; border: none; border-radius: 25px; font-size: 1rem; cursor: pointer; text-decoration: none; font-family: 'Poppins', sans-serif; }
.btn-primary:hover { background: #006bb3; }
.btn-primary.btn-hero { margin-top: 20px; }

/* SECTIONS */
.section { padding: 4rem 0; }
.about { background: var(--light-bg); }
.about h2, .services h2, .contact h2 { text-align: center; margin-bottom: 2rem; font-size: 2.5rem; font-family: 'Poppins', sans-serif; color: var(--primary-color); }
.about p { max-width: 800px; margin: auto; margin-bottom: 1rem; }

/* SERVICES CARDS */
.services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 6px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.card h3 { margin-bottom: 1rem; color: var(--accent-color); font-family: 'Poppins', sans-serif; }
.card p { font-size: 0.95rem; font-family: 'Roboto', sans-serif; }

/* CONTACT */
.contact { background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%); color: var(--white); }
.contact .container { padding: 2rem; max-width: 1000px; }
.contact .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-info p { margin-bottom: 0.75rem; font-family: 'Roboto', sans-serif; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem; border: none; border-radius: 5px; margin-bottom: 1rem; font-family: 'Roboto', sans-serif; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(0,0,0,0.6); }
.btn-secondary { background: var(--white); color: var(--primary-color); padding: 0.75rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-family: 'Poppins', sans-serif; }
.btn-secondary:hover { background: #f0f0f0; }

/* FOOTER */
.footer { background: var(--primary-color); color: var(--white); text-align: center; padding: 2rem 0; font-size: 0.9rem; font-family: 'Roboto', sans-serif; }

/* Global anchor style (site-wide) */
a { color: #ffffff; text-decoration: none; font-weight: bold; transition: color 0.3s ease; }
a:hover { color: #ffcc00; text-decoration: underline; }

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  /* Navbar stack & hide links */
  .nav-container { flex-direction: row; justify-content: space-between; align-items: center; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%; margin-top: 0.5rem; }
  .nav-links.active { display: flex; }
  .nav-links li { margin-left: 0; }
  .nav-toggle { display: block; }

  /* Logo adjustments */
  .logo { flex-direction: column; align-items: flex-start; font-size: 1.8rem; }
  .logo .enterprise-text { font-size: 1rem; }

  /* Hero adjustments */
  .hero h1 { font-size: 2.5rem; }
  .hero h2.subtitle { font-size: 1.2rem; margin-bottom: 1.5rem; }
  .btn-primary.btn-hero { margin-top: 15px; }

  /* Services & contact stack */
  .services .cards { grid-template-columns: 1fr; gap: 1rem; }
  .contact .contact-grid { grid-template-columns: 1fr; }
}

/* -------------------------
   Privacy page overrides
   (kept at the end so they override earlier rules)
   ------------------------- */

/* Privacy page area should not inherit the white hero color */
.privacy-hero { color: var(--dark-text) !important; background: var(--white) !important; }
.privacy-content { color: var(--dark-text) !important; }

/* Policy box styling: opaque, readable, spaced */
.policy-box {
  background: #e9f6ff !important;               /* subtle blue readable background */
  color: #0d1b2a !important;                    /* dark text for contrast */
  padding: 1.9rem !important;
  border-radius: 10px !important;
  border: 1px solid rgba(13,27,42,0.06) !important;
  box-shadow: 0 10px 30px rgba(13,27,42,0.06) !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Ensure paragraph text inside is spaced and readable */
.policy-box p {
  margin: 0 0 0.9rem 0 !important;
  color: #0d1b2a !important;
}

/* Headings inside the policy box */
.policy-box h3 {
  margin-top: 1.15rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 1.05rem !important;
  font-family: 'Poppins', sans-serif !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

/* Lists: indentation and spacing */
.policy-box ul {
  padding-left: 1.5rem !important;
  margin: 0.6rem 0 0.9rem 0 !important;
  list-style: disc !important;
}

.policy-box li {
  margin-bottom: 0.6rem !important;
  color: #0d1b2a !important;
}

/* Links inside the policy box */
.policy-box a {
  color: var(--accent-color) !important;
  text-decoration: underline !important;
  background: transparent !important;
}

/* small meta text (effective date etc.) */
.policy-meta {
  font-size: 0.92rem;
  color: rgba(13,27,42,0.7);
  margin-bottom: 0.8rem;
}

/* Back button on the privacy page */
.btn-primary.privacy-back {
  display: inline-block !important;
  background: var(--accent-color) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(13,27,42,0.12) !important;
  border: none !important;
  margin-top: 12px !important;
}
.btn-primary.privacy-back:hover { background: #006bb3 !important; color: var(--white) !important; }

/* Defensive rule to ensure hero text inheritance doesn't break the page */
.privacy-hero, .privacy-content { color: inherit !important; }
