:root {
  /* Dark theme (default) */
  --primary-color: #079b7e;
  --primary-light: rgba(7, 155, 126, 0.2);
  --dark-bg: #121212;
  --gray-bg: #1a1a1a;
  --text-color: #ffffff;
  --text-muted: #aeaeae;
  --card-bg: #161616;
  --border-color: #626262;
  --nav-bg: #121212;
  --nav-menu-bg: #949494;
  --nav-hover-bg: rgba(255, 255, 255, 0.2);
  --form-bg: transparent;
  --form-border: #2c2c2c;
  --form-focus-bg: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
  --primary-color: #079b7e;
  --primary-light: rgba(7, 155, 126, 0.1);
  --dark-bg: #ffffff;
  --gray-bg: #f5f5f5;
  --text-color: #079b7e;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --nav-bg: #ffffff;
  --nav-menu-bg: #f0f0f0;
  --nav-hover-bg: rgba(7, 155, 126, 0.1);
  --form-bg: #ffffff;
  --form-border: #e0e0e0;
  --form-focus-bg: rgba(0, 0, 0, 0.05);
}

/* Theme Switch Styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #333;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 26px;
  z-index: 2;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #079b7e;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider .fa-sun {
  color: #f1c40f;
  font-size: 14px;
}

.slider .fa-moon {
  color: #f1c40f;
  font-size: 14px;
}

/* Update existing styles to use CSS variables */
body {
  font-family: "Montserrat";
  background-color: var(--dark-bg);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
  padding: 1rem 2rem;
  background: var(--nav-bg);
  transition: background-color 0.3s ease;
}

.navbar-brand {
  text-decoration: none;
}

.navbar-brand img {
  height: 50px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--nav-menu-bg);
  border-radius: 135px;
  transition: background-color 0.3s ease;
}

.nav-item {
  margin: 3px;
  padding: 0;
  display: inline-block;
}

.nav-link {
  display: inline-flex;
  height: 50px;
  padding: 5.4px 27px;
  align-items: center;
  justify-content: center;
  gap: 13.5px;
  flex-shrink: 0;
  color: var(--text-color);
  border-radius: 135px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--nav-hover-bg);
  color: var(--text-color);
}

.nav-link.active {
  background: var(--primary-color);
  border-radius: 100px;
}

/* Responsive navbar styles */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav-menu {
    background: transparent;
    width: 100%;
    padding: 10px 0;
  }

  .nav-menu.d-flex {
    align-items: center;
  }

  .nav-item {
    width: 100%;
    margin: 5px 0;
  }

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

  #navbarNav {
    background: #232323;
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #068a70;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 500;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.hero-section {
  padding: 120px 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-muted);
  text-align: center;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  max-width: 60ch;
  /* or try 35ch or 30ch */
  margin: 0 auto;
  transition: color 0.3s ease;
}

.featured-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.polygon-visual {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin-bottom: 30px;
}

.featured-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .featured-section {
    padding: 40px;
  }

  .hero-title,
  .featured-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }

  .featured-section {
    padding: 30px;
    text-align: center;
  }

  .polygon-visual {
    margin: 0 auto 30px auto;
  }

  .action-buttons {
    justify-content: center;
  }
}

.hero-section {
  position: relative;
  background-color: var(--dark-bg);
  /* background of the section */
  padding-bottom: 150px;
  /* adjust based on image height */
  z-index: 0;
  overflow: hidden;
}

/* First wave (e.g., chart_1) */
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 150px;
  left: 0;
  width: 100%;
  height: 290px;
  /* height of chart_1 */
  background: url("assets/chart_1.png") no-repeat bottom center;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

/* Second wave (e.g., chart_2) slightly above the first */
.hero-section::before {
  content: "";
  position: absolute;
  bottom: 150px;
  /* adjust to float slightly above the other */
  left: 0;
  width: 100%;
  height: 300px;
  /* height of chart_2 */
  background: url("assets/chart_2.png") no-repeat bottom center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}

.approach-section {
  background: linear-gradient(to bottom, rgb(15, 26, 28), rgb(15, 31, 38));

  padding: 50px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-container {
  max-width: 1034px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
}

.approach-box {
  border-radius: 20px;
  border: 5px solid var(--border-color);
  padding: 30px;
  margin-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.approach-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon-placeholder {
  width: 250px;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.content-box {
  flex-grow: 1;
  margin-top: 9vh;
}

.content-title {
  color: #fff;
  font-family: Montserrat;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  display: block;
  /* 45px */
}

.content-text {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  width: 362px;
  height: 96px;
}

.connector {
  width: 2px;
  height: 100px;
  background-color: var(--border-color);
  margin: 0 auto;
  margin-top: -2.5rem;
}

@media (max-width: 768px) {
  .approach-box {
    flex-direction: column;
    text-align: center;
  }

  .icon-placeholder {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .content-title {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .approach-section {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .approach-box {
    padding: 20px;
  }
}

.hc-hero-section {
  position: relative;
  padding: 80px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #111111;
  /* Dark background */
}

/* Wave background styling */
.hc-wave-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  /* You'll replace this URL with your wave image path */
  background-image: url("assets/chart_1.png");
}

.hc-wave-bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("assets/chart_2.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  z-index: -1;
}

.hc-hero-content {
  position: relative;
  z-index: 2;
}

.hc-hero-title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 1rem;
}

.hc-hero-subtitle {
  color: #ababab;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hc-btn-discover {
  border-radius: 100px;
  background: #079b7e;
  color: white;
  padding: 12px 30px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

.hc-btn-discover:hover {
  background: #068a70;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(7, 155, 126, 0.3);
}

.hc-btn-consult {
  border-radius: 100px;
  background: transparent;
  color: white;
  padding: 11px 30px;
  font-weight: 500;
  border: 1px solid #fff;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.hc-btn-consult:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
  .hc-hero-title {
    font-size: 2.3rem;
  }

  .hc-hero-subtitle {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .hc-hero-title {
    font-size: 2rem;
  }

  .hc-hero-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .hc-hero-section {
    text-align: center;
    padding: 60px 0;
  }

  .hc-hero-title {
    font-size: 1.8rem;
  }

  .hc-hero-subtitle {
    font-size: 20px;
  }

  .hc-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hc-btn-consult {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .hc-hero-section {
    padding: 40px 0;
  }

  .hc-hero-title {
    font-size: 1.5rem;
  }

  .hc-hero-subtitle {
    font-size: 18px;
  }
}

.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 60px 0 40px;
}

.footer-logo {
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.form-control {
  background-color: var(--form-bg);
  border: 1px solid var(--form-border);
  color: var(--text-color);
  padding: 12px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: var(--form-focus-bg);
  border-color: var(--primary-color);
  box-shadow: none;
  color: var(--text-color);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.btn-connect {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  width: 100%;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.btn-connect:hover {
  background-color: #008b7d;
  color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-col {
    margin-bottom: 30px;
  }
}

/* Update navbar logo for light mode */
[data-theme="light"] .navbar-brand img {
  content: url("assets/logo-placeholder_Light.png");
}

/* Update nav hover and contact button styles */
[data-theme="light"] .nav-link:hover {
  background: var(--nav-hover-bg);
  color: var(--primary-color);
}

[data-theme="light"] .btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

[data-theme="light"] .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Update featured section background */
[data-theme="light"] .featured-section {
  background: #eeeeee;
}

/* Update approach section background */
[data-theme="light"] .approach-section {
  background: linear-gradient(141.79deg, #079b7e 0%, #034f75 100%);
}

/* Update approach section title */
[data-theme="light"] .section-title {
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
}

/* Update hero section background */
[data-theme="light"] .hc-hero-section {
  background-color: #eeeeee;
}

/* Update hero section text colors for light theme */
[data-theme="light"] .hc-hero-title {
  color: #079b7e;
}

[data-theme="light"] .hc-hero-subtitle {
  color: #464646;
}

/* Update nav text color for light theme */
[data-theme="light"] .nav-link {
  color: #000000;
  font-weight: 500;
}

[data-theme="light"] .hc-btn-consult {
  border: 1px solid #079b7e;
  color: #079b7e;
  background: transparent;
}

[data-theme="light"] .hc-btn-consult:hover {
  background: rgba(7, 155, 126, 0.1);
  color: #079b7e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(7, 155, 126, 0.1);
}

[data-theme="light"] .btn-connect {
  color: #fff;
}

[data-theme="light"] .nav-link.active {
  border: 1px solid #079b7e !important;
  color: #079b7e !important;
  background: transparent !important;
  font-weight: 600;
}

[data-theme="light"] .btn-outline-primary {
  border: 1px solid #079b7e;
  color: #079b7e;
  background: transparent;
  font-weight: 600;
}

[data-theme="light"] .btn-outline-primary:hover {
  background: #079b7e;
  color: #fff;
}

[data-theme="light"] .nav-menu {
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

[data-theme="light"] .nav-link.contact-link.active {
  background: transparent !important;
  color: #079b7e !important;
  border: 1px solid #079b7e;
  font-weight: 600;
}

/* Update footer for light theme */
[data-theme="light"] .footer {
  background-color: #ffffff;
}

[data-theme="light"] .footer-logo img {
  content: url("assets/Footer_logo_Light.png");
}

[data-theme="light"] .footer h5 {
  color: #079b7e;
}

[data-theme="light"] .footer-links a {
  color: #464646;
}

[data-theme="light"] .footer-links a:hover {
  color: #079b7e;
}
