/* =========================================
   SYNTAXIUM CLUB - Global Website Styling
   ========================================= */

/* ----------- Base Styles ----------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f9fafc;
  color: #333;
  line-height: 1.8;
}

/* ----------- Header Section ----------- */
header {
  background: linear-gradient(135deg, #0a1931, #185adb);
  color: white;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header img {
  max-width: 140px;
  display: block;
  margin: 0 auto 10px auto;
}

header h1 {
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ----------- Navigation Bar ----------- */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: #0a1931;
  padding: 15px 10px;
}

nav a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffca28;
}

/* ----------- Main Content ----------- */
main {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

main h1, main h2 {
  color: #0a1931;
}

main h2 {
  color: #185adb;
  margin-top: 25px;
}

main p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* ----------- Buttons ----------- */
button, .btn {
  display: inline-block;
  background: #185adb;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover, .btn:hover {
  background: #0a1931;
  transform: translateY(-2px);
}

/* ----------- Form Styling ----------- */
form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #185adb;
  outline: none;
}

form label {
  font-weight: 600;
  color: #0a1931;
}

/* ----------- Notification ----------- */
.notification {
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 15px;
  display: none;
  animation: fadeInOut 5s ease-in-out forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* ----------- Footer ----------- */
footer {
  background: #0a1931;
  color: white;
  text-align: center;
  padding: 25px 10px;
  margin-top: 60px;
  line-height: 1.6;
}

footer a {
  color: #ffca28;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ----------- Responsive Design ----------- */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  main {
    padding: 25px;
  }

  nav {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* ----------- Cards / Highlights Section (Optional for Homepage) ----------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: #185adb;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}
