* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins';
  background-color: #f0f4f8;
  color: #1f2d3d;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000; /* ensures it stays on top */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0px; 
}

.logo-img {
  width: 72px; 
  height: auto;
}

.logo-text {
  font-family: 'Cascadia Code', sans-serif;
  font-size: 42px;
  font-weight: bold;
  text-decoration: none;
  color: black
}


.nav-links {
  font-size: 18px;
  list-style: none;
  display: flex;
  gap: 30px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 86vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  top: 0;
  left: 0;
}

/* Overlay Container for Layout */
.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  color: white;
  background: rgba(0, 1, 21, 0.6);
}

/* Foreground Card for Penguin GIF */
.hero-card-wrapper {
  position: fixed;
  margin-bottom: -30px;
  bottom: 0;
  right: 0;
  overflow: hidden;
  z-index: 999;
}

.hero-card {
  position: relative;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-right: 20px;;
  max-width: 200px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-img {
  width: 100%;
  height: auto;
}

/* Text Block */
.hero-text {
  text-align: center;
  max-width: 600px;

}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero-text em {
  font-style: italic;
  color: #ffcc00;
}

.tagline {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #ddd;
}

.btn-yellow {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #ffcc00;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-yellow:hover {
  background-color: #e6b800;
}

.services-wrapper {
  background-color: #cce6ff;
  padding: 100px 5%;
  height: 100vh;
}

.services-wrapper h1 {
  text-align: center;
  font-size: 5rem;
}

.services-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 100px;
  
}

.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-img {
  width: 500px;
  height: auto; 
}

.service {
  width: 300px;
  text-align: center;
}

.service-pic {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.service {
  margin: 20px 0;
  list-style: none;
  text-align: center;
}

.service a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;

  font-weight: bold;
  height: 200px;
  font-size: 2rem;
  color: black;
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, background-color 0.3s;
}

.service a:hover {
  background-color: #e0f7ff;
  transform: scale(1.05);
}

/* Facts Section */
.penguin-showcase {
  background-color: #f4fbff;
  padding: 4rem 2rem;
  text-align: center;
}

.penguin-showcase h2, .table-fact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #003366;
}

/* Card Grid Layout */
.penguin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Card Container */
.penguin-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.penguin-card:hover {
  transform: scale(1.05);
}

/* Card Image Background */
.card-image {
  background-size: cover;
  background-position: center;
  height: 100%;
  transition: filter 0.3s ease;
}

.penguin-card:hover .card-image {
  filter: brightness(0.4);
}

/* Content Reveal on Hover */
.card-content {
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  text-align: center;
}

.penguin-card:hover .card-content {
  transform: translateY(0);
}

/* Card Title and Text */
.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #003366;
}

.card-content p {
  font-size: 1rem;
  color: #333;
}

.table-fact {
  padding: 2rem;
  background-color: #f2faff;
}

.table-fact h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.table-fact table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.table-fact th, .table-fact td {
  padding: 0.75rem;
  border: 1px solid #ccc;
}

.table-fact th {
  background-color: #b3e5fc;
}

.facts-hero {
  background: linear-gradient(to bottom right, #d6ecff, #f1faff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.facts-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  flex-wrap: wrap;
}

.facts-hero-text {
  flex: 1;
  text-align: left;
  animation: fadeInUp 1s ease-in-out forwards;
}

.facts-hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #003366;
}

.facts-hero-text p {
  font-size: 1.5rem;
  color: #333;
  max-width: 600px;
}

.facts-hero-image {
  flex: 1;
  max-width: 400px;
  animation: float 3s ease-in-out infinite;
}

.facts-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}


/* About Section */

.about {
  background-color: #ffffff; 
  padding: 60px 20px;
  text-align: center; 
  color: #003366;
  height: 90vh;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  background: linear-gradient(to right, #d0f0ff, #ffffff); 
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-text {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Gallery Section */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
  opacity: 0.85;
}

/* TV Section */

.media-gallery {
  padding: 3rem 2rem;
  text-align: center;
}

.media-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #003366;
}

.media-section {
  margin-bottom: 3rem;
}

.media-section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #003366;
}

.media-item {
  margin-bottom: 1.5rem;
}

/* TikTok Section */
.tiktok-gallery {
  display: flex;
  justify-content: center;
  gap: 60px;  
  flex-wrap: wrap; 
}

.tiktok-item {
  width: 300px; 
  margin-bottom: 20px; 
}

.tiktok-item iframe {
  width: 100%;
  height: 600px; 
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* GIF Section */
.gif-gallery {
  display: flex;
  justify-content: center;
  gap: 30px; 
  flex-wrap: wrap; 
}

.gif-item {
  width: 250px; 
  height: 250px; 
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gif-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

/* Form Section */
.card {
  background-color: #ffffff;
  padding: 40px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #003366;
}

.penguin-form label {
  font-size: 1.1rem;
  color: #003366;
}

.penguin-form input,
.penguin-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.penguin-form button {
  background-color: #ffcc00;
  color: black;
  padding: 12px 20px;
  border-radius: 5px;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.penguin-form button:hover {
  background-color: #e6b800;
}

.check-map-button-container {
  display: flex;
  justify-content: center;

}

/* Thank you */
.thank-you {
  height: 77vh;
  background-color: #003366;
  text-align: center;
  padding: 110px 200px; /* Increased side padding */
  color: white;
}

.thank-you h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.thank-you .btn-yellow {
  background-color: #ffcc00;
  padding: 12px 20px;
  font-size: 1.1rem;
  color: black;
  border-radius: 5px;
  text-decoration: none;
}

.thank-you .btn-yellow:hover {
  background-color: #e6b800;
}

.map-section {
  position: relative;
  text-align: center;
}

.map-title {
  font-size: 2.5rem;
  color: #003366;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

.map-title:hover {
  transform: translateX(-50%) scale(1.1);
}

.map-image {
  width: 100%;
  max-width: 100vw;
  height: auto;
  position: relative;
}


/* Footer */
.footer {
  background-color: #cce6ff;
  padding: 20px;
  text-align: center;
}

/* Vision Section */
.vision {
  background-color: #003366; 
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.vision h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffcc00; 
}

.vision p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Purpose and Objective Section */
.purpose-objective {
  background-color: #003366; 
  padding: 50px 0;
  text-align: center;
  color: white;
}

.purpose-objective h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffcc00; 
}

.purpose-objective-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.purpose-item {
  max-width: 320px;
  text-align: center;
}

.purpose-item h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffcc00; 
}

.purpose-item p {
  font-size: 1rem;
  line-height: 1.6;
}

.purpose-icon {
  color: white;
  width: px;
  height: auto;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  /* Adjust navbar for mobile */
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    display: block;
    margin-top: 15px;
  }

  /* Form adjustments for smaller screens */
  .card {
    width: 95%; 
    padding: 30px;
  }

  .penguin-form input,
  .penguin-form textarea,
  .penguin-form button {
    font-size: 1rem; 
  }

  .penguin-form label {
    font-size: 1rem; 
  }

  .purpose-objective-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .penguin-form button {
    padding: 15px 25px;
    font-size: 1.2rem;
  }

  .penguin-form input,
  .penguin-form textarea {
    padding: 10px;
  }

  .card h2 {
    font-size: 2rem;
  }

  .penguin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .hero-text h1 {
    font-size: 2.5rem; 
  }

  .hero-text p {
    font-size: 1rem; 
  }

  .btn-yellow {
    font-size: 1rem; 
  }
}
