/* Shades Like These — Fllopi-inspired theme */
:root {
  --navy: #001d4c;
  --navy-dark: #001433;
  --orange: #ff5e14;
  --orange-hover: #e6520f;
  --white: #ffffff;
  --gray-bg: #f4f6f9;
  --gray-text: #6b7280;
  --text: #1f2937;
  --border: #e5e7eb;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 10px 40px rgba(0, 29, 76, 0.08);
  --radius: 6px;
  --container: 1170px;
  --topbar-height: 38px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

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

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

/* Top bar */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header */
.site-header {
  position: absolute;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(0, 29, 76, 0.98);
  box-shadow: var(--shadow);
}

.site-header.scrolled .header-inner {
  padding: 0.75rem 0;
}

body.inner-page .site-header {
  position: relative;
  top: 0;
  background: var(--navy);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

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

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

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

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

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  background: var(--navy);
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: var(--white);
  padding: 0.65rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
  .main-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy) center/cover no-repeat;
  padding: calc(var(--topbar-height) + 5.5rem) 1rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 29, 76, 0.55), rgba(0, 29, 76, 0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-circle {
  width: min(420px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 29, 76, 0.92);
  border: 4px solid rgba(255, 94, 20, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-inline: auto;
  box-shadow: 0 0 0 12px rgba(255, 94, 20, 0.12);
}

.hero-circle .tag {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero-circle h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.hero-circle h1 span {
  color: var(--orange);
}

/* Section common */
section {
  padding: 4.5rem 0;
}

.section-label {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 700;
}

.section-title span {
  display: block;
}

.bg-gray {
  background: var(--gray-bg);
}

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

.bg-navy .section-title {
  color: var(--white);
}

.text-center {
  text-align: center;
}

/* About home block */
.home-about {
  padding-bottom: 5rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: center;
  }
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .about-image {
    align-self: stretch;
    min-height: 420px;
  }

  .about-image img {
    min-height: 420px;
  }

  .about-grid .stats-row {
    align-self: center;
  }

  .about-grid .about-copy {
    align-self: center;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  text-align: center;
  background: var(--white);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item h3 {
  color: var(--orange);
  font-size: 2rem;
  margin: 0 0 0.25rem;
}

.stat-item p {
  margin: 0;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.feature-mini {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  align-items: flex-start;
}

.icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.feature-mini h4 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1rem;
}

.feature-mini p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* Feature cards */
.home-feature-cards {
  padding: 0 0 4.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}

.feature-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .home-feature-cards {
    margin-top: 0;
    padding-top: 1rem;
  }

  .home-about {
    padding-bottom: 3rem;
  }

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

  .about-image img {
    min-height: 260px;
  }
}

.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--orange);
}

.feature-card .icon-circle {
  margin: 0 auto 1rem;
}

.feature-card h3 {
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

/* Contact strip */
.contact-strip {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-strip {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-strip .section-title {
  color: var(--white);
}

.contact-strip-image {
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 520px;
}

.contact-strip-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 576px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-group label.dark {
  color: var(--navy);
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #dc2626;
}

.field-error {
  color: #fecaca;
  font-size: 0.8rem;
}

.form-light .field-error {
  color: #dc2626;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: start;
  margin-top: 0.25rem;
}

.checkbox-row input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--orange);
  cursor: pointer;
  justify-self: start;
}

.checkbox-row label {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.form-light .checkbox-row label {
  color: var(--text);
}

.checkbox-row .field-error {
  grid-column: 1 / -1;
  margin: 0;
}

.checkbox-row.error input[type="checkbox"] {
  outline: 2px solid #dc2626;
  outline-offset: 1px;
}

.form-success {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid var(--orange);
  padding: 1.25rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-light .form-success {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .badge-icon {
  position: absolute;
  bottom: -24px;
  left: 1.25rem;
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 3px solid var(--white);
}

.service-card .body {
  padding: 2.25rem 1.25rem 1.5rem;
}

.service-card h3 {
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card a.read-more {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mission banner */
.mission-banner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .mission-banner {
    grid-template-columns: 1fr 1fr;
  }
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.tab-btn {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  background: rgba(255, 94, 20, 0.25);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

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

.tab-panel {
  display: none;
}

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

.progress-item {
  margin-bottom: 1.25rem;
}

.progress-item label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
}

.testimonial-card img.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.stars {
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--navy));
  padding: 3rem 1rem 1rem;
  color: var(--white);
}

.team-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.team-card p {
  margin: 0.25rem 0 0;
  color: var(--orange);
  font-size: 0.9rem;
}

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

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.projects-grid .project-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.projects-grid .project-item:nth-child(1) {
  grid-row: span 2;
}

.projects-grid img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
}

.projects-grid .project-item:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 76, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  font-weight: 700;
  padding: 1rem;
  text-align: center;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--navy);
  transition: transform 0.25s;
}

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

.price-card h3 {
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.price-card .price {
  font-size: 2.5rem;
  color: var(--orange);
  font-weight: 800;
  margin: 1rem 0;
}

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

.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

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

/* Page hero inner */
.page-hero {
  background: var(--navy) center/cover no-repeat;
  padding: 9rem 0 4rem;
  position: relative;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 76, 0.82);
}

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

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

.breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

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

.content-page .prose {
  max-width: 820px;
  margin-inline: auto;
}

.content-page h2 {
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.content-page h3 {
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.content-page p,
.content-page li {
  color: var(--gray-text);
}

.content-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-about img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  color: var(--white);
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

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

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

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

.social-links a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
}

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

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

/* Utilities */
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.grid-2 {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
