
/* Base Styles */
:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #4338ca;
  --secondary: #f9fafb;
  --secondary-dark: #f3f4f6;
  --foreground: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --background: #ffffff;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-lg: rgba(0, 0, 0, 0.1);
  --rentateam-50: #f1f5fe;
  --rentateam-100: #e3ebfc;
  --rentateam-200: #c7d7f9;
  --rentateam-300: #9db7f3;
  --rentateam-400: #7196ec;
  --rentateam-500: #4f75e4;
  --rentateam-600: #3a56d8;
  --rentateam-700: #3245c3;
  --rentateam-800: #2c399f;
  --rentateam-900: #283580;
  --rentateam-950: #1c244e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #111827;
    --secondary-dark: #1f2937;
    --foreground: #e5e7eb;
    --muted: #9ca3af;
    --border: #374151;
    --background: #0f172a;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-type: none;
}

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

button, input, textarea {
  font-family: inherit;
}

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

/* Section Padding */
section {
  padding: 4rem 0;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.125rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--rentateam-100);
  border: 1px solid var(--rentateam-200);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rentateam-800);
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .badge {
    background-color: var(--rentateam-900);
    border-color: var(--rentateam-800);
    color: var(--rentateam-200);
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--rentateam-600);
  color: white;
  font-weight: 500;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--rentateam-700);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--foreground);
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 9999px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--muted);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}

.header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .header.scrolled {
    background-color: rgba(15, 23, 42, 0.8);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rentateam-700);
  z-index: 50;
}

.nav-links {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--rentateam-600);
  transition: width 0.2s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-button {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  z-index: 50;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
}

.mobile-menu .btn-primary {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

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

.hero-image {
  position: relative;
  width: 100%;
  max-width: 48rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 25px -5px var(--shadow), 0 8px 10px -6px var(--shadow);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }
  
  .hero-text {
    flex: 1;
    margin-bottom: 0;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
}

/* Services Section */
.services {
  background-color: var(--secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--rentateam-50);
  border-radius: 9999px;
  margin-bottom: 1rem;
  color: var(--rentateam-600);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-top: 1rem;
}

.service-card li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.service-card li::before {
  content: '';
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--rentateam-500);
  border-radius: 50%;
  margin-right: 0.5rem;
}

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

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

/* Global Presence Section */
.global-presence {
  background-color: var(--background);
}

.global-map {
  position: relative;
  margin-bottom: 3rem;
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rentateam-600);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.region {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.region h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.region p {
  color: var(--muted);
  font-size: 0.875rem;
}

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

/* Testimonials Section */
.testimonials {
  background-color: var(--secondary);
}

.testimonial-slider {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px var(--shadow);
}

.quote-icon {
  color: var(--rentateam-300);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author h4 {
  font-weight: 600;
}

.testimonial-author p {
  color: var(--muted);
  font-size: 0.875rem;
}

.testimonial-author .company {
  color: var(--rentateam-600);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.prev, .next {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  border-radius: 9999px;
  box-shadow: 0 1px 3px var(--shadow);
  transition: background-color 0.2s;
}

.prev:hover, .next:hover {
  background-color: var(--secondary);
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--rentateam-200);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background-color: var(--rentateam-600);
  transform: scale(1.25);
}

.dot:hover {
  background-color: var(--rentateam-300);
}

/* Contact Section */
.contact {
  background-color: var(--background);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  max-width: 32rem;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-items {
  display: grid;
  gap: 1.5rem;
}

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

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--rentateam-50);
  border-radius: 9999px;
  color: var(--rentateam-600);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.contact-form {
  width: 100%;
  max-width: 32rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rentateam-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 0.75rem 1.5rem;
}

@media (min-width: 1024px) {
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .contact-info,
  .contact-form {
    flex: 1;
  }
}

/* Footer */
.footer {
  background-color: var(--rentateam-950);
  color: white;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

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

.footer-info {
  max-width: 20rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: white;
  transition: background-color 0.2s;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.contact-details li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.contact-details strong {
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  transition: color 0.2s;
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Services Page Styles */
.services-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background-color: var(--secondary);
  text-align: center;
}

.services-hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.services-hero p {
  font-size: 1.25rem;
  color: var(--muted);
}

.services-page {
  background-color: var(--background);
}

/* Service Details Section */
.service-details {
  background-color: var(--secondary);
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  background-color: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px var(--shadow);
}

.detail-card:last-child {
  margin-bottom: 0;
}

.detail-content {
  padding: 2rem;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--rentateam-50);
  border-radius: 9999px;
  margin-bottom: 1rem;
  color: var(--rentateam-600);
}

.detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.detail-description {
  margin-bottom: 1.5rem;
}

.detail-content h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.detail-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.detail-content li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.detail-content li::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--rentateam-500);
  border-radius: 50%;
  margin-right: 0.75rem;
}

.detail-image {
  height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.talent-image {
  background-image: url('woman wires gen.jpeg');
}

.consulting-image {
  background-image: url('working.jpg');
}

.global-image {
  background-image: url('robot.jpeg');
}

@media (min-width: 1024px) {
  .detail-card {
    flex-direction: row;
    align-items: stretch;
  }
  
  .detail-card.reverse {
    flex-direction: row-reverse;
  }
  
  .detail-content,
  .detail-image {
    flex: 1;
  }
  
  .detail-image {
    height: auto;
  }
}

/* Service Process Section */
.service-process {
  background-color: var(--background);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.process-step {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  background-color: var(--background);
  box-shadow: 0 4px 6px -1px var(--shadow);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rentateam-500);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted);
}

.benefits {
  background-color: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
}

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

.benefits-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefits-header p {
  color: var(--muted);
}

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

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
}

.benefit-card svg {
  color: var(--rentateam-500);
  flex-shrink: 0;
}

.benefit-card p {
  font-weight: 500;
  font-size: 0.875rem;
}

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

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
