/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f7fb;
  color: #333;
}

/* Header styling */
.header {
  background-color: #003476; /* deep blue drawn from university palette */
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header .logo {
  height: 60px;
  margin-right: 15px;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(120deg, #24527f, #003476);
  color: #ffffff;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Quick links section */
.quick-links {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.quick-links h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.6rem;
  color: #003476;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.quick-link {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 15px;
  width: 160px;
  text-align: center;
  text-decoration: none;
  color: #003476;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-link i {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
}

/* Chat section */
.chat-section {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

#n8n-chat-container {
  min-height: 500px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

/* Responsive design */
@media (max-width: 600px) {
  .links-grid {
    flex-direction: column;
    align-items: center;
  }
  .quick-link {
    width: 80%;
  }
  .header h1 {
    font-size: 1.4rem;
  }
  .hero h2 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}