/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(120deg, #fffefc, #fff8e7, #faf3d3, #f9f6ea);
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite, fadeIn 1.5s ease;
  color: #222;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Header ---------- */
header {
  text-align: center;
  padding: 4rem 1rem 3rem;
  color: #111;
  position: relative;
}

.logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(180,140,0,0.5));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin: 0.6rem 0;
  color: #b69300; /* rich gold tone */
}

.tagline {
  font-style: italic;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- Brand Cards ---------- */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
}

.brand-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  width: 260px;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.brand-card img {
  width: 90px;
  height: auto;
  margin-bottom: 0.7rem;
}

.brand-card h2 {
  color: #111;
  margin: 0.4rem 0;
  font-size: 1.2rem;
}

.brand-card p {
  color: #555;
  font-size: 0.9rem;
}

/* ---------- Hover Effects ---------- */
.brand-card:hover {
  transform: translateY(-8px) scale(1.03);
}

/* color-specific glows */
.eco:hover {
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.45);
}
.guard:hover {
  box-shadow: 0 6px 25px rgba(231, 76, 60, 0.45);
}
.edu:hover {
  box-shadow: 0 6px 25px rgba(155, 89, 182, 0.45);
}
.care:hover {
  box-shadow: 0 6px 25px rgba(52, 152, 219, 0.45);
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #555;
  background: linear-gradient(to right, #fffdf7, #fff9e9);
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  .brands { padding: 2rem 1rem; gap: 1.5rem; }
  .brand-card { width: 90%; max-width: 300px; }
}