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

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

:root {
  --md-primary-fg-color:        #fff;
  --md-primary-fg-color--light: #4500B5;
  --md-primary-fg-color--dark:  #000;
  --md-primary-bg-color: #fff;

  --re-header-bg: #f4f4f4;
  --re-header-border: #d0d0d0;

  font-size: 0.95rem;
}

body {
  background-color: #fff;
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header {
  padding: 1rem 2rem;
  max-width: 1296px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  max-height: 24px;
}

.open-positions-link {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.open-positions-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  color: white;
}

.hero-wrap {
  background-image: url(../assets/hero-bg.jpg);
  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  border-radius: 40px 40px 0 0;
  margin: 0 2rem;
  width: calc(100% - 4rem);
  min-height: 100vh;
}

main {
  max-width: 1296px;
  margin: 0 auto;
}

/* Hero Section Styling */
.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 3rem;
  min-height: 80vh;
}

/* Better spacing for large desktop screens */
@media (min-width: 1201px) {
  main {
    padding: 0 2rem;
  }
  
  .mission-content {
    margin: 0 2rem;
  }
  
  .values-section {
    gap: 4rem;
  }
  
  .benefits-grid {
    gap: 3rem;
  }
}

@media (min-width: 1400px) {
  .hero-content {
    gap: 6rem;
    padding: 5rem 4rem;
  }
  
  main {
    padding: 0 3rem;
  }
  
  .mission-content {
    margin: 0 3rem;
  }
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
}

.purple-text {
  color: #8b5cf6;
}

.hero-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.hero-image {
  position: relative;
  flex: 1;
  text-align: right;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.hero-image-overlay {
  position: absolute;
  right: -10%;
  bottom: -7%;
  width: 83%;
  height: 100%;
  background: url(../assets/hero-overlay.png) no-repeat right bottom;
  background-size: contain;
}

/* Mission Section Styling */
.mission-content {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 4rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-text {
  flex: 1;
  background: linear-gradient(135deg, #d1bfff 0%, #c8b2ff 100%);
  padding: 4rem;
  color: #2d3748;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 2rem 0;
  color: #2d3748;
}

.mission-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  border: none;
  padding: 0;
  font-style: normal;
  color: #2d3748;
}

.mission-attribution {
  font-size: 1rem;
  color: #4a5568;
  margin: 0;
  font-style: italic;
}

/* Values Section Styling */
.values-section {
  margin: 6rem 0;
  padding: 0;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.values-header {
  flex: 1;
  max-width: 400px;
}

.values-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
}

.values-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.values-grid {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-icon {
  margin-left: -14px;
  display: flex;
  align-items: center;
  color: #2d3748;
  flex-shrink: 0;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  color: #2d3748;
  line-height: 1.3;
}

.value-description {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Benefits Section Styling */
.benefits-section {
  margin: 6rem 0;
  padding: 4rem 0;
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f3f0ff 0%, #e9e5ff 100%);
  z-index: -1;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benefits-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  color: #2d3748;
}

.benefits-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.benefit-category {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem;
  color: white;
}

.benefit-overlay h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  color: white;
}

.benefit-items {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 48px;
  height: 48px;
}

.benefit-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #2d3748;
}

.benefit-item p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Jobs Section Styling */
.jobs-section {
  margin: 6rem 0;
  padding: 0;
}

.jobs-header {
  text-align: center;
  margin-bottom: 4rem;
}

.jobs-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  color: #2d3748;
}

.jobs-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

#recruitee-careers {
  margin-top: 2rem;
}

/* Footer Styling */
.site-footer {
  background-color: #f8f9fa;
  margin-top: 6rem;
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 24px;
  margin-bottom: 1rem;
}

.footer-branding h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d3748;
  margin: 0 0 2rem 0;
  line-height: 1.3;
}

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

.office h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 1rem 0;
}

.office p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.footer-nav h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 1rem 0;
}

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

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

.footer-nav a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright a,
.footer-terms a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-copyright a:hover,
.footer-terms a:hover {
  color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  header {
    padding: 1rem 3rem;
  }
  
  main {
    padding: 0 2rem;
  }
  
  .hero-wrap {
    margin: 0 1rem;
    width: calc(100% - 2rem);
  }
  
  .hero-content {
    gap: 2.5rem;
    padding: 3rem 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .mission-content {
    margin: 0 1rem;
  }
  
  .values-section {
    gap: 3rem;
  }
  
  .values-grid {
    gap: 2rem;
  }
  
  .benefits-grid {
    gap: 2rem;
  }
  
  .footer-main {
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 3rem 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .mission-content {
    flex-direction: column;
  }
  
  .mission-text {
    padding: 3rem 2rem;
  }
  
  .mission-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .values-section {
    flex-direction: column;
    gap: 4rem;
  }
  
  .values-header {
    max-width: none;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .values-title {
    font-size: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-title {
    font-size: 2rem;
  }
  
  .jobs-title {
    font-size: 2rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-offices {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }
  
  header img {
    max-height: 32px;
  }
  
  .open-positions-link {
    padding: 0.875rem 1.75rem;
    font-size: 1.1rem;
    border-radius: 20px;
  }
  
  .hero-wrap {
    margin: 0 0.5rem;
    width: calc(100% - 1rem);
  }
  
  .hero-content {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-image-overlay {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    font-size: 1.1rem;
    padding: 1.1rem 2rem;
  }
  
  .mission-text {
    padding: 2.5rem 1.5rem;
  }
  
  .mission-title {
    font-size: 2.2rem;
  }
  
  .mission-quote {
    font-size: 1.3rem;
  }
  
  .mission-attribution {
    font-size: 1.1rem;
  }
  
  .values-section {
    margin: 4rem 0;
    flex-direction: column;
    gap: 3rem;
  }
  
  .values-header {
    max-width: none;
  }
  
  .values-title {
    font-size: 2.2rem;
  }
  
  .values-subtitle {
    font-size: 1.2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .value-title {
    font-size: 1.7rem;
  }
  
  .value-description {
    font-size: 1.1rem;
  }
  
  .benefits-section {
    margin: 4rem 0;
  }
  
  .benefits-header {
    margin-bottom: 3rem;
  }
  
  .benefits-title {
    font-size: 2.2rem;
  }
  
  .benefits-subtitle {
    font-size: 1.2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefit-items {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  
  .benefit-overlay {
    padding: 2rem 1.5rem;
  }
  
  .benefit-overlay h3 {
    font-size: 1.6rem;
  }
  
  .benefit-item h4 {
    font-size: 1.3rem;
  }
  
  .benefit-item p {
    font-size: 1.1rem;
  }
  
  .jobs-section {
    margin: 4rem 0;
  }
  
  .jobs-header {
    margin-bottom: 3rem;
  }
  
  .jobs-title {
    font-size: 2.2rem;
  }
  
  .jobs-subtitle {
    font-size: 1.2rem;
  }
  
  .site-footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-offices {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  header img {
    max-height: 28px;
  }
  
  .open-positions-link {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-wrap {
    margin: 0 0.25rem;
    width: calc(100% - 0.5rem);
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .mission-text {
    padding: 2rem 1rem;
  }
  
  .mission-title {
    font-size: 2rem;
  }
  
  .mission-quote {
    font-size: 1.2rem;
  }
  
  .values-title {
    font-size: 2rem;
  }
  
  .value-title {
    font-size: 1.5rem;
  }
  
  .benefits-title {
    font-size: 2rem;
  }
  
  .benefit-items {
    padding: 1.5rem 1rem;
  }
  
  .benefit-overlay {
    padding: 1.5rem 1rem;
  }
  
  .benefit-overlay h3 {
    font-size: 1.4rem;
  }
  
  .benefit-item h4 {
    font-size: 1.2rem;
  }
  
  .jobs-title {
    font-size: 2rem;
  }
}


