
/* =========================
   Global Styles
========================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: #f5f7fa;
    color: #000;
}

/* =========================
   Header
========================= */
header {
    background: #0a0a23;
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    z-index: 100;
}

header h1 {
    margin: 0;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d1d1d1;
}

/* =========================
   Main Content
========================= */
main {
    flex: 1;
}

/* =========================
   Hero Section
========================= */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: #0a0a23;
    color: white;
    position: relative;
}

.hero h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    color: #e6e6e6;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.animated-text {
    display: inline-block;
    position: relative;
    color: #ffde59;
    font-weight: 700;
    animation: fadeSlide 3.5s ease-in-out infinite;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

/* =========================
   Sections
========================= */
section {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #0a0a23;
    border-left: 5px solid #0a0a23;
    padding-left: 10px;
    margin-bottom: 15px;
}

section p, section li {
    color: #000;
    font-size: 1rem;
    margin-bottom: 10px;
}

ul, ol {
    margin: 10px 0 10px 20px;
}

/* =========================
   Team Showcase
========================= */
.team-showcase {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 10px;
}

.team-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0a0a23;
}

.team-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.team-member {
    min-width: 220px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.8s forwards;
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(4) { animation-delay: 0.8s; }
.team-member:nth-child(5) { animation-delay: 1s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.team-member h3 {
    margin: 5px 0;
    color: #0a0a23;
}

.team-member p {
    color: #555;
    font-size: 0.95rem;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-container::-webkit-scrollbar {
    display: none;
}

/* =========================
   Footer
========================= */
footer {
    background: #0a0a23;
    color: white;
    text-align: center;
    padding: 15px 0;
    flex-shrink: 0;
}

/* =========================
   Account Icon Dropdown (New)
========================= */
.account-menu {
    position: absolute;
    top: 18px;
    right: 25px;
}

.account-icon {
    background: white;
    color: #0a0a23;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-icon:hover {
    background: #ff5a5f;
    color: white;
}

.dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 150px;
    overflow: hidden;
    z-index: 200;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: #0a0a23;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.dropdown a:hover {
    background: #f2f2f2;
}

.account-menu:hover .dropdown {
    display: block;
}


/* =========================
   project
========================= */
.projects h2 {
  text-align: center;
  margin-bottom: 35px;
}

.project-showcase {
  max-width: 950px;
  margin: auto;
  background: #0d0d0d;
  display: flex;
  gap: 25px;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #212121;
  box-shadow: 0 0 15px #00eaff50;
  align-items: center;
  flex-wrap: wrap; /* <<< FIXED */
}

.project-cover {
  width: 45%;
  max-height: 300px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  border: 2px solid #111;
  display: block;
}

.project-info {
  width: 50%;
  display: flex;
  flex-direction: column;
}

/* Text styling */
.tagline {
  font-size: 18px;
  color: #32f5ff;
  margin-bottom: 10px;
}

.description {
  line-height: 1.55;
  margin: 12px 0;
  color: #ddd;
}

.tech {
  color: #999;
  margin-top: 5px;
}

/* Buttons */
.project-action-buttons {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.btn.play { background: #05c46b; }
.btn.details { background: #007bff; }
.btn.github { background: #4b4b4b; }

.btn:hover { transform: scale(1.05); opacity: 0.9; }

/* Team text */
.team {
  margin-top: 18px;
  font-size: 15px;
  color: #bbb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-showcase {
    flex-direction: column;
    text-align: center;
  }

  .project-cover,
  .project-info {
    width: 100%;
  }

  .project-cover {
    max-height: 240px;
  }
}
