:root {
  --brand-blue: #0ea5e9;
  --brand-indigo: #4f46e5;
  --text-white: #ffffff;
  --text-gray: #d1d5db;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.2;
  /* color: var(--text-white); */
}

h1 {
  font-size: clamp(48px, 7vw, 72px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

p {
  /* font-size: 18px; */
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* Hero Section */
#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  /* min-height: 100svh; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1f2c;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  margin-top: 4rem;
  margin-bottom: 0.5rem;
  color: #d1d5db;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.pill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.25rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-title {
  font-size: 2rem;
  font-weight: 400;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  word-wrap: break-word;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
}

.btn {
  padding: 18px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-hero-primary {
  background: var(--brand-blue);
  color: var(--text-white);
  padding: 18px 44px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  backdrop-filter: blur(8px);
}

/* .arrow-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
}

.scroll-btn-wrapper {
  animation: bounce 2s infinite;
}

.scroll-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.scroll-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
  transform: rotate(90deg);
} */

@media (max-width: 768px) {
  .scroll-indicator {
    top: 40rem;
    bottom: auto;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Styles */
@media (min-width: 640px) {
  .pill-badge {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .container {
    padding: 8rem 2rem 5rem;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 80px 0;
  }

  .hero-subtitle {
    margin-top: 20px;
    margin-bottom: 0;
  }
}

/* Medium Tablet to Small Desktop */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }

  .buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .btn {
    width: auto;
    max-width: none;
    font-size: 1rem;
  }

  .container {
    padding: 10rem 2rem 6rem;
  }

  .scroll-indicator {
    bottom: 2rem;
  }

  .scroll-btn {
    width: 3rem;
    height: 3rem;
  }

  .scroll-btn svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
    line-height: 1.05;
  }

  .subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
  }

  .container {
    padding: 12rem 2rem 6rem;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
    line-height: 1.01;
  }

  .container {
    padding: 12rem 3rem 8rem;
  }
}

/* Very Small Mobile Devices */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .pill-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .subtitle {
    font-size: 0.9375rem;
  }

  .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
  }

  .container {
    padding: 5rem 1rem 3rem;
  }
}

/* Landscape Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
  .container {
    padding: 3rem 1.5rem 2rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-btn {
    width: 2rem;
    height: 2rem;
  }

  .scroll-btn svg {
    width: 1rem;
    height: 1rem;
  }
}

.gradient-text {
  background-image: linear-gradient(to right, var(--brand-blue), var(--brand-indigo));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Demo content spacing */
.demo-content {
  min-height: 50vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

/*-------------------- Contact section --------------------------- */
/* SECTION */
.contact-section {
  /*background: #f9fafb;*/
  background: #ffffff;
  padding: 5rem 0;
}

/* CONTAINER */
.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* LEFT CONTENT */
.contact-info h2 {
  /* font-size: 2.25rem;
  font-weight: 700; */
  margin-bottom: 1.5rem;
}

.contact-description {
  font-size: 1.125rem;
  color: #676c75;
  margin-bottom: 2rem;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box.indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}

.icon-box.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.contact-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: #6b7280;
  text-decoration: none;
}

.contact-item a:hover {
  color: #4f46e5;
}

/* COMMITMENT CARD */
.commitment-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  color: #4b5563;
  /* border: 1px solid #e5e7eb; */
}

.commitment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #000000;
}

/* FORM CARD */
.contact-form-wrapper {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
  font-family: "Inter", sans-serif;
}

/* BUTTON */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--brand-indigo);
  color: #ffffff;
  font-weight: 300;
  cursor: pointer;
}

.submit-btn:hover {
  background: #4f46e5e6;
}

/*-------------------- Partner section --------------------------- */

/* SECTION */
/* SECTION */
.partners-section {
  background: #ffffff;
  padding: 5rem 0;
}

/* CONTAINER */
.container {
  max-width: 1400px;
  margin: 0 auto 0;
  padding: 0 1.5rem;
}

/* HEADER */
.partners-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.partners-header h2 {
  /* font-size: 2.25rem;
  font-weight: 700; */
  margin-bottom: 1.5rem;
}

.partners-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

/* GRID */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.partner-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-image {
  height: 12rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.partner-card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-body p {
  color: #6b7280;
  text-align: justify;
}

/* APPROACH CARD */
.approach-wrapper {
  margin-top: 4rem;
}

.approach-card {
  background: #1e293b;
  border-radius: 0.75rem;
  padding: 3rem;
  border: 1px solid #334155;
}

.approach-card h3 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #ffffff;
}

/* STATS GRID */
.stats-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-number.indigo {
  color: #6366f1;
}

.stat-number.blue {
  color: #3b82f6;
}

.stat-label {
  font-size: 0.9375rem;
  color: #94a3b8;
  font-weight: 500;
}
/*------------- Who Choose Us -------------- */
/* SECTION */
.why-section {
  background: #f9fafb;
  padding: 5rem 0;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* GRID */
.why-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .why-grid {
    flex-direction: column;
  }
}

/* CONTENT */
.why-grid {
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* Left content  */
.why-content {
  flex: 0 0 42%;
  display: flex;
  justify-content: flex-start;
}

/* Right carousel – wider */
.why-carousel {
  flex: 0 0 58%;
}

.content-inner {
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
}

/* HEADING */
.why-content h2 {
  /* font-size: 2.25rem;
  font-weight: 700; */
  margin-bottom: 1.5rem;
}

/* SUBTITLE */
.subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* FEATURES */
.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1f2937;
}

.feature-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* ===== Carousel ===== */

.carousel-wrapper {
  position: relative;
}

.carousel-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(
    90deg,
    rgba(var(--brand-blue-rgb), 0.2),
    rgba(var(--brand-indigo-rgb), 0.2)
  );
  border-radius: 24px;
  filter: blur(20px);
  z-index: 0;
}

.carousel {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.carousel-image {
  position: relative;
  height: 450px;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

/* Overlay */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.5), transparent);
  display: flex;
  align-items: flex-end;
}

.carousel-content {
  padding: 32px;
  color: #ffffff;
}

.carousel-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.carousel-icon {
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.carousel-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.carousel-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.carousel-content p {
  font-size: 1.125rem;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-nav.left {
  left: 16px;
}

.carousel-nav.right {
  right: 16px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #ffffff;
}

/* RESPONSIVE IMAGE */
@media (max-width: 768px) {
  .carousel-slide img {
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .why-grid {
    flex-direction: column;
    align-items: center;
  }

  .why-content,
  .why-carousel {
    flex: 0 0 100%;
  }

  .content-inner {
    max-width: 100%;
  }
}

/* REVEAL ANIMATION */
.reveal,
.reveal-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active,
.reveal-slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* DELAYS */
.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-600 {
  transition-delay: 0.6s;
}

/**********************  Technology Section ********************************/
.services-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.services-section .bg-grid {
  position: absolute;
  inset: 0;
  background-color: #1a1f2c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-header-tech {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header-tech h2 {
  color: #ffffff;
  /* font-size: 2.25rem;
  font-weight: 700; */
  margin-bottom: 24px;
}

.section-header-tech p {
  font-size: 1.125rem;
  color: #d1d5db;
}

/* .services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
} */

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

#services .cta {
  text-align: center;
  margin-top: 5%;
}

.tech-service-card {
  background-color: #252a37;
  backdrop-filter: blur(8px);
  /* -webkit-backdrop-filter: blur(8px); */
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tech-service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  border: 1px solid #e5e7eb;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box i {
  font-size: 24px;
}

.tech-service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.tech-service-card p {
  color: #d1d5db;
  margin-bottom: 24px;
  line-height: 1.6;
}

.learn-more {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
}

.learn-more:hover {
  opacity: 0.8;
}

#why-choose-us .cta {
  margin-top: 64px;
  text-align: left;
}

.our-mission {
  background-color: #252a37;
  color: #ffffff;
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
}

.our-mission h3 {
  font-size: 25px;
}

.our-mission p {
  color: #d1d5db;
}

.cta-button {
  left: 0;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--brand-indigo);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #4f46e5e6;
  color: #ffffff;
}

/* Reveal animations */
.reveal,
.reveal-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active,
.reveal-slide.active {
  opacity: 1;
  transform: translateY(0);
}

/************************   What we do Section    *************************/

.what-section {
  background: #ffffff;
  padding: 5rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  margin: 0 auto 4rem;
  max-width: 48rem;
}

.section-header h2 {
  /* font-size: 2.25rem;
  font-weight: 700; */
  max-width: 48rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header p {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.125rem;
  color: #6b7280;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.services-grid a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICES */
.tech-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .tech-services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header h2 {
    white-space: normal;
  }
}

.service-card {
  background: #252a37;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo));
  color: #ffffff;
}

.service-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  color: #d1d5db;
  text-align: left;
  margin-bottom: 24px;
}
/* REVEAL */
.reveal,
.reveal-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active,
.reveal-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* ========================================
   NEW INDUSTRIES SECTION STYLES
   ======================================== */
.industries-section {
  background: #1a1f2c;
  padding: 3rem;
  position: relative;
}

.industries-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.industries-header {
  text-align: center;
  margin-bottom: 4rem;
}

.industries-header h2 {
  /* font-size: 36px;
  font-weight: 700; */
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industries-header p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }

  /* First row: 3 cards spanning 2 columns each */
  .industry-card:nth-child(1) {
    grid-column: span 2;
  }

  .industry-card:nth-child(2) {
    grid-column: span 2;
  }

  .industry-card:nth-child(3) {
    grid-column: span 2;
  }

  /* Second row: 2 cards centered, spanning 3 columns each */
  .industry-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .industry-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Industry Card */
.industry-card {
  position: relative;
  background: #252a37;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* .industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: #cbd5e1;
} */

/* Image Wrapper */
.industry-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f1f5f9;
}

.industry-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-image {
  transform: scale(1.08);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
  transition: opacity 0.4s ease;
}

.industry-card:hover .industry-overlay {
  opacity: 0.7;
}

/* Content */
.industry-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title Row */
.title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Icon */
.industry-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.industry-icon svg {
  color: #ffffff;
  width: 24px;
  height: 24px;
}

/* Title */
.industry-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.industry-content p {
  color: #ffffff;
}

/* Learn More */
.industry-card a {
  color: #0ea5e9;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .industries-section {
    padding: 4rem 0;
  }

  .industries-header h2 {
    font-size: 2.25rem;
  }

  .industries-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .industries-container {
    padding: 0 1.5rem;
  }

  .industries-header {
    margin-bottom: 3rem;
  }

  .industries-header h2 {
    font-size: 2rem;
  }

  .industries-header p {
    font-size: 1rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .industry-image-wrapper {
    height: 200px;
  }

  .industry-content {
    padding: 1.5rem;
  }

  .industry-content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .industries-section {
    padding: 3rem 0;
  }

  .industries-container {
    padding: 0 1rem;
  }

  .industries-header h2 {
    font-size: 1.75rem;
  }

  .industry-image-wrapper {
    height: 180px;
  }

  .industry-content {
    padding: 1.25rem;
  }
}

.form-message {
  font-size: 14px;
  display: none;
}

.form-message.success {
  color: #16a34a;
}

.form-message.error {
  color: #dc2626;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-group input.input-error,
.form-group textarea.input-error {
  border: 1px solid #e63946;
}

.error-text {
  display: none;
  color: #e63946;
  font-size: 12px;
  margin-top: 4px;
}

.error-text.visible {
  display: block;
}
