* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #fbfbf9;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}




/* General Reset */
body {

    font-family: Arial, sans-serif;
}

/* Navigation Bar */
.topbar {
    background: linear-gradient(to right, #673aaa, #b6aecb); 
    text-align: center;
  top: 0;
  position: relative;
  z-index: 1000;

    }
.topbar ul li a.active {
   
  text-decoration: underline; gap: 2px;
  text-underline-offset: 3px; 
  text-decoration-thickness: 1px;
    color: #fff;
   
}
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
 
}
.nav-links {
  display: inline-block;
  list-style: none;
  gap: 20px;
  justify-content: flex-end;

}

.nav-links li {
  display: inline-block;
  margin: 0 1px;

}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 0;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(0); 
  border-radius:1px;
  position: relative;
}

.nav-links li a:hover {
  color: #ffffff22; 

}


/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}



/* Side drawer menu */
.side-nav {
  position: fixed;
  top: 0;
  left: -300px; 
  width: 250px;
  background-color: #8261b5;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 40px 20px;
  transition: left 0.3s ease;
  z-index: 999;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  flex-direction: column; 
  gap: 10px; 
  

}

.side-nav ul li {
  margin: 20px 0;
}

.side-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  display: block;
  border: 0.5px solid white; 
  border-radius: 15px;
  margin: 20px 0; 
  width: 100%;
  box-sizing: border-box;

}
.side-nav ul li a.active {
  background-color: #c2cf79;
  color: white; 
  font-weight: bold;
  border-color: white;
}

.side-nav.show {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}
/* mobile side bar menu */

@media (max-width: 768px) {
  .topbar{
padding: 25px 0;
  }
  .nav-links {
    display: none !important; 
  }

  .hamburger {
    display: block !important; 
    font-size: 24px;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 1001;
  }

  .side-nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: #b6aecb;
    padding: 50px 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .side-nav.show {
    left: 0;
  }

  .side-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .side-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin: 5px 0;
    text-decoration: none !important;    
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
  }

}

/* Banner Styling */
.banner {
    width: 100%;
    height: 140px; 
    background: linear-gradient(to top, #fbfbf9, #fdfdf9); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Centered Content (Logo + Side Text) */
.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw; 
  padding: 0 40px;
  box-sizing: border-box;
}

/* Left and Right Text */
.banner-text {
    color: black;
    font-size: 16px;
    font-weight: bold;
}


/* Logo Centered */
 .banner-logo { 
   height: 235px; 
   width: auto;
    
    position: absolute; 
    left: 44%;  
   margin-top: 75px;
}


.banner-side-image {
    height: 120px; 
    width: auto; 
}
.banner-side-image.left {
    margin-right: 70px;
    height:130px; 
 
    
}
.banner-side-image.right {
    margin-left: 5px; 
}

.topbar ul li {
    display: inline;
    position: relative;
}

/* Add vertical lines between menu items */
.topbar ul li:not(:last-child) a {
    border-right: 1px solid white; 
    padding-right: 23px; 
    margin-right: 4px; 

}

.large-favicon {
    width: 100px; 
    height: auto;
    display: block;
    margin: 20px auto; 
}


/* Homepage content */

.homepage-content {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  overflow: hidden;
  background-color: #fbfbf9;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Homepage video */
.homepage-video-wrap {
  display: flex;
  width: 100%;
  height: 600px; 
}

.video-left,
.image-right {
  flex: 1;
   
   
}

.home-bg-video {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  position: relative;


}

.image-right img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 10px;
  object-fit: contain;

}



/* Service Card Section */

.services {

background-color: #fbfbf9;
  margin-bottom: -20px;
  padding-bottom: 0px; 
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 25px;
}

.services h3 {
	text-align: center;
    font-size: 34px;
    margin-bottom: 50px;
    color: #673aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 50px;
}
.sync-heading {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sync-heading.active {
  opacity: 1;
  transform: translateY(0);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid: 60px;
  padding: 25px 20px;
  width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
  justify-content: center;
}

.service-card {
    background: #c2cf79;
    /* more internal spacing */
    padding: 50px 50px;        
    border-radius: 0px;
    width: 98%;              
    height: 100%;         
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}


.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);

}

.service-card img {
    height: auto;
    width: 100%;
    margin-bottom: 30px;
    border-radius:5px;
    object-fit: contain;
}

.service-card h4 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.service-card p {
    font-size: 18px;
    color: #ffffff;
    flex-grow: 1;
    margin-top: 50px;
    text-align: center;
    width: 390px;
}

.service-card a {
    font-size: 14px;
    color: #fff;
    background-color: #673aaa;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.service-card a:hover {
    background-color: #c2cf79;
}

@media (max-width: 1200px) {
  .services-cards,
  .services-grid {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .service-card,
  .service-card-2 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .service-card p {
    width: 100% !important;
  }
}


.reveal-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-down.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}


.card-link-rect {
  display: block;
  width: 100%;               
  padding: 14px 0;
  background-color: beige;
  color: beige;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-bottom-left-radius: 15px; 
  border-bottom-right-radius: 15px;
  transition: background-color 0.3s, transform 0.3s;
  margin-bottom: 30px;
}


.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}


.card-link-rect:hover {
  background-color: #602e2e;
  transform: scale(1.05);
}

.two-image-strip {
  margin-bottom: 0;
  padding-bottom: 0;
  max-width: 100vw;
  box-sizing: border-box;
  display: flex;
  gap: 0;
  margin-top: 60px;
}


/* left photo box and image */
.left-photo-box {
  width: 100%;
  margin-left: 105px;
}

.left-photo-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-top: 80px;
  margin-left: 80px;
}

/* right photo box and image */
.right-photo-box {
  width: 100%;
  text-align: center;
  margin-top: 90px;
 

}
.left-image, .right-image {
  height: auto;
  object-fit: cover;
  display: block;

}
.right-photo-box img {
  width: 65%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-left: 18px;
  margin-top: 60px;
}

/* learn more link */
.image-link {
  margin-top: -5px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #673aaa;
  color: white;
  text-decoration: none;
  border-radius: 2px;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-right: 32%;
  width: 150px;

}

.image-link:hover {
  background-color: #c2cf47;
}

/* fade-in */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}
.icon-grid-section {
  padding: 100px 40px;
  background-color: #fbfbf9;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.icon-box {
  position: relative;
  width: 250px;
  padding: 30px;
  text-align: center;
  font-family: 'Georgia', serif;
   transition: transform 0.3s ease;
}


.icon-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -40px;
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, #673aaa, #c2a8d3);
  animation: fadeInDivider 1s ease forwards;
  opacity: 0;
}

/* animate divider */
@keyframes fadeInDivider {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: 80%;
    opacity: 1;
  }
}

/* info cards section */
.icon-box:hover {
  transform: translateY(-5px);
}

.icon-box img {
  width: 150px;
  height: auto;
  margin-bottom: 5px;

}

.icon-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 0%;
  color: #01a260;
}

.icon-box p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.icon-box a {
  color: #673aaa;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
}

/* footer */

.info-footer {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #c2a8d3;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 40px 60px;
  color: white;
  font-family: 'Georgia', serif;
  text-align:center; 
  flex-wrap: wrap;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;

}



.footer-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0;
}


.info-footer h4 {
  color: #673aaa; 
}


.info-footer img {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 10px auto 0;
}


body {
  padding-bottom: 0;
}


.footer-nav-bar {
  width: 100vw;                  
  margin: 0;
  padding: 20px 0;

  text-align: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;           
  margin-right: -50vw;
  box-sizing: border-box;
  background: linear-gradient(to bottom, #673aaa, #01a260);
}



.footer-nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-nav-bar li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav-bar li a:hover {
  color: #c2cf47; 
   position: relative;
  padding: 0 10px;
}

.info-footer i {
  color: #01a260; 
}

.info-footer .copyright {
  margin-top: 20px;
  font-size: 13px;
  color: #333;
  text-align: center;

}


.footer-nav-bar li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  max-width: 1px;
  background-color: white; 
}

/* About Us Section */
.tagline {
  font-style: italic;
  text-align: center;
  color: #c2cf47;
  margin-top: 10px;
  font-size: 14px;
  background-color: #fbfbf9;
}

.video-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;

}

.video-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  color: #fff;
  max-width: 90vw;
  width: 100%;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  box-sizing: border-box;
  text-align: left;
 
}

.video-overlay-content p {
  margin-bottom: 16px;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
}

.video-banner {
  background: url('fallback-image.jpg') center/cover no-repeat;
}

.about-text {
  flex: 1 1 45%;
  max-width: 50%;
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.7;
}

.about-heading {
  text-align: center;
  font-size: 36px;
  color: #673aaa;
  margin-top: 40px;
}


 body {
      font-family: 'Georgia', serif;
      margin: 0;
      padding: 0;
      background-color: #fbfbf9;
    }


    

/* Services Page */

.services-section {
  padding: 60px 20px;
  background-color: #fbfbf9;
  text-align: center;
   position: relative;
  overflow: hidden;
}
.services-content {
  position: relative;
  z-index: 2;
  color: #fff; 
}
.services-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #673aaa;
  font-family: 'Georgia', serif;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 1200px;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  padding-bottom: 50px;
  height: 70%;
}

.service-card-2{
  /* background-color: #c2cf79;*/
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  margin: 0 auto; 
  width: 105%;
  

}

.service-card-2:hover {
  transform: translateY(-5px);
}

.service-card-2 img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: block;
}

.service-card-2 h3 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
}

.service-card-2 p {
  font-size: 16px;
  color: #fff;
}


.services-video-wrapper {
  position: relative;
  width: 100%;

  overflow: hidden;
}

.services-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 80%; 
  object-fit: cover;
  z-index: 1;
}


.services-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.services-overlay {
  position: relative;
  z-index: 2;
  padding: 35px 20px;
  color: #fff;
}
 


.service-btn {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #673aaa;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  width: 100%;
}

.service-btn:hover {
  transform: scale(1.05);
}

/*service cards on service page */

.serviceps-banner h1 {
  font-size: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 40px;
  border-radius: 10px;
  font-family: 'Georgia', serif;
}


.serviceps-content {
  text-align:center;
  padding: 60px 20px;
  background-color: #fbfbf9;
  font-family: 'Georgia', serif;
}

.serviceps-content .container {
  max-width: 100%;
  margin: 0 auto;
}

.serviceps-content h2 {
  font-size: 32px;
  color: #4d3b72;
  margin-bottom: 20px;
}

.serviceps-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;

}

.serviceps-content ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.serviceps-content ul li {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;
}

.breadcrumb {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
  font-family: 'Georgia', serif;
  color: #555;
  position: relative;
  z-index: 10; 
}

.breadcrumb a {
  color: #4d3b72;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer; 
  z-index: 10;
  position: relative;
}

.breadcrumb a:hover {
  color: #c2cf79;

}

.breadcrumb span {
  color: #888;
  font-weight: normal;
}

.service-list-box {
  background-color: #f7f4f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 30px auto;
  max-width: 800px;
  font-size: 18px;
  line-height: 1.7;
  color: #ffff;
  font-family: 'Georgia', serif;
  position: relative;
  transition: box-shadow 0.3s ease;
  font-weight:bold;
  
}

.service-list-box:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* subtle 3D on hover */
}

.service-list-box p {
  margin: 12px 0;
  padding-left: 15px;
  position: relative;

  font-style: italic;
}



/*insuranc page */

.insurance-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 80px; 
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.insurance-logo {
  width: 200px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}


.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }
.delay-4 { transition-delay: 1.2s; }
.delay-5 { transition-delay: 1.5s; }


/* Careers Page */

.job-application-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #f7f4f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-family: 'Georgia', serif;
}

.application-title {
  font-size: 32px;
  text-align: center;
  color: #4b2991;
  margin-bottom: 10px;
}

.application-intro {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

.job-application-form .form-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.job-application-form label {
  font-weight: bold;
  margin-bottom: 6px;
  color: #4b2991;
}

.job-application-form input,
.job-application-form select,
.job-application-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

button[type="submit"] {
  padding: 12px 24px;
  background-color: #673aaa;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #c2cf47;
}
/* Testimonial Page */
.testimonials-section {
  background-color: #f7f4f9;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-title {
  font-size: 32px;
  color: #4b2991;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.testimonial-intro {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #333;
  font-family: 'Georgia', serif;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: 'Georgia', serif;
}

.quote {
  font-style: italic;
  font-size: 18px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.6;
}

.author {
  font-weight: bold;
  color: #4b2991;
}

.testimonial-form-section {
  padding: 60px 20px;
  background-color: #fbfbf9;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Georgia', serif;
}

.testimonial-form-title {
  font-size: 28px;
  color: #4b2991;
  margin-bottom: 10px;
}

.testimonial-form-intro {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.testimonial-form .form-row {
  margin-bottom: 20px;
  text-align: left;
}

.testimonial-form label {
  font-weight: bold;
  color: #4b2991;
  display: block;
  margin-bottom: 6px;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.testimonial-form button {
  padding: 12px 24px;
  background-color: #673aaa;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-form button:hover {
  background-color: #c2cf47;
}
/* Resources Page */
.resources-section {
  padding: 60px 20px;
  background-color: #fbfbf9;
  font-family: 'Georgia', serif;
  text-align: center;
}

.resources-title {
  font-size: 35px;
  color: #4b2991;
  margin-bottom: 20px;
}

.resources-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #444;
}

.resource-columns {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.resource-column ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.resource-column li {
  margin-bottom: 15px;
}

.resource-column a {
  color: #673aaa;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.resource-column a:hover {
  color: #c2cf47;
}

.external-resources {
  padding: 60px 20px;
  background-color: #fbfbf9;
  font-family: 'Georgia', serif;
  text-align: center;
}

.external-links {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 30px auto 0;
  text-align: left;
}

.external-links li {
  margin-bottom: 20px;
}

.external-links a {
  color: #673aaa;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 20px;
  
}

.external-links a:hover {
  color: #c2cf47;
}

/* Contact Us Page */
.contact-section {
  width: 70%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

.contact-form {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  font-weight: bold;
  
 
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  color: 333;
}


.form-row {
  margin-bottom: 15px;
  width: 100%; 
}

.contact-subtitle {
  font-size: 16px;
  text-align: center;
  display: block;
  max-width: 100%; 
  color: #444;
  padding: 0 20px !important;
}
.contact-title {
  text-align: center;
  padding: 2px 20px;
  box-sizing: border-box;
  padding: 0 1rem;
  margin-left: auto;
  margin-right: auto;
  color: #4b2991;
}

.contact-info h3{
 color: #4b2991;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  box-sizing: border-box;
}
.form-success {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  text-align: center;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-top: 20px;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Mobile Optimization for contact Page */

@media (max-width: 768px) {
  .contact-section {
  margin: 0 auto !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}
  .contact-content {
    flex-direction: column;
    align-items: center;
    
  }
  .contact-subtitle {
    display: block;
    text-align: center; 
    margin: 0 auto;
    font-size: 1rem;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .contact-title{
    font-size: 1.4rem !important;
    margin-top: 16px iimportant;
    text-align: center !important;
  }
  .contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  resize: vertical;
}

  .contact-form {
    margin-top: 10px !important;
    padding: 0 10px; 
  }

  .contact-info {
    width: 50%;
    text-align: center;
   
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    width: 80%;
    max-width: 80%;
    box-sizing: border-box;
  }


.contact-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #4b2991;
}

.contact-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin-bottom: 50px !important;
}
}



select#inquiry-type {
  width: 40%;
  padding: 12px 10px;
  margin: 10px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  }

select#inquiry-type:focus {
  border-color: #8261b5;
  outline: none;
}





@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}



.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translate(-50%, -50px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    gap: 0px;
    padding:0;
    margin: 0;
    align-items: center;
  }

  .banner-logo {
    height: 120px;
    margin-top: 20px;
    position: static;
  }

  .banner-side-image.left {
    display: none; 
  }

  .banner-logo {
    display: none; 
  }
  .banner-side-image {
    height: 80px;
    margin: 10px;
    width: 300px;
    
  }


  .homepage-video-wrap {
    flex-direction: column;
    height: auto;
  
  }

  .home-bg-video {
    height: 100%;
  }
  .image-right img {
    height: 100%;
    width: 100%;

}

  .services-cards,
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .service-card,
  .service-card-2 {
    width: 100% !important;
    height: auto;
    margin: 0;
  }

  .service-card img,
  .service-card-2 img {
    height: auto;
  }

  .info-footer {
    display: flex;
    flex-direction: column;
    align-items: center;        
    justify-content: center;
    text-align: center;         
    padding: 30px 20px;
    width: 100%;
    margin: 15 auto;    
  }

  .footer-nav-bar ul {
    flex-direction: column;
    gap: 15px;
  }

  .icon-grid {
    flex-direction: column;
    gap: 40px;
  }

  .two-image-strip {
    flex-direction: column;
    margin: 40px 0;
    padding: 0 10px;
  }

  .left-photo-box,
  .right-photo-box {
    width: 100%;
    margin: 0 auto;
  }

  .left-photo-box img,
  .right-photo-box img {
    width: 100%;
    margin: 0 auto;
  }

 
  .bg-video {
  display:none !important;
    
  }
 .services-bg-video {
  display:none;
 }
.video-overlay-content {

    width: 100vw;        
    max-width: 100vw;     
    background: none;
    padding: 20px;
    overflow-x: hidden;
    font-size: 15px !important;
    color: black;
  
}

  .video-overlay-content {
    padding: 30px 15px;
    font-size: 16px;
    text-align: center;
  }

  .application-title,
  .serviceps-content h2,
  .about-heading {
    font-size: 28px;
  }

  .resources-section,
  .testimonials-section,
  .contact-section {
    padding: 40px 15px;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
  }
    /* Hide nav bar dividers */
  .topbar li::after,
  .topbar li .divider,
  .nav-divider {
    display: none !important;
  }

  /* Hide icon section dividers */
  .icon-box::after,
  .icon-box .divider,
  .icon-divider {
    display: none !important;
  }

  /* Hide any <hr> tags used as dividers */
  hr,
  .mobile-hide-divider {
    display: none;
  }
  .topbar ul li:not(:last-child) a {
    border-right: none;
    padding-right: 10px; 
    margin-right: 0;
  }

  .image-link {
  justify-content: center;
  margin-right: 6%;
  }

  .icon-box {
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  }



}

@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    list-style: none;
  }

  .nav-links li {
    display: inline-block;
  }

  .hamburger {
    display: none !important;
  }

  .side-nav {
    display: none !important;
  }

/* Hide hamburger and side-nav on desktop */
@media (min-width: 769px) {
  .hamburger,
  .side-nav {
    display: none !important;
  }
}
}
@media (max-width: 768px) {
  .services-cards,
  .services-grid,
  .icon-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card,
  .service-card-2 {
    margin: 0 auto;
  }
}
