* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-image: url('./images/gfc-blue.PNG');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

nav {
    background-color: #5ea6d6;
    padding: 1rem 1rem;
    border-bottom: 6px solid #d4af37;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: space-around;
    width: 100%;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #d4af37;
    font-size: 1.8rem;
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 90px;
  width: 100%;
  overflow-x: hidden;
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

#hero h1 {
    color: white;
    font-size: 3.5rem;
}



.content-box {
  width: 90vw;
  max-width: 600px;
  background-color: rgba(1, 170, 212, 0.596);
  margin: 1rem auto;     
  padding: 1rem;
  border-radius: 8px;
  color: white;
  display: block;
  height: auto;
}

.application-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.application-form label {
  font-weight: 600;
}

.application-form input,
.application-form select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: white;
  outline: none;
}

.application-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.application-form button {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 6px;
  background: #dbdf09;
  color: #0957cc;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.application-form .application-sub-button {
    background-color: #d4af37;
}

.services-lists {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}

.services-lists ul {
  flex: 1;
  list-style: none;
}

.content-box a {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s;
}

.content-box a:hover {
  color: #d4af37;
}

.image-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

.image-carousel button {
  background-color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 6px;
  color: #0957cc;
  font-weight: 700;
  transition: background-color 0.3s;
  flex-shrink: 0;
}

.image-carousel button:hover {
  background-color: #fff;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 550px; 
  height: 550px;
  flex-shrink: 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: none;
}

.instagram-logo {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  vertical-align: middle;
  object-fit: contain;
}

.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding-right: 100px;
}

.instagram-link a {
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.instagram-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  nav {
    padding: 0.75rem 0.5rem;
  }

  nav ul {
    gap: 0.25rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  nav a:hover {
    font-size: 1rem;
  }

  .hero-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  #hero h1 {
    font-size: 2rem;
  }

  .content-box {
    width: 90vw;
    padding: 0.75rem;
  }

  .image-container {
    width: 280px;
    height: 280px;
  }

  .image-carousel button {
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
  }

  .services-lists {
    flex-direction: column;
    gap: 1rem;
  }

  .services-lists ul {
    width: 100%;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.5rem 0.25rem;
  }

  nav ul {
    gap: 0.1rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  #hero h1 {
    font-size: 1.5rem;
  }

  .content-box {
    width: 95vw;
  }

  .image-container {
    width: 200px;
    height: 200px;
  }

  .image-carousel {
    gap: 0.5rem;
  }

  .image-carousel button {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
  }
}