* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  color: #333333;
  overflow-x: hidden;
}

/* === Header === */
.header {
  width: 100%;
  background: linear-gradient(135deg, #0080bf 50%, #003d7a 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  box-shadow: 0 8px 32px rgba(0, 128, 191, 0.2);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.center-section {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

#no1 {
  background-image: url('imgs/videos.png');
  background-size: contain;
}

#no2 {
  background-image: url('imgs/packages.png');
  background-size: contain;
}

/* === Back Button === */
.back-button-container {
  width: 100%;
  padding: 20px 30px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
}

.back-button-container button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #0080bf 0%, #003d7a 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(0, 128, 191, 0.25);
  letter-spacing: 0.5px;
}

.back-button-container button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 128, 191, 0.4);
}

.back-button-container button:active {
  transform: translateY(-1px);
}

/* === Image Grid === */
.catalogue-section {
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #003d7a;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0080bf 0%, #003d7a 100%);
  border-radius: 2px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px 0;
  max-width: 900px;
  margin: 0 auto;
}

.image-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(0, 128, 191, 0.1);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-box a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.image-box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 128, 191, 0.3);
  border-color: rgba(0, 128, 191, 0.3);
}

.image-box:hover img {
  transform: scale(1.08);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 128, 191, 0.95) 100%);
  color: #ffffff;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  opacity: 1;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.image-box:hover .overlay-text {
  opacity: 1;
}

.overlay-text img {
  width: 180px;
  max-width: 100%;
}

/* === Branding Corner === */
.branding-corner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.branding-corner:hover {
  opacity: 1;
  transform: scale(1.1);
}

.branding-corner img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.branding-corner a {
  text-decoration: none;
  display: block;
}

/* === Blank Space === */
.blank-space {
  height: 80px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .overlay-text {
    font-size: 20px;
    padding: 15px 25px;
  }

  .logo {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .logo {
    height: 65px;
  }

  .info-item {
    font-size: 14px;
  }

  .back-button-container {
    padding: 15px 20px;
  }

  .back-button-container button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .catalogue-section {
    padding: 30px 15px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .overlay-text {
    font-size: 18px;
    padding: 12px 20px;
  }

  .branding-corner img {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 15px;
  }

  .logo {
    height: 60px;
  }

  .info-item {
    font-size: 12px;
  }

  .back-button-container {
    padding: 12px 15px;
  }

  .back-button-container button {
    padding: 8px 16px;
    font-size: 13px;
  }

  .catalogue-section {
    padding: 20px 10px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .overlay-text {
    font-size: 16px;
    padding: 10px 15px;
  }

  .overlay-text img {
    width: 140px;
  }

  .branding-corner {
    bottom: 15px;
    right: 15px;
  }

  .branding-corner img {
    width: 70px;
  }

  .blank-space {
    height: 60px;
  }
}

@media (max-width: 320px) {
  .section-title {
    font-size: 1.1rem;
  }

  .overlay-text {
    font-size: 14px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}