:root {
  --primary-color: #5865F2;
  --primary-hover: #4752c4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  margin-top: 40px; /* pushes it to bottom if there's little content */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #4a7cb9;
  overflow-x: hidden;
}

.background {
  background: url('/images/tower.jpg') no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  filter: brightness(0.75);
}

.background::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
  z-index: 1;
  opacity: 0;
  animation: fadeInOverlay 2s ease forwards;
}

@keyframes fadeInOverlay {
  to {
    opacity: 1;
  }
}

/* Header */
.site-header {
  width: 100%;
  background: linear-gradient(to right, #263e77, #1e293b);
  backdrop-filter: blur(10px);
  /* ... existing styles ... */
  box-shadow: 0 2px 10px rgba(21, 110, 210, 0.2);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.whiteLinks {
  display: flex;
  gap: 40px;
  font-weight: 600;
  align-items: center;
}

.whiteHeader {
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.whiteHeader::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.whiteHeader:hover::after {
  transform: scaleX(1);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e293b;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  padding: 8px 0;
}

.dropdown-content a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #83a5ce;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#profile-toggle {
  cursor: pointer;
}

/* Scroll Down Prompt */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
  text-decoration: none;
  transition: opacity 0.3s;
}

.scroll-down:hover {
  opacity: 1.5;
}

.scroll-down .arrow {
  font-size: 2rem;
  line-height: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 100px; /* to offset header */
  box-sizing: border-box;
  overflow: hidden;
}

.hero-card {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 120px; /* adjust to your header height */
  padding: 40px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  color: white;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-card p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.logo {
  width: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.login-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.4);
  text-decoration: none;
}

.login-btn:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

.login-btn .icon {
  width: 20px;
  height: 20px;
}

/* White Section */
.white-section {
  background: linear-gradient(to bottom right, #f9f9fb, #eaeaf1);
  color: #222;
  width: 100%;
  min-height: 100vh;
  padding: 175px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.2);
}

.white-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.white-wrapper {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.white-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #4a7cb9;
}

.white-section p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.white-section ul.event-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.white-section ul.event-list li {
  background-color: #f7f7f7;
  border-left: 4px solid var(--primary-color);
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 6px;
  color: #333;
}

.event-item {
  background-color: #f7f7f7;
  border-left: 4px solid var(--primary-color);
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.event-item p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

.event-poster {
  width: 200px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer {
  background-color: #1e293b;
  color: #ccc;
  padding: 40px 0;
  font-size: 0.95rem;
  margin-top: 30px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 30px;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-branding p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-logo {
  width: 60px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
}

.footer-links a,
.footer-social a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #ffffff;
}

.footer-social a:last-child {
  color: #ffffff;
  font-weight: 600;
}
.footer-social a:last-child:hover {
  color: #0e4fda;
}

html {
  scroll-behavior: smooth;
}

.ticket-card {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ticket-card h3 {
  margin-top: 0;
}

.ticket-card .status.open {
  color: green;
  font-weight: bold;
}

.ticket-card .status.closed {
  color: red;
  font-weight: bold;
}

.ticket-card .view-btn {
  margin-top: 8px;
  padding: 6px 12px;
  background: #0056b3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Modal Background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

/* Modal Content Box */
.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.suggestion-submit.btn

/* Close Button */
.close-button {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.close-button:hover {
  color: #333;
}

/* Ticket Action Buttons */
.ticket-action-btn {
  background-color: #3b82f6;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.ticket-action-btn:hover {
  background-color: #2563eb;
}

.ticket-action-btn.danger {
  background-color: #ef4444;
}

.ticket-action-btn.danger:hover {
  background-color: #dc2626;
}

/* Replies List */
.replies-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.replies-list li {
  background-color: #f3f4f6;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

