.hero-section {
  width: 100%;
  position: relative;
  background: #ffffff;
}

.slideshow-container {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 34, 73, 0.18),
    rgba(2, 34, 73, 0.32)
  );
}

.gcc-info-section {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  padding: 80px 24px;
}

.gcc-info-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #0d4f8b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.gcc-info-container {
  max-width: 100%;
  color: #15314b;
}

.gcc-info-container h2 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  color: #082c4c;
}

.gcc-info-container p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: #42586d;
}

.gcc-action-row {
  margin-top: 14px;
}

.read-more-btn,
.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b5fa6 0%, #1387da 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 135, 218, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.read-more-btn:hover,
.view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(19, 135, 218, 0.28);
}

.gcc-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 170px 170px;
  gap: 18px;
}

.gcc-photo-card {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(10, 54, 96, 0.14);
  background: #ffffff;
  border: 1px solid #e6eef7;
}

.gcc-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gcc-photo-card:hover img {
  transform: scale(1.05);
}

.gcc-photo-card.tall {
  grid-row: span 2;
}

.gcc-photo-card.wide {
  grid-column: span 2;
}

.home-gallery-section {
  padding: 85px 24px 90px;
  background: #ffffff;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header h2 {
  font-size: 3rem;
  color: #082c4c;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5b6f82;
}

.home-gallery-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5edf5;
  box-shadow: 0 14px 32px rgba(9, 48, 84, 0.08);
  aspect-ratio: 1 / 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-action-row {
  margin-top: 36px;
  text-align: center;
}

.gcc-footer {
  background: linear-gradient(180deg, #011427 0%, #00142a 100%);
  color: #dce8f5;
  padding-top: 62px;
}

.gcc-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 38px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1.1fr 1fr;
  gap: 42px;
  align-items: start;
}

.footer-column h4,
.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-subtitle {

  font-style: normal;
}

.footer-brand p,
.footer-contact li,
.footer-links li a {
  color: #ffffff;
  line-height: 1.85;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links li a {
  display: inline-block;
  transition: color 0.25s ease;
}

.footer-links li a:hover,
.footer-links li a.active-footer-link {
  color: #ffd84d;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #0c1e33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
  cursor: pointer;
}

.social-btn:hover {
  background: #ffd84d;
  color: #111111;
}

.social-btn.active {
  background: #ffd84d;
  color: #000;
  font-weight: 600;
}

.social-icon {
  width: 20px;
}

.footer-contact li {
  display: block;
  margin-bottom: 12px;
}

.contact-icon {
  display: inline-block;
  width: 20px;
}


.navbar {
  position: relative;
  z-index: 9999;
}

.menu,
.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.dropdown {
  position: relative;
}

.submenu,
.nested-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #f3f5f7;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  overflow: visible;
  z-index: 9999;
  display: none;
}

.dropdown:hover > .submenu {
  display: block;
}

.submenu > li {
  position: relative;
  border-bottom: 1px solid #d9e0e6;
  background: #f3f5f7;
}

.submenu > li:last-child {
  border-bottom: none;
}

.submenu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  /* padding: 18px 22px; */
  color: #0c4f8f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: normal;
}

.submenu > li:hover > a {
  background: #dfe8ef;
  color: #0a4174;
}

.has-submenu > a::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #0c4f8f;
  margin-left: auto;
}

.nested-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 300px;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f3f5f7;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  z-index: 10000;
  display: none;
}

.has-submenu:hover > .nested-submenu {
  display: block;
}

.nested-submenu li {
  border-bottom: 1px solid #d9e0e6;
}

.nested-submenu li:last-child {
  border-bottom: none;
}

.nested-submenu li a {
  display: block;
  padding: 18px 24px;
  color: #0c4f8f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  background: #f3f5f7;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: normal;
  word-break: break-word;
}

.nested-submenu li:hover > a {
  background: #dfe8ef;
  color: #0a4174;
}

/* show left side so content won't cut on right edge */
.skill-menu-item > .nested-submenu {
  /* left: auto; */
  right: 100%;
}

/* internal scroll for long submenu */
.nested-submenu-scroll {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nested-submenu-scroll::-webkit-scrollbar {
  width: 8px;
}

.nested-submenu-scroll::-webkit-scrollbar-thumb {
  background: #9ab6cf;
  border-radius: 10px;
}

.nested-submenu-scroll::-webkit-scrollbar-track {
  background: #eef3f7;
  border-radius: 10px;
}

/* keep programmes dropdown above hero */
.programmes-submenu {
  z-index: 10000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 18px 24px 22px;
}

.footer-bottom p {
  margin: 0;
  color: #b7c7d8;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .home-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gcc-footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .gcc-info-wrapper {
    grid-template-columns: 1fr;
  }

  .home-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gcc-footer-container {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px 36px;
  }
}

@media (max-width: 768px) {
  .slideshow-container,
  .slide img {
    height: 380px;
  }

  .gcc-info-section,
  .home-gallery-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gcc-info-container h2,
  .section-header h2 {
    font-size: 2.2rem;
  }

  .gcc-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gcc-photo-card.tall,
  .gcc-photo-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gcc-footer-container {
    grid-template-columns: 1fr;
  }

  /* mobile dropdown */
  .submenu {
    position: static;
    min-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .nested-submenu {
    position: static;
    min-width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    display: none;
  }

  .skill-menu-item > .nested-submenu {
    right: auto;
  }

  .has-submenu.open > .nested-submenu {
    display: block;
  }

  .nested-submenu-scroll {
    max-height: 260px;
  }

  .submenu > li > a,
  .nested-submenu li a {
    /* padding: 14px 18px; */
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gcc-info-container h2,
  .section-header h2 {
    font-size: 1.8rem;
  }

  .gcc-info-container p,
  .section-header p {
    font-size: 0.96rem;
  }

  .read-more-btn,
  .view-more-btn {
    min-width: 150px;
    padding: 12px 22px;
  }
}