*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* navmenu-toggle */

  
.night-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c2c2c53; /* Transparent overlay color */
  pointer-events: none; /* Allow interactions with underlying content */
  z-index: 9999; /* Make sure it's on top */
  transition: opacity 0.5s ease;
  opacity: 1; /* Fully visible */
}

.night-overlay.hidden {
  opacity: 0; /* Hidden by default */
  pointer-events: none;
}

/* Toggle Button */
.navmenu-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--default-color);
  margin-left: auto;
  transition: color 0.3s;
}


/* Section-hero */

.hero .container h1{
  font-family: "Great Vibes", serif;
  /* font-weight: bold; */
  font-size: 3rem;
}

.hero .container p{
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 70px;
}

@media (max-width: 1024px) {
  .hero .container h1{
    font-size: 2.5rem;
  }
  
  .hero .container p{
    font-size: 18px;
    margin: 0 10px;
  }
}


@media (max-width: 768px) {
  .hero .container h1{
    font-size: 2rem;
  }
  
  .hero .container p{
    font-size: 10px;
    margin: 0 10px;
  }
}

/* Recent Blog section */

.Blog-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 2rem;
}

.recent-posts-header {
  margin-bottom: 2rem;
}

.recent-posts-label {
  color: #94a3b8;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.recent-posts-title {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}

.recent-posts-title::after {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.blog-title {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.875rem;
}

.post-date {
  color: #64748b;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .Blog-container {
      padding: 1rem;
  }

  .blog-grid {
      grid-template-columns: 1fr;
  }
}

/* map section */

.map-container {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.map-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-header {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.map-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  color: #1f2937;
}

.view-larger {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
}

.view-larger:hover {
  text-decoration: underline;
}

.map-frame {
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 768px) {
  .map-frame {
      height: 350px;
  }
}


/* contact-section */

.contact-container-main {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container-main .header-container {
  text-align: center;
  margin-bottom: 50px;
}

.contact-container-main .header-container h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact-container-main .header-container h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #0066FF;
}

.contact-container-main .header-container p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrapper-main {
  display: flex; 
  justify-content: center; 
  align-items: flex-start; 
  gap: 30px;
  margin-top: 30px;
}



.contact-wrapper-main .contact-info-main,
.contact-wrapper-main .contact-form-main {
  max-width: 100%; 
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
}

.contact-wrapper-main .contact-info-main {
  width: 450px; 
  padding: 80px 50px;
  background-color: #03c4eb;
  border-radius: 10px;
  color: white;
}

.contact-wrapper-main .contact-form-main {
  width: 650px; 
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.contact-wrapper-main .contact-info-main h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.contact-wrapper-main.contact-info-main p {
  margin-bottom: 30px;
  opacity: 0.9;
  color: white;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-info-item i {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 16px;
}

.contact-info-details h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: white;
}

.contact-info-details p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-form-main h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.form-row-main {
  margin-bottom: 20px;
}

.form-row-double-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control-main {
  width: 100%;
  padding: 10px 15px;
  margin: 10px 0;
  border: 1px solid rgb(125, 125, 125);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

textarea.form-control-main {
  min-height: 150px;
  resize: vertical;
}

.submit-button-main {
  background-color: #03c4eb ;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 0 rgba(3, 196, 235, 0);;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button-main:hover {
  /* background-color: #0052cc; */
  box-shadow: 0 0 20px rgba(3, 196, 235, 0.7), 0 0 40px rgba(3, 196, 235, 0.5);

}


/* For screens smaller than 1024px */
@media (max-width: 1024px) {
  .contact-wrapper-main {
    flex-direction: column; 
    align-items: center;
  }

  .contact-wrapper-main .contact-info-main{
    width: 50%; 
    padding: 40px 30px;
  }

  .contact-wrapper-main .contact-form-main {
    width: 80%; 
    padding: 40px 20px;
  }
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
  .contact-container-main .header-container h1 {
    font-size: 2rem;
  }

  .contact-wrapper-main {
    flex-direction: column; 
  }

  .contact-wrapper-main .contact-info-main{
    width: 70%; 
    padding: 40px 30px;
  }

  .contact-wrapper-main .contact-form-main {
    width: 80%; 
    padding: 40px 20px;
  }

  .form-row-double-main {
    grid-template-columns: 1fr;
  }

  .form-control-main {
    font-size: 0.9rem;
  }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
  .contact-container-main {
    padding: 0 15px;
  }

  .contact-wrapper-main .contact-info-main{
    width: 100%; 
    padding: 40px 30px;
  }

  .contact-wrapper-main .contact-form-main {
    width: 100%; 
    padding: 40px 20px;
  }

  .contact-container-main .header-container h1 {
    font-size: 1.8rem;
  }

  .contact-container-main .header-container p {
    font-size: 0.9rem;
  }

  .contact-wrapper-main .contact-info-main {
    padding: 20px;
  }

  .contact-wrapper-main .contact-form-main {
    padding: 20px;
  }

  .submit-button-main {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
