/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0e1a;
  color: #ffffff;
  line-height: 1.6;
}
.section h2 {
  font-size: 3rem;
  color: #c1eae6;
  margin-bottom: 1.5rem;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  font-weight: 300;
  line-height: 1.2;
  transition: all 0.3s ease-in-out;
}

/* On hover */
.section h2:hover {
  font-size: 3.3rem;
  color: #ffffff;
  letter-spacing: 2px;
  font-weight: 600;
}
h3:hover {
  color: #ffffff;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Navbar */
nav {
  background-color: linear-gradient(rgba(126, 138, 176, 0.8), rgba(10, 14, 26, 0.8));
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #6cc8c1;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #6cc8c1;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, #101624, #1d273b);
  padding: 7rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: #6cc8c1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  color: #cdd5e0;
}

/* Section */
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  background-color: #1a2233;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  min-height: 500px;
}



.section h2 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 3.5rem;
  color: #c1eae6;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}


/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Cards */
.card {
  background-color: #101824;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #2d3748;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: #90e0d9;
  margin-bottom: 0.5rem;
}

.card p {
  color: #cbd5e1;
}

/* CTA */
.cta {
  background-color: #162030;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1100px;
}

.cta h2 {
  font-size: 2rem;
  color: #90e0d9;
  margin-bottom: 1rem;
}

.cta a {
  padding: 0.75rem 1.5rem;
  background-color: #6cc8c1;
  color: #0a0e1a;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta a:hover {
  background-color: #5ab4ac;
}

/* Testimonials */
.testimonials {
  background-color: #0f141f;
  padding: 6rem 2rem;
  border-radius: 12px;
  max-width: 1000px;
  margin: 3rem auto;
}

.testimonials h2 {
  text-align: center;
  color: #6cc8c1;
  margin-bottom: 2rem;
}

.testimonial {
  font-style: italic;
  border-left: 5px solid #6cc8c1;
  padding-left: 1.5rem;
  color: #cdd5e0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #111927;
  color: #6cc8c1;
  font-size: 0.9rem;
}

footer img {
  vertical-align: middle;
  margin-left: 0.5rem;
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p,
  .cta h2,
  .card p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
    margin: 2rem 1rem;
  }

  .card {
    min-height: auto;
    padding: 1.5rem;
  }
}
.hero {
  background: linear-gradient(rgba(126, 138, 176, 0.8), rgba(10, 14, 26, 0.8)),
              url('assets/abcd.png') no-repeat center center/cover;
  padding: 7rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-attachment: fixed; /* Optional: Creates a subtle parallax feel */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.6);
  /* Removed backdrop-filter to avoid blur */
  z-index: 0;
}

.hero h1, .hero p {
  position: relative;
  z-index: 1;
}
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  padding: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: #90e0d9;
  margin-bottom: 0.5rem;
}

.card p {
  color: #cbd5e1;
}
nav {
  position: relative; /* add if not present */
  z-index: 10; /* high enough to be above .hero::before */
}
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1100px;
  background-color: #162030;
  overflow: visible;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1100px;
  background-color: #162030;
  overflow: visible;
}

.cta-content {
  z-index: 2;
  max-width: 50%;
}

/* Perspective container */
.cta-image-wrapper {
  position: absolute;
  right: -15%;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  perspective: 1200px;
  z-index: 1;
}

/* The actual 3D image with animation */
.cta-image {
  height: 100%;
  object-fit: contain;
  transform-style: preserve-3d;
  transform: rotateY(-25deg) rotateX(5deg);
  animation: float3D 6s ease-in-out infinite;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* 3D floating animation */
@keyframes float3D {
  0% {
    transform: rotateY(-25deg) rotateX(5deg) translateY(0px);
  }
  50% {
    transform: rotateY(-20deg) rotateX(3deg) translateY(-15px);
  }
  100% {
    transform: rotateY(-25deg) rotateX(5deg) translateY(0px);
  }
}
.form-link-box {
  max-width: 400px;
  margin: 40px auto;
  padding: 25px 35px;
  background: rgba(255, 255, 255, 0.1); /* translucent white */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #e0f7ff; /* light blue text */
  backdrop-filter: blur(10px);
}

.form-link-box h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #a6d8ff; /* softer light blue */
}

.form-link-box h3 {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #81c1ff; /* medium light blue */
  letter-spacing: 1px;
}

.pretty-link-button {
  display: inline-block;
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pretty-link-button:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 1);
}
.form-link-box h2,
.form-link-box h3 {
  transition: none;  /* disable smooth size/color changes */
  outline: none;     /* remove default focus outline */
}

.form-link-box h2:focus,
.form-link-box h3:focus {
  outline: none;     /* prevent outline on focus */
  font-size: inherit; /* keep same font size */
}

