/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: rgb(18, 4, 76);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.background-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: url('backgroundimage/background.jpg') center center/cover no-repeat;
  filter: blur(2px) brightness(0.7);
  animation: parallax-bg 20s linear infinite alternate;
}

@keyframes parallax-bg {
  0% { transform: scale(1) translateY(0px) rotateZ(0deg); }
  50% { transform: scale(1.05) translateY(-20px) rotateZ(2deg); }
  100% { transform: scale(1) translateY(0px) rotateZ(0deg); }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

header .logo {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #00c6ff;
  text-shadow: 0 0 10px #00c6ff88, 0 0 20px #fff2;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: rgb(7, 84, 54);
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 8px;
}
nav ul li a:hover {
  color: #0b7555;
  background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
  box-shadow: 0 0 8px #00c6ff88;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  perspective: 1200px;
  position: relative;
}
.hero-content {
  transform-style: preserve-3d;
  animation: float 5s infinite ease-in-out;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 40px 60px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero h2 {
  font-size: 3rem;
  text-shadow: 0 0 16px #00c6ff88, 0 0 32px #fff2;
}
.hero .highlight {
  color: #00c6ff;
  text-shadow: 0 0 8px #00c6ff88;
}

/* Sections */
section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: #00c6ff;
  text-shadow: 0 0 8px #00c6ff88;
}

/* Cards */
.card-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.card {
  background: rgba(255, 255, 255, 0.12);
  padding: 36px 28px;
  border-radius: 20px;
  width: 240px;
  transition: transform 0.5s, box-shadow 0.3s;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 24px 0 rgba(0,198,255,0.15), 0 1.5px 8px 0 rgba(255,255,255,0.08);
  border: 1.5px solid rgba(0,198,255,0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #00c6ff55 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.card:hover {
  transform: rotateY(18deg) rotateX(12deg) scale(1.08);
  box-shadow: 0 8px 32px 0 #00c6ff55, 0 0 32px #fff2;
}
.card:hover::before {
  opacity: 0.7;
}

/* Floating 3D animation */
@keyframes float {
  0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1); }
  50% { transform: translateY(-24px) rotateX(12deg) rotateY(12deg) scale(1.04); }
  100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1); }
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 18px;
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 24px 0 rgba(31, 38, 135, 0.17);
}
