/* GENERAL */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* TRANSITION */

a {

  text-decoration: none !important;
  color: inherit;
  /* Optional: Keeps the same color as the parent element */
}

/* DESKTOP NAV */
#desktop-nav {
  position: sticky;
  top: 0;
  font-family: "Noto Sans", sans-serif;
  background: hsla(0, 0%, 100%, .8);
  border-bottom: 1px solid #eaeaea;
  /* position: sticky; */
  backdrop-filter: blur(8px);
  z-index: 1001;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 84px;
  width: 100%;
  margin: auto;
  max-width: 1344px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
}



.logo {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  text-decoration: none;
  /* Remove underline from link */

}

.logo-name {
  font-size: 40px;
  font-weight: bold;
  color: black;
}

.logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  /* Adjust size as needed */
  height: 51px;
}

.logo-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.nav-item {
  padding: 0 10px 0 10px;
}

.nav-links-container {
  height: 30px;
  border: 2px solid black;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  top: 50%;
  left: 50%;
}

.hamburger-option img {
  width: 30px;
  height: 20px;
  /* filter: brightness(0) invert(1); */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-contact-wrapper {
  display: flex;
  /* Makes items appear in a row */
  gap: 15px;
  /* Adds spacing between the items */
  align-items: center;
  /* Vertically aligns items */
  position: relative;
}

.nav-contact-item {
  cursor: pointer;
}

.nav-contact-item:nth-child(1) img {
  width: 40px;
  height: 40px;
}

.nav-contact-item:nth-child(2) img {
  width: 30px;
  height: 30px;
  /* filter: brightness(0) invert(1); */
}

.nav-contact-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(211, 211, 211, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.nav-contact-icons {
  background-color: rgba(211, 211, 211, 0.5);
  padding: 5px 15px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}



.contact-popper {
  position: absolute;
  top: 120%;
  right: 0%;
  background-color: #fff;
  border: 1px solid #b4b4b4;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  z-index: 1001;
}

.contact-popper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-popper li {
  display: flex;
  align-items: center;
  padding: 8px;
}

.contact-popper li:last-child {
  margin-bottom: 0;
}

.contact-popper li a {
  font-size: 16px;
  color: #222;
  font-weight: 400;
}

.contact-popper img {
  margin-right: 8px;
}

.contact-icon-inverted {
  filter: invert(1);
}

.hamburger-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.hamburger-option {
  position: relative;
  display: inline-block;
}


.hamburger-dropdown {
  display: none;
  position: absolute;
  top: 155%;
  right: -30%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  padding: 10px 0;
  min-width: 150px;
  /* Adjust width if needed */
}

.hamburger-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-dropdown li {
  padding: 10px 15px;
}

.hamburger-dropdown li:hover {
  background-color: #f0f0f0;
  /* Light gray on hover */
}

.hamburger-dropdown a {
  text-decoration: none;
  color: #333;
  /* Dark text */
  font-size: 14px;
}

.hamburger-dropdown a span {
  font-weight: bold;
  color: #007bff;
  /* Optional: color the GBP amount */
}

/* Dropdown specific styles */
.location-container .dropdown {
  position: relative;
  /* Set relative positioning to the parent container for proper alignment */
}

.dropdown-options {
  display: none;
  top: 100%;
  left: -5%;
  position: absolute;
  background: #fff;
  width: 180px;
  box-shadow: 0 4px 15.2px 0 rgba(0, 0, 0, .07);
  z-index: 1001 !important;
  padding: 1px 0 0;
  border-radius: 12px;
  border: 1px solid #b4b4b4;
}

.nav-links-container:hover .dropdown-options,
.dropdown-options:hover {
  display: block;
  /* Keep dropdown visible when hovering over it */
}

.dropdown a {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.dropdown svg {
  width: 16px;
  height: 12px;
  fill: black;
}

.dropdown:hover svg {
  transform: rotate(180deg);
}

/* Dropdown content styling */
.dropdownitems-link {
  padding: 12px 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1d1d1d;
  font-size: 16px;
  font-family: "Noto Sans", sans-serif;
  line-height: 1.5;
}

.dropdownitems-link:hover {
  background: #1d1d1d;
  color: #fff;
}

.dropdownitems-link img {
  width: 22px;
  height: 15px;
}

.dropdownitems-link:last-child {
  border-radius: 0 0 12px 12px;
}

.navitem-dropdown-padding {
  color: black;
  text-decoration: none;
  padding: 19px 5px;
}




/* about us starts here */



.image-wrapper img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
}

#about-us-section {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: auto 100rem auto;
  z-index: 0;
  margin-top: -1px;
}

#about-us-content {
  display: grid;
  grid-area: 1 / 2 / 2 / 3;
  gap: 20px;
  padding: 40px 180px;
  background-color: #ffffff;
}

h1 {
  color: #262c2c;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 70px;
}


.h2 {
  color: black;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 26px;
}

.p {
  color: #000000;
  font-family: "Noto Sans", sans-serif;
  line-height: 1.5em;
  text-align: center;
  margin: 10px 0;
  font-size: 22px;
}

.ul {
  list-style-type: disc;
  line-height: 1.5em;
  color: #000;
  text-align: left;
  font-size: 22px;
  padding-left: 100px;
}

ul li {
  margin-bottom: 10px;
}

.ourpartner {
  text-align: center;
  list-style-type: none;
}




@media (max-width: 576px) {

  #about-us-section {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  #about-us-content {
    padding: 20px;
    gap: 10px;
  }

  h1 {
    font-size: 36px;
  }

  .h2 {
    font-size: 20px;
  }

  .p {
    font-size: 18px;
  }

  .ul {
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.4em;
  }

  ul li {
    margin-bottom: 8px;
  }

  .ourpartner {
    text-align: center;
    padding: 0;
  }
}

















/* ABOUT US SECTION */


/* #aboutus-section {
  background-color: rgb(25, 25, 25);
  color: white;
  padding-top: 120px;
  padding-bottom: 120px;
}

.aboutus-container {
  box-sizing: border-box;
  min-height: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.aboutus-body {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.aboutus-item {
  flex-shrink: 1;
  max-width: 33.33%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  flex-basis: 100%;
}

.aboutus-item img {
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
  aspect-ratio: 1 / 1;
}

.aboutus-item h4 {
  color: rgb(251, 251, 251);
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
}

.aboutus-item p {
  color: rgb(168, 168, 168);
  /* Make sure the text is white to contrast with the dark gray background */
  /* font-size: 16px;
  line-height: 1.5;
  margin-left: 20px;
  margin-right: 20px;
} */

/* .aboutus-head h2 {
  color: rgb(251, 251, 251);
  font-size: 48px;
  /* Make the section heading white as well */
  /* text-align: center; */
  /* Center the heading */
  /* padding-bottom: 50px; */
  /* Add space below the heading */
  /* font-family: "Noto Sans", sans-serif; */
  /* font-weight: 400; */




/* our partners  */
/* #ourpartner-section {
  padding: 50px;
  background-color: rgba(211, 211, 211, 0.5);
  text-align: center;
}

.ourpartner-container .ourpartner-body {
  background-color: white;
}

.ourpartner-body {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 90%;
  height: 50px;
}

.ourpartner-logo {
  background-color: white;
  width: 20px;
  height: 20px;
  display: inline-block;
  padding: 10px;
}

.ourpartner-logo img {
  height: 100px;
  width: 100px;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ourpartner-body {
  animation: scroll 20s linear infinite;
} */



/* partners can contact here */
#pc-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: #f9f9f9;
}

/* Container Styling */
.pc-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
}

/* Image Section */
.pc-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
  padding: 0;
}

.pc-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 5px;
}

/* Details Section */
.pc-details {
  flex: 1;
  padding: 20px;
  text-align: left;
  background-color: #f9f9f9;
}

/* Header Styling */
.pc-head {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.pc-head-descp {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Email Section */
.pc-email-container {
  margin-top: 20px;
  font-size: 18px;
}

.pc-email-descp {
  font-weight: bold;
  color: #444;
}

.pc-email-descp a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.pc-email-descp a:hover {
  text-decoration: underline;
}

/* Achievements Section */
.pc-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.pc-footer-block {
  font-size: 17px;
  font-weight: bold;
  padding: 10px 15px;
  background: none;
  color: #000;
  border-radius: 0;
  text-align: center;
  flex: none;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  .pc-container {
      flex-direction: column;
      text-align: center;
  }

  .pc-image {
      border-right: none;
      border-bottom: 2px solid #ddd;
      padding-bottom: 20px;
  }

  .pc-details {
      padding: 20px;
  }

  .pc-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal-width columns */
    gap: 10px; /* Space between blocks */
}

.pc-footer-block {
    margin: 0; /* Remove extra margin */
}
}









/* our-partner feature */
#brands {
  height: 180px;
  padding: 0;
  background-color: white;
  text-align: center;
  overflow: hidden;
  position: relative;
}

#brands h2 {
  font-size: 32px;
  margin-bottom: 0;
  font-weight: 600;
}

.brand-slider {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.brand-track {
  display: flex;
  gap: 180px; /* Even more space between logos */
  width: max-content;
  animation: scroll 15s linear infinite;
}

.brand-item {
  flex: 0 0 auto;
  padding: 30px; /* More padding around logos */
  background-color: white;
}

.brand-item img {
  height: 100px;
  width: 200px;
  object-fit: contain;
  display: block;
}

/* Logo Adjustments */
.brand-item img[src*="sc-logo.png"] {
  width: 200px;
  height: 95px;
  padding: 3px;
}

.brand-item img[src*="junehomes-logo.png"] {
  width: 120px;
  height: 90px;
  padding: 5px;
}

/* Smooth Scrolling Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}






/* NEW ABOUT US SECTION  */
#aboutus-section {
background-color: white;
color: white;
padding-top: 40px;
padding-bottom: 40px;
}

.aboutus-container {
background-color: white;
box-sizing: border-box;
min-height: fit-content;
margin-left: auto;
margin-right: auto;
}

.aboutus-body {
display: flex;
flex-direction: column;
width: 100%;
align-items: center;
}

.aboutus-item {
background-color: rgba(211, 211, 211, 0.5);
border: solid;
border-color: black;
display: flex;
align-items: center;
margin-bottom: 30px;
padding: 50px;
width: 90%;
max-width: 1100px;
text-align: left;
box-sizing: border-box;
}

.aboutus-item img {
width: 280px;
height:280px;
object-fit: cover;
border-radius: 50%;
}

.aboutus-item-left {
flex-direction: row;
padding: 10px;
}

.aboutus-item-left img{
  padding: 45px;

}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.text-content h4 {
  margin-bottom: 8px; /* Add spacing below the heading */
  font-size: 24px;
  color: black;
}

.text-content p {
  color: black;
  font-size: 16px;
  line-height: 1.5;
}

.aboutus-item-right img{
  padding: 45px;
  margin-right: 0;
}

.aboutus-item-right {
flex-direction: row-reverse;
padding: 10px;
}

.aboutus-item .text-content {
width: 50%;
padding: 0 70px;
}

.aboutus-head h2 {
color: black;
font-size: 48px;
text-align: center;
padding-bottom: 50px;
font-family: "Noto Sans", sans-serif;
font-weight: 400;
}

@media (max-width: 600px) {
  .aboutus-item {
    flex-direction: column;
    padding: 20px;
    width: 100%;
  }

  .aboutus-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  .aboutus-item .text-content {
    width: 100%;
    padding: 0 20px;
  }

  .text-content h4 {
    font-size: 20px;
  }

  .text-content p {
    font-size: 14px;
  }

  .aboutus-head h2 {
    font-size: 32px;
  }
}










/* Contact Us */

#contact-us {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: #00b4d8;
  color: white;
  box-sizing: border-box;
  min-height: fit-content;

}

.contact-us-container {
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
}

.contact-us-head h2 {
  font-size: 32px;
}

.contact-us-head p {
  padding: 1.5rem;
  font-size: 20px;
}

.contact-us-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 5px;
}

.contact-us-link {
  text-decoration: none;
  /* Remove underline from links */
}

.contact-us-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 121px;
  /* Set a fixed width */
  height: 121px;
  /* Set a fixed height */
  flex-shrink: 0;
  /* Prevent shrinking */
  transition: transform 0.1s ease-out;
  /* Faster and smoother scaling */
  backface-visibility: hidden;
  /* Prevents shaking and distortion */
  transform: translateZ(0);
  /* Fixes blurring and shaking issues */
}

.contact-us-icon:hover {
  transform: scale(1.05);
  /* Enlarge the entire container by 10% on hover */
}

.contact-us-icon img {
  width: 100px;
  /* Set the icon image width */
  height: 100px;
  /* Set the icon image height */
  object-fit: contain;
  /* Ensure the image fits well without distortion */
}

.contact-us-icon span {
  margin-top: 8px;
  /* Optional: Add some space between the icon and text */
  text-align: center;
}








/* FOOTER SECTION */

footer {
  background-color: rgb(25, 25, 25);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-content: flex-end;
}

.footer-nav p {
  margin-top: 5rem;
}

.footer-upper-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
  max-width: 1320px;
  align-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}




.upper-part {
  flex: 1;
  min-width: 200px;
  /* Ensure a minimum width for each part */
}

.company {
  flex-grow: 1.8;
  padding-right: 60px;
}

.footer-logo {
  padding: 2rem 0 2rem 0;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-info {
  color: #b5b5b5;

}


.location-head-footer,
.company-head-footer,
.contact-info-head {
  padding: 2rem 0 2rem 0;
  font-size: 22px;
  font-weight: bold;
  color: #adb5bd;
  /* font-weight:500; */
  white-space: nowrap;
}

.location-info-footer,
.company-info-footer,
.contact-info-footer {

  /*padding-left: 2%;  Reduced padding for responsiveness */
  font-size: 18px;

}

footer p {
  text-align: center;
}

.location-info-footer li,
.company-info-footer li {
  list-style: none;
  margin-bottom: 10px;
  white-space: nowrap;
}

.location-info-footer li:hover,
.company-info-footer li:hover,
.contact-info-footer span:hover {
  color: #00b4d8;
  /* Customize the hover color */
}

.contact-info-footer>* {
  margin-bottom: 10px;
  white-space: nowrap;
}

.contact-info-footer span {
  margin-left: 6px;
}

.contact-socialmedia {
  padding-top: 10px;
  display: flex;
  gap: 15px;
}

.contact-socialmedia svg {
  transition: transform 0.3s ease;
  /* Smooth transition for the zoom effect */
}

.contact-socialmedia svg:hover {
  transform: scale(1.25);
  /* Zoom in by 20% on hover */
}

footer p {
  text-align: center;
}

@media only screen and (max-width: 768px) {

  .upper-part:nth-of-type(2) {
      display: none;
  }

}