

/* Reset default styles */
body, h1, h2, h3, p, ul, li, form, input, textarea, img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


  
/* Body styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-image: url("./images/background_v4.svg");
  background-position-x: 50%;
  background-position-y: 120px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* opacity: 60%; */
  background-size: 60%;
}

/* Logo styles */
.logo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  background-attachment: fixed;
  float: left;
  position: fixed;
}



/* Navigation bar styles */
.nav-bar {
  border: 0px;
  width: 100%;
  height: 77px;
  background-color: #ffffff;
  line-height: 81px;
  position: fixed; 
}


.nav-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 145px;   /* <-- this indents from the left */
  right: 0;
  height: 7.5px;
  background: #0085CF;
}


.nav-menu {
  float: right;
}


.dark-nav {
  background-color: #000000;
  color: white;
}

.light-nav {
  background-color: white;
  color: black;
}


.nav-item {
  list-style-type: none;
  display: inline-block;
  margin-right: 10px;
  line-height: 32px;  
}


.svg-item {
  position: relative;
  align-items: center;
  height: 40px;
  vertical-align: middle;
  margin-right: 10px;
  line-height: 32px;  
}


.nav-link {
  color: #0085CF;
  text-decoration: none;
  padding: 2px;
}

.nav-link:hover{
  color: #000000;
}


.sun-path {
  fill: none;
  transition: stroke 0.3s ease;
}


.moon-path {
  fill: none;
  transition: stroke 0.3s ease;
}


/* .svg-toggle-button  */
.moon-path {
  stroke: #0085cf;
  opacity: 1;
}

/* .svg-toggle-button  */
.sun-path {
  stroke: #f39c12;
}



.svg-text-button {
  position: relative;
  align-items: center;
  background-color: var(--col-primary);
  border: 1px solid #0085CF;
  border-radius: 6px;
  box-shadow: 1px;
  box-sizing: border-box;
  color: var(--col-white);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 1px 24px 1px;
}

.svg-text-button svg {
  position: absolute;
  top: 6px;
  left: 12px;
  width: 30px;
  height: 32px;
  transition: opacity 0.3s ease;
  pointer-events: none; /* prevent double click issues */
}





.svg-toggle-button {
  position: relative;
  align-items: center;
  background-color: var(--col-primary);
  border: 1px solid #0085CF;
  border-radius: 6px;
  box-shadow: 1px;
  box-sizing: border-box;
  color: var(--col-white);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 24px 24px 14px;
  line-height: 32px;
}

.svg-toggle-button svg {
  position: absolute;
  top: 6px;
  left: 12px;
  width: 30px;
  height: 32px;
  transition: opacity 0.3s ease;
  pointer-events: none; /* prevent double click issues */
}


.language-toggle {
  position: relative;
  align-items: center;
  background-color: var(--col-primary);
  border: 1px solid #0085CF;
  border-radius: 6px;
  box-shadow: 1px;
  box-sizing: border-box;
  color: var(--col-white);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 24px 24px 14px;
  line-height: 32px;
} 

/* Language dropdown */


.language-toggle svg {
  width: 20px;
  position: absolute;
  top: 7px;
  left: 12px;
  width: 30px;
  height: 32px;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none; /* prevent double click issues */
}

.language-toggle svg.active {
  opacity: 1;
}



.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff; 
  list-style: none;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: none;
  min-width: 120px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  /* transform: translateY(-10px); */
  transition: all 0.2s ease;
}

.dropdown.open .language-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.language-menu li {
  display: flex;
  align-items: center;
  height: 40px;
}

.langChoice {
  vertical-align: middle;
  text-decoration: none;
  height: 40px;
  line-height: 40px;
  display: inline-block;
} 


.language-menu .li .choice, .icon {
  vertical-align: middle;
  height: 40px;
  line-height: 40px;
  display: inline-block;
} 

.language-menu svg {
  margin-left: 10px;
  margin-top: 10px;
  width: 40px;
  height: 25px;
  transition: opacity 0.3s ease;
  vertical-align: middle;
  position: static;
  pointer-events: none; /* prevent double click issues */
}



.language-menu li:hover {
  background-color: #eee;
}



.hamburger {
  float: right;
  margin-right: 20px;
  margin-top: 15px;
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #0085CF;
}


.fi, .fib {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
*, ::after, ::before {
  box-sizing: inherit;
}

.navbar-icons .btn-nav {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.navbar-icons button, .navbar-icons button:focus, .navbar-icons button:hover {
  color: inherit;
}
.navbar-icons button {
  line-height: 1;
}


 .text-button {

  position: relative;
  align-items: center;
  background-color: var(--col-primary);
  border: 1px solid #0085CF;
  border-radius: 6px;
  box-shadow: 1px;
  box-sizing: border-box;
  color: var(--col-white);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 24px 24px 0px;
  font-family: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 0.7;



  /* position: relative;
  align-items: center;
  background-color: var(--col-primary);
  border: 1px solid #0085CF;
  border-radius: 6px;
  box-shadow: 1px;
  box-sizing: border-box;
  color: var(--col-white);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  justify-content: center;
  line-height: 0.5;
  padding: 15px 3px 14px;  */

} 



/* Hero section styles */
.hero {
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #0085CF;
  padding: 100px 0;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  align-content: center;
}

.btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #555;
}

/* Services section styles */
.services {
  padding: 50px 0;
  text-align: center;
}


.service {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  vertical-align: top;
  padding: 20px;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.service img {
  width: 100%;
  margin-bottom: 10px;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Testimonials section styles */
.testimonials {
  padding: 50px 0;
  text-align: center;
}

.testimonial {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  vertical-align: top;
  padding: 20px;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial strong {
  font-weight: bold;
}

/* Blog section styles */
.blog {
  padding: 50px 0;
  text-align: center;
}

.blog-post {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  vertical-align: top;
  padding: 20px;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.blog-post img {
  width: 100%;
  margin-bottom: 10px;
}

.blog-post h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Contact section styles */
.contact {
  padding: 50px 0;
  text-align: center;
}

.contact input,
.contact textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
}

.contact_details {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  vertical-align: top;
  padding: 20px;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.contact input[type="submit"] {
  background-color: #333;
  color: #fff;
  cursor: pointer;
}

.contact input[type="submit"]:hover {
  background-color: #555;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* add responsivity */
@media only screen and (max-width: 600px) {
  .nav-menu {
      position: fixed;
      left: -100%;
      top: 5rem;
      flex-direction: column;
      background-color: #fff;
      width: 100%;
      border-radius: 10px;
      text-align: center;
      transition: 0.3s;
      box-shadow:
          0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
      left: 0;
  }

  .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item {
    margin-left: 5rem;
  }

  .hamburger {
      display: block;
      cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
      -webkit-transform: translateY(8px) rotate(45deg);
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
      -webkit-transform: translateY(-8px) rotate(-45deg);
      transform: translateY(-8px) rotate(-45deg);
  }

  .logo img {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    background-attachment: fixed;
    float: left;
    position: fixed;
  }

  /* Navigation bar styles */
  .nav-bar {
    border: 0px;
    width: 100%;
    height: 55px;
    background-color: #ffffff;
    line-height: 81px;
    position: fixed; 
  }


  .nav-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 95px;   /* <-- this indents from the left */
    right: 0;
    height: 5px;
    background: #0085CF;
  }

}
