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

html {
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  line-height: 1.6;
}

/* ========== SNAP SCROLL CONTAINER  ========== */
.snap-scroll-container {
  height: 100vh;
  /* overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth; */
}

/* Section Snap Points */
.section {
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-section {
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: white;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.announcement-bar {
  text-align: center;
  padding: 8px 24px;
  background: white;
  color: #000;
  font-size: 14px;
  border: 1px solid #bbb;
  border-radius: 24px;
  margin-bottom: 60px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: green;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.7;
}

/* Canvas Animation */
.canvas-animation {
  pointer-events: none;
}

/* ========== FEATURE SECTION ========== */
.feature-section {
  /* background: #000; */
  color: white;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

/* New outer border container */
.feature-container {
  width: 90%;
  max-width: 1000px;
  height: 400px;
  border: 1px solid #c54dfd;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  /* background: #000; */
  z-index: 2;
}

/* Inner scrollable wrapper */
.feature-scroll-wrapper {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.feature-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Single scroll-snapped feature card */
.feature-card {
  min-height: 100%;
  scroll-snap-align: start;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 30px 40px;
  /* box-sizing: border-box; */
  gap: 40px;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

/* Optional fade/scale effect when in view */
.feature-card.active {
  opacity: 1;
  /* transform: scale(1); */
}

.feature-left {
  flex: 1;
}

.feature-left h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature-left p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 24px;
}

.feature-button {
  background: transparent;
  border: 1px solid #c54dfd;
  color: #c54dfd;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.15s ease;
}

/* Ensure it inherits .btn-outline-primary hover */
.feature-button.btn-outline-primary:hover {
  color: #fff;
  background-color: #c54dfd;
  border-color: #c54dfd;
}
.feature-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-right img {
  width: 375px;
  border-radius: 8px;
  /* box-shadow: 0 0 30px #c54dfd; */
}

.feature-arrow {
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 30px;
  color: #f7c9ff;
  opacity: 1;
  animation: bounceRight 1.5s infinite;
  transition: transform 0.3s ease;
  z-index: 10;
}

@keyframes bounceRight {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Expertise section */
.expertise-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Changed to auto for content-based height */
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  /* padding: 60px 20px; */
  overflow: hidden;
}

/* Section Header */
.expertise-section .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.expertise-section .section-title {
  /* font-family: "Poppins", sans-serif; */
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.expertise-section .section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Cards Container */
.expertise-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
}

/* Expertise Card */
.expertise-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideIn 0.6s ease forwards;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

/* Staggered animation for initial load */
.expertise-card:nth-child(1) {
  animation-delay: 0.1s;
}
.expertise-card:nth-child(2) {
  animation-delay: 0.2s;
}
.expertise-card:nth-child(3) {
  animation-delay: 0.3s;
}
.expertise-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Card sliding out animation */
.expertise-card.slide-out {
  animation: slideOut 0.6s ease forwards;
}

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

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

/* .card-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
} */

.expertise-card h3 {
  /* font-family: "Poppins", sans-serif; */
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.expertise-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* Progress Indicators */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover {
  background: #9ca3af;
}

.dot.active {
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  width: 32px;
  border-radius: 6px;
}

/* ========== SOLUTIONS SECTION ========== */
.offerings-section {
  color: white;
  padding: 80px 40px;
  position: relative;
}

.offerings-section .section-title {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, #c54dfd 0%, #8b5cf6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.solutions-header {
  text-align: center;
  margin-bottom: 60px;
}

.solutions-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #d1d5db;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.offerings-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.offering-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: linear-gradient(135deg, #6f1370 0%, #4717ad 100%);
  padding: 40px 36px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.offering-card:hover {
  background: transparent;
  border-color: rgba(197, 77, 253, 0.6);
  transform: translateY(-8px);
}

.offering-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c54dfd 0%, #8b5cf6 50%, #6366f1 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.offering-card:hover::before {
  transform: scaleX(1);
}

.offering-card h3 {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== SERVICES SECTION ========== */
.services-section {
  position: relative;
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  overflow: hidden;
}

/* .services-background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(149, 33, 151, 0.15) 0%,
    rgba(98, 32, 241, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
} */

.services-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 70px;
}

.services-section .section-title {
  /* font-family: "Poppins", sans-serif; */
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, #c54dfd 0%, #8b5cf6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.services-section .section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px;
}

.service-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.8) 0%,
    rgba(20, 20, 20, 0.9) 100%
  );
  border: 1px solid rgba(149, 33, 151, 0.2);
  border-radius: 24px;
  padding: 35px 35px;
  /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
  /* overflow: hidden; */
  /* backdrop-filter: blur(10px); */
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(197, 77, 253, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  opacity: 0;
  /* transition: opacity 0.4s ease; */
  z-index: 0;
}

/* .service-card:hover::before {
  opacity: 1;
} */

/* .service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(197, 77, 253, 0.5);
  box-shadow: 0 20px 60px rgba(197, 77, 253, 0.2),
    0 0 80px rgba(197, 77, 253, 0.1);
} */

.service-card h3 {
  position: relative;
  /* font-family: "Poppins", sans-serif; */
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
  z-index: 1;
  letter-spacing: -0.01em;
}

.service-card p {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 30px;
  z-index: 1;
}

.service-btn {
  position: relative;
  background: transparent;
  border: 2px solid rgba(197, 77, 253, 0.3);
  color: #c54dfd;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  letter-spacing: 0.01em;
  text-decoration: none; /* Remove the underline from the anchor tag*/
}

.service-btn:hover {
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  border-color: transparent;
  color: white;
  transform: translateX(5px);
  /* box-shadow: 0 5px 20px rgba(197, 77, 253, 0.4); */
}

.btn-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.service-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Floating animation for service cards */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 50px 40px 0px;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-left h2 {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-intro {
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
  font-size: 24px;
}

.info-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.info-content p {
  font-size: 14px;
  color: #6b7280;
}

.contact-right {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.form-group {
  position: relative;
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  background: transparent;
  outline: none;
  transition: all 0.3s ease;
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  color: #9ca3af;
  background: white;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* .form-group input:focus,
.form-group textarea:focus {
  border-color: #952197;
  box-shadow: 0 0 0 3px rgba(149, 33, 151, 0.1);
} */

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  font-size: 12px;
  color: #952197;
  font-weight: 500;
}

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

/* Error message styling */
.form-group .error-message {
  display: none;
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  position: absolute;
  left: 0;
  bottom: -20px;
}

.form-group .error-message.show {
  display: block;
}

/* Input validation states */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #dc3545;
}

/* .form-group input.input-valid,
.form-group textarea.input-valid {
  border-color: #28a745;
} */

/* Character counter styling */
.form-group .char-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 12px;
  color: #6b7280;
  pointer-events: none;
}

.form-group .char-count.char-warning {
  color: #ff9800;
  font-weight: 500;
}

.form-group .char-count.char-error {
  color: #dc3545;
  font-weight: 600;
}

.submit-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(149, 33, 151, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(149, 33, 151, 0.4);
}

/* Submit button disabled state */
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.submit-btn:disabled:hover {
  box-shadow: 0 4px 16px rgba(149, 33, 151, 0.3);
}

/* Message textarea adjustment for character counter */
.form-group textarea {
  padding-bottom: 35px; /* Space for character counter */
}

/* ---------- MODAL ---------- */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.form-modal.hidden {
  display: none;
}

.form-modal-content {
  background-color: white;
  color: black;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#formModalClose {
  margin-top: 20px;
  background-color: #0a880c;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .contact-form {
    padding: 0 20px;
  }
  .floating-label label {
    font-size: 15px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

/*Responsive*/

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
    width: 80%;
  }

  .feature-section h2 {
    font-size: 1.3rem;
  }

  .feature-left h3 {
    font-size: 1.6rem;
  }

  .feature-left p {
    font-size: 1rem;
  }

  .feature-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .feature-right img {
    width: 250px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .card {
    font-size: 1rem;
    padding: 20px;
  }

  .services-section .section-title {
    font-size: 38px;
  }

  .services-grid {
    gap: 25px;
  }

  .contact-wrapper {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-center {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-right {
    align-self: flex-end;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
    width: 90%;
  }

  .feature-card {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .feature-right img {
    width: 200px;
    margin-top: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .form-row label {
    margin-bottom: 5px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .services-section .section-title {
    font-size: 32px;
  }

  .services-section .section-subtitle {
    font-size: 16px;
  }

  .service-card {
    padding: 40px 25px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .feature-left h3 {
    font-size: 1.4rem;
  }

  .feature-left p {
    font-size: 0.95rem;
  }

  .feature-right img {
    width: 180px;
  }

  .card {
    font-size: 1rem;
    padding: 16px;
  }

  .contact-heading {
    font-size: 20px;
  }

  .services-section .section-title {
    font-size: 28px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
