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

/* Accessibility Styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.help-text {
  color: #666;
  font-size: 12px;
  margin-top: 4px;
}

/* Focus styles for better keyboard navigation */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid #00A5C6;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary,
  .btn-outline,
  .btn-text {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .fade-in,
  .animate-on-scroll {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  
  .partners-track {
    animation: none !important;
  }
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-cyan: #00bcd4;
  --primary-cyan-dark: #0097a7;
  --light-gray: #f8f9fa;
  --text-dark: #2c3e50;
  --text-gray: #6c757d;
  --text-secondary: #4A5565;
  --white: #ffffff;
  --black: #16121E;
  --border-radius: 14px;
  --border-radius-sm: 8px;
  --transition: all 0.3s ease;
  --input-bg: #F3F3F5;
  --input-border: #D1D5DC;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  padding: 0 24px;
}

.header {
  background: rgba(255, 255, 255, 0.98);
  padding: 6px 0;
  border-radius: 35px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  width: 95%;
  margin: 0 auto;
}

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

.logo-icon, .logo-icon-header {
  width: 100px;
  height: 45px;
  object-fit: contain;
}

.logo-icon-header {
  margin-left: 50px;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Ensure nav is hidden by default on mobile/tablet */
@media (max-width: 768px) {
  .nav:not(.active) {
    left: -100% !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  transition: var(--transition);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-cyan);
}

.btn-primary {
  background: var(--primary-cyan);
  color: var(--white);
  border: 2px solid var(--primary-cyan);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 16px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

.hero {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90dvh;
  height: 100dvh;
  padding: 0;
  padding-bottom: 100px;
  border-bottom-left-radius: 250px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.hero-title {
  font-size: 78px;
  font-weight: 300;
  margin: 16px auto;
  z-index: 3;
  background: linear-gradient(to right, 
    rgba(146, 237, 255, 0.8) 0%, 
    rgba(255, 255, 255, 1) 50%, 
    rgba(146, 237, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  padding: 0 24px;
}

.btn-header {
  font-size: 16px;
  padding: 8px 22px;
  background: var(--white);
  color: var(--primary-cyan);
  position: relative;
  z-index: 3;
}

.btn-hero {
  font-size: 16px;
  padding: 12px 24px;
  background: var(--white);
  position: relative;
  z-index: 3;
  margin-bottom: 80px;
  color: var(--black) !important;
  border: 1px solid var(--primary-cyan);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-hero:hover {
  background: var(--light-gray);
  color: var(--primary-cyan-dark);
}

/* Circular Text Animation */
.circles-text-wrapper {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.circles-text-container {
  pointer-events: none;
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circles-text-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.circles-text {
  transform-origin: center;
}

.hero-icon-mouse {
  width: 34px;
  height: 33px;
  object-fit: contain;
  position: relative;
  z-index: 11;
}

.features {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  z-index: 3;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  text-align: center;
  transition: var(--transition);
}


.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-description {
  font-size: 15px;
  color: var(--text-gray);
}

.services {
  background: var(--white);
  padding: 60px 120px 40px;
  position: relative;
  overflow: visible;
  width: 95%;
  margin: 0 auto;
}

.vector-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.vector-2 {
  position: absolute;
  left: 50%;
  bottom: -50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  z-index: 10;
  pointer-events: none;
  opacity: 0.8;
  display: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.section-header-right {
  display: flex;
  align-items: flex-end;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-description {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 500px;
  line-height: 1.6;
}

.btn-text {
  background: none;
  border: none;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-text:hover {
  color: var(--primary-cyan-dark);
  transform: translateX(4px);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.services-row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.services-row-1 .service-card:first-child {
  flex: 0 0 55%;
}

.services-row-1 .service-card:last-child {
  flex: 0 0 45%;
}

.services-row-2 .service-card:first-child {
  flex: 0 0 45%;
}

.services-row-2 .service-card:last-child {
  flex: 0 0 55%;
}

.service-card {
  padding: 40px 0px 0px 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: row;
  align-items: flex-between;
  justify-content: flex-start;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 55%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-card-cyan {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  color: var(--white);
}

.service-card-dark {
  background: linear-gradient(135deg, #455a64 0%, #37474f 100%);
  color: var(--white);
}

.service-card-dark-blue {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: var(--white);
}

.service-card-blue {
  background: linear-gradient(135deg, #0288d1 0%, #0277bd 100%);
  color: var(--white);
}

.service-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-description {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  flex-grow: 1;
  min-width: 90%;
}

.service-link {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 28px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  max-width: fit-content;
}

.service-link:hover {
  transform: translateX(4px);
  opacity: 0.8;
  text-decoration-thickness: 2px;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translate(2px, -2px);
}

.service-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 45%;
  height: auto;
  flex: 1;
}

.service-visual img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
}

.service-card:hover .service-visual {
  transform: scale(1.1);
}

.partners-section {
  position: relative;
  z-index: 10;
  margin: 40px 0;
}

.partners-overlay {
  background: #00A5C6 !important;
  display: flex;
  gap: 80px;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 5;
}

.partners {
  background: #263238;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transform: rotate(2deg);
  transform-origin: center;
}

.partners-track {
  background: #263238 !important;
  display: flex;
  gap: 80px;
  animation: scroll 30s linear infinite !important;
  white-space: nowrap;
  position: relative;
  z-index: 50;
  transform: rotate(2deg);
  transform-origin: center;
}

.partner-logo {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.who-we-serve {
  padding: 40px 40px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  width: 85%;
  margin: 0 auto;
  min-height: 100vh;
}

.who-header {
  max-width: 500px;
  text-align: left;
  margin-bottom: 60px;
}

.who-header .section-title {
  margin-bottom: 12px;
}

.who-header .section-description {
  margin-bottom: 0;
}

.serve-content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.serve-gif-container {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.serve-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.serve-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  padding: 15px 0;
  cursor: pointer;
  transition: padding 0.3s ease;
}

.serve-item.active {
  padding: 20px 0px 30px 0px;
}

.serve-item:hover {
  background: rgba(0, 165, 198, 0.02);
}

.serve-gif-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.serve-gif {
  width: 220px;
  height: 220px;
  object-fit: contain;
  position: absolute;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.serve-gif.active {
  opacity: 1;
  transform: scale(1);
}

.serve-item .serve-title,
.serve-item .serve-title-simple {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.4s ease;
  margin-bottom: 0;
}

.serve-item.active .serve-title,
.serve-item.active .serve-title-simple {
  color: #00A5C6;
}

.serve-item .serve-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
  margin-top: 0;
}

.serve-item.active .serve-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

/* Hide mobile GIFs on desktop */
.serve-gif-mobile {
  display: none;
}

/* Show desktop GIF container */
.serve-gif-container {
  display: flex;
}

.serve-title-simple {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
}

.cta-section {
  background: linear-gradient(to bottom, #00A5C6 0%, #00C7E8 100%);
  width: 85%;
  padding: 30px 0px;
  position: relative;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.vector-3 {
  position: absolute;
  top: 65%;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.cta-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.btn-cta {
  background: var(--white);
  color: var(--primary-cyan);
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  z-index: 10;
}

.btn-cta:hover {
  background: var(--light-gray);
  color: var(--primary-cyan-dark);
}

/* Automate Section */
.automate-section {
  padding: 40px 40px 0 40px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.automate-title {
  font-size: 68px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.automate-description {
  font-size: 24px;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 65%;
  margin: 0 auto;
}

.automate-visual {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.workflow-diagram {
  position: relative;
  width: 50%;
  height: 100%;
  z-index: 3;
  object-fit: contain;
  max-width: 100%;
}

.cloud-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.cloud-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.contact-section {
  padding: 80px 40px;
  background: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.contact-left, .contact-right {
  width: 40%;
  padding: 20px;
}

.contact-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  width: 45%;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
}

.contact-method-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-align: center;
}

.contact-method-text {
  font-size: 15px;
  color: var(--text-gray);
  text-align: center;
}

.contact-info {
  margin-top: 40px;
  padding: 32px;
  background: #F7F6FF;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-info-text {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.btn-outline {
  background: var(--white);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-cyan);
  color: var(--white);
  font-weight: 400;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--input-border) !important;
  background: var(--input-bg) !important;
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

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

.footer {
  background: #444444;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 120px;
  /* gap: 68px; */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-column ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-column ul li svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-description {
  font-size: 15px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 14px;
  color: var(--white);
  order: 1;
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 50%;
  color: var(--white);
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 4rem;
}

.info-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: flex-start;
  order: 2;
}

.footer-legal a {
  color: var(--white);
  text-decoration: none; 
  font-size: 14px;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
  order: 3;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

.footer-social svg {
  width: 20px;
  height: 20px;
}
