/* ===================== */
/*  ANIMATIONS         */
/* ===================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bobGlow {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  }
  50% {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===================== */
/*  GENERAL LAYOUT      */
/* ===================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(270deg, #161e29, #233246, #161e29);
  background-size: 600% 600%;
  animation: backgroundShift 12.5s ease infinite;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  max-width: 900px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}


/* ===================== */
/*  LOGO                */
/* ===================== */

.logo {
  width: 100px;
  height: auto;
  opacity: 0;
  animation: fadeIn 0.75s ease forwards, bobGlow 2s infinite ease-in-out;
  animation-delay: 0s, 0.8s;
}


/* ===================== */
/*  DESCRIPTIONS        */
/* ===================== */

.description p {
  font-size: 20px;
  line-height: 2;
  color: #ced5d8;
  margin: 20px auto;
  max-width: 730px;
  transition: text-shadow 0.4s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.description p:nth-of-type(1) { animation-delay: 0.5s; }
.description p:nth-of-type(2) { animation-delay: 0.75s; }
.description p:nth-of-type(3) { animation-delay: 1s; }

.description p:hover {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 15px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.3);
}

.workdescription {
  font-size: 20px;
  line-height: 2;
  color: #ced5d8;
  margin: 20px auto;
  max-width: 730px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1s;
}

.Title {
  font-size: 24px;
  color: white;
  margin: 20px auto;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.5s;
}


/* ===================== */
/*  BUTTONS             */
/* ===================== */

.buttoncontainer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.25s;
}

.nav-button {
  border: 2px solid rgba(255, 255, 255, 0.089);
  border-radius: 100px;
  background-color: #1e293b;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  animation-name: bob;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-play-state: running;
  transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
  background-color: white;
  color: #131A26;
  animation-play-state: paused;
}

.nav-button.button1 { animation-delay: 0.6s; }
.nav-button.button2 { animation-delay: 0.3s; }
.nav-button.button3 { animation-delay: 0s; }
.nav-button.button4 { animation-delay: 0.3s; }
.nav-button.button5 { animation-delay: 0.6s; }



/* ===================== */
/*  SOCIAL SECTION      */
/* ===================== */

.social-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.social-frame {
  background-color: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  max-width: 300px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.frame-title {
  font-size: 35px;
  margin-bottom: 35px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.social-item {
  text-decoration: none;
  color: white;
  padding: 12px;
  font-size: 18px;
  
  border-radius: 100px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  /* default state — logo is white */
  filter: brightness(0) invert(1);

}



.social-item:hover {
  background-color: rgb(255, 255, 255);
  color: #1e293b;
  border-color: white;
  box-shadow: 0 0 10px white;
}

.social-item:hover img.icon {
  filter: brightness(0) invert(0); /* turns it black */
}


/* ===================== */
/*  TERMS SECTION       */
/* ===================== */

.terms-section {
  text-align: left;
}

.term-item {
  margin-bottom: 25px;
}

.term-item h1 {
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 50px;
  margin-bottom: 8px;
  color: white;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.term-number {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  color: #ffa600;
  min-width: 30px;
  flex-shrink: 0;
}

.terms-frame {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.term-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #b4b4b4;
  text-align: left;
  margin: 0 auto;
  max-width: 300px;
}


/* ===================== */
/*  PRICING SECTION     */
/* ===================== */

.pricing-box {
  background-color: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin: 20px auto;
  max-width: 500px;
  color: #ced5d8;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  animation: fadeIn 0.8s ease forwards, bob 2s infinite ease-in-out;
  opacity: 0;
  animation-delay: 0.4s;
  text-align: left;
 
}

.pricing-box:hover {
  box-shadow: 0 0 10px white;
}

.pricing-title {
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;

}

.payment-note {
  color: #fbc02d;
  font-size: 14px;
  margin-top: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

  /* Floating orbs */
.orb {
  position: absolute;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  animation: floatOrb 10s infinite ease-in-out, orbRotate 20s linear infinite;
  pointer-events: none;
}
.orb:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s, 0s; background: rgba(255,255,255,0.15); }
.orb:nth-child(2) { top: 30%; left: 70%; animation-delay: 2s, 2s; background: rgba(255,255,255,0.12); }
.orb:nth-child(3) { top: 60%; left: 25%; animation-delay: 4s, 4s; background: rgba(255,255,255,0.10); }
.orb:nth-child(4) { top: 80%; left: 80%; animation-delay: 6s, 6s; background: rgba(255,255,255,0.08); }

@keyframes floatOrb {
0%   { transform: translateY(0) scale(1); opacity: 0.2; }
50%  { transform: translateY(-20px) scale(1.2); opacity: 0.4; }
100% { transform: translateY(0) scale(1); opacity: 0.2; }
}

@keyframes orbRotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

/* card */

 /* Header */
    header {
      text-align: center;
      margin-bottom: 2rem;
      position: relative;
      z-index: 10;
    }

    header img {
      width: 80px;
      height: auto;
      margin-bottom: 1rem;
      animation: floatLogo 3s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
      filter: drop-shadow(0 0 5px white);
      display: inline-block;
    }

    @keyframes floatLogo {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    @keyframes pulseGlow {
      0%, 100% { filter: drop-shadow(0 0 5px white); }
      50% { filter: drop-shadow(0 0 15px white); }
    }

    h1 {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
      color: white;
      text-shadow: 0 0 5px white;
      animation: popIn 1.2s ease forwards;
      opacity: 0;
    }
    @keyframes popIn {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }

    p {
      max-width: 800px;
      margin: 0 auto 2rem auto;
      font-size: 1rem;
      line-height: 1.6;
      color: #cbd5e1;
      text-shadow: 0 0 4px rgba(255,255,255,0.6);
      transition: text-shadow 0.3s ease;
    }
    p:hover {
      text-shadow: 0 0 10px rgba(255,255,255,1);
    }

    /* Grid & cards */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      width: 100%;
      max-width: 1100px;
      position: relative;
      z-index: 10;
    }

    .card {
      background-color: #1c2431;
      border: 1px solid #2c3544;
      border-radius: 0.75rem;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      animation: floatCard 3s ease-in-out infinite;
    }

    .card:hover {
      transform: scale(1.06) translateY(-10px);
      box-shadow: 0 10px 30px rgba(255, 255, 255, 0.6);
      animation-play-state: paused;
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      user-select: none;
      pointer-events: auto;
      transition: transform 0.3s ease;
    }

    /* Zoom on hover */
    .card img:hover {
      transform: scale(1.1);
    }

    .card .desc {
      padding: 1rem;
      font-size: 0.95rem;
      color: #cbd5e1;
      text-shadow: 0 0 4px rgba(255,255,255,0.6);
      transition: text-shadow 0.3s ease;
    }
    .card .desc:hover {
      text-shadow: 0 0 10px rgba(255,255,255,1);
    }

    @keyframes floatCard {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    /* Modal styles */
    #modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.85);
      align-items: center;
      justify-content: center;
    }

    #modal img {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: 10px;
      box-shadow: 0 0 30px white;
      cursor: pointer;
    }