:root {
  --primary-color: #0066cc;
  --secondary-color: #f39c12;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Top Header */
.top-header {
  background-color: #1f365c;
  color: white;
  font-size: 14px;
  height: 48px;
  display: flex;
  align-items: center;
  line-height: 24px;
}

.top-header a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-header a:hover {
  color: #ffc107;
}

.top-header i {
  margin-right: 8px;
  font-size: 16px;
}

/* Navbar Styles */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  padding: 10px 0;
}

.navbar-brand {
  font-size: 1.5rem !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin-right: 30px;
}

.navbar-brand img {
  max-width: 180px;
  height: auto;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  color: #333 !important;
  margin: 0 10px;
}

.nav-link:hover {
  color: #0066cc !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item {
  color: #333;
  font-weight: 500;
  padding: 10px 20px;
}

.dropdown-item:hover {
  background-color: #e8f4fd;
  color: #0066cc;
}

/* Hero Slider */
.hero-slider {
  margin-top: 0;
}

.carousel-inner {
  height: 550px;
}

.carousel-item {
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
  display: flex;
  opacity: 1;
  animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.carousel-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: 900px;
  padding: 0 30px;
  z-index: 2;
  position: relative;
}

.carousel-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
  letter-spacing: -1px;
  color: #ffffff;
}

.carousel-content p {
  font-size: 1.6rem;
  margin-bottom: 35px;
  opacity: 1;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  color: #ffffff;
}

.carousel-indicators {
  bottom: 30px;
  z-index: 3;
}

.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: 2px solid white;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: white;
  opacity: 1;
  transform: scale(1.2);
}

.carousel-indicators button:hover {
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 45px;
  height: 45px;
  background-size: 45px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .carousel-inner {
    height: 450px;
  }

  .carousel-content h1 {
    font-size: 3rem;
  }

  .carousel-content p {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .carousel-inner {
    height: 350px;
  }

  .carousel-content {
    padding: 0 20px;
  }

  .carousel-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .carousel-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
}

.hero-btn {
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-btn-primary {
  background-color: #f39c12;
  border: none;
  color: white;
}

.hero-btn-primary:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  background: white;
}

.feature-card i {
  font-size: 3rem;
  color: #0066cc;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #f39c12);
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-item {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  border-left: 4px solid #0066cc;
}

.about-item h4 {
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 15px;
}

.about-item p {
  color: #666;
  line-height: 1.8;
}

/* News Cards */
.news-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 25px;
}

.news-card-date {
  color: #0066cc;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.news-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Buttons */
.btn-primary {
  background-color: #0066cc;
  border: none;
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #f39c12;
  border: none;
  color: white;
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
}

/* Form Styles */
.form-control {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Footer */
footer {
  margin-top: auto;
  padding-top: 50px;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0066cc !important;
}

/* Utilities */
.text-primary {
  color: #0066cc !important;
}

.bg-light-blue {
  background-color: #e8f4fd;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}