/* Main CSS file - cleaned from Webflow dependencies */

/* Reset and base styles */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}

h5 {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}

h6 {
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Layout utilities */
.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
  padding: 0 20px;
}

/* Error message styling */
.error-message {
  padding: 20px;
  text-align: center;
  color: #e54c41;
  background: #f8f8f8;
  border: 1px solid #e54c41;
  border-radius: 4px;
  margin: 20px 0;
  font-weight: 500;
}

.footer-error {
  padding: 20px;
  text-align: center;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 20px 0;
}

.button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898EC;
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  text-align: center;
}

.button:hover {
  background-color: #2980b9;
}

/* Navigation */
.navbar {
  position: relative;
  background: #dddddd;
  z-index: 1000;
}

.navwrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.brand {
  text-decoration: none;
  color: #333333;
}

.menubutton {
  display: none;
  cursor: pointer;
  padding: 18px;
  font-size: 24px;
}

.navmenu {
  display: flex;
  align-items: center;
  background-color: transparent;
  z-index: 1000;
}

.menuwrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.navlink {
  display: inline-block;
  text-decoration: none;
  color: #222222 !important;
  padding: 20px;
  text-align: left;
  font-size: 30px;
  font-weight: 500;
  transition: all 0.4s;
}

.navlink:hover {
  color: #0082f3 !important;
  border-bottom: 1px solid #ffa835;
}

.navlink.w--current {
  color: #222222 !important;
}

/* Ensure all navigation links are visible and properly styled */
.navlink[data-tab] {
  color: #222222 !important;
  font-size: 30px;
  font-weight: 500;
  text-decoration: none;
  padding: 20px;
  transition: all 0.4s;
}

.navlink[data-tab]:hover {
  color: #0082f3 !important;
  border-bottom: 1px solid #ffa835;
}

/* Override webflow styles for navigation links */
.navmenu .navlink.w-nav-link {
  color: #222222 !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 20px !important;
  transition: all 0.4s !important;
}

.navmenu .navlink.w-nav-link:hover {
  color: #0082f3 !important;
  border-bottom: 1px solid #ffa835 !important;
}

.navmenu .navlink.w-nav-link.w--current {
  color: #222222 !important;
}

/* Mobile navigation */
@media screen and (max-width: 767px) {
  .menubutton {
    display: block;
  }
  
  .navmenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #C8C8C8;
    text-align: center;
    flex-direction: column;
    padding: 20px 0;
  }
  
  .navmenu.active {
    display: flex;
  }
  
  .navlink {
    display: block;
    padding: 15px 20px;
  }
}

/* Hero section */
.herosection {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.herocontent {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.leftdiv {
  flex: 1;
  padding: 40px 0;
}

.redborderheading {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #333;
}

.redspan {
  color: #e54c41;
}

.subheading {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}

.emaillinkdb {
  display: inline-block;
  text-decoration: none;
  color: #e54c41;
  position: relative;
}

.emaillinkdb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e54c41;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.emaillinkdb:hover::after {
  transform: scaleX(0);
}

.emailpfheading {
  margin: 0;
  font-size: 16px;
}

.tlunderline {
  height: 2px;
  background-color: #e54c41;
  margin-top: 5px;
}

/* Slider */
.heroimageslider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.heroslidermask {
  position: relative;
  height: 100%;
  white-space: nowrap;
}

.heroslide {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
  white-space: normal;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.heroslide.active {
  opacity: 1;
}

.heroslidecontainer {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.herosliderimage {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.left-arrow, .right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.slide-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: #e54c41;
}

/* Sections */
.whitesection, .lightgreysection, .darkgraysection {
  padding: 80px 0;
}

.whitesection {
  background: #fff;
}

.lightgreysection {
  background: #f8f9fa;
}

.darkgraysection {
  background: #333;
  color: #fff;
}

.darkgraysection-2 {
  background: #333;
  color: #fff;
}

.withmargin {
  margin-top: 40px;
  margin-bottom: 40px;
}

.mycontain {
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
  padding: 0 20px;
}

.extradescription {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin: 40px 0;
  color: #ccc;
}

.tltabsmenu-2 {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #555;
  margin-bottom: 20px;
}

.tltablink-2 {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  color: #ccc;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.tltablink-2:hover {
  color: #fff;
  background-color: #555;
}

.tltablink-2.w--current {
  background-color: #e54c41;
  color: white;
}

/* Feature boxes - Three column layout */
.featureboxes {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  margin: 40px 0 !important;
}

.featurebox {
  text-align: center;
  padding: 30px 20px;
}

.threeboximage {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

.boxheader {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.paragraph {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* Client logos */
.clientlogos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.clientlogocell {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.clientlogocell:hover {
  opacity: 1;
}

.clientlogoicon {
  height: 40px;
  width: auto;
}

/* Tabs */
.w-tabs {
  position: relative;
}

.w-tab-menu {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.w-tab-link {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  color: #222222;
  background-color: #f8f9fa;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.w-tab-link.w--current {
  background-color: #e54c41;
  color: white;
}

.w-tab-content {
  position: relative;
  display: block;
  overflow: hidden;
}

.w-tab-pane {
  position: relative;
  display: none;
}

.w-tab-pane.w--tab-active {
  display: block;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item-trigger {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  transition: background-color 0.3s ease;
}

.accordion-item-trigger:hover {
  background: #e9ecef;
}

.accordion-item-content {
  display: none;
  padding: 20px;
  background: white;
}

.accordion-item.active .accordion-item-content {
  display: block;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Buttons */
.bigredbuttonreversed {
  background-color: #e54c41;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.bigredbuttonreversed:hover {
  background-color: #c0392b;
  color: white;
}

.bigredbuttonline {
  background-color: transparent;
  color: #e54c41;
  border: 2px solid #e54c41;
  padding: 13px 28px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.bigredbuttonline:hover {
  background-color: #e54c41;
  color: white;
}

/* Testimonials */
.testimonialslider {
  position: relative;
  height: 300px;
  text-align: center;
  background: #f8f9fa;
  margin: 40px 0;
}

.tsmask {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  white-space: nowrap;
}

.testimonialslide {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
  white-space: normal;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonialslide.active {
  opacity: 1;
}

.testimonialcontentwrapper {
  padding: 40px;
  text-align: center;
}

.testimonialcontent {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.redseparator {
  width: 50px;
  height: 2px;
  background-color: #e54c41;
  margin: 20px auto;
}

/* Footer */
.footer-05 {
  background: #333;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid-long {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footerlogo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-title-large {
  font-size: 24px;
  margin-bottom: 20px;
}

.paragraph-light {
  color: #ccc;
  margin-bottom: 20px;
}

.footerrightdiv {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.socialmedia-linkdb {
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.socialmedia-linkdb:hover {
  opacity: 1;
}

.footercopyrighttext {
  color: #ccc;
  font-size: 14px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-link-2 {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link-2:hover {
  color: #e54c41;
}

/* Link hover animations with underline that shrinks from right to left */
.linkred, .link-red {
  position: relative;
  text-decoration: none;
}

.linkred::after, .link-red::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e54c41;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.linkred:hover::after, .link-red:hover::after {
  transform: scaleX(0);
}

.health-link {
  position: relative;
  text-decoration: none;
}

/* Tab link hover animations */
.tablink, .tablink-plans {
  position: relative;
  text-decoration: none;
}

.tablink::after, .tablink-plans::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e54c41;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.tablink:hover::after, .tablink-plans:hover::after {
  transform: scaleX(0);
}

/* Responsive design */
@media screen and (max-width: 991px) {
  .container {
    max-width: 728px;
  }
  
  .featureboxes {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
  
  .clientlogos {
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .featureboxes {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .redborderheading {
    font-size: 36px;
  }
  
  .featureboxes {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .clientlogos {
    gap: 20px;
  }
  
  .footer-grid-long {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .w-tab-link {
    display: block;
    text-align: center;
  }
}

@media screen and (max-width: 479px) {
  .container {
    max-width: none;
  }
  
  .redborderheading {
    font-size: 28px;
  }
  
  .heroimageslider {
    height: 300px;
  }
  
  .testimonialcontentwrapper {
    padding: 20px;
  }
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Service offering styles */
.serviceofferingcontentwrapper {
  text-align: center;
  flex-direction: column;
  justify-content: flex-start;
}

.h3centered {
  text-align: center;
  width: 100%;
}

.tltabcontent {
  margin-top: 80px;
}

.tltabparawrapper {
  justify-content: center;
  align-items: center;
  padding: 0 100px;
}

.servicespara {
  text-align: center;
  margin-bottom: 0;
  font-size: 32px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Case Study Hover Effects */
.worklinkblock {
  position: relative;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.worklinkblock:hover {
  transform: translateY(-5px);
}

.worklinkblock:hover .overlay {
  opacity: 1 !important;
}

.worklinkblock:hover .worksectionheading {
  opacity: 0 !important;
}

.overlay {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.worksectionheading {
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Ensure proper positioning for work items */
.worlci {
  position: relative;
  transition: all 0.3s ease;
}

.worlci:hover {
  transform: translateY(-5px);
}

/* Case Study Page Styles */
.case-study-hero {
  background-color: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.case-study-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #333;
}

.case-study-subtitle {
  font-size: 24px;
  color: #666;
  margin-bottom: 30px;
}

.case-study-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.case-study-meta span {
  padding: 8px 16px;
  background-color: #e54c41;
  color: white;
  border-radius: 20px;
  font-weight: bold;
}

.case-study-content {
  padding: 60px 0;
}

.case-study-featured-image {
  text-align: center;
  margin-bottom: 60px;
}

.case-study-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.case-study-body {
  max-width: 800px;
  margin: 0 auto 60px;
}

.case-study-body h2 {
  color: #e54c41;
  margin-top: 40px;
  margin-bottom: 20px;
}

.case-study-body p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-study-body ul {
  margin-bottom: 20px;
}

.case-study-body li {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.case-study-results {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin: 60px 0;
}

.case-study-results h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

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

.result-item {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-item h3 {
  font-size: 48px;
  color: #e54c41;
  margin-bottom: 10px;
}

.result-item p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.case-study-cta {
  text-align: center;
  margin-top: 60px;
}

.case-study-cta .bigredbutton,
.case-study-cta .bigredbuttonline {
  margin: 0 15px;
  display: inline-block;
}

@media (max-width: 768px) {
  .case-study-header h1 {
    font-size: 36px;
  }
  
  .case-study-subtitle {
    font-size: 20px;
  }
  
  .case-study-meta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .case-study-cta .bigredbutton,
  .case-study-cta .bigredbuttonline {
    display: block;
    margin: 15px auto;
  }
}
