/* PCP4Me Website Styles - Brand Aligned */

:root {
  /* Colors from logo */
  --navy: #1a3a5c;
  --navy-light: #2d5a87;
  --teal: #5ba4b4;
  --teal-light: #7dc4d4;
  --yellow: #f5e14d;
  --yellow-light: #fff176;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray: #6c757d;
  --gray-dark: #343a40;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.3;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

p {
  color: #555;
}

/* Navigation */
nav {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: var(--gray-light);
  color: var(--teal);
}

.nav-links .btn-login {
  background: var(--navy);
  color: white;
  margin-left: 10px;
}

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--teal) 100%);
  color: white;
  padding: 180px 20px 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(245,225,77,0.1)"/></svg>') no-repeat center;
  background-size: 600px;
  pointer-events: none;
}

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

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero .subtitle {
  font-size: 1.4rem;
  color: white;
  max-width: 650px;
  margin: 0 auto 35px;
  font-weight: 400;
}

.hero .btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Did You Know Section */
.did-you-know {
  background: var(--yellow);
  padding: 50px 20px;
  text-align: center;
}

.did-you-know h2 {
  color: var(--navy);
  font-size: 1.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.did-you-know span {
  font-weight: 700;
  font-size: 2rem;
}

/* Stats Section */
.stats {
  background: var(--navy);
  color: white;
  padding: 50px 20px;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  color: var(--yellow);
  font-size: 3rem;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 80px 20px;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.section-header p {
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--navy);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Feature Section */
.feature-section {
  background: var(--gray-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-content h2 {
  margin-bottom: 25px;
}

.feature-content .label {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.feature-content p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 1.05rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
  font-size: 1.2rem;
}

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

.feature-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* Two Column Content */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.two-column img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-size: 1.15rem;
}

.cta .btn {
  display: inline-block;
  background: white;
  color: var(--navy);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 70px 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--yellow);
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 8px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1100px;
  margin: 50px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Page Hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  padding: 160px 20px 70px;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 15px;
}

.page-hero p {
  color: white;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(91,164,180,0.15);
}

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

.btn-submit {
  background: var(--navy);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-box {
  background: var(--gray-light);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.info-box h3 {
  margin-bottom: 15px;
  color: var(--navy);
}

.info-box p {
  color: var(--gray);
  margin-bottom: 10px;
}

.info-box a {
  color: var(--teal);
  font-weight: 500;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.highlight-box h3 {
  color: var(--yellow);
  margin-bottom: 15px;
}

.highlight-box p {
  color: rgba(255,255,255,0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

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

  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-grid,
  .two-column,
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-column.reverse {
    direction: ltr;
  }

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

  .did-you-know h2 {
    font-size: 1.4rem;
  }

  .did-you-know span {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .nav-logo img {
    height: 45px;
  }
}
