/* Import a Google Font (Optional) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
  background-color: #f8f7f7;
  font-family: 'Roboto', sans-serif; /* Change to any font you prefer */
}

/* Banner section starts here */
.banner {
  position: relative;
  width: 100%;
  height: 50vh; /* Adjusts dynamically */
  background: linear-gradient(to right, #00376b, #496e9b);
  min-height: 250px;
  max-height: 400px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  overflow: hidden; /* Ensures content stays within bounds */
}

/* Video Background Styling */
.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Text Container */
.banner-content {
  position: relative;
  max-width: 50%;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideIn 1.5s ease-out forwards;
  z-index: 1; /* Ensures content is above video */
}

/* Headline */
.banner h1 {
  font-size: 2.5vw;
  margin-bottom: 10px;
}

/* Paragraph */
.banner p {
  font-size: 1.2vw;
  line-height: 1.5;
}

/* Slide-in Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Banner section ends here */

/* Header Starts here */

nav {
  position: sticky;
  z-index: 1000; /* Ensure nav stays on top */
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 250px; /* Increase the width */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Ensure it scales properly */
}

.logo h3 {
  margin-left: 10px;
  color: #111;
  text-decoration: none;
  font-size: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 30px 16px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  transition: all ease-in-out 100ms;
}

.nav-links a.active {
  color: #004aad; /* Change text color for active link */
  text-decoration: underline; /* Underline the active link */
  font-weight: bold; /* Optional: make the text bold */
}

.nav-links a:hover {
  background-color: transparent; /* Remove background color */
  color: #084596; /* Optional: change text color on hover */
  text-decoration: underline; /* Add underline on hover */
}


.nav-links .nav-cta-button {
  padding: 10px 18px;
  margin-left: 16px;
  border: #004aad solid 2px;
  border-radius: 50px;
}

.nav-links .nav-cta-button:hover,
.nav-links .nav-cta-button.active { /* Apply hover and active styles */
  background-color: #004aad;
  color: white;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 3px;
}

.hamburger .bar {
  flex-basis: 100%;
  height: 4px;
  background-color: #0e0d0d;
  margin: 3px;
}

/* Header ends here for desktop browsing */

/* container details starts here */




/* Initially hide the elements all slide contents starts here so we can reuse the javascript*/
.content-container, .card-section, .our-process, .footer-container {
  opacity: 0;
  transform: translateY(30px);  /* Move the items down initially */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Show the elements with animation */
.content-container.show-content, .card-section.show-content, .our-process.show-content, .footer-container.show-content {
  opacity: 1;
  transform: translateY(0);  /* Return the items to their original position */
}


.services-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: 2 columns */
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
}

/* Modifier for 3 columns */
.services-section.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.service-item {
  background-color: #f4f4f4;
  padding: 20px;
  text-align: left;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

   /* Enhanced box-shadow for emboss effect */
  box-shadow: 
  inset 2px 2px 5px rgba(255, 255, 255, 0.6),  /* Inner light shadow */
  inset -2px -2px 5px rgba(0, 0, 0, 0.1),    /* Inner dark shadow */
  3px 3px 5px rgba(0, 0, 0, 0.1),           /* Outer shadow */
  -3px -3px 5px rgba(255, 255, 255, 0.6);   /* Outer light shadow */

  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-item .icon {
  margin-bottom: 10px;
}

.service-item .icon img {
  width: 70;  /* Adjust to your desired size */
  height: 70px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 1.6rem; /* Adjusted for consistency */
  margin: 10px 0;
}

.service-item p {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

/* Hover Effect */
.service-item:hover {
  background-color: #e0e0e0; /* Light grey background on hover */
  transform: scale(1.05); /* Slightly scale up */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Deeper shadow */
}

.card-section {
  background-color: #f9f9f9;
  padding: 40px 20px; /* Increased padding for better spacing */
  border-radius: 0; /* Removes rounded edges for a seamless flow */
  box-shadow: none; /* Removes box shadow to blend with other sections */
  text-align: center;
  
}

.card-section h3 {
  font-size: 1.2rem; /* Slightly smaller for a more balanced look */
  font-weight: 600; /* Adds emphasis without being too bold */
  color: #111; /* Ensures consistency with your theme */
  margin-bottom: 12px; /* Slightly more spacing for better readability */
}

.card-section h2, 
.card-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
}



.services-button {
  text-align: center;
  margin-top: 20px;
}

.services-button button {
  background-color: #ee940e;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.services-button button:hover {
  background-color: #004aad;
  transform: scale(1.05);
}

/* Containers for 2 Columns */
.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  padding: 60px 10%;
  background: #ffffff; /* Light background for contrast */
  opacity: 0; /* Initially hidden */
  transform: translateX(-50px); /* Start slightly off to the left */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.show-container {
  opacity: 1 !important;
  transform: translateX(0) !important; /* Slide into view */
}


.image-container {
  flex: 1;
}

.image-container img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.text-container {
  flex: 1;
  text-align: left;
}

.text-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.text-container p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}



.our-process {
  position: relative;
  width: 100%;
  background: linear-gradient(to right, #00376b, #496e9b);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  overflow: hidden;
}

.our-process .content {
  text-align: center;
  color: white;
  z-index: 2;
  margin-bottom: 20px;
}

.our-process .content p {
  font-size: 1.2rem;
  margin: 0 auto;
  max-width: 900px;
}

.our-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/bgc.png') no-repeat center center/cover;
  filter: blur(8px);
  z-index: 1;
}

.our-process .color-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Optional: Dark overlay for contrast */
  z-index: 1;
}

.our-process .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

.our-process .process-item {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 20px 20px;
  width: 22%;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  min-height: 250px;
  overflow: visible; /* Prevents content overflow */
}

.our-process .process-details {
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  text-align: center; /* Ensures text alignment */
  background: #ffffff; /* Fully opaque white background */
  color: #00376b;
  padding: 15px;
  padding-top: 30px; /* Additional padding for better visibility of top text */
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  overflow-y: auto; /* Enables vertical scrolling */
}

.our-process .process-item:hover .process-details {
  transform: translateY(0);
  opacity: 1;
}

.our-process .process-item img.process-icon {
  width: 60px; /* Icon size */
  height: 60px;
  margin-bottom: 10px; /* Reduced space between the icon and the title */
  border-radius: 50%; /* Circular icon */
  background: linear-gradient(145deg, #6e7bff, #3b4bff); /* Polished gradient */
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.4); /* 3D shadow */
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 20px; /* Adjusted to center the icon better */
  left: 50%; /* Center it horizontally */
  transform: translateX(-50%); /* Center it correctly */
}

.our-process .process-item h3 {
  font-size: 1.2rem;
  margin-top: 60px; /* Increased margin-top to ensure space between icon and title */
  margin-bottom: 10px;
}

.our-process .process-item p {
  font-size: 1rem;
  margin-top: 10px; /* Ensure the paragraph has space from the title */
}

.our-process .process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 101%; /* Position the arrow at the right of the item */
  transform: translateY(-50%); /* Vertically center the arrow */
  border-top: 10px solid transparent; /* Top border transparent */
  border-bottom: 10px solid transparent; /* Bottom border transparent */
  border-left: 15px solid white; /* Right-pointing arrow */
  z-index: 10; /* Ensures the arrow is above other elements */
  width: 0;
  height: 0;
}

/* Div containers ends here starts here */




/* Contact Section Styles */
.contact-section {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  text-align: center;
  color: #333;
}

.contact-section p {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Target the contact form button specifically */
.contact-section button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* Contact Section Styles Ends here */


/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 100px 20px;
  background: linear-gradient(145deg, #e2e2e2, #cfcfcf); /* subtle 3D gradient */
  text-align: center;
  font-family: "Poppins", sans-serif;
  position: relative;
  perspective: 1200px; /* stronger 3D perspective */
  overflow: hidden;
}

/* 3D floating background shapes */
.testimonials-section::before,
.testimonials-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.testimonials-section::before {
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.15);
  transform: rotate(45deg);
}

.testimonials-section::after {
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(0,0,0,0.05);
  transform: rotate(-30deg);
}

.testimonials-section .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* content above shapes */
}

.testimonials-section h2 {
  text-align: center;
  color: #333;
  font-size: 2.5em;
  font-weight: 700;
}

.testimonials-section .subtitle {
  text-align: center;
  color: rgb(156, 39, 39);
  margin-bottom: 50px;
  font-size: 1.1em;
  font-weight: 500;
}

/* ===== Google Widget ===== */
.trustindex-widget {
  margin-bottom: 50px;
}

/* ===== Fallback Manual Reviews ===== */
.manual-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  perspective: 1200px;
}

/* Testimonial card with subtle 3D effect */
.testimonial {
  background: linear-gradient(145deg, #ffffff, #f4f4f4); /* soft 3D gradient */
  padding: 35px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08), 
              inset 0 -4px 8px rgba(0,0,0,0.03); /* soft inner shadow */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.testimonial:hover {
  transform: rotateX(2deg) rotateY(-2deg) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12),
              inset 0 -6px 12px rgba(0,0,0,0.04);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-meta {
  font-weight: 600;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95em;
}

.testimonial-rating {
  color: #f1c40f;
}






/* client logo slideshow Section Styles starts here */

.clientlogo-section {
  background-color: #f9f9f9;
  padding: 30px 0 60px 0;
  text-align: center;
}

.clientlogo-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0c0c0c;
}

.clientlogo-section p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #0c0c0c;
}

.logo-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.slide-track {
  display: flex;
  width: max-content;              /* shrink-wraps to logos */
  animation: scroll 25s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;    /* pause on hover */
}

.slide {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 20px;               /* even spacing */
}

.slide img {
  max-width: 180px;
  max-height: 150px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Infinite seamless scroll */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* client logo slideshow Section Styles ends here */


/* Footer Starts here */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(to right, #00376b, #496e9b);
  color: white;
  padding: 40px;
}

.footer:hover {
  background: linear-gradient(to right, #00254d, #3b5a85); /* Slightly darker gradient on hover */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 10px;
  text-align: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-section:hover {
  transform: translateY(-5px); /* Slight upward movement on hover */
  opacity: 0.9;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;
  transition: border-color 0.3s ease-in-out;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 5px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease-in-out, padding-left 0.3s ease-in-out;
}

.footer-section ul li a:hover {
  color: #ffcc00;
  padding-left: 5px; /* Indent effect on hover */
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.social-icons img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  transition: opacity 0.3s ease;
}

.footer-bottom:hover {
  opacity: 0.9;
}

/* Footer ends here */

/* For mobile browsing starts here */

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;            /* Ensure the hamburger icon is displayed as a flex container */
    flex-direction: column;   /* Arrange the bars vertically */
    justify-content: space-between;  /* Add space between the bars */
    width: 30px;              /* Adjust the width of the hamburger icon */
    height: 20px;             /* Adjust the height of the hamburger icon */
    cursor: pointer;         /* Ensure it's clickable */
    margin-left: 10px;        /* Add some space from the logo */
  }

  .logo {
    width: 180px; /* Reduce logo size on smaller screens */
    height: 80px;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  .nav-links li {
    flex-basis: 100%;
  }

  .nav-links a {
    text-align: center;
    font-size: 20px;
  }

  .nav-links a:hover {
    background-color: #004aad;
  }

  .nav-links .nav-cta-button {
    padding: 30px 16px;
    margin-left: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
  }

  .nav-link .nav-cta-button:hover {
    background-color: #004aad;
  }
  

  .banner {
    height: auto;
    padding: 20px;
  }
  .banner-content {
      max-width: 80%;
  }
  .banner h1 {
    font-size: 6vw;  /* Even larger font for very small screens */
  }

  .banner p {
    font-size: 4.5vw;  /* Adjust paragraph font size for very small screens */
  }


  /* Our services div section starts here  */

  .services-section, .services-section.three-columns {
    grid-template-columns: 1fr; /* Single column on small screens */
  }

  .service-item {
    margin-bottom: 20px;
  }

  /* Our services div section ends here  */

  .footer-container {
    flex-direction: column;
    align-items: left;
  }


  .content-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 5%;
  }

  .text-container {
    text-align: left;
  }

  .cta-button {
    display: inline-block;
    margin-top: 10px;
  }

  .our-process .process-item {
    width: 100%; /* Make each item take up half the width on smaller screens */
  }

  .our-process .process-item:not(:last-child)::after {
    display: none; /* Hide the arrow on smaller screens */
  }



  .contact-section h2 {
    font-size: 24px;
}

.contact-section p {
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    font-size: 14px;
    padding: 8px;
}

.contact-section button {
    font-size: 16px;
    padding: 10px;
}


}


/* Mobile 768px ends here  */