/* General resets */
* {
  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; /* space between image and text */
}

.logo-img {
  width: 72px; /* adjust as needed */
  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); /* Optional overlay tint */
}

/* 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);
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 5%;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.fact-box {
  background: #e8f4ff;
  padding: 15px;
  margin-top: 15px;
  border-radius: 10px;
}

.video-img {
  width: 100%;
  border-radius: 10px;
}

/* About Section */
.about {
  background-color: #ffffff; 
  padding: 60px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #003366;
  height: 90vh;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}


/* Footer */
.footer {
  background-color: #cce6ff;
  padding: 20px;
  text-align: center;
}

.social-icons {
  margin-top: 10px;
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
}
