/*============= GLOBAL RESETS =============*/
html, body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: #505962;
}

/*============= NAVIGATION =============*/
.main-logo {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}
.main-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.5));
}

.navbar {
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.5s ease;
}

.navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333; /* 👈 Removed !important */
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
}


.navbar-nav .nav-link:hover {
  color: #4dd3ff !important;
}


/*============= LANDING PAGE =============*/


.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../img/mainpage2.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: auto;
  padding: 100px 5% 0;
  
}

.landing-caption {
  width: 100%;
  max-width: 100%;
}

.hero-text-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  font-size: 0.85rem;
  color: white;
  text-align: left;
  display: inline-block;
  margin: 0 auto 0 0; /* top right bottom left — aligns left but prevents full width */
}
/*============= HEADINGS AND SECTIONS =============*/
.heading {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #333;
}
.heading-underline {
  width: 80px;
  height: 4px;
  background-color: #4dd3ff;
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

/*============= FEATURE BOXES =============*/
.feature {
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  background-color: #e9f9fc;
}

/*============= CTA SECTION =============*/
.cta-section {
  background-color: #4dd3ff;
  color: rgb(10, 0, 0);
  text-align: center;
}

/*============= BLOCKQUOTES =============*/
blockquote {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 2rem;
}

/*============= GALLERY =============*/
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1 / 1; /* ✅ Keeps all items square without fixed height */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  border-radius: 10px;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/*============= FOOTER =============*/
footer {
  background-color: #222;
  color: white;
  padding: 40px 0;
}
footer img {
  height: 8rem;
  margin-bottom: 1.5rem;
}
footer a {
  color: white;
}
footer a:hover {
  color: #4dd3ff;
}

/*============= CONTACT FORM =============*/
.form-control {
  background-color: #ffffff;   /* White background */
  color: #000000;              /* Black text */
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 1rem;
}

.form-control::placeholder {
  color: #888888;              /* Lighter placeholder text */
  opacity: 1;                  /* Ensures placeholder is visible */
}

textarea.form-control {
  resize: vertical;
}

/*============= MEDIA QUERIES =============*/
/* Responsive tweaks */
@media (max-width: 992px) {
  .hero-text-box {
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .landing {
    padding-top: 160px; /* extra for mobile dropdown nav */
  }
}

  .hero-text-box {
    max-width: 90%;
    font-size: 0.85rem;
    text-align: left;
  }

@media (max-width: 576px) {
  .hero-text-box {
    max-width: 90%;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }

  .hero-text-box h1 {
    font-size: 1.2rem;
  }

  .hero-text-box p {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 812px) and (orientation: landscape) {
  .hero-text-box {
    max-width: 90vw;
    width: auto;
    margin: 0;
    overflow-wrap: break-word;
  }
  .hero-text-box h1 {
    font-size: 1rem;               /* smaller heading */
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero-text-box p {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
}
