/* Hero Section */

@import url("https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css");

.hero-container {
  position: relative;
  min-height: calc(100vh - 200px);
  width: 100%;
  overflow: hidden;
  background: var(--secondary);
  margin-top: 80px;
  padding-top: 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #333;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-focus {
  position: relative;
  display: inline-block;
}

.text-focus::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.text-focus:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
}

.cta-container {
  display: flex;
  gap: 1.5rem;
}

.cta-primary,
.cta-secondary {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-primary:hover .arrow {
  transform: translateX(5px);
}

.cta-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.cta-secondary:hover .button-glow {
  opacity: 0.2;
  animation: glow 1.5s infinite;
}

/* Enhanced Animation Flow Styles */
.animation-container {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 500px;
  height: 400px;
  z-index: 2;
}

.process-flow {
  position: relative;
  width: 132%;
  height: 100%;
}

.flow-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-item.active {
  opacity: 1;
  transform: translateX(0);
}

.flow-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: rgba(139, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.flow-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: var(--primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: -1;
}

.flow-item:hover .flow-icon::after {
  opacity: 0.1;
  transform: scale(1.2);
}

.flow-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  transition: all 0.3s ease;
}

.flow-content {
  max-width: 300px;
}

.flow-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  transition-delay: 0.2s;
}

.flow-text {
  font-size: 0.9rem;
  color: #666;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  transition-delay: 0.3s;
}

.flow-item.active .flow-title,
.flow-item.active .flow-text {
  opacity: 1;
  transform: translateY(0);
}

/* .connection-line {
  position: absolute;
  background: linear-gradient(90deg, 
    var(--primary) 50%, 
    transparent 50%
  );
  background-size: 12px 2px;
  background-repeat: repeat-x;
  height: 2px;
  opacity: 0.4;
  transform-origin: left;
  animation: moveLines 1s linear infinite;
} */

@keyframes moveLines {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 24px 0;
  }
}

@keyframes glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-container {
    margin-top: 60px;
    min-height: calc(100vh - 224px);
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-content {
    padding: 4rem 1.5rem;
  }

  .cta-container {
    flex-direction: column;
  }

  .animation-container {
    display: none; /* Hide animation on mobile */
  }
}

/* Main Section */

.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.layout-wrapper {
  display: flex;
  max-width: 1200px;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.layout-wrapper:hover {
  transform: translateY(-10px);
}

.media-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(228, 30, 49, 0.8),
    rgba(228, 30, 49, 0.4)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.media-container:hover .media-overlay {
  opacity: 1;
}

.media-container:hover .media-image {
  transform: scale(1.1);
}

.content-container {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-highlight {
  color: #8b0000;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.content-highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.5s ease;
}

.content-paragraph {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #555;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-tagline {
  font-size: 1.3rem;
  font-weight: bold;
  color: #8b0000;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-button {
  align-self: flex-start;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background-color: #8b0000;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.cta-button:hover {
  background-color: #ff3d4d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(228, 30, 49, 0.3);
}

.icon-container {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.icon {
  font-size: 2rem;
  color: #8b0000;
  transition: transform 0.3s ease;
}

.icon:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .layout-wrapper {
    flex-direction: column;
  }

  .content-container {
    padding: 2rem;
  }

  .content-heading {
    font-size: 2rem;
  }
}

/* Distributed Solution Section */

.hero-section {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fff 50%, #f1f1f1 50%);
  min-height: 100vh;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: fadeIn 1s ease-out;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

.hero-text {
  max-width: 600px;
  color: #666;
  line-height: 1.6;
  margin: 2rem 0;
  animation: slideIn 1s ease-out;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  position: relative;
}

.solution-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.6s ease-out forwards;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.solution-card:hover::before {
  opacity: 0.05;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.solution-content {
  position: relative;
  z-index: 2;
}

.solution-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  fill: #8b0000;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-icon {
  transform: scale(1.1);
}

.solution-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.solution-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.4s ease;
}

.solution-card:hover .solution-title::after {
  width: 60px;
}

.floating-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.shape-1 {
  top: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
}
.shape-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  animation-delay: 2s;
}
.shape-3 {
  top: 40%;
  right: 30%;
  width: 70px;
  height: 70px;
  animation-delay: 4s;
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-section {
    padding: 3rem 1.5rem;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.corner-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), transparent);
  opacity: 0.1;
  border-radius: 0 0 100% 0;
  top: 0;
  left: 0;
}

/* industry platform section */

.showcase-container {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), #ff3d4d);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.platform-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* Makes logos white */
}

.platform-card:hover .platform-logo {
  transform: scale(1.1);
}

.glass-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.title-section {
  text-align: center;
  color: white;
  margin: 2rem 0;
  position: relative;
  z-index: 2;
}

.title-section h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: titleFloat 3s ease-in-out infinite;
}

.title-section h2 {
  font-size: 4.5rem;
  background: linear-gradient(to right, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1rem;
}

.platforms-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.platform-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.platform-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-icon {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.platform-name {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.platform-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.floating-bubbles div {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s infinite;
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .title-section h1 {
    font-size: 2rem;
  }
  .title-section h2 {
    font-size: 3rem;
  }
  .platform-card {
    width: 100%;
    max-width: 320px;
  }
}

/* cloud Native section */
.showcase-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  perspective: 1000px;
}

.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 82, 82, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 82, 82, 0.1) 0%,
      transparent 50%
    );
  opacity: 0.7;
  z-index: 1;
  transform: translateZ(-10px);
}

.parallax-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 82, 82, 0.2),
    rgba(255, 82, 82, 0.05)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease-out;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: 10%;
  transform: translateZ(-5px);
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  transform: translateZ(-3px);
}

.main-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 3;
  align-items: center;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.label {
  color: #8b0000;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 82, 82, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8b0000;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.title {
  color: #1a1a1a;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  color: #4a4a4a;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  font-weight: 500;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item::before {
  content: "→";
  color: var(--primary-color);
  font-weight: bold;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.cta-button-c {
  position: relative;
  padding: 1rem 2.5rem;
  border: none;
  background: #8b0000;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(255, 82, 82, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cta-button-c::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.cta-button-c:hover::before {
  left: 100%;
}

.cta-button-c:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 82, 82, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.cta-button-c.secondary {
  background: rgba(255, 255, 255, 0.3);
  color: #333;
  border: 1px solid rgba(255, 82, 82, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.cta-button-c.secondary:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 82, 82, 0.5);
}

.device-mockup {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.laptop,
.tablet {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.laptop {
  width: 100%;
  height: auto;
  transform-origin: center bottom;
  animation: float 6s ease-in-out infinite;
}

.tablet {
  position: absolute;
  bottom: -10%;
  right: -3%;
  width: 50%;
  height: auto;
  animation: float 6s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .title {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .feature-list {
    justify-content: center;
  }

  .feature-item {
    justify-content: center;
  }

  .cta-group {
    justify-content: center;
  }

  .content-right {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .showcase-section {
    padding: 2rem 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1.1rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
  }

  .content-right {
    max-width: 100%;
  }

  .glass-card {
    padding: 1.5rem;
  }
}

@media (hover: none) {
  .cta-button::before {
    display: none;
  }
}

/* Localization section */

.section-container-l {
  position: relative;
  min-height: 480px;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(228, 30, 49, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(26, 26, 26, 0.05) 0%,
      transparent 20%
    );
  display: flex;
  align-items: center;
  padding: calc(var(--spacing-base) * 3);
}

.content-wrapper-l {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: calc(var(--spacing-base) * 3);
  align-items: center;
}

.image-container-l {
  position: relative;
  height: 360px;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.image-container-l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1);
}

.text-container-l {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-base) * 1.5);
}

.expert-tag-l {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  background: rgba(228, 30, 49, 0.1);
  padding: 0.5em 1em;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.expert-tag-l::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.title-l {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.description-l {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 40ch;
  margin: 0;
}

.services-grid-l {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-base);
  margin-top: var(--spacing-base);
}

.service-item-l {
  background: #dad9d9;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
}

.service-icon-l {
  font-size: 1.25rem;
  margin-bottom: 0.25em;
  opacity: 0.7;
}

.service-item div:last-child {
  font-size: 0.875rem;
}

.view-services-btn-l {
  margin-top: var(--spacing-base);
  padding: 0.875em 1.75em;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.view-services-btn-l::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.view-services-btn-l:hover::before {
  transform: translateX(100%);
}

.translation-icon-l {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
}

@media (max-width: 992px) {
  .content-wrapper-l {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-base) * 2);
  }

  .image-container-l {
    height: 300px;
  }

  .text-container-l {
    text-align: center;
  }

  .description-l {
    margin: 0 auto;
  }

  .view-services-btn-l {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .section-container-l {
    padding: calc(var(--spacing-base) * 2);
  }

  .services-grid-l {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Media Services */

.section-container-m {
  position: relative;
  min-height: 480px;
  background: #f9f9f9; /* Light background color */
  color: #1a1a1a;
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  overflow: hidden;
}

.gradient-overlay-m {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 40%
    ),
    linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.8) 100%
    );
  z-index: 1;
}

.content-wrapper-m {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.text-container-m {
  color: white;
  max-width: 600px;
  position: relative;
}

.text-container-m::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #c41929, transparent);
}

.icon-wrapper-m {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.icon-m {
  position: relative;
  width: 100%;
  height: 100%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.icon-m::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #8b0000;
  border-radius: 50%;
  opacity: 0.5;
}

.tag-line-m {
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-line-m::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--primary-color);
}

.title-m {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description-m {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333;
}

.view-services-btn-m {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.view-services-btn-m::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.view-services-btn-m:hover::before {
  transform: translateX(100%);
}

.view-services-btn-m:hover {
  background: #c41929;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 30, 49, 0.2);
}

.arrow-m {
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}

.view-services-btn-m:hover .arrow {
  transform: translateX(4px);
}

.image-container-m {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.image-container-m::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(228, 30, 49, 0.1), transparent);
  z-index: 1;
  mix-blend-mode: overlay;
}

.image-container-m::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, rgba(26, 26, 26, 0.8), transparent);
  z-index: 1;
}

.image-container-m img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.8);
  transition: transform 0.5s ease;
}

.image-container-m:hover img {
  transform: scale(1.02);
}

.floating-elements-m {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-dot-m {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
}

.dot-1-m {
  top: 20%;
  left: 10%;
  animation: float 3s infinite;
}
.dot-2-m {
  top: 60%;
  left: 5%;
  animation: float 4s infinite;
}
.dot-3-m {
  top: 80%;
  left: 15%;
  animation: float 5s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px);
  }
}

@media (max-width: 992px) {
  .content-wrapper-m {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-container-m {
    margin: 0 auto;
    text-align: center;
  }

  .text-container-m::before {
    left: 50%;
    top: -1rem;
    width: 80px;
    height: 3px;
    transform: translateX(-50%);
  }

  .icon-wrapper-m {
    margin: 0 auto 1rem;
  }

  .tag-line-m {
    justify-content: center;
  }

  .title-m {
    font-size: 2rem;
  }

  .description-m {
    font-size: 1rem;
    line-height: 1.5;
  }

  .view-services-btn-m {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    margin: 0 auto;
  }

  .image-container-m {
    height: 240px;
  }

  .image-container-m img {
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .section-container-m {
    padding: 1.5rem;
  }

  .title-m {
    font-size: 1.75rem;
  }

  .description-m {
    font-size: 0.875rem;
  }

  .view-services-btn-m {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .text-container-m::before {
    width: 60px;
    height: 2px;
  }

  .image-container-m {
    height: 200px;
  }

  .icon-wrapper-m {
    width: 48px;
    height: 48px;
  }

  .icon-m {
    animation: none;
  }
}
/* contact form section */

.container {
  width: 100%;
  max-width: 1400px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  margin: 0 auto; /* Changed from margin-left: 64px to center the container */
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header p {
  color: #8b0000;
  font-size: 1.1em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.form-header h1 {
  color: #1a1a1a;
  font-size: 2.8em;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(45deg, #333, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.location-selector {
  text-align: center;
  margin-bottom: 30px;
}

.location-selector p {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 500;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.radio-group label:hover {
  background: rgba(228, 30, 49, 0.05);
}

.radio-group input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(51, 51, 51, 0.5);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.radio-group input[type="radio"]:checked {
  border-color: var(--primary-color);
}

.radio-group input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.form-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.input-group {
  position: relative;
  margin-top: 15px;
}

.input-group.full-width {
  grid-column: span 3;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #333;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-group textarea ~ label {
  top: 25px;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #8b0000;
  box-shadow: 0 0 0 3px rgba(228, 30, 49, 0.1);
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:valid ~ label {
  top: 0;
  font-size: 12px;
  color: #8b0000;
  transform: translateY(-50%);
}

.input-group input:focus::placeholder,
.input-group textarea:focus::placeholder {
  color: transparent;
}

textarea {
  min-height: 100px;
  resize: none;
}

.submit-btn {
  grid-column: 3;
  justify-self: end;
  padding: 12px 40px;
  background: #8b0000;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(228, 30, 49, 0.2);
}

.input-group.error input,
.input-group.error textarea {
  border-color: #ff4444;
}

.input-group.error label {
  color: #ff4444;
}

@media (max-width: 1024px) {
  .form-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .input-group.full-width {
    grid-column: span 2;
  }

  .submit-btn {
    grid-column: 2;
  }
  .container {
    margin: 0 auto; /* Ensuring consistent centering on tablet view */
  }
}

@media (max-width: 768px) {
  .form-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .input-group.full-width {
    grid-column: 1;
  }

  .submit-btn {
    grid-column: 1;
    width: 100%;
  }

  .container {
    padding: 20px;
    margin: 0 auto; /* Ensuring consistent centering on mobile view */
  }
}
