/* ============================================================
   MAIN STYLESHEET - css/style.css
   ============================================================ */

/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= TOP BAR ================= */
.top-bar {
  width: 100%;
  background: #0b1f4d;
  border-bottom: 3px solid #b40000;
  padding: 12px 40px;
}

.top-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.top-icon i {
  color: #4fc3f7;
  font-size: 16px;
}

.top-item:hover .top-icon {
  background: #4fc3f7;
  transform: translateY(-2px);
}

.top-item:hover .top-icon i {
  color: #0b1f4d;
}

.top-text {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.top-social-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.top-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.top-social-icons a:hover {
  background: #4fc3f7;
  color: #0b1f4d;
  transform: translateY(-2px);
}

.hide-on-mobile {
  display: flex;
}

/* ================= LANGUAGE SWITCH ================= */
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.18);
}

.language-switch i {
  color: #4fc3f7;
  font-size: 16px;
}

.language-switch select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.language-switch select option {
  background: #0b1f4d;
  color: #fff;
  padding: 8px;
}

.language-switch .chevron {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* ================= NAVBAR ================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #b40000;
}

.btn-ict-desktop {
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-ict-desktop:hover {
  color: #b40000;
}

.btn-ict-mobile {
  display: none;
  color: #333;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: left;
  margin-top: 0;
}

.btn-ict-mobile:hover {
  color: #b40000;
  background: transparent;
}

.menu-btn {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #082850;
  transition: transform 0.3s;
  background: none;
  border: none;
  padding: 5px;
}

.menu-btn.active {
  transform: rotate(90deg);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  background: #0a1a3a;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 1.5s ease-in-out;
  transform: scale(1.02);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 8s ease;
}

.slide.active img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 40, 80, 0.85) 0%, rgba(8, 40, 80, 0.50) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 90%;
  max-width: 850px;
  z-index: 10;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content h1 span {
  color: #ffcc00;
}

.hero-content p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 35px;
  opacity: 0.95;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.join-btn {
  display: inline-block;
  background: #b40000;
  color: white;
  text-decoration: none;
  padding: 18px 50px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 30px rgba(180, 0, 0, 0.4);
}

.join-btn:hover {
  background: #8f0000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(180, 0, 0, 0.5);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
  user-select: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #1a1a2e;
  color: #1a1a2e;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.arrow:hover {
  background: #1a1a2e;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  border-color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.arrow i {
  font-size: 18px;
}

.prev {
  left: 25px;
}

.next {
  right: 25px;
}

/* ================= WELCOME ================= */
.welcome {
  padding: 60px 0 40px;
  background: #ffffff;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.welcome-content {
  max-width: 100%;
}

.welcome-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 20px;
}

.welcome-content h2 span {
  color: #b40000;
}

.welcome-content .sub-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.welcome-content .body-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: #444;
  line-height: 1.8;
  margin-bottom: 35px;
  letter-spacing: 0.2px;
}

.principal-container {
  max-width: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.principal-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.principal-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.principal-card {
  position: absolute;
  bottom: -25px;
  left: -20px;
  background: #1a1a2e;
  color: #fff;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  z-index: 10;
  min-width: 200px;
}

.principal-card .principal-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #a0a0b0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.principal-card .principal-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b40000;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #b40000;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  margin-top: 10px;
}

.learn-more-btn:hover {
  background: #8f0000;
  border-color: #8f0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 0, 0, 0.35);
}

.learn-more-btn .arrow-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 28px;
  height: 20px;
  margin-left: 4px;
}

.learn-more-btn .arrow-line {
  width: 18px;
  height: 2px;
  background: #fff;
  transition: width 0.4s ease;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.learn-more-btn .arrow-head {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  transition: transform 0.4s ease;
}

.learn-more-btn:hover .arrow-line {
  width: 26px;
}

.learn-more-btn:hover .arrow-head {
  transform: translateY(-50%) translateX(6px);
}

/* ================= SECTION TITLES ================= */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #082850;
  margin-bottom: 12px;
}

.section-title span {
  color: #b40000;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ================= GALLERY ================= */
.gallery-section {
  padding: 60px 0;
  background: #f0f0f0;
}

.gallery-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto 0;
  align-items: stretch;
}

.gallery-left {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 380px;
  background: #082850;
}

.gallery-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-left:hover img {
  transform: scale(1.03);
}

.gallery-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: space-between;
}

.gallery-right .course-summary-box {
  background: #fff;
  border-radius: 16px;
  padding: 22px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #ececec;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-right .course-summary-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.gallery-right .course-summary-box h3 {
  font-size: 19px;
  font-weight: 700;
  color: #082850;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-right .course-summary-box h3 i {
  color: #b40000;
}

.gallery-right .course-summary-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.gallery-right .course-summary-box ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-right .course-summary-box ul li:last-child {
  border-bottom: none;
}

.gallery-right .course-summary-box ul li i {
  color: #b40000;
  font-size: 14px;
  width: 18px;
}

.gallery-right .view-more-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 8px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 5px;
}

.gallery-right .view-more-btn:hover {
  background: #b40000;
  transform: translateY(-2px);
}

/* ================= PROGRAMMES ================= */
.programmes-section {
  padding: 60px 0;
  background: #ffffff;
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.programme-card {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}

.programme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.programme-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.programme-card .info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #f8f9fa;
  border-radius: 0 0 16px 16px;
}

.programme-card .info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #082850;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 50px;
}

.programme-card .info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.programme-card .info .duration {
  display: inline-block;
  background: #eef2f7;
  color: #082850;
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  align-self: flex-start;
}

.programme-card .info .btn-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  align-items: stretch;
}

.programme-card .info .btn-group .apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2b6cb0;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  flex: 2;
  min-height: 44px;
  height: 44px;
}

.programme-card .info .btn-group .apply-btn:hover {
  background: #1a4a7a;
  transform: translateY(-2px);
}

.programme-card .info .btn-group .apply-btn i {
  font-size: 14px;
}

.programme-card .info .btn-group .explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: #2b6cb0;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s, transform 0.2s;
  border: 2px solid #2b6cb0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  flex: 1;
  min-height: 44px;
  height: 44px;
  white-space: nowrap;
}

.programme-card .info .btn-group .explore-btn:hover {
  background: #2b6cb0;
  color: #fff;
  transform: translateY(-2px);
}

.programme-card .info .btn-group .explore-btn i {
  font-size: 12px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

.btn-viewall {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
}

.btn-viewall:hover {
  background: #b40000;
  transform: translateY(-2px);
}

/* ================= ANNOUNCEMENTS ================= */
.announcements-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.announcements-box {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 25px;
}

.announcements-box .heading {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: lowercase;
}

.announcements-box .heading img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.announcements-box .announcement {
  display: block;
  text-decoration: none;
  color: #4568ff;
  font-size: 18px;
  line-height: 1.4;
  padding: 18px 20px;
  border-bottom: 1px solid #ececec;
  transition: 0.3s;
  font-weight: 500;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.announcements-box .announcement:hover {
  color: #b40000;
  padding-left: 30px;
  background: #f8f9fa;
}

.announcements-box .announcement:last-child {
  border-bottom: none;
}

/* ================= NEWS & EVENTS ================= */
.news-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.news-section .container {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.news-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  color: #082850;
  text-transform: lowercase;
}

.news-header h2 img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.news-header h2 span {
  color: #b40000;
}

.news-actions select {
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.news-actions select:focus {
  outline: none;
  border-color: #b40000;
}

.news-card {
  display: flex;
  gap: 20px;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 20px;
  margin: 18px 0;
  transition: box-shadow 0.3s, transform 0.3s;
  background: #fff;
}

.news-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.news-date {
  text-align: center;
  min-width: 80px;
  padding: 10px 5px;
}

.news-date .day {
  font-size: 34px;
  font-weight: 800;
  color: #082850;
  line-height: 1;
}

.news-date .month {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #082850;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.badge-upcoming {
  background: #dfe7ff;
  color: #4568ff;
}

.badge-cancelled {
  background: #ffdede;
  color: #c33;
}

.badge-pending {
  background: #ffeab6;
  color: #996300;
}

.badge-completed {
  background: #d8ffe4;
  color: #14853d;
}

.news-meta {
  margin-top: 12px;
  color: #888;
  font-size: 14px;
}

.news-meta i {
  margin-right: 5px;
}

.news-meta span {
  margin-right: 15px;
}

.read-more-link {
  color: #b40000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
}

.read-more-link:hover {
  color: #082850;
}

/* ================= CTA ================= */
.cta-section {
  padding: 60px 0;
  background: #dff6e8;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 50px;
  background: #dff6e8;
  border-radius: 20px;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  color: #082850;
}

.cta-box p {
  color: #555;
  font-size: 16px;
  margin-top: 5px;
}

.btn-apply {
  background: #000;
  color: #fff;
  padding: 10px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
}

.btn-apply:hover {
  background: #b40000;
  transform: translateY(-2px);
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ================= FOOTER ================= */
.footer {
  background: #0a1f3d;
  color: #fff;
  padding: 50px 20px 20px;
  position: relative;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #8aa4c8;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: #b0c4de;
  line-height: 1.7;
  max-width: 700px;
}

.footer-row-bottom {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-row-bottom > div {
  flex: 1 1 0;
  min-width: 0;
}

.footer-col-follow {
  flex: 0.5 1 0;
}

.footer-col-contacts {
  flex: 0.9 1 0;
}

.footer-col-links {
  flex: 0.6 1 0;
}

.footer-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  flex-shrink: 0;
}

.social-icon-link:hover {
  transform: translateY(-3px) scale(1.05);
}

.social-icon-link i {
  font-size: 15px;
  color: #fff;
}

.social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #8aa4c8;
}

.contact-text {
  font-size: 0.76rem;
  font-weight: 300;
  color: #b0c4de;
  line-height: 1.4;
  word-break: break-word;
}

.footer-bottom-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom-link-btn {
  display: block;
  padding: 4px 0;
  color: #b0c4de;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 300;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}

.footer-bottom-link-btn:hover {
  color: #fff;
  padding-left: 5px;
  border-bottom-color: rgba(255,255,255,0.2);
}

.footer-bottom-link-btn i {
  margin-right: 6px;
  width: 14px;
  color: #8aa4c8;
  font-size: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.footer-copyright {
  font-size: 0.78rem;
  font-weight: 300;
  color: #6a8ab5;
  text-align: center;
  width: 100%;
  letter-spacing: 0.5px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .top-container {
    justify-content: center;
    gap: 15px;
  }
  .top-left {
    gap: 15px;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .welcome-content .sub-text {
    font-size: 1rem;
  }
  .principal-container {
    max-width: 400px;
    margin: 0 auto;
  }
  .principal-image {
    height: 340px;
  }
  .principal-card {
    left: 16px;
    bottom: -20px;
    padding: 14px 20px;
    min-width: 160px;
  }
  .principal-card .principal-name {
    font-size: 1rem;
  }
  .learn-more-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
  .gallery-grid-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .gallery-left {
    min-height: 300px;
  }
  .hero { 
    height: 70vh;
    min-height: 450px;
    max-height: 600px;
  }
  .hero-content h1 { font-size: 3.2rem; }
  .hero-content p { font-size: 1.2rem; }
  .arrow { width: 42px; height: 42px; font-size: 16px; }
  .arrow i { font-size: 16px; }
  .prev { left: 15px; }
  .next { right: 15px; }
  .cta-box { flex-direction: column; text-align: center; gap: 20px; padding: 35px 25px; }
  .news-section .container { padding: 20px; }
  .news-header { flex-direction: column; gap: 15px; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  .top-left {
    gap: 8px 12px;
  }
  .top-bar {
    padding: 12px 20px;
  }
  .top-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .top-left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
  }
  .top-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .top-text {
    font-size: 13px;
  }
  .top-icon {
    width: 30px;
    height: 30px;
  }
  .top-icon i {
    font-size: 14px;
  }
  .top-social-icons a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .top-social-divider {
    display: none;
  }
  .language-switch {
    padding: 4px 12px;
  }
  .language-switch select {
    font-size: 13px;
  }
  .language-switch i {
    font-size: 14px;
  }
  .menu-btn { 
    display: block; 
    font-size: 28px;
  }
  .btn-ict-desktop { 
    display: none; 
  }
  .btn-ict-mobile { 
    display: block; 
    color: #333;
    font-weight: 500;
    font-size: 18px;
    padding: 14px 22px;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: left;
    background: transparent;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    padding: 20px 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-top: 3px solid #b40000;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
  }
  nav ul.active { 
    max-height: 600px;
    opacity: 1;
  }
  nav ul li { 
    margin: 0; 
    padding: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  nav ul.active li {
    opacity: 1;
    transform: translateX(0);
  }
  nav ul.active li:nth-child(1) { transition-delay: 0.05s; }
  nav ul.active li:nth-child(2) { transition-delay: 0.10s; }
  nav ul.active li:nth-child(3) { transition-delay: 0.15s; }
  nav ul.active li:nth-child(4) { transition-delay: 0.20s; }
  nav ul.active li:nth-child(5) { transition-delay: 0.25s; }
  nav ul.active li:nth-child(6) { transition-delay: 0.30s; }
  nav ul:not(.active) li {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  nav ul:not(.active) li:nth-child(1) { transition-delay: 0.25s; }
  nav ul:not(.active) li:nth-child(2) { transition-delay: 0.20s; }
  nav ul:not(.active) li:nth-child(3) { transition-delay: 0.15s; }
  nav ul:not(.active) li:nth-child(4) { transition-delay: 0.10s; }
  nav ul:not(.active) li:nth-child(5) { transition-delay: 0.05s; }
  nav ul:not(.active) li:nth-child(6) { transition-delay: 0s; }
  nav ul li a { 
    font-size: 18px; 
    padding: 14px 22px;
    border-bottom: 1px solid #eee;
    width: 100%;
    display: block;
    font-weight: 500;
    transition: background 0.2s;
  }
  nav ul li a:hover {
    background: #f0f0f0;
  }
  nav ul li a.active {
    background: #ffe7ea;
    color: #b40000;
    border-left: 4px solid #b40000;
  }
  nav ul li:last-child a {
    border-bottom: none;
  }
  .logo img {
    width: 70px;
    height: 70px;
  }
  nav {
    padding: 12px 0;
  }
  .hero { 
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; margin-bottom: 25px; }
  .join-btn { padding: 14px 35px; font-size: 1rem; }
  .arrow { width: 36px; height: 36px; font-size: 14px; }
  .arrow i { font-size: 14px; }
  .prev { left: 10px; }
  .next { right: 10px; }
  .welcome {
    padding: 40px 0 30px;
  }
  .welcome-content h2 {
    font-size: 1.6rem;
  }
  .welcome-content .sub-text {
    font-size: 0.95rem;
  }
  .welcome-content .body-text {
    font-size: 0.9rem;
  }
  .principal-image {
    height: 280px;
  }
  .principal-card {
    left: 12px;
    padding: 12px 16px;
    min-width: 140px;
    bottom: -15px;
  }
  .principal-card .principal-name {
    font-size: 0.9rem;
  }
  .principal-card .principal-label {
    font-size: 0.6rem;
  }
  .gallery-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  .gallery-left {
    min-height: 250px;
    max-height: 350px;
  }
  .gallery-left img {
    height: 100%;
  }
  .gallery-right {
    gap: 20px;
  }
  .gallery-right .course-summary-box {
    padding: 18px 20px;
  }
  .section-title { font-size: 28px; }
  .programmes-grid { grid-template-columns: 1fr 1fr; }
  .programme-card .info .btn-group {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }
  .programme-card .info .btn-group .apply-btn {
    flex: 3;
    font-size: 13px;
    padding: 10px 16px;
    min-height: 40px;
    height: 40px;
  }
  .programme-card .info .btn-group .explore-btn {
    flex: 1;
    font-size: 12px;
    padding: 6px 12px;
    min-height: 40px;
    height: 40px;
    justify-content: center;
    white-space: nowrap;
  }
  .news-card { 
    flex-direction: column; 
    padding: 15px;
  }
  .news-date {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: auto;
    padding: 5px 0;
  }
  .news-date .day { font-size: 28px; }
  .news-date .month { font-size: 14px; }
  .news-content h3 { font-size: 18px; }
  .news-actions select { width: 100%; }
  .announcements-box { padding: 15px; }
  .announcements-box .heading { font-size: 22px; padding: 12px 18px; }
  .announcements-box .heading img { width: 28px; height: 28px; }
  .announcements-box .announcement { font-size: 16px; padding: 14px 16px; }
  .announcements-box .announcement:hover { padding-left: 22px; }
  .cta-box { padding: 30px 20px; }
  .cta-box h2 { font-size: 24px; }
  .news-header h2 { font-size: 22px; }
  .news-header h2 img { width: 28px; height: 28px; }
  .footer-row-bottom {
    gap: 25px;
  }
  .footer-logo {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
  .footer-desc {
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .footer-section-title {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  .contact-text, .footer-bottom-link-btn {
    font-size: 0.72rem;
  }
  .social-icon-link {
    width: 32px;
    height: 32px;
  }
  .social-icon-link i {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 10px 15px;
  }
  .top-text {
    font-size: 12px;
  }
  .top-icon {
    width: 28px;
    height: 28px;
  }
  .top-icon i {
    font-size: 12px;
  }
  .top-item {
    gap: 8px;
  }
  .top-left {
    gap: 5px 10px;
  }
  .top-social-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .hero { 
    height: 55vh;
    min-height: 350px;
    max-height: 420px;
  }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.9rem; margin-bottom: 20px; }
  .join-btn { padding: 12px 28px; font-size: 0.9rem; }
  .arrow { width: 32px; height: 32px; font-size: 12px; }
  .arrow i { font-size: 12px; }
  .prev { left: 8px; }
  .next { right: 8px; }
  .welcome {
    padding: 30px 0 20px;
  }
  .welcome-content h2 {
    font-size: 1.3rem;
  }
  .welcome-content .sub-text {
    font-size: 0.85rem;
  }
  .welcome-content .body-text {
    font-size: 0.82rem;
  }
  .principal-image {
    height: 220px;
  }
  .principal-container {
    max-width: 300px;
  }
  .principal-card {
    left: 8px;
    padding: 10px 14px;
    min-width: 120px;
    bottom: -12px;
  }
  .principal-card .principal-name {
    font-size: 0.8rem;
  }
  .principal-card .principal-label {
    font-size: 0.55rem;
  }
  .learn-more-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .learn-more-btn .arrow-container {
    width: 22px;
  }
  .gallery-left {
    min-height: 200px;
    max-height: 280px;
  }
  .gallery-right .course-summary-box h3 {
    font-size: 17px;
  }
  .gallery-right .course-summary-box ul li {
    font-size: 13px;
    padding: 5px 0;
  }
  .programmes-grid { grid-template-columns: 1fr; }
  .programme-card .info h3 { min-height: auto; }
  .programme-card .info .btn-group {
    gap: 6px;
  }
  .programme-card .info .btn-group .apply-btn {
    flex: 3;
    font-size: 12px;
    padding: 8px 12px;
    min-height: 36px;
    height: 36px;
  }
  .programme-card .info .btn-group .explore-btn {
    flex: 1;
    font-size: 11px;
    padding: 5px 10px;
    min-height: 36px;
    height: 36px;
  }
  .news-card { padding: 12px; }
  .news-date .day { font-size: 24px; }
  .news-content h3 { font-size: 16px; }
  .news-content p { font-size: 14px; }
  .announcements-box .heading { font-size: 18px; padding: 10px 14px; }
  .announcements-box .heading img { width: 24px; height: 24px; }
  .announcements-box .announcement { font-size: 14px; padding: 12px 14px; }
  .announcements-box .announcement:hover { padding-left: 18px; }
  .news-header h2 { font-size: 20px; }
  .news-header h2 img { width: 24px; height: 24px; }
  .footer {
    padding: 30px 16px 20px;
  }
  .footer-row-bottom {
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer-row-bottom > div {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .footer-col-follow,
  .footer-col-contacts,
  .footer-col-links {
    flex: 1 1 100% !important;
  }
  .footer-desc {
    max-width: 100%;
  }
  .social-icons {
    justify-content: flex-start;
  }
  .footer-bottom-link-btn {
    white-space: normal;
  }
  .footer-logo {
    font-size: 1.4rem;
  }
  .footer-logo-sub {
    font-size: 0.6rem;
  }
  .footer-desc {
    font-size: 0.7rem;
  }
  .social-icon-link {
    width: 34px;
    height: 34px;
  }
  .social-icon-link i {
    font-size: 14px;
  }
  .footer-section-title {
    font-size: 0.8rem;
  }
  .contact-text, .footer-bottom-link-btn {
    font-size: 0.7rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 15px;
    right: 15px;
  }
}