* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin-top: 60px;
  background-color: #f5f5f5;
  font-family: 'Lexend', sans-serif;

}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 20px 40px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0071eb;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.logo img.logo-img {
  height: 45px; /* adjust as needed */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  position: relative;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #0071eb;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #0071eb;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Optional: Highlight active link */
.nav-links a.active {
  color: #0071eb;
}

.nav-links a.active::after {
  width: 100%;
}


/* Hero */
.hero {
  position: relative;
  height: 100vh; /* Full viewport height */
  background: url('streetview.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 100, 0.65); /* Dark blue overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero .btn {
  background: white;
  color: black;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1rem;
  display: inline-block;
}

.arrow {
  font-size: 2rem;
  margin-top: 20px;
  animation: bounce 2s infinite;
}

.arrow a {
  color: white;
  text-decoration: none;
  font-size: 2rem; /* Optional: increase size for visibility */
}

.arrow a:hover {
  color: white; /* Ensure it stays white on hover */
  text-decoration: none;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  background: #f5f7fa;
}

.feature-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 25px 30px;
  width: 300px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.feature-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
}

html {
  scroll-behavior: smooth; /* Adds smooth scrolling to anchor links */
}

/* Styling for the Services Section */
.services-overview {
  background-color: #f7f7f7;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
}

.services-overview h2 {
  font-size: 2.5em;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 20px;
}

.services-overview p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #34495e;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-overview::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #3498db;
  margin: 20px auto 0;
}



.feature-details {
  display: none;
  margin-top: 20px;
  animation: fadeIn 0.3s ease-in-out;
  font-size: 0.95rem;
  color: #444;
}

.feature-box.active .feature-details {
  display: block;
}

.feature-details ul {
  padding-left: 20px;
  margin: 15px 0;
}

.feature-details li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #0071eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005ec1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Testimonials */
.testimonials {
  min-height: 67vh;
  background-image: url('consult.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; /* text color to contrast background */
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* needed for overlay */
  overflow: hidden;
}

.indexpage h2 {
  font-size: 2.5em;
}

/* Dark overlay */
.testimonials::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  z-index: 0;
}

/* Make sure content is above overlay */
.testimonials > * {
  position: relative;
  z-index: 1;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-top: 20px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.9); /* slightly transparent white for better blend */
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: #111; /* dark text inside white boxes */
}


/* Info Carousel */
.info-carousel {
  height: 70vh; /* Force it to take up exactly half the screen */
  background: #003366;
  color: white;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex: 1;
}


.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 20px; /* <-- Add left and right padding */
  width: 80%; /* or your current width */
  box-sizing: content-box; /* keep padding outside width */
    scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}


.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 22%; /* Show 4 at a time with some gap */
  max-width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
    scroll-snap-align: start;

}
/*
.carousel-item .box {
  width: 100%;
  height: 25vh; /* Half of the 50vh section /
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
*/

.carousel-image {
  width: 100%;
  height: 25vh; /* Matches the old box size */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
  object-fit: contain;
  background-color: white;
  padding: 10px;
}

.lightbox-modal::after {
  content: "×";
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}


.box-label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: white;
  line-height: 1.3;
}

/* Arrows */
.carousel-arrow {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 15px;
  transition: color 0.3s ease;
  z-index: 1;
}

.carousel-arrow:hover {
  color: #ffcc00;
}





/********************************************/

/***************CONTACT US SECTION************************/

/* Contact Section Layout */
.contact-section {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  margin-top: 40px;
  background-color: #f9f9f9;
}

.contact-left, .contact-right {
  width: 48%;  /* Each section takes up 48% of the available width */
}

/* Centering content in the left section (both vertically and horizontally) */
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: center;     /* Horizontally center content */
  height: 100vh;           /* Ensure the section takes full viewport height */
}

/* Left section content styles */
.contact-left h2 {
  color: #333;
  margin-bottom: 15px;
}

.contact-left p {
  color: #555;
  margin-bottom: 8px;
}

.contact-left hr {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

/* Form Styles */
.contact-right form {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-right label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.contact-right input, 
.contact-right select, 
.contact-right textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-right textarea {
  resize: vertical;
  height: 150px;
}

.contact-right button {
  background-color: #0071eb;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-right button:hover {
  background-color: #0056b3;
}

/* Links */
.contact-left a {
  color: #0071eb;
  text-decoration: none;
}

.contact-left a:hover {
  text-decoration: underline;
}



/*************************************************/
/***************SERVICE PAGE**********************/

/* Services Section */

/*
.service-text {
  color: black;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 700px;
  /**text-align: center;
  margin: 0 auto;
  background-color: #ffffff;
  color: #2c3e50;
  padding: 40px 50px;
  border-radius: 12px;
  max-width: 850px;
  text-align: center;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-size: 1.15rem;
  line-height: 1.8;
}*/

.service-text {
  padding: 50px 40px;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
  margin: 60px auto 40px auto;
  text-align: center;
}


.service-text h2 {
  font-size: 2rem;
  /*color: #0071eb;*/
  color: #003366;
  margin-bottom: 20px;
}

.service-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #0071eb;
  margin: 10px auto 20px;
}


.service-page footer {
 position: static;
 width: 100%;
 margin-top: 10vw; 
 bottom: 0;
}

.icon img, .icon-img {
  width: 40px;   /* or whatever size fits */
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px; /* center and spacing like emojis had */
}

#house-pic {
    filter: brightness(45%);
}

#phone-pic{

  border-radius: 50%;
  object-fit: cover;
}




/* Footer */



footer {
  bottom: 0;
  position: relative;
  background-color: #111;
  color: white;
  padding: 30px 20px;
  font-size: 18px;
  height: 25vh; /* 20% of viewport height */
  box-sizing: border-box; /* include padding in height */
  min-height: 140px; /* optional: to prevent it from getting too small on small screens */
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-content h4 {
  color: #58aaff;
  margin-bottom: 10px;
  font-size: 20px;
}

.socials a {
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
  color: white;
  display: inline-block;
}

.social-icon {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes icons white on dark background */
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}




.footer-note {
  position: absolute;
  bottom: 10px;
  right: 20px;
  color: gray;
  text-align: right; /* aligns text inside the element */
  margin: 0;
  font-size: 14px;
}

.footer-hr {
  border: 0;
  height: 1px;
  background-color: #444;
  margin: 20px auto;
  width: 80%;
}

.footer-note-centered {
  color: gray;
  text-align: center;
  font-size: 16px;
  margin: 0;
}

/**********************************************/
/***************ABOUT US SECTION***************/

.approach-section {
  height: 100vh; /* full viewport height */
  background-image: url('approach.jpg'); /* replace with your image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px; /* optional padding */
}

.approach-text {
  background-color: rgba(0, 0, 50, 0.9); /* semi-transparent dark blue background */
  color: white;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 700px;
  text-align: center;
}

.approach-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.approach-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
}


/* Meet Our Team Section */
/* Meet Our Team Section */
.team-section {
  padding: 40px;
  background-color: #f9f9f9;
  margin-top: 40px;
  text-align: center;
}

.team-section h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Team container */
.team-container {
  position: relative;
  width: 100%;
  height: 400px; /* Height of the section, adjust as needed */
}

/* Team Member */
.team-member {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Photo placeholder */
.photo-placeholder {
  position: absolute;
  left: 13vw; /* Adjusted to be one-third from the left side of the screen */
  width: 45vw; /* Image width is 35% of the viewport width */
  height: 45vw; /* Maintain square aspect ratio */
  max-width: 325px; /* Limit the size */
  max-height: 325px; /* Limit the height */
  border-radius: 50%; /* Circle shape */
  background-color: #ff5733; /* Placeholder color */
}

.team-photo {
  position: absolute;
  left: 13vw;
  width: 45vw;
  height: 45vw;
  max-width: 325px;
  max-height: 325px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 67% center; /* 👈 Shift image slightly right */

}


/* Team Info */
.team-info {
  position: absolute;
  left: 45vw; /* Place the text approximately two-thirds of the screen width */
  top: 50%; /* Vertically center the text */
  transform: translateY(-50%); /* Ensure text is centered vertically */
  width: 50%; /* Give text some width */
  text-align: left;
}

.team-info h4 {
  color: #333;
  margin-bottom: 5px;
}

.team-info .job-title {
  color: #777;
  font-size: 1.1rem;
  margin-bottom: 10px; /* Add space between job title and bio */
}

.team-info .bio {
  color: #555;
  font-size: 1rem;
  line-height: 1.6; /* Improve readability */
  margin-top: 10px; /* Space between the title and the text */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
  .team-container {
    height: auto; /* Allow the height to adjust on mobile */
  }

  .team-member {
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center; /* Center the content on mobile */
    justify-content: center;
  }

  .photo-placeholder {
    position: relative;
    margin-bottom: 20px;
    width: 50vw; /* Image is 50% of the screen width on mobile */
    height: 50vw; /* Maintain square aspect ratio */
    max-width: 150px; /* Limit max width */
    max-height: 150px; /* Limit max height */
  }

  .team-info {
    position: relative;
    width: 90%; /* Text takes most of the width on mobile */
    text-align: center; /* Center text on smaller screens */
  }
}

/* Our Locations Section */
.locations-section {
  padding: 40px;
  background-color: #f9f9f9;
  margin-top: 40px;
}

.locations-section h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.locations-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.locations-left {
  width: 48%;
  color: #555;
  line-height: 1.6;
  margin-left: 5rem;
}

.locations-left p {
  margin-bottom: 15px;
}

.locations-right {
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-placeholder {
  width: 75%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  background-color: #0071eb;
  border-radius: 10px;
}

.map-image {
  width: 75%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #0071eb;
  border-radius: 10px;
}
