/* CSS Reset and Variables */
:root {
  --primary: hsl(25, 85%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(220, 85%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 20%);
  --muted-foreground: hsl(0, 0%, 45%);
  --background: hsl(0, 0%, 100%);
  --gray-800: hsl(0, 0%, 12%);
  --gray-700: hsl(0, 0%, 25%);
  --gray-400: hsl(0, 0%, 60%);
  --gray-300: hsl(0, 0%, 75%);
  --gray-600: hsl(0, 0%, 30%);
  --yellow-400: hsl(45, 100%, 51%);
  --yellow-50: hsl(55, 100%, 95%);
  --orange-50: hsl(25, 100%, 95%);
  --yellow-200: hsl(50, 100%, 80%);
  --blue-600: hsl(220, 85%, 50%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background: linear-gradient(45deg, var(--primary) 50%, var(--accent) 50%);
  min-height: 100vh;
}

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

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header */
.header {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  position: relative;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  height: 2rem;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: all 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Main Content */
.main {
  position: relative;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-top: 3rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: inline-block;
  width: fit-content;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-illustration {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-illustration {
    justify-content: flex-end;
  }
}

.illustration-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

.illustration-icon {
  width: 8rem;
  height: 8rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 3rem;
}

.illustration-text {
  font-size: 0.875rem;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .service-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--foreground);
  line-height: 1.3;
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  background: linear-gradient(to right, var(--primary), var(--primary));
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.tag-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-icon.primary {
  background: linear-gradient(to right, var(--primary), var(--primary));
}

.tag-icon.accent {
  background: linear-gradient(to right, var(--accent), var(--accent));
}

.tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.btn {
  width: 100%;
  border-radius: 9999px;
  font-weight: bold;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Stats Header */
.stats-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Stats Cards (in Hero) */
.stats-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.stat-icon-container {
  background: linear-gradient(to bottom right, var(--primary), var(--primary));
  border-radius: 1rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  height: 3rem;
  width: 3rem;
  filter: brightness(0) invert(1);
}

.stat-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
  line-height: 1.3;
  text-align: center;
}

.star-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.25rem;
  align-items: center;
}

.star {
  color: var(--yellow-400);
  font-size: 1.125rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-left: 0.75rem;
  font-weight: bold;
}

.stat-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: linear-gradient(to right, var(--yellow-50), var(--orange-50));
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--yellow-200);
  text-align: center;
}

.stat-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.percentage-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.percentage {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(to right, var(--accent), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.top-badge {
  position: absolute;
  top: -0.5rem;
  right: -2.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary));
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-description {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--foreground);
  line-height: 1.3;
  text-align: center;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 4xl;
  margin: 0 auto;
}

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

.stats-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.stats-icon {
  background: linear-gradient(to right, var(--primary), var(--primary));
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  min-height: 4rem;
}

.stats-icon.accent {
  background: linear-gradient(to right, var(--accent), var(--accent));
}

.stats-text {
  font-weight: bold;
  color: var(--foreground);
  font-size: 1.125rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 5xl;
  margin: 0 auto;
}

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

.gallery-item {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

.gallery-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* References Section */
.references-section {
  padding: 5rem 0;
  color: white;
}

.references-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 6xl;
  margin: 0 auto;
}

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

.reference-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.reference-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.reference-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quote-icon {
  background: linear-gradient(to bottom right, var(--accent), var(--accent));
  padding: 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.reference-quote {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--foreground);
  line-height: 1.3;
}

.reference-content {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reference-company {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-logo {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, var(--accent), var(--accent));
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.company-name {
  font-weight: bold;
  color: var(--foreground);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  color: white;
}

.contact-card {
  max-width: 2xl;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

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

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
    text-align: left;
  }
}

.contact-avatar {
  position: relative;
}

.avatar-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.avatar-badge {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary));
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-role {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  padding: 1rem;
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .contact-item {
    justify-content: flex-start;
  }
}

.contact-icon {
  background: linear-gradient(to right, var(--accent), var(--accent));
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
}

.contact-icon.primary {
  background: linear-gradient(to right, var(--primary), var(--primary));
}

.contact-text {
  font-weight: bold;
  color: var(--foreground);
  font-size: 1.125rem;
}

.contact-text.email {
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Projects Section */
.projects-section {
  padding: 4rem 0;
  color: white;
}

.projects-container {
  max-width: 4xl;
  margin: 0 auto;
}

.projects-grid {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.project-item {
  text-align: center;
  transition: all 0.2s ease;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.project-item:hover {
  transform: translateY(-2px);
}

.project-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
}

.project-icon.primary {
  background: linear-gradient(to right, var(--primary), var(--primary));
}

.project-icon.accent {
  background: linear-gradient(to right, var(--accent), var(--accent));
}

.project-icon.gray {
  background-color: var(--gray-600);
  font-size: 0.875rem;
}

.project-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Footer */
.footer {
  background-color: var(--gray-800);
  color: var(--gray-300);
  padding: 3rem 0;
}

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

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

.footer-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

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

.social-link {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: white;
}

.company-info {
  font-size: 0.875rem;
}

.company-info p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .stat-card {
    padding: 2rem;
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  .reference-card {
    padding: 2rem;
  }
}