* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Arial", sans-serif;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1a2332;
  line-height: 1.6;
}


/* ===== Header & Banner ===== */
.banner {
  width: 100%;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a2332;
  overflow: hidden;
  border-bottom: 3px solid #1a2332;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo img {
  height: 70px;
}

.search-login {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-login input {
  padding: 10px 20px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  outline: none;
  min-width: 250px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.search-login input:focus {
  border-color: #1a2332;
}

.search-login button {
  padding: 10px 24px;
  background: #1a2332;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.search-login button:hover {
  background: #2d3e50;
}

.search-login span {
  color: #1a2332;
  font-weight: 500;
  font-size: 14px;
}

/* ===== Navigation ===== */
nav {
  display: flex;
  justify-content: center;
  background: #1a2332;
  border-bottom: 3px solid #1a2332;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 16px 28px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.3s;
  letter-spacing: 0.3px;
}

nav ul li a:hover {
  background: #2d3e50;
}

nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a2332;
  display: none;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 14px 22px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav ul li ul li:last-child a {
  border-bottom: none;
}

nav ul li a.active {
  background-color: #2d3e50;
  color: white;
}

/* ===== Content Boxes ===== */
.content {
  display: flex;
  justify-content: center;
  padding: 60px 40px;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.content .box {
  background: #ffffff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: 30%;
  height: 380px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e5e5e5;
}

.content .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.content .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .header {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .search-login {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .search-login input {
    width: 100%;
    min-width: unset;
  }

  .search-login button {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li a {
    padding: 12px 20px;
  }

  .content {
    flex-direction: column;
    padding: 40px 20px;
  }

  .content .box {
    width: 100%;
    height: 300px;
  }
}

/* ===== Page Headers ===== */
.page-header {
  background: #1a2332;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ===== Buttons ===== */
.btn-primary {
  background: #1a2332;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #2d3e50;
}

.btn-secondary {
  background: transparent;
  color: #1a2332;
  border: 1px solid #1a2332;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #1a2332;
  color: white;
}

/* ===== Cards ===== */
.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ===== Forms ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  padding: 10px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #1a2332;
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

table thead {
  background: #1a2332;
  color: white;
}

table th,
table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

table tbody tr:hover {
  background: #f8f9fa;
}

table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Alerts & Messages ===== */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin: 15px 0;
  font-size: 14px;
}

.alert-success {
  background: #f0f9f4;
  color: #1a5d3a;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #fff5f5;
  color: #c41e3a;
  border: 1px solid #ffd6d6;
}

.alert-info {
  background: #e8f4f8;
  color: #1a2332;
  border: 1px solid #bee5eb;
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }