@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=MonteCarlo&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Define variables */
:root {
  --pbi-gold: #E8B64F;
  --pbi-gold-hover: #D4A843;
  --pbi-black: #000000;
  --pbi-white: #ffffff;
  --pbi-gold-light: rgba(232, 182, 79, 0.1);
  --pbi-gold-medium: rgba(232, 182, 79, 0.3);
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  line-height: 1.7;
  background: var(--pbi-black);
  color: var(--pbi-white);
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.3px;
}

header {
  background: var(--pbi-black);
  padding: 2rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(232, 182, 79, 0.1);
}

/* Homepage header - hidden completely */
.homepage header {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo a {
  display: block;
  text-decoration: none;
}

.logo-img {
  max-height: 125px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--pbi-gold);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(232, 182, 79, 0.3);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 10px);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -5px);
}

nav {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--pbi-black);
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  z-index: 1000;
  max-width: 300px;
  margin-top: 12px;
  margin-right: 20px;
  border-radius: 8px;
  border: 1px solid rgba(232, 182, 79, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}

.menu-open nav {
  opacity: 1;
  max-height: 600px;
}

nav a {
  color: var(--pbi-white);
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-top: 1px solid rgba(232, 182, 79, 0.2);
  font-weight: 300;
  font-size: 0.9rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: "Helvetica Neue", "Arial", sans-serif;
}

nav a:hover {
  background-color: rgba(232, 182, 79, 0.1);
  color: var(--pbi-gold);
  letter-spacing: 1.5px;
  padding-left: 2rem;
}

/* Remove duplicate menu-toggle styles - using the flex version above */

.bg-white {
  width: 85%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background: var(--pbi-white);
  color: var(--pbi-black);
  padding: 3rem 2.5rem;
  text-align: left;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  margin-bottom: 3rem;
  border: 1px solid rgba(232, 182, 79, 0.1);
}

a {
  color: var(--pbi-gold);
  text-decoration: none;
}

a:hover {
  color: var(--pbi-gold-hover);
}

h1, h2, h3 {
  color: var(--pbi-gold);
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* White box headings */
.bg-white h1, .bg-white h2, .bg-white h3 {
  color: var(--pbi-black);
  text-shadow: none;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--pbi-gold);
  padding-bottom: 1rem;
  display: inline-block;
}

/* Font Examples for Client Selection */
.font-example-1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
}

.font-example-2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.font-example-3 {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* White box text styling */
.bg-white p {
  color: var(--pbi-black);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

main {
  flex: 1;
  padding: 0 1rem;
}

footer {
  background: var(--pbi-black);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(232, 182, 79, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-section h4 {
  color: var(--pbi-gold);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  color: var(--pbi-white);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: var(--pbi-white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.footer-menu a:hover {
  color: var(--pbi-gold);
}

.contact-info p {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.contact-info a {
  color: var(--pbi-white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-info a:hover {
  color: var(--pbi-gold);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  color: var(--pbi-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.social-link:hover {
  color: var(--pbi-gold);
}

.social-link img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.social-link:hover img {
  filter: brightness(0) saturate(100%) invert(73%) sepia(65%) saturate(1234%) hue-rotate(35deg) brightness(102%) contrast(91%);
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--pbi-white);
  font-size: 0.75rem;
  margin: 0;
}

/* Footer Logo Styles */
.footer-logo-section {
  text-align: left;
}

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

.footer-logo-img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-logo h4 {
  margin: 0;
  font-size: 1.1rem;
}

.nunito {
  font-family: "Nunito", sans-serif;
  font-size: 1.4rem;
}

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

.pbi-button {
  display: inline-block;
  font-weight: bold;
  color: var(--pbi-black);
  background-color: var(--pbi-gold);
  border: 2px solid var(--pbi-gold);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(232, 182, 79, 0.3);
  min-width: 200px;
  margin: 0.5rem;
}

.pbi-button:hover {
  background-color: var(--pbi-gold-hover);
  border-color: var(--pbi-gold-hover);
  color: var(--pbi-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 182, 79, 0.5);
}

.pbi-button:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--pbi-black);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--pbi-gold);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.application-buttons {
  margin-top: 2rem;
  padding: 2rem;
}

.application-buttons p {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.flex-buttons {
  width: 90%;
  max-width: 640px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Founder Page */
.pbi-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
}

.image-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.full-width {
  grid-column: 1 / -1;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

  .image-content {
    grid-row: 2;
  }
}

@media (max-width: 530px) {
  .flex-buttons {
    flex-direction: column;
  }
  .pbi-button {
    max-width: 300px;
    margin: 5px auto;
  }
  .nunito {
    font-size: 18px;
  }
  .logo-img {
    max-height: 100px;
  }
}

/* Services Section */
.services-section {
  background: var(--pbi-black);
  padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--pbi-black);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--pbi-gold);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(232, 182, 79, 0.2);
}

.service-card h4 {
  color: var(--pbi-gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--pbi-white);
  line-height: 1.6;
  font-size: 1rem;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--pbi-gold);
  color: var(--pbi-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(232, 182, 79, 0.3);
}

.step h4 {
  color: var(--pbi-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.step p {
  color: var(--pbi-white);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--pbi-black);
  padding: 4rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--pbi-black);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--pbi-gold);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 182, 79, 0.2);
}

.testimonial-card p {
  color: var(--pbi-white);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-card p::before {
  content: '"';
  font-size: 3rem;
  color: var(--pbi-gold);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: serif;
}

.testimonial-author {
  color: var(--pbi-gold);
  font-weight: 600;
  text-align: right;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: var(--pbi-black);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--pbi-white);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pbi-button.secondary {
  background-color: transparent;
  color: var(--pbi-gold);
  border: 2px solid var(--pbi-gold);
}

.pbi-button.secondary:hover {
  background-color: var(--pbi-gold);
  color: var(--pbi-black);
}

/* Splash Page Styles */
.splash-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--pbi-black);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.splash-logo {
  margin-bottom: 3rem;
}

.splash-logo-img {
  width: 600px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.splash-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 12px rgba(232, 182, 79, 0.4));
}

.splash-title {
  color: var(--pbi-gold);
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 0;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  text-transform: uppercase;
}

.membership-box {
  margin-top: 2rem;
}

.membership-button {
  display: inline-block;
  font-weight: 400;
  color: var(--pbi-black);
  background-color: var(--pbi-gold);
  border: 1px solid var(--pbi-gold);
  padding: 1.8rem 4rem;
  font-size: 1.1rem;
  line-height: 1.5;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 6px 25px rgba(232, 182, 79, 0.2);
  min-width: 320px;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  position: relative;
  overflow: hidden;
}

.membership-button:hover {
  background-color: var(--pbi-gold-hover);
  border-color: var(--pbi-gold-hover);
  color: var(--pbi-black);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(232, 182, 79, 0.4);
  letter-spacing: 3px;
}

.membership-button:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    justify-content: flex-start;
  }
  
  .logo {
    justify-content: flex-start;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo-section {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-section h3 {
    font-size: 1.8rem;
  }
  
  /* Splash Page Mobile */
  .splash-logo-img {
    width: 350px;
  }
  
  .splash-title {
    font-size: 2.2rem;
  }
  
  .membership-button {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    min-width: 250px;
  }
}

@media (max-width: 420px) {
  footer {
    padding: 1rem 5px;
  }
  .nunito {
    font-size: 13px;
  }
  
  .services-section,
  .testimonials-section,
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* Splash Page Small Mobile */
  .splash-logo-img {
    width: 350px;
  }
  
  .splash-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .membership-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: 200px;
  }
}