:root {
  --teal: #00a9c1;
  --teal-dark: #008da1;
  --navy: #003d52;
  --navy-light: #0a5570;
  --white: #ffffff;
  --grey-bg: #f4f7f9;
  --grey-text: #5c6b73;
  --border: #e2e8ec;
  --radius: 5px;
  --shadow: 0 8px 30px rgba(0, 61, 82, 0.08);
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-top a {
  color: #fff;
  margin-left: 12px;
  opacity: 0.85;
}

.social-top a:hover {
  color: var(--teal);
  opacity: 1;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  position: relative;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--teal);
  border: none;
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  color: var(--teal) !important;
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff !important;
}

.btn-navy {
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
}

/* Hero */
.hero {
  position: relative;
  padding: 70px 0;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 48%, rgba(0, 169, 193, 0.06) 48%),
    repeating-linear-gradient(45deg, #f8fafb, #f8fafb 12px, #fff 12px, #fff 24px);
  opacity: 0.9;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-accent {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy);
}

.hero p {
  color: var(--grey-text);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  transform: skewY(-3deg);
  transform-origin: top left;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trustpilot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--grey-text);
}

.stars {
  color: #f5a623;
  letter-spacing: 2px;
}

/* Section utilities */
section {
  padding: 70px 0;
}

.section-grey {
  background: var(--grey-bg);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title .label {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.section-navy .section-title .label {
  color: var(--teal);
}

.section-title h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-title p {
  color: var(--grey-text);
  margin: 0;
}

.section-navy .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

/* Feature cards (navy band) */
.features-band {
  padding: 50px 0;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin: 0;
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card .body {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
  color: var(--grey-text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.testimonial-card .name {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--teal);
  transform: scale(1.03);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card .badge {
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-text);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.price-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-panel {
  display: none;
  padding: 0 18px 16px;
  color: var(--grey-text);
  font-size: 0.95rem;
}

.accordion-item.open .accordion-panel {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.gallery-grid img {
  border-radius: var(--radius);
  height: 140px;
  width: 100%;
  object-fit: cover;
}

/* Forms */
.form-section {
  background: var(--grey-bg);
}

.form-wrap {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(0, 169, 193, 0.35);
  border-color: var(--teal);
}

.form-group .error-msg {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #c0392b;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  width: 100%;
  margin: 8px 0 20px;
}

.checkbox-group input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  accent-color: var(--teal);
  cursor: pointer;
  align-self: start;
  justify-self: start;
  box-sizing: border-box;
}

.checkbox-group label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
  text-align: left;
}

.checkbox-group label a {
  display: inline;
}

.checkbox-group .error-msg {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  display: none;
}

.checkbox-group.invalid input[type="checkbox"] {
  border-color: #c0392b;
  outline: 1px solid rgba(192, 57, 43, 0.35);
}

.checkbox-group.invalid .error-msg {
  display: block;
}

.form-grid .checkbox-group {
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  padding: 20px;
  background: #e8f8f0;
  border: 1px solid #2ecc71;
  color: #1e6b3a;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* Brand strip */
.brand-strip {
  background: var(--navy);
  padding: 28px 0;
}

.brand-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #fff;
}

.brand-strip-grid .icon {
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 8px;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.blog-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card .body {
  padding: 20px;
}

.blog-card .date {
  font-size: 0.82rem;
  color: var(--teal);
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0;
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--teal);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card .info {
  padding: 18px;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 61, 82, 0.92));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.35rem;
  color: var(--navy);
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: var(--grey-text);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin: 0 0 18px;
  font-size: 1.1rem;
}

.footer-grid p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery img {
  border-radius: 4px;
  height: 64px;
  object-fit: cover;
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.newsletter-bar {
  background: var(--teal);
  padding: 28px 0;
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.newsletter-inner h4 {
  margin: 0;
  font-size: 1.2rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
}

.newsletter-form .btn {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
  white-space: nowrap;
}

.copyright-bar {
  background: #002a3a;
  padding: 16px 0;
  font-size: 0.88rem;
}

.copyright-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.copyright-bar a {
  color: rgba(255, 255, 255, 0.75);
  margin-left: 16px;
}

.copyright-bar a:hover {
  color: var(--teal);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container,
  .split,
  .faq-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3,
  .pricing-grid,
  .testimonial-grid,
  .blog-grid,
  .project-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .features-grid,
  .cards-3,
  .pricing-grid,
  .testimonial-grid,
  .blog-grid,
  .gallery-grid,
  .project-grid,
  .team-grid,
  .footer-grid,
  .brand-strip-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}