/* Global Reset and Font */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #fffde7, #fff8e1);
  color: #4a3f1e;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header,
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(90deg, #ffd54f, #fff176);
  text-align: center;
  color: #4a3f1e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
  border-radius: 50%;
}

.logo-text-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
}

.logo-text-row strong {
  font-size: 1.4rem;
  font-weight: 600;
}

.subtitle {
  font-size: 0.9rem;
  color: #000000b3;
}

/* Navigation */
nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  transition: background 0.3s ease;
}

nav a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

nav a.active {
  background-color: #fff59d;
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Main Section */
main {
  padding: 4rem 1rem;
  text-align: center;
  flex-grow: 1;
}

main h1 {
  font-size: 2.5rem;
  color: #fbc02d;
}

.highlight {
  background: linear-gradient(to right, #fff176, #fdd835);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

main p {
  margin-top: 1rem;
  color: #8d6e63;
  font-size: 1.1rem;
}

/* Search Box */
.search-box {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.search-box input {
  padding: 0.9rem 1.2rem;
  border-radius: 12px 0 0 12px;
  border: none;
  width: 320px;
  font-size: 1rem;
  background-color: #fffde7;
  color: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-box button {
  padding: 0.9rem 1.5rem;
  border: none;
  background: linear-gradient(to right, #ffeb3b, #fdd835);
  color: #000;
  font-size: 1.2rem;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-box button:hover {
  background: linear-gradient(to right, #fbc02d, #fdd835);
}

/* Result Card */
.user-details {
  margin-top: 2rem;
  text-align: center;
}

.user-details .card {
  background-color: #fffde7;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin: auto;
}

.user-details .card h3 {
  color: #fbc02d;
  margin-bottom: 0.5rem;
}

.user-details .card p {
  color: #5d4037;
  margin: 0.25rem 0;
}

.milestone {
  font-weight: bold;
  color: #fdd835;
  font-size: 1.1rem;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to right, #fffde7, #fff9c4);
  font-size: 0.95rem;
  color: #8d6e63;
  border-top: 1px solid #fceabb;
}

footer a {
  color: #f9a825;
  text-decoration: none;
  font-weight: 500;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.socials a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* Note Box */
.note {
  margin-top: 2rem;
  background: linear-gradient(to right, #fffde7, #fff8e1);
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 650px;
  margin-inline: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Shiny Yellow Text */
.shiny-yellow {
  color: #ffc400;
  text-shadow: 0 0 5px #ffea00, 0 0 10px #ffd700, 0 0 15px #ffeb3b, 0 0 20px #fff176;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
}

@keyframes shimmer {
  0% {
    text-shadow: 0 0 5px #ffea00, 0 0 10px #ffd700, 0 0 15px #ffeb3b, 0 0 20px #fff176;
  }
  50% {
    text-shadow: 0 0 10px #fff176, 0 0 20px #ffeb3b, 0 0 30px #ffd700, 0 0 40px #ffea00;
  }
  100% {
    text-shadow: 0 0 5px #ffea00, 0 0 10px #ffd700, 0 0 15px #ffeb3b, 0 0 20px #fff176;
  }
}

.shiny-yellow.animate {
  animation: shimmer 2s infinite;
}

/* Section Layouts (Like About, Services etc.) */
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.section:nth-child(even) {
  flex-direction: row-reverse;
  background-color: #fff4c2;
}

.section:nth-child(odd) {
  background-color: #fff9dc;
}

.text,
.image {
  flex: 1;
  padding: 20px;
  min-width: 300px;
}

.text h2 {
  font-size: 28px;
  color: #e69500;
}

.text p {
  font-size: 18px;
  line-height: 1.6;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Call To Action */
.cta {
  background-color: #ffe066;
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  font-size: 26px;
  color: #4a3f1e;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons a {
  text-decoration: none;
  background-color: #ffc107;
  color: #4a3f1e;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 8px;
  border: 2px solid #e6ac00;
  transition: background-color 0.3s ease;
}

.cta-buttons a:hover {
  background-color: #ffdb4d;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .section {
    flex-direction: column !important;
  }

  .text, .image {
    text-align: center;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input, .search-box button {
    width: 100%;
    border-radius: 12px;
    margin: 5px 0;
  }

  main h1 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 22px;
  }
}
