/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #1a1a1a;
  color: #f5f5f5;
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Header --- */
header {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('gctdst.png') center/cover no-repeat;
  height: 60vh;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #ffcd06;
  animation: fadeIn 1.5s ease-out;
  border-radius: 0 0 24px 24px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.pagetitle {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

.special-text {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  color: #ffcc00;
}

/* --- Navigation Bar --- */
.navigationbar nav,
nav {
  background: rgba(42,42,42,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.8rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  border-radius: 16px;
}

.navigationbar a,
nav a {
  color: #f5f5f5;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.navigationbar a img,
nav a img {
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

.navigationbar a:hover,
nav a:hover {
  background: linear-gradient(135deg, #ffdd00, #ffbb00);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255,221,0,0.35);
}

/* --- Search Bar --- */
.search-bar {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.search-bar input {
  padding: 0.75rem;
  font-size: 1rem;
  width: 70%;
  max-width: 500px;
  border: 2px solid #ffcc00;
  border-radius: 25px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: all 0.3s;
}

.search-bar input:focus {
  border-color: #ffdd00;
  background: rgba(255,255,255,0.15);
}

.search-bar input::placeholder {
  color: #ffcc00;
}

.search-bar button {
  padding: 0.75rem 1.5rem;
  background: #1f56a3;
  color: #fff;
  border: none;
  border-radius: 25px;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar button:hover {
  background: linear-gradient(135deg, #ffdd00, #ffbb00);
  color: #000;
}

.search-suggestions {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 110%;
  background: rgba(35,35,35,0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(255,215,0,0.15);
  min-width: 320px;
  max-width: 90vw;
  z-index: 1000;
  padding: 0.5rem 0;
  margin-top: 0.2rem;
  display: none;
}

.search-suggestion-item {
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  border-bottom: 1px solid #333;
  transition: background 0.2s, color 0.2s;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: linear-gradient(135deg, #ffdd00, #ffbb00);
  color: #000;
}

.search-highlight {
  color: #ffcc00;
  font-weight: bold;
  background: none;
  border-radius: 0;
  padding: 0;
}

.search-noresult {
  padding: 0.7rem 1.2rem;
  color: #aaa;
}

.search-card-highlight {
  animation: cardHighlightFlash 1.2s;
  box-shadow: 0 0 0 4px #ffcc00, 0 4px 18px rgba(255,215,0,0.09);
  border-radius: 12px;
}

@keyframes cardHighlightFlash {
  0%, 80% { box-shadow: 0 0 0 4px #ffcc00; }
  100% { box-shadow: none; }
}

/* --- Main Content --- */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(43,43,43,0.65);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #fff;
}

h1.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #ffcc00;
  margin-bottom: 1rem;
  text-align: center;
}

.grid-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(31,31,31,0.7);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.card h3 {
  color: #ffcc00;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

/* --- Footer --- */
footer {
  background: linear-gradient(to right, #1a1a1a, #2a2a2a);
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Contact Section --- */
.contact-section {
  background: rgba(35,35,35,0.7);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(255,215,0,0.10);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 600px;
  width: 100%;
  transition: box-shadow 0.2s;
}

.contact-section h2 {
  color: #ffe600;
  margin-bottom: 1.2rem;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(255,230,0,0.04);
  gap: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
  box-shadow: 0 4px 16px rgba(255,230,0,0.13);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  color: #ffe600;
  margin-right: 0.7rem;
  flex-shrink: 0;
}

.contact-label {
  color: #ffe600;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.contact-card a {
  color: #ffd600;
  text-decoration: none;
  font-size: 1.05rem;
  word-break: break-all;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #fff;
}

/* --- Utility --- */
.email-row {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 0.2em;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  color: #bfa800;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: #fffbe7;
  color: #232323;
}

/* --- Responsive --- */
/* --- Mobile Improvements --- */

/* Small tablets and below */
@media (max-width: 768px) {
  header {
    min-height: 200px;
    height: 35vh;
    padding: 1rem;
  }
  .pagetitle {
    font-size: 1.8rem;
  }
  .special-text {
    font-size: 1.2rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  .navigationbar a, nav a {
    margin: 0.5rem 0;
    width: 90%;
    justify-content: center;
    font-size: 1.15rem;
    padding: 0.8rem 1rem;
  }

  .search-bar input,
  .search-bar button {
    width: 95%;
    font-size: 1rem;
    padding: 0.75rem;
    margin: 0.4rem auto;
  }

  .search-suggestions {
    min-width: 90vw;
    font-size: 0.98rem;
    left: 50%;
    transform: translateX(-50%);
  }

  main {
    padding: 1rem;
    margin: 1rem auto;
    border-radius: 12px;
  }

  .grid-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .card {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .contact-section {
    padding: 1rem;
    border-radius: 12px;
  }

  .contact-section h2 {
    font-size: 1.3rem;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .contact-icon {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
  }

  .contact-label {
    font-size: 1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  header {
    min-height: 140px;
    height: 25vh;
    padding: 0.6rem 0.3rem;
  }

  .pagetitle {
    font-size: 1.3rem;
  }
  .special-text {
    font-size: 1rem;
  }

  nav a {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    width: 95%;
  }

  .search-bar input,
  .search-bar button {
    width: 98%;
    font-size: 0.95rem;
    padding: 0.6rem;
  }

  main {
    padding: 0.8rem;
    margin: 0.8rem auto;
    border-radius: 10px;
  }

  .grid-columns {
    gap: 0.8rem;
  }

  .card {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 0.8rem;
    border-radius: 10px;
  }

  .contact-section h2 {
    font-size: 1.1rem;
  }

  .contact-card {
    padding: 0.7rem;
    border-radius: 10px;
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-icon {
    font-size: 1.5rem;
  }

  .contact-label {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}

