@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #007991, #78ffd6);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeInBody 1s ease-in-out;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: Arial, sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.vspaze-heading {
  font-size: 26px;
  font-weight: 800;
}

.nice {
  color: #fff;
}

.eng {
  color: #00bfa6;
}

/* ================= DESKTOP NAV ================= */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.desktop-nav li a {
  padding: 6px 12px;
  font-weight: 500;
  color: #fff;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.desktop-nav li a:hover {
  background: rgba(90, 220, 200, 0.25);
  box-shadow:
    0 0 8px rgba(90, 220, 200, 0.6),
    0 0 16px rgba(90, 220, 200, 0.4);
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: rgba(8, 5, 5, 0.25);
  backdrop-filter: blur(6px);
  transition: right 0.35s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
  right: 0;
}

.mobile-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.mobile-header h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
}

.mobile-header .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.mobile-header .close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-content li {
  border-bottom: 1px solid #f1f1f1;
}

.mobile-menu-content li:last-child {
  border-bottom: none;
}

.mobile-menu-content li a {
  display: block;
  padding: 16px 24px;
  color: #ffffffff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-content li a:hover {
  color: #00bfa6;
  background: rgba(0, 191, 166, 0.1);
  padding-left: 28px;
}

/* ================= OVERLAY ================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1050;
}

.overlay.show {
  display: block;
}

/* ================= MAIN CONTENT ================= */
main {
  padding: 40px;
  min-height: calc(100vh - 100px);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

main h1 {
  color: #333;
  margin-bottom: 20px;
}

main p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .vspaze-heading {
    font-size: 22px;
  }

  main {
    padding: 20px;
  }

  main h1 {
    font-size: 24px;
  }

  main p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    max-width: 100%;
  }

  .navbar {
    padding: 10px 15px;
  }

  .logo img {
    width: 45px;
    height: 45px;
  }
}
/* ================= INTRO SECTION ================= */
.intro {
  text-align: center;
  color: #fff;
  margin: 60px auto 30px;
  max-width: 700px;
  animation: fadeInUp 1.5s ease;
  padding: 0 20px;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.intro p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 400;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Extra Large Screens (Desktop - 1200px and above) */
@media (min-width: 1200px) {
  .intro {
    margin: 80px auto 40px;
    max-width: 800px;
  }

  .intro h2 {
    font-size: 2.2rem;
  }

  .intro p {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .intro {
    margin: 70px auto 35px;
    max-width: 750px;
  }

  .intro h2 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1.05rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .intro {
    margin: 60px auto 30px;
    max-width: 650px;
  }

  .intro h2 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .intro {
    margin: 50px auto 25px;
    max-width: 500px;
  }

  .intro h2 {
    font-size: 1.6rem;
  }

  .intro p {
    font-size: 0.95rem;
  }
}

@media (min-width: 375px) and (max-width: 575px) {
  .intro {
    margin: 40px auto 20px;
    max-width: 90%;
    padding: 0 15px;
  }

  .intro h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .intro p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .intro {
    margin: 30px auto 15px;
    max-width: 95%;
    padding: 0 10px;
  }

  .intro h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .intro p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@media (max-width: 319px) {
  .intro {
    margin: 25px auto 12px;
    max-width: 100%;
    padding: 0 8px;
  }

  .intro h2 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .intro p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-color-scheme: dark) {
  .intro {
    color: #f0f0f0;
  }

  .intro p {
    opacity: 0.8;
  }
}

@media (prefers-contrast: high) {
  .intro h2 {
    font-weight: 800;
  }

  .intro p {
    opacity: 1;
    font-weight: 500;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    animation: none;
  }
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card.delay {
  animation-delay: 0.4s;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 2.8rem;
  color: #00bfa6;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

/* Buttons */
.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.card-buttons .btn {
  font-weight: 700; /* or use 600 for semi-bold */
  font-weight: bold; /* fallback */
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00bfa6;
  color: white;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  font: bold;
  font-weight: 300;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #007991, #00bfa6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animation Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .card {
    padding: 20px;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .btn {
    padding: 10px;
    font-size: 0.75rem;
  }
}
/* ================= BLINK SECTION (Same as image design) ================= */
.blink-section {
  margin: 40px auto;
  max-width: 600px;
  text-align: center;

  position: relative;
}

.blink-content {
  position: relative;
  z-index: 2;
}

/* Header */
.blink-header {
  margin-bottom: 24px;
}

.blink-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blink-text-1 {
  color: #007991;
  font-weight: 700;
}

.blink-text-2 {
  color: #000000;
  font-weight: 800;
  position: relative;
}

.blink-subtitle {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Description */
.blink-description {
  margin-bottom: 32px;
  padding: 0 20px;
}

.blink-description p {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Apply Now Button */
.blink-button {
  background: linear-gradient(90deg, #007991, #00bfa6);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.blink-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.blink-button:hover::before {
  left: 100%;
}

.blink-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);

  background: linear-gradient(90deg, #007991, #00bfa6);
}

.blink-button:active {
  transform: translateY(-1px);
}

.blink-button i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.blink-button:hover i {
  transform: translateX(4px);
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 768px) {
  .blink-section {
    padding: 32px 24px;
    margin: 32px 20px;
    border-radius: 14px;
  }

  .blink-title {
    font-size: 20px;
  }

  .blink-subtitle {
    font-size: 16px;
  }

  .blink-description {
    padding: 0 10px;
  }

  .blink-description p {
    font-size: 15px;
  }

  .blink-button {
    padding: 14px 32px;
    font-size: 16px;
    min-width: 180px;
  }
  .app-footer {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .blink-section {
    padding: 24px 20px;
    margin: 24px 16px;
    border-radius: 12px;
  }

  .blink-title {
    font-size: 16px;
  }

  .blink-subtitle {
    font-size: 15px;
  }

  .blink-description {
    padding: 0;
    margin-bottom: 28px;
  }

  .blink-description p {
    font-size: 14px;
  }

  .blink-button {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
    max-width: 280px;
  }
  .app-footer {
    font-size: 0.85rem;
  }
}

/* Small Mobile */
@media (max-width: 320px) {
  .blink-section {
    padding: 20px 16px;
    margin: 20px 12px;
  }

  .blink-title {
    font-size: 12px;
  }

  .blink-subtitle {
    font-size: 14px;
  }

  .blink-description p {
    font-size: 13.5px;
  }

  .blink-button {
    padding: 12px 24px;
    font-size: 15px;
  }
  .app-footer {
    font-size: 0.85rem;
  }
}
/* FOOTER */
.app-footer {
  text-align: center;
  background: linear-gradient(135deg, #41adaf, #78ffd6);
  padding: 30px 15px;
  color: #ffffff;
  font-size: 0.95rem;
  border-top: 1px solid #15206e;
  width: 100%;
}

.app-footer a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.app-footer a:hover {
  text-decoration: underline;
}

/* Mobile fix */
@media (max-width: 768px) {
  .app-footer {
    margin-top: 0;
    font-size: 0.85rem;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #007991;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 121, 145, 0.3);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #00bfa6;
  transform: translateY(-5px);
}
