/* === GLOBAL RESET & TYPOGRAPHY === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', serif;
  line-height: 1.6;
  color: #333;
  background-color: #e4f1fe;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* === CALL BANNER === */
.call-banner {
  background-color: #007bc9;
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  z-index: 1000;
}
/* === HEADER === */
.fixed-header {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky; 
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px; 
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: nowrap;
}


.logo img {
  width: 200px;
  margin-top: 16px;
}

/* === NAVIGATION === */
.navigation-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  flex: 1;
  justify-content: flex-end;
  padding-left: 2rem;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 200px;
  text-align: center;
  padding: 1rem 0;
  z-index: 1000;
}

.nav-links li:hover {
	color: #005fa3;
	cursor: default;
}


/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: grabbing;
  padding: 10px;
}

/* Hamburger lines */
.hamburger span, .hamburger-inner, .hamburger-box {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
}

/* Show Nav Links when active */
.nav-links.show {
  display: flex;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .hamburger span, .hamburger-inner, .hamburger-box {
  display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background-color: transparent;
    justify-content: flex-end;
    gap: 2rem;
    width: auto;
  }
}

/* Show hamburger and hide nav-links on mobile */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
  
  .hamburger span, .hamburger-inner, .hamburger-box {
  display: block;
  border-top: 2px solid #007bc9;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 200px;
    text-align: center;
    padding: 1rem 0;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }
}

/* === HERO SECTION === */
.hero {
  padding: 60px 20px;
  text-align: center;
  background-color: #8dc6ff;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.hero-content .cta-button {
  padding: 0.8rem 1.5rem;
  background-color: #e4f1fe;
  color: #22313f;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.hero .cta-button {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .intro-content {
    margin-top: 2rem;
  }
}


/* === INTRO SECTION === */
.intro {
  background-color: white;
  padding: 10px;
/*     border-top: 2px solid #007bc9; */
}

.container {
  max-width: 100%;
  padding: 20px;
  max-height: auto;
  margin-top: 20px;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
/*   margin: 2 auto; */
  padding: 2rem;
}

.intro-text {
  flex: 1 1 400px;
  text-align: left;
}

.intro-text h2 {
margin-bottom: 1rem;
  font-size: 2.5rem;
	color: #007bc9;
text-align: left;
margin-left: 2rem;
}

.intro-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
  margin-left: 30px;
}

.intro-image {
  flex: 1 1;
  text-align: center;
}

.partner-logo {
  max-width: 70%;
  height: auto;
}

/* === SERVICE SECTION === */
.service-container {
	padding: 1rem;
/* 	margin-top: 3rem; */
	height: auto;
}


.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2%;
}


.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.service-icon {
  width: 120px;
  height: auto;
  object-fit: contain;
  align-items: center;
}

/* Responsive for intro section */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    align-items: center;
  }
  
  .intro-text-box, .intro-image-box {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .spacer {
    height: 30px;
  }
}

/* Responsive for grid */
@media (max-width: 992px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-wrapper {
    grid-template-columns: 1fr;
  }

  .service-icon {
    width: 100px;
  }
}



/* Property Card */
.property-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: white;
}

.property-container p {
  font-size: 1rem;
  color: black;
  text-align: center;
  margin-bottom: 2rem;
}


.property-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards in a row */
  gap: 1.5rem;
}


.property-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 2px solid #007bc9;
}


.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .property-wrapper {
    grid-template-columns: 1fr;
  }

  .property-container {
    padding: 1rem;
  }

  .property-card {
    width: 100%;
  }
}


/* Slideshow container */
.slideshow-container {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}

/* Slides inside */
.slide {
  width: 100%;
  height: 350px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Active Slide */
.active-slide {
  opacity: 1;
}

.resource-info {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  transform: translateX(-50%);
  left: 50%;
  color: white;
}

.resource-title {
  position: absolute;
  bottom: 0;
  width: 100%;
/*   background: rgba(0, 0, 0, 0.5); */
  color: rgba(255, 255, 255, .9);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  text-align: center;
  padding: 0.5rem;
}

/* Title */
.resource-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Details (price and beds/baths) */
.resource-details {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}


/* Responsive Behavior */
@media (max-width: 992px) {
  .grid-wrapper .property-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-wrapper .property-wrapper {
    grid-template-columns: 1fr;
  }
}


/* === RESOURCES SECTION === */
.resources {
  padding: 2rem 1rem;
  background-color: transparent;
  text-align: center;
  border-top: 2px solid #007bc9;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  max-height: 500px;
}


.resources h1 {
  font-size: 2.2rem;
  color: #007bc9;
  text-align: left;
  margin-bottom: 2rem;
}

/* Slider Container */
.resources-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.resource-slide {
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.resource-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1rem;
  text-align: center;
  padding: 0.5rem;
}


.resources-slider {
  scrollbar-width: none; 
}

/* === CONTACT SECTION === */
.contact {
  background-color: transparent;
  margin-bottom: 50px;
/*   padding: 2rem 1rem; */
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
  color: #007bc9;
}

/* Left: Form */
.contact-form {
  padding: 1rem;
}

.contact-form h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: black;
  font-weight: bold;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #007bc9;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Right: Contact Info */
.contact-info {
  padding: 1rem;
}

.contact-info h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #007bc9;
  font-weight: bold;
  text-align: left;
}

.contact-info .info-item {
  display: flex;
  align-items: left;
  margin-bottom: 1rem;
}

.contact-info .icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: #007bff;
}

.contact-info p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  text-align: left;
}

/* === MOBILE Responsive === */
@media (max-width: 760px) {
  .contact-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .contact-form, .contact-info {
    padding: 1rem 0;
  }
}

/* Footer */
.footer-container {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-height: 300px;
}

.top-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
}

.footer-icon {
  width: 100px;
  height: auto;
/*   border-radius: 0.2rem; */
}

.bottom-footer {
  text-align: center;
}

.bottom-footer p {
  color: black;
  font-size: 0.7rem;
}

/* === MOBILE FOOTER === */
@media (max-width: 760px) {
  .top-footer {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

  .footer-icon {
    margin: 0 auto;
  }
}