@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/* old green #0a5f72
old blue: #86D3E5 
old hover: #8DBAD0*/
/* ELEMENTS */
html, body {
  font-family: 'Montserrat Alternates', sans-serif;
  text-align: center;
  background-color: white;
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* div {
  outline: 2px solid red;
} */

.img-fluid {
  max-height: 400px;
  max-width: 400;
  object-fit: cover;
}

.sil-text{
  padding-top: 30px;
}

h1 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif; /* Changed to Roboto */
  font-size: 3rem;
}

h2 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif;
  font-size: 2rem;
}
h3 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif;
  font-size: 1.5rem;
}
h4 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif;
  font-size: 1.3rem;
}
h5 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif;
  font-size: 1.2rem;
}
p {
  font-family: 'Roboto', 'Pontano Sans', sans-serif;
}
a {
  color: #86D3E5; /* Default color for links */
  text-decoration: none; /* Removes underline */
}
a:hover {
  color: #0a5f72; /* Darker shade for hover */
}
ul {
  list-style-position: inside;
  list-style-type: square;
  margin: 1rem;
  padding: 0rem;
}


.footer {
  background-color: #0a5f72;
  color: white;
  padding: 20px 0;
  text-align: center;
  /* margin-top: 20px; */
}
.content-box{
  padding: 20px;
  margin: 20px auto;  
  border: 1.2px solid #0a5f72;
  border-radius: 5px;
  text-align: center;

}

/* .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
} */

/* .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; 
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  position: relative;
}


.footer-logo-container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
  padding: 10px 0;

  max-width: 1200px;
  margin: 0 auto;
}


.footer-logo-container img:first-child {
  margin-left: 10%; 
}

.footer-logo-container img:last-child {
  margin-right: 10%; 
} */




.footer-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Ensure footer images are properly spaced */
.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px; /* Ensures they are properly positioned */
}

/* Footer images - Keeps them at proper distance */
.footer-img {
  max-width: 100px;
  height: auto;
  margin-left: 100px;
  margin-right: 100px;
}

/* Center text content */
.footer-center {
  text-align: center;
  flex-grow: 1;
}

.icon-white {
  color: white;
}

/* FONTS */

.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-blue {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #0a5f72;
}


.roboto-brand {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #0a5f72;
  font-size: 1.6rem; /* Adjust size as needed */
}


.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}


.arvo-regular {
  font-family: "Arvo", serif;
  font-weight: 400;
  font-style: normal;
}

.arvo-bold {
  font-family: "Arvo", serif;
  font-weight: 700;
  font-style: normal;
}

.arvo-regular-italic {
  font-family: "Arvo", serif;
  font-weight: 400;
  font-style: italic;
}

.arvo-bold-italic {
  font-family: "Arvo", serif;
  font-weight: 700;
  font-style: italic;
}


/* CLASS */
.form-check-padding {
  padding-top: 1rem;
}
.form-button-padding {
  margin-top: 1rem;
}
.ndis-list {
  list-style-position: outside;
}
.title-h1 {
  line-height: 1.5;
  color: #0a5f72;
  font-weight: 900;
  
}
.title-h2 {
  font-family: 'Roboto', 'Montserrat Alternates', sans-serif;
  color: #0a5f72;
  font-weight: normal;
  font-size: 2rem;
}


.title-h3 {
  font-family: 'Pontano Sans', sans-serif;
  color: #0a5f72;
  font-weight: normal;
  font-size: 1.5rem;
}
.section-h2 {
  color: #FFFFFF;
}
.section-h3 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  background-color: #FFFFFF;
}


.footer-center {
  text-align: center;
  flex: 1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-i {
  color: white;
  font-size: 1.5rem;
}

.footer-p {
  margin-top: 10px;
}

/* Container section */
.container-fluid {
  padding: 4% 4% 5%;
  flex: 1;
}
#services .container-fluid {
  padding: 4% 2% 1%;
}
.ndis-container-fluid {
  padding: 2% 12%;
}
.next-step {
  padding: 2rem 0rem;
}
#title .container-fluid {
  padding: 2% 14%;
}

#banner-section .container-fluid {
  padding: 4% 4% 5%;
  flex: 1;
  height: 100vh;
}

/* Sections */
.section-heading {
  line-height: 1.5;
  font-size: 3rem;
}
.coloured-section {
  background-color: #0a5f72;
}
.coloured-section h3, 
.coloured-section p, 
.coloured-section li {
  color: white;
}
.container-fluid-content {
  padding: 4% 4% 1%;
  flex: 1;
  margin: 0 auto;
  width: 80%;
  text-align: center;
  border-radius: 5px;
}
.container-fluid-content-cards {
  padding: 2% 2% 1%;
  flex: 1;
  margin: 0 auto;
  width: 90%;
  text-align: center;
  border-radius: 5px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.white-section {
  background-color: #FFFFFF;
}
.off-white-section {
  background-color: #F7F9F9;
}

/* Navbar */
.nav-section {
  background-color: #FFFFFF;
}
.logo-img {
  height: 3rem;
  width: auto;
  margin-right: 10px;
}
.navbar-nav .nav-link {
  font-size: 1rem;
  padding-right: 20px;
  color: black;
}
.current-page {
  color: #ffffff !important;
  background-color: #0a5f72 !important;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #0a5f72;
  color: white !important;
  text-decoration: none;
}
.dropdown-menu .dropdown-item {
  font-size: 1rem;
  color: black;
}
.dropdown-item.active:hover,
.dropdown-item:active:hover {
  background-color: #0a5f72;
  color: white;
}
.navbar-nav .nav-item {
  padding-right: 15px;
}
.navbar-brand img {
  height: 4rem;
  margin-right: 10px;
  vertical-align: middle;
}
.navbar-brand {
  font-size: 1.4rem;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}
.nav-link,
.dropdown-item,
.current-page {
  transition: color 0.3s ease, background-color 0.3s ease;
}
.nav-link:hover,
.dropdown-item:hover,
.current-page:hover {
  color: black !important;
  background-color: #8DBAD0 !important;
}
.nav-link.active {
  color: #86D3E5; /* Change this to your desired active link color */
  font-weight: bold;
}

.footer_img img{
  margin-left: 30px;
  margin-right: 30px;
}
.max-width-500 {
    /* max-width: 100%; */
    padding-top: 20px;
    padding-bottom: 20px; 
  }

/* Buttons */
.custom-btn {
  background-color: #721d0a;
  color: white;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
}
.custom-btn:hover {
  background-color: #0a5f72;
  color: #FFFFFF;
}
.custom-btn-alt {
  background-color: #0a5f72;
  color: white;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
}
.custom-btn-alt:hover {
  background-color: #721d0a;
  color: #FFFFFF;
}

/* Banner */
.banner-section {
  background-color: #0a5f72;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  border: none; /* Add this line to remove any border */
}

/* .banner-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
} */

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
}

.Sirv {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  object-fit: cover; /* Ensure the image covers the entire area */
}


.banner-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-section .col-md-8 {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center-align vertically */
  text-align: center; /* Center-align text horizontally */
}

.ndis-logo {
  justify-content: center !important; /* Center-align vertically */
  text-align: center !important; /* Center-align text horizontally */
}

/* .image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding-right: 0;
} */

.image-container {
  display: flex;
  justify-content: center; /* Center image */
  align-items: center;
  width: 100%;
}

.image-container img {
  height: 100%; /* Make the image take up 100% of the height of the parent */
  width: 100%; /* Ensure the image takes up the full width */
  object-fit: cover; /* Ensure the image covers the entire area */
}

.text-container {
  text-align: left !important;
  padding: 30px 20px 20px 40px !important;
  margin-left: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}
.left-text {
  padding-left: 30px;
  width: 80% !important;
  position: relative;
  display: block;
  padding: 20px;
}
.text-container h2, 
.text-container p, 
.text-container ul, 
.text-container ol, 
.text-container li {
  text-align: left;
  margin-left: 20 !important;
  padding-left: 20 !important;
}
.text-container ul, 
.text-container ol {
  padding-left: 20px;
}

/* Footer */
/* .footer-section {
  background-color: #0a5f72;
  color: white;
  padding: 20px 0;
  text-align: center;
}
.footer-i {
  color: white;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.5rem;
}
.footer-right {
  display: flex;
  align-items: center;
}
.footer-left {
  display: flex;
  flex-direction: column;
} */
.contact-icon {
  color: #0a5f72;
}
.security-logo {
  width: 120px;
  height: auto;
}

/* Cards */

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  flex: 1 1 calc(45% - 20px); /* 2 per row */
  max-width: 250px;
  border-radius: 2%; /* Makes corners curved */
  overflow: hidden; /* Prevents child elements from overflowing */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds shadow for better look */
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Gallery */
.photo-gallery {
  text-align: center;
  margin-bottom: 40px;
}
.photo-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  text-align: center;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  box-shadow: #F7F9F9;
}
.caption-container {
  padding: 10px;
  border-radius: 2px;
  background-color: #f9f9f9;
}
.caption {
  font-size: 1rem;
  color: #333;
  margin: 0;
}
.photo-gallery {
  padding: 20px;
  background-color: #f9f9f9;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.caption-container {
  position: absolute;
  bottom: 0;
  background: #fff;
  width: 100%;
  padding: 10px;
  text-align: center;
  color: #fff;
  font-size: 0.7rem;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.gallery-item:hover .caption-container {
  opacity: 1;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Houses */
.container-fluid-content-houses {
  padding: 4% 4% 1%;
  flex: 1;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  border-radius: 5px;
  background-color: white;
}
.recaptcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.75);
  transform-origin: center;
  -webkit-transform: scale(0.75);
  -webkit-transform-origin: center;
  margin: 0 auto;
  width: 100%;
}
.recaptcha-container iframe {
  height: auto !important;
  display: block;
}

/* Coordination */
.list-section h3, 
.list-section p {
  text-align: left;
  margin-left: 1rem;
}
.list-container {
  display: flex;
  justify-content: center;
}
.list-container ul {
  list-style-type: disc;
  padding-left: 1rem;
  text-align: left;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
.list-container li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Contact form */
.contact-form {
  padding-bottom: 1rem;
}

/* Custom Radio Buttons */
.custom-radio-btn .form-check-input {
  appearance: none;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
  position: relative;
  margin-right: 0.5em;
  outline: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-radio-btn .form-check-input:checked {
  background-color: #86D3E5;
  border-color: #86D3E5;
}

.custom-radio-btn .form-check-input:checked::before {
  content: '';
  display: block;
  width: 0.75em;
  height: 0.75em;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-radio-btn .form-check-label {
  cursor: pointer;
}

/* Devices */
@media (max-width: 1024px) {
  .roboto-brand {
    font-size: 1.2rem; /* Adjust size as needed */
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .card {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
    max-width: 300px; /* Slightly larger for better visibility */
  }
  .contact-col {
    padding: 2rem 2rem;
  }
  .navbar-brand img {
    height: 3rem;
    margin-right: 5px;
  }
  .navbar-brand {
    display: flex;
    align-items: center;
    font-size: 0;
  }
  .navbar-nav .nav-item {
    padding-right: 10px;
  }
  .nav-section a {
    font-size: 1rem;
  }
  .dropdown-item {
    font-size: 0.8rem;
  }
  .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
  .title-h3,
  .footer-p {
    display: none !important;
  }
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer img {
    height: 80px;
}
}

@media (max-width: 768px) {
  
  .hide-on-mobile {
    display: none;
  }
  .full-width-on-mobile {
    width: 100%;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h4 {
    font-size: 0.8rem;
  }

  .banner-content {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;

  }

  /* Ensure footer images are properly spaced */
.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
}

/* Footer images - Keeps them at proper distance */
/* .footer-img {
  max-width: 100px;
  height: auto;
  margin-left: 100px;
  margin-right: 100px;
} */



  /* .footer-content {
    flex-direction: column;
    text-align: center;
  } */

  /* .footer-content img {
    display: none;
  } */

  .footer img {
    height: 60px;
}
  .col-md-8, .col-md-4 {
    flex: 1; /* Makes them grow to fill space */
    max-width: 100%; /* Ensures they do not shrink */
}

  .image-container img {
    /* width: 40%; Adjust the width as needed */
      height: 100%;
      max-height: 100px; /* Adjust the height as needed */
      justify-content: flex-end; /* Align the image to the right */

  }
  
  .image-container img {
      width: 100%; /* Ensure the image takes up the full width of its container */
      height: auto; /* Maintain the aspect ratio */
      align-items: center; /* Center vertically */
  }

  .card-container {
    display: flex;
    flex-wrap: wrap; /* Ensure cards wrap to the next line */
    gap: 10px; /* Adjust the gap as needed */
  }

  /* .card {
      flex: 1 1 calc(40% - 20px);
      margin-bottom: 20px; */

  .card {
    flex: 1 1 100%; /* Full width on smaller screens */
  }
  .contact-div {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-col {
    padding: 1rem 1rem;
    padding-right: 2rem;
  }
  .title-h3,
  .social-media,
  .footer-p {
    display: none !important;
  }
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .houses-container .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .houses-container .col-md-6 {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .houses-container .card {
    width: 100%;
    max-height: 100px;
    margin-bottom: 20px;
  }
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .page-item {
    list-style: none;
  }
  .page-link {
    text-decoration: none;
    color: #86D3E5;
    padding: 10px 15px;
    border: 1px solid #86D3E5;
    border-radius: 2px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
  }
  .page-link:hover {
    background-color: #86D3E5;
    color: white;
  }
  .page-item.active .page-link {
    background-color: #86D3E5;
    color: white;
    border-color: #86D3E5;
  }

  .houses-container {
    text-align: center;
    margin-bottom: 40px;
  }
  .sil-content {
    display: none !important;
  }
  .card-img-top {
    height: 200px;
    object-fit: cover;
  }

  .cos-section {
    display: none;
  }
  .list-section h3 {
    font-size: 1.5rem;
  }
  .list-section p {
    font-size: 1rem;
  }
  .list-section li {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  /* Add your styles here */


  .roboto-brand {
    font-size: 1rem; /* Adjust size as needed */
  }
  .dropdown-menu .dropdown-item {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
 
  .card-container {
    display: flex;
    flex-wrap: wrap; /* Ensure cards wrap to the next line */
    gap: 10px; /* Adjust the gap as needed */
  }

  .footer {
    background-color: #0a5f72;
    color: white;
    padding: 0 0;
    text-align: center;
  }

  .footer-content img {
    display: none;
  }

  .footer-content {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    text-align: center;
    padding: 1 0;
  }

  .footer-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px; /* Space between logo and text */
  }

  .footer-center {
    order: 2; /* Keep text below images */
  }

  .footer-logo-container img {
    width: 80px; /* Reduce size for mobile */
    height: auto;
    margin: 10px 0; /* Adds spacing */
  }

  .card {
      flex: 1 1 calc(80% - 20px); /* Two cards per row with gap */
      margin-bottom: 20px; /* Add margin at the bottom for spacing */
     
  }

  .card h5 {
    font-size: 1rem;
  }
  .card h6,
  .card p {
    display: none;
  }
  .footer-p,
  .footer-r {
    display: none !important;
  }
  .footer-i {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1rem;
  }
  .gallery-container {
    grid-template-columns: 1fr;
  }
  .content-box {
    width: 90%;       /* Prevent full width */
    margin: 20px auto; /* Center horizontally with side space */
    padding: 20px;     /* Optional: Keep inner padding */
  }
}