@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap");

:root {
  --orange: #ff6b00;
  --orange-light: #ff7a00;
  --navy: #001a4b;
  --navy-dark: #06163a;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f8;
  --gray-200: #d8dee9;
  --text: #5a6478;
  --text-dark: #1a2744;
  --shadow: 0 12px 40px rgba(0, 26, 75, 0.08);
  --radius: 6px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
}

.section-title p {
  margin-top: 0.75rem;
}

.watermark {
  position: relative;
}

.watermark::before {
  content: attr(data-watermark);
  position: absolute;
  top: -0.5rem;
  left: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: rgba(0, 26, 75, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.watermark > * {
  position: relative;
  z-index: 1;
}

/* Top bar */
.top-bar {
  background: var(--orange);
  color: var(--white);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.top-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.top-bar a {
  color: var(--white);
}

.top-social {
  display: flex;
  gap: 0.65rem;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  align-items: center;
}

.main-nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.35rem 0;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 4rem 0 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 70%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content .eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin: 0.75rem 0 1rem;
}

.hero-content h1 span {
  color: var(--navy);
}

.hero-content .lead {
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12% -8% -8% 12%;
  border: 3px solid var(--orange);
  border-radius: 12px;
  z-index: -1;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.hero-feature {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-bottom: 3px solid var(--orange);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.hero-feature h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.hero-feature p {
  font-size: 0.92rem;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  max-width: 220px;
}

.about-badge strong {
  display: block;
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
  color: var(--orange);
}

.feature-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-list .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.skills-media img {
  border-radius: var(--radius);
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.skill-bar {
  margin-bottom: 1.35rem;
}

.skill-bar label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.skill-bar .track {
  height: 8px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
}

.skill-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 99px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 26, 75, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

.project-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-bottom: 4px solid var(--orange);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.service-card .num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0, 26, 75, 0.08);
  font-family: "Montserrat", sans-serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-card .icon {
  color: var(--orange);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card ul {
  margin-top: 1rem;
}

.service-card ul li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.service-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Tabs CTA */
.cta-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-split img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cta-content {
  padding: 2.5rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  border: 0;
  background: var(--white);
  color: var(--text-dark);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
}

.tab-btn.active {
  background: var(--orange);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Testimonials */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--orange);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
}

.testimonial-dots button.active {
  background: var(--orange);
  width: 28px;
  border-radius: 99px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--gray-100);
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Forms */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  background: var(--gray-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.is-invalid {
  border-color: #d93025 !important;
}

.field-error {
  display: block;
  color: #d93025;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.form-success {
  background: rgba(0, 26, 75, 0.06);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
}

.form-success[hidden] {
  display: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--orange);
  transform: scale(1.02);
}

.price-card .tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.25rem;
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.price-card ul {
  text-align: left;
  margin: 1.5rem 0;
}

.price-card ul li {
  padding: 0.45rem 0 0.45rem 1.25rem;
  position: relative;
  border-bottom: 1px dashed var(--gray-100);
  font-size: 0.92rem;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--gray-100);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card .body {
  padding: 1.25rem;
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card span {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Page banner */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-dark);
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb span {
  opacity: 0.7;
}

/* Content pages */
.content-page {
  padding: 4rem 0;
}

.content-page .prose {
  max-width: 900px;
  margin: 0 auto;
}

.content-page .prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.content-page .prose h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer .logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
}

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

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .skills-grid,
  .contact-grid,
  .cta-split,
  .two-col-content,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    display: none;
    padding: 1rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .projects-grid,
  .team-grid,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}
