:root {
  --deep-ocean: #001829;
  --mid-ocean: #003b5e;
  --light-ocean: #00c2ff;
  --aqua-glow: rgba(0, 242, 255, 0.4);
  --foam: #e8f9ff;
  --frosted-glass: rgba(0, 50, 70, 0.65);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--deep-ocean);
  color: var(--foam);
  overflow-x: hidden;
}

/* BACKGROUND BUBBLES */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.04), transparent),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03), transparent),
              radial-gradient(circle at 50% 90%, rgba(255,255,255,0.05), transparent);
  animation: floatBG 60s infinite alternate;
  z-index: -1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: rgba(0, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--light-ocean);
  text-shadow: 0 0 12px var(--aqua-glow);
}
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
nav ul li a {
  color: #cceeff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
nav ul li a:hover {
  color: var(--light-ocean);
}
.btn {
  background: linear-gradient(135deg, var(--light-ocean), #007ca8);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 0 20px var(--aqua-glow);
  text-decoration: none;
  transition: 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--aqua-glow);
}

/* CONTACT SECTION */
.contact-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 60px;
  background: radial-gradient(ellipse at top left, #003b5e, #001829 80%);
  border-radius: 30px;
  margin: 80px auto;
  max-width: 1150px;
  box-shadow: 0 0 90px rgba(0, 238, 255, 0.06);
  gap: 60px;
  animation: fadeIn 1s ease-in-out;
}
.contact-left {
  flex: 1;
  min-width: 320px;
  padding-right: 20px;
}
.contact-left h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #b4f4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(0, 255, 255, 0.05));
  margin-bottom: 25px;
}
.contact-left ul {
  list-style: none;
  margin-bottom: 20px;
}
.contact-left ul li {
  margin-bottom: 14px;
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: var(--foam);
}
.contact-left .subnote {
  font-size: 0.95rem;
  color: #a5eaff;
  margin-top: 20px;
}

/* === Discord Card Styling === */
.discord-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(15, 30, 50, 0.6);
  padding: 1.6rem 2rem;
  border-radius: 1.4rem;
  box-shadow: 0 0 30px rgba(109, 132, 255, 0.25);
  border: 1px solid rgba(109, 132, 255, 0.1);
  transition: all 0.3s ease;
  max-width: 420px;
  margin-left: auto;
  backdrop-filter: blur(12px);
}

.discord-card:hover {
  background: rgba(77, 129, 182, 0.8);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(109, 132, 255, 0.3);
}

.discord-card img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 6px #1f232c);
}

.discord-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #cde5ff;
}

.discord-card-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #dcefff;
}

.discord-card-text p {
  font-size: 0.95rem;
  margin-top: 4px;
  line-height: 1.4;
  color: #b7d3f5;
}

/* === Explore Our Projects Link === */

/* Explore Link */
.explore-projects {
  margin-top: 0.6rem;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #84d6ff;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.explore-projects:hover {
  color: #52d1ff;
  border-bottom: 1px solid #52d1ff;
}

/* Remove ugly purple underline link color globally */
a {
  color: #84d6ff;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #52d1ff;
  text-decoration: underline;
}
.project-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 600;
  color: #00cfff;
  text-decoration: none;
  position: relative;
  font-size: 0.95rem;
}

.project-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #00cfff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease-in-out;
}

.project-link:hover::after {
  transform: scaleX(1);
}

.project-link:hover {
  color: #6fdfff;
}

/* === Section Card (Wrapper) === */
.feature-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #042a43, #083c58);
  box-shadow: 0 0 30px rgba(0, 136, 255, 0.15);
  color: #e7f6ff;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
  .feature-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .discord-card {
    margin: 0 auto;
  }
}


/* FOOTER */
.footer {
  background-color: #00121e;
  padding: 30px 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer p {
  color: #84c9e7;
  font-size: 0.9rem;
}
.footer-links a {
  margin-left: 20px;
  color: #7bd7ff;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--light-ocean);
}

/* ANIMATIONS */
@keyframes floatBG {
  0% { transform: translateY(0); }
  100% { transform: translateY(-80px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
