/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   COLOR VARIABLES
========================= */
:root {
  --primary: #2563EB;   /* blue */
  --secondary: #1E293B; /* dark text */
  --bg: #F8FAFC;        /* background */
  --card: #FFFFFF;
  --accent: #22C55E;
}

/* =========================
   BODY
========================= */
body {
  background-color: var(--bg);
  color: var(--secondary);
  line-height: 1.6;
}

/* =========================
   HEADINGS & TEXT
========================= */
h1, h2, h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }

p {
  font-size: 1rem;
  color: #475569;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  width: 100%;
  height: 70px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo {
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =========================
   BUTTONS
========================= */
button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
}
.O-btn-center {
  display: flex;
  justify-content: center;  /* horizontal center */
  margin-top: 20px;
}
.slide-btn {
  animation: slideIn 0.8s ease-out forwards;
}
.A-btn-center {
  display: flex;
  justify-content: center;  /* horizontal center */
  margin-top: 20px;
}
.slide-btn {
  animation: slideIn 0.8s ease-out forwards;
}

/* Keyframes */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px); /* starts lower */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SECTIONS / CARDS
========================= */
section {
  padding: 60px 20px;
  text-align: center;
}

.about,
.course-card {
  background: var(--card);
  max-width: 900px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* =========================
   COURSES
========================= */
.courses-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.course-card {
  width: 260px;
}

.course-card h3 {
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
}

/* =========================
   LOGIN BOX
========================= */
.wrapper {
  width: 350px;
  padding: 30px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.input-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  outline: none;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: white;
  color: #64748B;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  border-top: 1px solid #E5E7EB;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  h1 { font-size: 1.8rem; }
}
.form-wrapper {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  min-height: 100vh;         /* full screen height */
  padding: 20px;
}

.form-wrapper iframe {
  width: 100%;
  max-width: 650px;          /* nice desktop width */
  height: 800px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.top-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
}

.top-buttons button, .welcome-message button {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.top-buttons button:hover, .welcome-message button:hover {
    background-color: #0056b3;
}

.welcome-message {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}
