

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* Top Bar */
.top-bar {
  background: var(--ucst-blue);
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 14px;
  position: relative;
  z-index: 1001;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-bottom: 1px solid #141212;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin-top: 30px;
}

.logo img {
  height: 90px;
  width: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  padding: 10px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--ucst-light-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 80%;
}

.cta-button {
  background: #83a6e7;
  border-radius: 6px;
}

.cta-button a {
  color: black;
  padding: 8px 15px;
  border-radius: 6px;
}

.cta-button:hover {
  background: #83a6e7;
}

.cta-button a:hover {
  background: rgb(106, 222, 240);
  color: white;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  background: white;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  box-shadow: var(--shadow);
  z-index: 99;
}

.dropdown-content li a {
  padding: 10px 15px;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 20px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 15px;
    width: 100%;
  }
  
  .dropdown-content.show {
    display: block;
  }
}

/* Banner Slider */
.banner-marquee {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
  margin-top: 130px;
}

.banner-track {
  display: flex;
  animation: slide 30s infinite linear;
  width: 300%;
}

.slide {
  flex: 0 0 33.33%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.btn-apply {
  display: inline-block;
  background: var(--ucst-orange);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

@keyframes slide {
  0%, 100% { transform: translateX(0); }
  33.33% { transform: translateX(-33.33%); }
  66.66% { transform: translateX(-66.66%); }
}

/* Bulletin Bar */
.bulletin-bar {
  display: flex;
  align-items: center;
  background: #4271f5;
  color: rgb(8, 8, 7);
  padding: 15px 20px;
  overflow: hidden;
}

.bulletin-icon {
  font-size: 1.8rem;
  margin-right: 15px;
}

.bulletin-message {
  flex: 1;
  position: relative;
  height: 1.3em;
}

.bulletin-text {
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bulletin-text.active {
  opacity: 1;
}

/* About Section */
.about-section {
  padding: 50px 20px;
  background: white;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--ucst-blue);
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Gallery */
.gallery-section {
  padding: 50px 20px;
  background: white;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--ucst-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  padding: 15px;
}

.gallery-caption h3 {
  margin-bottom: 10px;
}

.learn-more {
  display: inline-block;
  padding: 8px 16px;
  background: var(--ucst-light-blue);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px;
  transition: all 0.3s;
}

.learn-more:hover {
  background: var(--ucst-blue);
}

.load-more-btn {
  display: block;
  margin: 30px auto;
  padding: 12px 30px;
  background: var(--ucst-blue);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Wave Section */
.wave-section {
  height: 300px;
  background: url('images/pex10.jpg') no-repeat center center/cover;
  position: relative;
  margin: 50px 0;
}

.wave-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.wave-overlay h1 {
  color: white;
  font-size: 2.5rem;
}

/* Why Choose Us */
.why-choose {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.why-choose h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--ucst-blue);
}

.why-choose p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card h3 {
  color: var(--ucst-light-blue);
  margin-bottom: 15px;
}

/* Achievements */
.achievements {
  padding: 60px 20px;
  background: #717571;
  text-align: center;
}

.achievements h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #77c2ee;
  padding: 30px 20px;
  border-radius: 10px;
}

.stat-card h3 {
  font-size: 3rem;
  color: #030303;
  margin-bottom: 10px;
}

.stat-card p {
  color: #333;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  height: 60vh;
  background: url('images/hero-banner.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--ucst-light-blue);
  color: white;
}

.btn-secondary {
  background: white;
  color: black;
}

.btn-primary:hover {
  background: var(--ucst-blue);
}

.btn-secondary:hover {
  background: #f0f0f0;
}

/* Quick Facts */
.quick-facts {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.quick-facts h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--ucst-blue);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.fact-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.fact-card:hover {
  transform: scale(1.05);
}

.fact-card img {
  width: 50px;
  margin-bottom: 15px;
}

.fact-card h3 {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: #000;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: white;
}

.footer-column p, .footer-column a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #00aaff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}

.footer-column form button {
  width: 100%;
  padding: 10px;
  background: var(--ucst-light-blue);
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  color: white;
  margin-right: 15px;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-overlay h1 { font-size: 2rem; }
  .wave-overlay h1 { font-size: 1.8rem; }
  .overlay h1 { font-size: 1.8rem; }
  .navbar { margin-top: 0; }
  .banner-marquee { margin-top: 100px; height: 50vh; }
  .slide img { height: 50vh; }
}