/* ============================================
   Pro-curo Website — Global Styles
   Clean, modern, light theme
   Brand blue: #1F4E79
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1F4E79;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2a6ba6;
}

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

h1, h2, h3, h4, h5, h6 {
  color: #1a2a3a;
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: #4a5568;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--grey {
  background: #f7f9fc;
}

.section--blue {
  background: #1F4E79;
  color: #ffffff;
}

.section--blue h2,
.section--blue h3,
.section--blue p {
  color: #ffffff;
}

.section--blue p {
  color: rgba(255,255,255,0.85);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: #5a6a7a;
}

/* --- Header / Navigation --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1F4E79;
}

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

.logo span {
  color: #1F4E79;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5568;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1F4E79;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1F4E79;
  border-radius: 1px;
}

.nav-cta {
  background: #1F4E79;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.nav-cta:hover {
  background: #2a6ba6;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1F4E79;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(170deg, #f0f5fa 0%, #ffffff 60%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-content .badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1F4E79;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content h1 span {
  color: #1F4E79;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: #5a6a7a;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-image {
  flex: 1.1;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(31,78,121,0.12);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #1F4E79;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2a6ba6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(31,78,121,0.3);
}

.btn-outline {
  background: transparent;
  color: #1F4E79;
  border: 2px solid #1F4E79;
}

.btn-outline:hover {
  background: #1F4E79;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: #1F4E79;
}

.btn-white:hover {
  background: #f0f5fa;
  color: #1F4E79;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: #c8d8e8;
  box-shadow: 0 8px 30px rgba(31,78,121,0.08);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: #e8f0fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1F4E79;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: #5a6a7a;
}

/* --- Feature Rows (alternating image/text) --- */
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text .tag {
  display: inline-block;
  background: #1F4E79;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-text h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 1.02rem;
}

.feature-text ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.feature-text ul li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  color: #4a5568;
  font-size: 0.95rem;
}

.feature-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1F4E79;
  font-weight: 700;
}

.feature-image {
  flex: 1.2;
}

.feature-image img {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(31,78,121,0.1);
  transition: transform 0.3s ease;
}

.feature-image img:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.feature-image {
  position: relative;
}

/* Click-to-enlarge hint */
.feature-image::after,
.screenshot-gallery img::after {
  content: '';
}

.zoomable {
  cursor: pointer;
  position: relative;
}

/* --- Lightbox Overlay --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 40px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Zoom hint on feature images */
.feature-image img,
.screenshot-gallery img {
  cursor: pointer;
}

/* --- Pricing / CTA Section --- */
.pricing-card {
  background: #ffffff;
  border: 2px solid #e8ecf1;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  border-color: #1F4E79;
  box-shadow: 0 12px 40px rgba(31,78,121,0.1);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.pricing-card p {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: #4a5568;
  border-bottom: 1px solid #f0f3f7;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: #1F4E79;
  font-weight: 700;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d8e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #2c3e50;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1F4E79;
  box-shadow: 0 0 0 3px rgba(31,78,121,0.1);
}

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

/* --- Footer --- */
.site-footer {
  background: #1a2a3a;
  color: #a0b0c0;
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #8a9aaa;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

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

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul a {
  color: #8a9aaa;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #2a3a4a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #6a7a8a;
}

/* --- Sectors / Client Cards --- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sector-card {
  background: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.sector-card:hover {
  border-color: #c8d8e8;
  box-shadow: 0 8px 30px rgba(31,78,121,0.08);
  transform: translateY(-4px);
}

.sector-card .sector-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.sector-card h3 {
  margin-bottom: 10px;
  color: #1F4E79;
}

.sector-card p {
  font-size: 0.95rem;
  color: #5a6a7a;
  margin-bottom: 0;
}

.sector-card ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.sector-card ul li {
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
  color: #4a5568;
  font-size: 0.9rem;
}

.sector-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1F4E79;
  font-weight: 700;
}

/* --- Footer Contact Details --- */
.footer-contact p {
  color: #8a9aaa;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: #a0c0e0;
}

.footer-contact a:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content .btn-group {
    justify-content: center;
  }
  h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #e8ecf1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 56px 0;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }

  .card-grid,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Clients & Resources Page Styles
   ============================================ */

/* --- Hero Short Variant --- */
.hero--short {
  padding: 60px 0 48px;
}

/* --- Client Sector Groups --- */
.client-sector {
  margin-bottom: 48px;
}

.client-sector:last-child {
  margin-bottom: 0;
}

.client-sector__title {
  font-size: 1.2rem;
  color: #1F4E79;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f0fe;
  margin-bottom: 20px;
  font-weight: 600;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.client-name {
  background: #f7f9fc;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.client-name:hover {
  background: #e8f0fe;
  border-color: #c8d8e8;
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Case Study Cards --- */
.case-study-card h4 {
  color: #1F4E79;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* --- White Paper Cards --- */
.wp-card {
  display: flex;
  flex-direction: column;
}

.wp-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* --- White Paper Content Pages --- */
.wp-content {
  max-width: 780px;
  margin: 0 auto;
}

.wp-meta {
  font-size: 0.85rem;
  color: #1F4E79;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.wp-content h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

.wp-author {
  font-size: 1rem;
  color: #5a6a7a;
  font-style: italic;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8ecf1;
}

.wp-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #1F4E79;
}

.wp-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.wp-content strong {
  color: #1a2a3a;
}

.wp-references {
  padding-left: 24px;
  margin-top: 8px;
}

.wp-references li {
  font-size: 0.92rem;
  color: #5a6a7a;
  margin-bottom: 10px;
  line-height: 1.6;
}

.wp-references li a {
  color: #1F4E79;
}

.wp-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e8ecf1;
}

@media (max-width: 768px) {
  .wp-content h1 {
    font-size: 1.7rem;
  }
  .wp-content h2 {
    font-size: 1.3rem;
  }
}
