/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  color: #333;
  background: #fff;
}

/* Layout wrapper */
.layout {
  display: flex;
  height: 100vh;
  align-items: stretch;
}

/* Sidebar */
.sidebar {
  /* flex-shrink: 0; */
  /* height: auto; */
  display: flex;
  flex-direction: column;
  height: 100%;
  /* width: 15rem;
   max-width: 100vw;  */
  width: 35%;        /* ✅ Sidebar shrinks on small screens */
  min-width: 120px;   /* Prevents it from getting too tiny */
  max-width: 240px;   /* Prevents it from overtaking larger screens */
  background: #f9f9f9;
  /* border-right: 1px solid #ddd; */
   align-items: flex-start;
  justify-content: flex-start;
    padding: 2rem 1rem;         /* Adds vertical breathing room */
  gap: 2rem;     

  border-right: 2px solid #bbb; /* Thicker and darker */
  /* gap: 2rem;
    overflow-wrap: break-word; */
}
/* html, body {
  width: 100%;
  overflow-x: hidden;
} */


.nav-logo {
  width: 100%;
  height: auto;
  max-height: 80px;
  max-width: 15rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  max-height: calc(100vh - 120px); /* adjusts for logo and padding */
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #007bff;
}

/* Wrapper to hold content + footer */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content */
.content {
  flex: 1;
  padding: 2rem;
  max-width: 100%;
    overflow-y: auto;
  height: 100%;    
}

.section {
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

/* CTA Button */
.cta {
  margin-top: 2rem;
  text-align: center;
}

.cta button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: #003366;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cta button:hover {
  background: #0055aa;
}

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: 0.875rem;
  background: #fff;
}

footer a {
  text-decoration: none;
  color: inherit;
}

footer a:hover {
  text-decoration: underline;
  color: #007bff; /* optional hover color */
}
/* 
.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 4px; 
  text-decoration-thickness: 1.5px;
} */



h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
 margin: 1em 0 0.5em;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;   /* Clearly larger */

}

h2 {
  font-size: 1.5rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.container ul {
  padding-left: 1.5rem; /* or 2rem for more space */
  margin-left: 0;       /* removes any auto indent */
}

.buy-now-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    margin: 20px 0;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .buy-now-button--contact { 
        display: inline-block;
    background-color: #007bff;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    margin: 20px 0;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    
    /* same styles as .buy-now-button */
   }

  .buy-now-button:hover {
    background-color: #0056b3;
    cursor: pointer;
  }

  .buy-now-container {
    text-align: left;
    margin: 30px 0;
  }

/* Blog-specific styles */
.blog-list {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.blog-list li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
}

.blog-list .bullet {
  color: #007bff;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.6rem;
  line-height: 1;
}

.blog-list a {
  color: #003366;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-list a:hover {
  color: #007bff;
  text-decoration: underline;
}

.blog-date {
  color: #666;
  font-size: 0.85rem;
  margin-left: 0.5rem;
  font-style: italic;
}


.sidebar .nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 2px; /* keeps spacing consistent */
}



/* .sidebar .nav-links a.active {
  text-decoration: underline;
  text-decoration-color: black;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
} */



/*___________________*/




 .language-menu {
  /* margin-top: 20px; */
  width: 100%;
  position: relative;
  user-select: none;
}




#language-button:hover {
  /* background: #999;   */
   opacity: 0.7;
}


  /* #language-button {
  padding: 0;
    background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.7rem;
  color: inherit;
  line-height: 1;
  width: 100%;
  text-align: left;
}  */


#language-button {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.7rem;  /* You can adjust the size of the ball here */
  line-height: 1;
  cursor: pointer;
  display: inline;
  color: inherit;
  outline: none;
}



/* #language-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
  z-index: 10;
} */




#language-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
 background: #fefefe; 
  border: 1px solid #ccc;
  border: 1px solid #ddd;  /* Light gray border */
  color: #222; 
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
    box-sizing: border-box;
  max-width: 100%;    
  z-index: 10;
}


/* #language-dropdown input {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
} */

#language-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#language-dropdown li a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
 color: #111;  
  font-size: 0.95rem; /* Match sidebar tabs */

}

#language-dropdown li a:hover {
background-color:  #999;  /* slight hover effect */
}

#language-dropdown.show {
  display: block;
}




.current-locale {
  font-weight: bold;
  background-color: #e0f0ff;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
} 

/* .current-locale {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px;
}  */



/* 🌍 Language button + search input aligned */
.language-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}

.language-bar button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

.language-bar input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}



.hidden {
  display: none !important;
}




#language-button:focus {
  outline: none;
}



/* .nav-links a.active-tab {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
} */


.nav-links a.active-tab {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: black;
}

.download-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #e0e0e0;
  border: 1px solid #bbb;
  border-radius: 4px;
  color: #222;
  text-decoration: none;
  font-size: 0.95rem;
}






#language-search {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fefefe;
  padding: 8px 10px;
  /* border-bottom: 1px solid #ddd; */
 border: 1px solid #bbb;

  width: 100%;
  box-sizing: border-box;
}



button.submitting {
  opacity: 0.6;             /* Makes it look faded/disabled */
  cursor: not-allowed;      /* Changes cursor to indicate no clicking */
  pointer-events: none;     /* Prevents extra clicks just in case */
  transition: opacity 0.2s ease;
}

button.submitting:hover {
  opacity: 0.6;             /* Ensure hover doesn't brighten it */
}






