body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

h1, h2, h5 {
  font-weight: 600;
}

section {
  transition: all 0.3s ease-in-out;
}

/* Custom Colors */
:root {
  --primary-blue: #0066FF;
  --light-gray-bg: #F5F5F5;
  --dark-bg: #1a1a1a;
}

.banner-blue {
  background: linear-gradient(135deg, #0033CC 0%, #0052FF 100%);
}

.hero-section {
  background: linear-gradient(rgba(0, 51, 204, 0.5), rgba(0, 51, 204, 0.5)), url('img/school.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -50px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.bg-light-gray {
  background-color: #F5F5F5;
}

.card-custom {
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-program {
  border: 2px solid #000;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-program:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-program .card-img-top {
  border-radius: 18px 18px 0 0;
}

.card-img-top {
  border-radius: 10px 10px 0 0;
}

.navbar {
  background-color: #fff !important;
}

.nav-btn {
  background-color:transparent !important;
  color: #0066FF !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #C5B0F2 !important;
  transform: translateY(-2px);
}

.nav-btn-dark {
  background-color: #000 !important;
  color: #fff !important;
}

.nav-btn-dark:hover {
  background-color: #333 !important;
}

.btn-light {
  background-color: #fff;
  color: #0066FF;
  font-weight: 600;
}

.btn-light:hover {
  background-color: #f0f0f0;
  color: #0066FF;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.btn-dark {
  background-color: #333;
  border-color: #333;
}

.btn-dark:hover {
  background-color: #555;
  border-color: #555;
}

footer a:hover {
  color: #fff;
}

/* Course Tab Buttons */
.course-tabs-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.course-tab-btn {
  background-color: #ffffff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-tab-btn:hover {
  background-color: #f5f5f5;
  border-color: #000;
}

.course-tab-btn.active {
  background-color: #000;
  color: #ffffff;
  border-color: #000;
}

/* Mission & Vision Cards */
.card-mission-vision {
  border: 2px solid #333;
  border-radius: 15px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.card-mission-vision:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-mission-vision .card-body {
  padding: 25px;
}

.card-mission-vision h5 {
  font-size: 18px;
  line-height: 1.4;
}

/* Course Details */
.course-section {
  display: none;
}

.course-detail {
  display: none;
}

.course-detail.active {
  display: block;
}

.course-info-box {
  border: 2px solid #000;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  margin-bottom: 15px;
}

.course-info-box h6 {
  color: #333;
  margin-bottom: 10px;
}

.course-info-box ul {
  padding-left: 20px;
  font-size: 14px;
}

.course-info-box li {
  margin-bottom: 8px;
}

/* Announcement Page Styling */
.announcement-header {
  text-align: center;
  padding: 60px 20px;
  color: #333;
  margin-bottom: 40px;
}

.announcement-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.announcement-header p {
  font-size: 1.2rem;
  margin: 0;
  color: #666;
}

.announcement-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.announcement-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.announcement-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.announcement-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.announcement-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.badge-important {
  background-color: #ff4757;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-info {
  background-color: #0052FF;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.announcement-date {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-content {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.announcement-details {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.announcement-details h5 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.announcement-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement-details li {
  color: #555;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.announcement-details li:before {
  content: "●";
  position: absolute;
  left: 0;
  color: #0052FF;
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, #E8F0FF 0%, #F0E8FF 100%);
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 50px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  background-color: #000;
  color: white;
  padding: 12px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background-color: white;
  color: #333;
  padding: 12px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.announcement-icon-badge {
  width: 50px;
  height: 50px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.announcement-header-with-icon {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Available Slots Page Styling */
.slots-header {
  text-align: center;
  padding: 60px 20px;
  color: #333;
  margin-bottom: 40px;
}

.slots-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.slots-header p {
  font-size: 1.2rem;
  margin: 0;
  color: #666;
}

.slots-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #0052FF;
}

.slots-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.slot-tab-btn {
  background-color: #f0f0f0;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.slot-tab-btn:hover {
  background-color: #e0e0e0;
}

.slot-tab-btn.active {
  background-color: #000;
  color: white;
  border-color: #000;
}

.batch-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.batch-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.batch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.batch-id {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.batch-status {
  background-color: #00D084;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.batch-dates {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.progress-section {
  margin-bottom: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.progress-bar-container {
  background-color: #e0e0e0;
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}

.progress-fill {
  background-color: #000;
  height: 100%;
  border-radius: 8px;
}

.batch-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
}

.info-icon {
  font-size: 1.2rem;
  min-width: 20px;
}

.reserve-btn {
  background-color: #000;
  color: white;
  padding: 12px 0;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.reserve-btn:hover {
  background-color: #333;
}

.info-box {
  background-color: #E8F0FF;
  border: 1px solid #D0E0FF;
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
}

.info-box h5 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box li {
  color: #555;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.info-box li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0052FF;
  font-weight: bold;
  font-size: 1.2rem;
}

.good-availability {
  color: #00D084;
}

.course-section {
  display: block;
}

.course-section:not(:first-of-type) {
  display: none;
}

/* Registration Page Styling */
.registration-header {
  text-align: center;
  padding: 60px 20px;
  color: #333;
  margin-bottom: 40px;
}

.registration-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.registration-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.registration-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-label {
  color: #1a1a1a;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.form-input {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  background-color: #fff;
  border-color: #0052FF;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.requirements-box {
  background-color: #E8F0FF;
  border: 1px solid #D0E0FF;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.requirements-box h6 {
  color: #1a1a1a;
  font-size: 1rem;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-list li {
  color: #555;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.requirements-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0052FF;
  font-weight: bold;
  font-size: 1.2rem;
}

.submit-btn {
  background-color: #000;
  color: white;
  padding: 14px 0;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.btn-back-home {
  display: inline-block;
  background-color: #000;
  color: white;
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-back-home:hover {
  background-color: #333;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}