:root {
  /* Modern color palette */
  --background-dark: #0f172a;
  --background-light: #f8fafc;
  --text-dark: #e2e8f0;
  --text-light: #1e293b;
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #0ea5e9;
  --accent-color: #8b5cf6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #06b6d4;
  --card-bg-dark: #1e293b;
  --card-bg-light: #ffffff;
  --border-dark: #334155;
  --border-light: #e2e8f0;
  --footer-bg-dark: #0f172a;
  --footer-bg-light: #f1f5f9;
  --shadow-dark: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-light: 0 10px 25px rgba(0, 0, 0, 0.1);
  --gradient-dark: linear-gradient(145deg, #1e293b, #0f172a);
  --gradient-light: linear-gradient(145deg, #ffffff, #f1f5f9);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --font-family: "Montserrat", sans-serif;
  --z-index-preloader: 9999;
  --z-index-modal: 2000;
  --z-index-header: 1000;
  --z-index-dropdown: 100;
  --z-index-tooltip: 50;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 16px;
  scroll-padding-top: 80px; /* Accounts for fixed header */
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background-dark);
  background-image: radial-gradient(
      rgba(59, 130, 246, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  color: var(--text-dark);
  font-family: var(--font-family);
  transition: background var(--transition-medium),
    color var(--transition-medium);
  margin: 0;
  line-height: 1.6;
}

html.light body {
  background: var(--background-light);
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  flex: 1;
  overflow: hidden; /* Prevent scrolling */
}

/* Main content wrapper */
.main-content {
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.25rem 1.25rem;
  background: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-top: 1.875rem;
  min-height: 600px;
  width: 100%; /* Ensure full width */
  max-width: 100%; /* Prevent overflow */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7));
  z-index: 1;
  transition: background var(--transition-medium);
}

html.light .hero::before {
  background: linear-gradient(
    rgba(248, 250, 252, 0.85),
    rgba(248, 250, 252, 0.7)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%; /* Ensure full width */
  padding: 0 1rem; /* Add padding for mobile */
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: textFocus 1s ease-out forwards;
  word-wrap: break-word; /* Ensure text wraps properly */
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
  word-wrap: break-word; /* Ensure text wraps properly */
}

html.light .hero-subtitle {
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
  width: 100%; /* Ensure full width */
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.hero-btn.primary {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.hero-btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: all var(--transition-medium);
  z-index: -1;
}

.hero-btn.primary:hover::before {
  left: 0;
}

.hero-btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.5);
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-btn.secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.hero-btn.secondary:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.hero-btn.secondary:hover::before {
  opacity: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.stats-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  top: -150px;
  left: -150px;
  z-index: -1;
}

.stats-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  z-index: -1;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.125rem;
  color: var(--primary-color);
  position: relative;
  word-wrap: break-word;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.9375rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.1875rem;
  background: var(--primary-color);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.875rem;
  width: 100%;
}

.stats-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

html.light .stats-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

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

.stats-card:hover::before {
  opacity: 1;
}

html.light .stats-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stats-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  animation: pulse 2s infinite;
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.625rem;
  line-height: 1;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1s ease-out forwards;
}

.stats-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

html.light .stats-label {
  color: var(--text-light);
}

.stats-subtext {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1.25rem;
}

html.light .stats-subtext {
  color: var(--text-light);
}

.stats-chart {
  flex-grow: 1;
  position: relative;
  height: 100px;
  margin-top: auto;
}

.stats-chart canvas {
  width: 100%;
  height: 100%;
}

.stats-growth {
  font-size: 1rem;
  font-weight: 600;
  color: var(--success-color);
  margin-top: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
}

.stats-growth i {
  font-size: 0.9rem;
}

/* Industries Section */
.industries-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.industries-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  top: -150px;
  left: -150px;
  z-index: -1;
}

.industries-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  z-index: -1;
}

.industries-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 220px), 1fr)
  ); /* Adjusted for 5 per row, responsive */
  gap: 1.875rem;
  padding: 0 1.25rem; /* Add padding to ensure spacing from edges */
}

.industry-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 1.875rem;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

html.light .industry-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.industry-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
  opacity: 1;
}

html.light .industry-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  transition: transform var(--transition-medium);
}

.industry-card:hover .industry-icon {
  transform: scale(1.2);
}

.industry-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.625rem;
  transition: color var(--transition-medium);
}

.industry-card:hover .industry-name {
  color: var(--primary-color);
}

html.light .industry-name {
  color: var(--text-light);
}

.industry-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium),
    opacity var(--transition-medium);
}

html.light .industry-description {
  color: var(--text-light);
}

.industry-card:hover .industry-description {
  max-height: 100px;
  opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-medium);
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.875rem;
  border: 1px solid var(--border-dark);
  animation: fadeInScale 0.6s ease-out forwards;
  position: relative; /* Added for pseudo-elements */
  overflow: hidden; /* Ensure pseudo-elements don't overflow */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth transition */
  z-index: 1; /* Ensure content is above pseudo-elements */
}

html.light .testimonial-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s ease-out;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
}

.testimonial-card:hover::before {
  opacity: 1;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%) scale(1);
}

.testimonial-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

html.light .testimonial-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 4px solid var(--primary-color); /* Thicker border */
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2); /* Subtle outer glow */
  transition: all 0.3s ease;
  z-index: 1; /* Ensure avatar is above pseudo-element */
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.3);
}

.testimonial-quote {
  font-size: 1.15rem; /* Slightly larger font */
  line-height: 1.8;
  margin-bottom: 1.5rem; /* More space below quote */
  color: var(--text-dark);
  position: relative;
  padding: 1.5rem;
  font-style: italic; /* Italicize quote */
  background: rgba(59, 130, 246, 0.05); /* Subtle background for quote */
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--primary-color); /* Accent border */
  transition: all 0.3s ease;
  z-index: 1;
  text-align: left; /* Align quote text to left */
  width: 100%; /* Ensure it takes full width */
}

html.light .testimonial-quote {
  color: var(--text-light);
  background: rgba(59, 130, 246, 0.02);
}

.testimonial-card:hover .testimonial-quote {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: "“"; /* Use proper curly quotes */
  font-size: 3.5rem; /* Larger quote marks */
  color: var(--primary-color);
  opacity: 0.2; /* More subtle */
  position: absolute;
  font-style: normal; /* Ensure quote marks are not italic */
  line-height: 1;
}

.testimonial-quote::after {
  content: "”";
  top: auto;
  bottom: -10px; /* Adjusted position */
  right: 10px; /* Adjusted position */
  left: auto;
}

.testimonial-quote::before {
  top: 10px; /* Adjusted position */
  left: 10px; /* Adjusted position */
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.3rem; /* Slightly larger */
  color: var(--primary-color);
  margin-top: 1rem; /* More space above author */
  z-index: 1;
}

.testimonial-role {
  font-size: 0.95rem; /* Slightly larger */
  color: var(--text-dark);
  opacity: 0.8;
  margin-top: 0.3125rem;
  z-index: 1;
}

html.light .testimonial-role {
  color: var(--text-light);
}

.testimonial-rating {
  color: var(--warning-color);
  font-size: 1.8rem; /* Larger stars */
  margin-bottom: 1rem; /* More space below stars */
  z-index: 1;
}

.testimonial-industry {
  font-size: 0.95rem; /* Slightly larger */
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
  padding: 0.4rem 1rem; /* Larger padding */
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 25px; /* More rounded */
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.2); /* Subtle border */
  z-index: 1;
}

.testimonial-date {
  font-size: 0.85rem; /* Slightly larger */
  color: var(--text-dark);
  opacity: 0.7;
  margin-top: 1rem;
  z-index: 1;
}

html.light .testimonial-date {
  color: var(--text-light);
}

.testimonials-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 1.875rem;
  pointer-events: none;
}

.testimonial-control {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  opacity: 0.8;
  z-index: 20;
  pointer-events: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-control:hover {
  opacity: 1;
  transform: scale(1.1);
}

.testimonial-control.prev {
  margin-left: -25px;
}

.testimonial-control.next {
  margin-right: -25px;
}

/* Add Review Button */
.add-review-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

/* Review Form Section */
.review-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.review-container {
  display: flex;
  justify-content: center;
}

.review-form-container {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

html.light .review-form-container {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.review-form-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html.light .review-form-container:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5625rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9375rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-dark);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-dark);
  font-size: 1rem;
  transition: all var(--transition-medium);
  font-family: var(--font-family);
}

html.light .form-group input,
html.light .form-group textarea,
html.light .form-group select {
  border: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
}

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

.form-group label {
  position: absolute;
  top: 0.9375rem;
  left: 0.9375rem;
  color: var(--text-dark);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--transition-medium);
}

html.light .form-group label {
  color: var(--text-light);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:not([value=""]):not([value="null"]) ~ label {
  top: -0.625rem;
  left: 0.625rem;
  font-size: 0.8rem;
  background: var(--card-bg-dark);
  padding: 0 0.3125rem;
  color: var(--primary-color);
}

html.light .form-group input:focus ~ label,
html.light .form-group textarea:focus ~ label,
html.light .form-group select:focus ~ label,
html.light .form-group input:not(:placeholder-shown) ~ label,
html.light .form-group textarea:not(:placeholder-shown) ~ label,
html.light .form-group select:not([value=""]):not([value="null"]) ~ label {
  background: var(--card-bg-light);
}

/* Rating Container */
.rating-container {
  margin-bottom: 1.25rem;
}

.rating-label {
  display: block;
  margin-bottom: 0.625rem;
  font-weight: 600;
  color: var(--text-dark);
}

html.light .rating-label {
  color: var(--text-light);
}

.star-rating {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.3125rem;
  justify-content: center;
}

.star-rating i {
  color: #bdc3c7;
  cursor: pointer;
  transition: all var(--transition-medium);
  font-size: 1.8rem;
}

.star-rating i.hovered,
.star-rating i.selected,
.star-rating i.active {
  color: var(--warning-color);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin-top: 0.3125rem;
  margin-left: 0.625rem;
}

html.light .form-hint {
  color: var(--text-light);
}

.submit-btn {
  padding: 0.9375rem;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: all var(--transition-medium);
  z-index: -1;
}

.submit-btn:hover::before {
  left: 0;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
  background: #888;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-btn i {
  transition: transform var(--transition-medium);
}

.submit-btn:hover i {
  transform: translateX(5px);
}

.form-message {
  padding: 0.9375rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  margin-top: 0.9375rem;
  display: none;
  font-weight: 600;
  animation: fadeIn 0.5s ease forwards;
}

.form-message.success {
  background-color: rgba(16, 185, 129, 0.2);
  color: var(--success-color);
  display: block;
}

.form-message.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: var(--danger-color);
  display: block;
}

/* Order Form Section */
.order-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.order-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  z-index: -1;
}

.order-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.order-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  height: 100%;
}

html.light .order-image-container {
  box-shadow: var(--shadow-light);
}

.order-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.order-image-container:hover .order-image {
  transform: scale(1.05);
}

.order-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.875rem;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.order-image-container:hover .order-image-overlay {
  transform: translateY(0);
}

.order-image-text h3 {
  color: white;
  margin-bottom: 0.9375rem;
  font-size: 1.5rem;
}

.order-image-text ul {
  list-style: none;
}

.order-image-text li {
  color: white;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.order-image-text li i {
  color: var(--primary-color);
}

.order-form-container {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.order-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.order-form-container:hover::before {
  opacity: 1;
}

.order-form-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html.light .order-form-container {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

html.light .order-form-container:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.order-form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.875rem;
  color: var(--primary-color);
  text-align: center;
  position: relative;
}

.order-form-title::after {
  content: "";
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.125rem;
  height: 0.125rem;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.order-form-container:hover .order-form-title::after {
  width: 6.25rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Communication Panel */
.communication-panel {
  position: fixed;
  right: 1.875rem;
  bottom: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  z-index: var(--z-index-dropdown);
}

.comm-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
  transition: all var(--transition-medium);
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.comm-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.comm-btn:hover::before {
  opacity: 1;
}

.comm-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

.comm-btn i {
  transition: transform var(--transition-medium);
}

.comm-btn.active i {
  transform: rotate(360deg);
}

.comm-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comm-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.comm-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--gradient-dark);
  padding: 0.625rem 0.9375rem;
  border-radius: 30px;
  box-shadow: var(--shadow-dark);
  cursor: pointer;
  transition: all var(--transition-medium);
  border: 1px solid var(--border-dark);
  transform: translateX(50px);
  opacity: 0;
}

.comm-menu.active .comm-item {
  transform: translateX(0);
  opacity: 1;
}

.comm-menu.active .comm-item:nth-child(1) {
  transition-delay: 0.1s;
}

.comm-menu.active .comm-item:nth-child(2) {
  transition-delay: 0.2s;
}

.comm-menu.active .comm-item:nth-child(3) {
  transition-delay: 0.3s;
}

.comm-menu.active .comm-item:nth-child(4) {
  transition-delay: 0.4s;
}

html.light .comm-item {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.comm-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
}

html.light .comm-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comm-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-medium);
}

.comm-item:hover .comm-icon {
  transform: rotate(15deg);
}

.comm-text {
  font-weight: 600;
  color: var(--text-dark);
  transition: transform var(--transition-medium);
}

.comm-item:hover .comm-text {
  transform: translateX(3px);
}

html.light .comm-text {
  color: var(--text-light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.875rem;
  left: 1.875rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
  border: none;
  z-index: var(--z-index-tooltip);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

/* Partners Section */
.partners-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  top: -150px;
  left: -150px;
  z-index: -1;
}

.partners-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  z-index: -1;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 220px), 1fr)
  ); /* Adjusted for 5 per row, responsive */
  gap: 1.875rem;
  padding: 0 1.25rem; /* Add padding to ensure spacing from edges */
}

.partner-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 1.875rem;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeInScale 0.6s ease-out forwards;
}

.partner-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s ease-out;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
}

html.light .partner-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.partner-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.partner-card:hover::before {
  opacity: 1;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%) scale(1);
}

html.light .partner-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  transition: transform var(--transition-medium);
}

.partner-card:hover .partner-logo {
  transform: scale(1.2);
}

.partner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.9375rem;
  transition: color var(--transition-medium);
}

.partner-card:hover .partner-name {
  color: var(--primary-color);
}

html.light .partner-name {
  color: var(--text-light);
}

.partner-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1.25rem;
}

html.light .partner-description {
  color: var(--text-light);
}

.partner-link {
  margin-top: auto;
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-medium);
}

.partner-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: var(--footer-bg-dark);
  color: var(--text-dark);
  padding: 3.75rem 0 1.875rem;
  margin-top: 3.75rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 200% 100%;
  animation: gradientMove 5s linear infinite;
}

html.light .footer {
  background-color: var(--footer-bg-light);
  color: var(--text-light);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-logo i {
  font-size: 1.8rem;
  animation: pulse 2s infinite;
}

.footer-description {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.9375rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.footer-section:hover .footer-title::after {
  width: 100%;
}

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

.footer-link {
  margin-bottom: 0.625rem;
  transform: translateX(0);
  transition: transform var(--transition-medium);
}

.footer-link a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link a i {
  transition: transform var(--transition-medium);
}

html.light .footer-link a {
  color: var(--text-light);
}

.footer-link a:hover {
  color: var(--primary-color);
}

.footer-link a:hover i {
  transform: translateX(5px);
}

.footer-link:hover {
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.9375rem;
  transition: transform var(--transition-medium);
}

.footer-contact:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-medium);
}

.footer-contact:hover .contact-icon {
  transform: rotate(15deg);
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-medium);
}

.footer-contact:hover .contact-label {
  color: var(--primary-color);
}

html.light .contact-label {
  color: rgba(33, 37, 41, 0.7);
}

.contact-value {
  font-weight: 600;
}

.contact-value a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-medium);
}

html.light .contact-value a {
  color: var(--text-light);
}

.contact-value a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.875rem;
  margin-top: 1.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .footer-bottom {
  border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.copyright {
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
}

.copyright::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.copyright:hover::after {
  width: 100%;
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-index-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  overflow: hidden;
}

html.light .login-modal {
  background: var(--gradient-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
}

.modal-overlay.active .login-modal {
  transform: translateY(0) scale(1);
}

.login-modal::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
}

.login-modal::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.2) 0%,
    rgba(14, 165, 233, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
}

.modal-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  animation: pulse 2s infinite;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.9375rem;
  color: var(--primary-color);
}

.modal-message {
  font-size: 1.2rem;
  margin-bottom: 1.875rem;
  color: var(--text-dark);
  line-height: 1.6;
}

html.light .modal-message {
  color: var(--text-light);
}

.modal-buttons {
  display: flex;
  gap: 0.9375rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-btn {
  padding: 0.9375rem 1.875rem;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.modal-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: all var(--transition-medium);
  z-index: -1;
}

.modal-btn:hover::before {
  left: 0;
}

.modal-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.modal-btn.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.modal-btn.secondary::before {
  background: var(--primary-color);
}

.modal-btn.secondary:hover {
  color: white;
}

.modal-btn.secondary:hover::before {
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-medium);
}

html.light .modal-close {
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes textFocus {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .order-image-container {
    display: none;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
  }

  .header-container {
    padding: 0.9375rem 1.25rem;
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--background-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5rem 2.5rem;
    transition: all 0.4s ease;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  html.light .nav-menu {
    background: var(--background-light);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    margin: 0.9375rem 0;
    font-size: 1.2rem;
  }

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

  .theme-switch {
    margin: 1.25rem 0;
  }

  .hero {
    padding: 3.75rem 1.25rem;
    min-height: 500px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .hero-title {
    font-size: 2rem;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.9375rem;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .industry-card {
    padding: 1.25rem;
  }

  .order-form-container {
    padding: 1.875rem 1.25rem;
  }

  .communication-panel {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .login-modal {
    padding: 1.875rem 1.25rem;
    width: 90%;
  }

  .modal-title {
    font-size: 1.8rem;
  }

  .modal-message {
    font-size: 1.1rem;
  }

  .modal-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .container {
    padding: 0 0.9375rem;
    width: 100%;
  }

  .testimonials-slider {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .logo i {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .industry-card {
    padding: 0.9375rem;
  }

  .industry-icon {
    font-size: 2.5rem;
  }

  .order-form-title {
    font-size: 1.5rem;
  }

  .footer {
    padding: 2.5rem 0 1.25rem;
  }

  .modal-icon {
    font-size: 3rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-message {
    font-size: 1rem;
  }

  .modal-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .review-form-container,
  .testimonial-card {
    padding: 1.25rem 0.9375rem;
    width: 100%;
  }
}

/* Star Rating Styles */
.star-rating i {
  cursor: pointer;
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.star-rating i.hovered,
.star-rating i.selected,
.star-rating i.active {
  color: var(--warning-color);
}

/* Add Review Container */
.add-review-container {
  text-align: center;
  margin-top: 1.875rem;
}

/* View Orders Link */
.view-orders-link {
  display: inline-block;
  margin-top: 0.625rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-orders-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.view-orders-link i {
  margin-right: 0.3125rem;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
  .review-form-container {
    padding: 1.875rem 1.25rem;
  }

  .testimonial-card {
    padding: 1.875rem 1.25rem;
  }

  .testimonials-controls {
    padding: 0 0.9375rem;
  }

  .testimonial-control {
    width: 40px;
    height: 40px;
  }

  .star-rating i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .review-form-container {
    padding: 1.5625rem 0.9375rem;
  }

  .testimonial-card {
    padding: 1.5625rem 0.9375rem;
  }

  .testimonial-quote {
    padding: 0 0.9375rem;
    font-size: 1rem;
  }

  .star-rating i {
    font-size: 1.3rem;
  }

  .testimonial-control {
    width: 35px;
    height: 35px;
  }
}

/* To Animate Class for Intersection Observer */
.to-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(90deg);
  }
}

@keyframes rotate-back {
  from {
    transform: rotate(90deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes jello {
  0%,
  11.1%,
  100% {
    transform: none;
  }
  22.2% {
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}
