/* ============ V2R IP Services ============ */
:root {
  --navy: #1c2e6b;
  --navy-dark: #0a1020;
  --orange: #ef8322;
  --red: #e8253c;
  --text: #4a5568;
  --light: #f7f8fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(28, 46, 107, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.main-nav a {
  color: var(--orange);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(90deg, #e8253c, #f0532b);
  color: #fff !important;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232, 37, 60, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 37, 60, 0.45);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Page title ---------- */
.page-title {
  text-align: center;
  padding: 60px 24px 20px;
}

.page-title h1 {
  color: var(--navy);
  font-size: 52px;
  font-weight: 800;
}

/* ---------- Sections ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.section.alt {
  flex-direction: row-reverse;
}

.section-band {
  background: var(--light);
}

.section-text {
  flex: 1 1 50%;
}

.section-text h2 {
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
}

.section-text p {
  margin-bottom: 14px;
}

.section-img {
  flex: 1 1 45%;
  text-align: center;
}

.section-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- Contact page ---------- */
.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 70px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 36px;
}

.contact-form {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 38px;
  box-shadow: 0 10px 34px rgba(28, 46, 107, 0.08);
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8dce6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy-dark);
  background: var(--light);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 131, 34, 0.15);
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.inquiry-note {
  margin-top: 34px;
  background: var(--light);
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
}

.inquiry-note h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 8px;
}

/* ---------- Footer (every tab) ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #c6cbd8;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-col p {
  margin-bottom: 6px;
  font-size: 15px;
}

.footer-col a {
  color: #c6cbd8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 14px 24px;
  font-size: 14px;
  color: #8b93a7;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 12px 20px rgba(28, 46, 107, 0.1);
  }

  .main-nav.open {
    max-height: 320px;
    padding: 10px 24px 20px;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .section,
  .section.alt {
    flex-direction: column;
    padding: 40px 24px;
    gap: 30px;
  }

  .page-title h1 {
    font-size: 38px;
  }

  .section-text h2 {
    font-size: 27px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }
}
