:root {
  --primary: #001f3f;   /* Navy blue */
  --secondary: #ff6b00; /* Orange */
  --light: #ffffff;
  --font: 'Poppins', sans-serif;
}

body {
  font-family: var(--font);
  margin: 0;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--light);
  text-align: center;
  overflow: hidden;
  background: url("https://www.cmeinfotech.com/Content/image/sakshi/ai-image.jpg") no-repeat center center/cover; /* Replace with GIF */
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* dark overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  color: #f9f9f9;
}
.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1f1f1;
}

.hero-buttons .btn {
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 1rem;
  margin: 0 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--secondary);
  color: var(--light);
}
.btn-primary:hover {
  background: #ff8533;
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--light);
  color: var(--light);
}
.btn-secondary:hover {
  background: var(--light);
  color: var(--primary);
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 25px 30px;
  min-width: 160px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.2);
}
.stat-card h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}
.stat-card p {
  font-size: 1rem;
  color: #fff;
}

.about-section {
  padding: 20px 20px;
  background: #fff; /* White background */
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.about-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.about-header p {
  font-size: 1.3rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.about-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.about-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 140, 0, 0.1), rgba(0, 140, 255, 0.1));
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.5s;
}

.about-card:hover::before {
  opacity: 1;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #066eb7;
    font-weight: bold;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.about-highlight {
  background: linear-gradient(138deg, #052032, #1879bd);
  border-radius: 18px;
  padding: 40px 30px;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 25px rgba(255, 94, 98, 0.4);
}

.about-highlight h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}

.about-highlight p {
  font-size: 1rem;
  margin-bottom: 20px;
   color: #fff;
}

.about-highlight .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #fff;
  color: #ff5e62;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s;
  text-decoration: none;
}

.about-highlight .btn:hover {
  background: #f1f1f1;
}

.about-footer {
  margin-top: 40px;
  font-size: 1rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Section styling */
/* Section styling */
.services-section {
  background: #fff;
  padding: 20px 10%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d1b2a;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

/* Card Design (from your CSS, adapted) */
.card-title {
  color: #262626;
  font-size: 1.5em;
  line-height: normal;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.small-desc {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5em;
  color: #452c2c;
}

.small-desc {
  font-size: 1em !important;
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 2em;
  height: 2em;
  overflow: hidden;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #6293c8, #384c6c);
  border-radius: 0 4px 0 32px;
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.card {
  display: block;
  position: relative;
  max-width: 300px;
  max-height: 320px;
  background-color: #f2f8f9;
  border-radius: 10px;
  padding: 2em 1.2em;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  background:#fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
  font-family: Arial, Helvetica, sans-serif;
}

.card:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, #364a60, #384c6c);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease-out;
}
.card:hover {
  transform: translateY(-10px);
}

.card:hover:before {
  transform: scale(28);
}

.card:hover .small-desc {
  transition: all 0.5s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.card:hover .card-title {
  transition: all 0.5s ease-out;
  color: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


/* ===== Section Layout ===== */

.cme-ecosystem {
  padding: 80px 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(270deg, #0d47a1, #1976d2, #42a5f5);
  background-size: 600% 600%;
  animation: gradientBG 12s ease infinite;
}

/* Background animation */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.circle-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 120px; /* more space between columns and middle card */
}

.circle-column {
    margin-top:3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 160px; /* increased vertical gap between buttons */
  position: relative;
}

.circle-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  font-weight: 600;
  font-size: 15px;
  min-width: 200px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.circle-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Connector lines */
.circle-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #64b5f6, #1e88e5);
  z-index: -1;
}

.circle-column.left .circle-item::before {
  left: 100%;
}

.circle-column.right .circle-item::before {
  right: 100%;
}

/* Center content */
.center-content {
  flex: 2;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.center-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #0d47a1, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.center-content p {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

.center-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: left;
}

.center-grid h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #0d47a1;
}

.center-grid p {
  font-size: 14px;
  color: #444;
}

/* Unique Section Wrapper */
  .vertical-marquee-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    font-family: Arial, sans-serif;
    background: #fff;
  }

  .vertical-marquee-section .text-content {
    flex: 1;
  }

  .vertical-marquee-section .tag {
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
  }

  .vertical-marquee-section .subtitle {
    color: #777;
    font-size: 14px;
    margin-left: 8px;
  }

  .vertical-marquee-section h1 {
    font-size: 34px;
    line-height: 1.3;
    color: #0f172a;
    margin-top: 10px;
  }

  .vertical-marquee-section .images {
    display: flex;
    gap: 20px;
    flex: 1;
  }

  .vertical-marquee-section .column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    height: 500px;
    flex: 1;
    position: relative;
  }

  .vertical-marquee-section .scroll {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: vm-scrollDown 15s linear infinite;
  }

  .vertical-marquee-section .column.reverse .scroll {
    animation: vm-scrollUp 15s linear infinite;
  }

  .vertical-marquee-section .platform-card {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }

  .vertical-marquee-section .platform-card img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
  }

  .vertical-marquee-section .platform-card p {
    font-size: 14px;
    font-weight: bold;
    color: #111;
    margin: 0;
  }

  @keyframes vm-scrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }

  @keyframes vm-scrollUp {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
  }