:root {
  --nord0: #2e3440; /* Polar Night */
  --nord1: #3b4252;
  --nord2: #434a59;
  --nord3: #4c566a;

  --nord4: #d8dee9; /* Snow Storm */
  --nord5: #e5e9f0;
  --nord6: #eceff4;

  --nord7: #8fbcbb; /* Frost */
  --nord8: #88c0d0;
  --nord9: #81a1be;
  --nord10: #5e81ac;

  --nord11: #bf616a; /* Aurora */
  --nord12: #d08770;
  --nord13: #ebcb8b;
  --nord14: #a3be8c;
  --nord15: #b48ead;
}

.text-snowstorm1 {
  color: var(--nord4);
}

html {
  scroll-behavior: smooth; /* Enables smooth scrolling for the entire page */
}

/* Optional: Apply smooth scrolling only to specific elements (e.g., a navigation menu) */
.smooth-scroll-container { /* Replace with your container's class or ID */
  scroll-behavior: smooth;
}


/* Optional: Style the scrollbar (cross-browser compatibility is tricky) */
::-webkit-scrollbar {
  width: 10px; /* Adjust scrollbar width */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color of the track */
}

::-webkit-scrollbar-thumb {
  background: #888; /* Color of the thumb */
  border-radius: 5px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color of the thumb on hover */
}


/* For Firefox */
html {
  scrollbar-color: auto transparent; /* thumb and track color - auto for default */
}
/* or specify colors */
html {
    scrollbar-color: #a0a0a0 transparent; /* thumb and track color */
}
/* or for a light theme */
html {
    scrollbar-color: lightgray transparent; /* thumb and track color */
}


/* General Styles */
/* body {
  font-family: Rubik;
  
  color: #d8dee9;
  background-color: var(--nord0);
  margin:0;
} */

/* a {
  color: #e5e9f0;
}

.container {
  max-width: 600px;
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}



/* Hero Section */
/*
#hero {
  background: url('hero-bg.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 0;
} */

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Services */
#services {
  background: white;
  padding: 50px 0;
  text-align: center;
}

.service-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background: #eee;
  padding: 20px;
  margin: 10px;
  flex: 1;
  min-width: 250px;
  border-radius: 5px;
}

/* Contact Section */
#contact {
  background: #ddd;
  padding: 50px 0;
  text-align: center;
}



button {
  padding: 10px 20px;
  background: #222;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #444;
}



.loading {
  font-style: normal;
  color: gray;
}

ul {
  text-align: left;
}

/* Error Message */
#errorMessage {
  color: white;
  background-color: #d9534f;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
  display: none;
}

/* Password Strength Meter */
#strengthMeter {
  width: 100%;
  height: 15px;
  background: #ddd;
  margin: 10px 0;
  border-radius: 5px;
}

#strengthMeter div {
  height: 100%;
  width: 0;
  background: green;
  border-radius: 5px;
  transition: width 0.3s;
}



#warnings {
  color: #e67e22;
}

/* Debugging */
pre {
  background-color: var(--nord10);
  padding: 10px;
  border-radius: 5px;

  display: none;
}

.toggle-debug {
  margin-top: 20px;
  font-size: 0.9em;
  color: #007bff;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  padding: 0;
}

.toggle-debug:hover {
  text-decoration: underline;
}



.page-wrapper {
  min-height: 100vh; /* Ensure it takes the full viewport height */
  display: flex;
  flex-direction: column;
 
  align-items: center;
}

.main-container {
    margin-top: 5rem;
    margin-bottom:3rem;
  align-items: center;
  display:flex;
  flex-direction: column;
  
  flex: 1;
    width: 75%;
    
  max-width: 990px;
  border-radius: 8px;
  background-color: var(--nord1);
  box-shadow: rgba(15, 17, 21, 0.25) 0px 4px 6px, rgba(15, 17, 21, 0.1) 0px 5px 7px;
}


/* Basic Button Styles */
.btn-nord {
  display: inline-block;
  padding: 0.75rem 1.5rem; /* Adjust padding as needed */
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px; /* Adjust border radius as needed */
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s; /* Smooth transitions */
}

/* Primary Button (Aurora Blue) */
.btn-nord-primary {
  background-color: var(--nord9); /* Aurora Blue */
  color: var(--nord6); /* Snow Storm (Light text) */
}

.btn-nord-primary:hover {
  background-color: var(--nord10); /* Darker Aurora Blue on hover */
  color: var(--nord5);
}

/* Secondary Button (Slightly Darker Blue) */
.btn-nord-secondary {
  background-color: var(--nord2); /* Darker Polar Night */
  color: var(--nord5); /* Light text */
}

.btn-nord-secondary:hover {
  background-color: var(--nord3); /* Even Darker Polar Night on hover */
  color: var(--nord4);
}


/* Danger Button (Frostbite Red) */
.btn-nord-danger {
  background-color: var(--nord11); /* Frostbite Red */
  color: var(--nord6); /* Light text */
}

.btn-nord-danger:hover {
  background-color: var(--nord12); /* Darker Frostbite Red on hover */
  color: var(--nord5);
}

/* Success Button (Aurora Green) */
.btn-nord-success {
    background-color: var(--nord14); /* Aurora Green */
    color: var(--nord0); /* Dark text */
}

.btn-nord-success:hover {
    background-color: var(--nord13); /* Aurora Yellow on hover */
    color: var(--nord1); /* Darker text on hover */
}


/* Outline Button (Aurora Blue Outline) */
.btn-nord-outline-primary {
    background-color: transparent;
    border: 2px solid var(--nord9);
    color: var(--nord9);
}

.btn-nord-outline-primary:hover {
    background-color: var(--nord9);
    color: var(--nord6);
}

/* Disabled Button */
.btn-nord-disabled {
  background-color: var(--nord3); /* Grayed out background */
  color: var(--nord5); /* Lighter gray text */
  cursor: default; /* Indicate not clickable */
  opacity: 0.7; /* Slightly transparent */
}

.btn-nord-disabled:hover { /* No hover effect */
  background-color: var(--nord3);
  color: var(--nord5);
}

.fa-small {
    font-size: 0.75rem;
}


/* Scroll to Top Button */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--e-global-color-hover);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;

    padding: 0px !important;
    padding-top: 0.2rem !important;
}

#scrollToTopBtn:hover {
    background-color: #555;
}

#scrollToTopBtn.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

#scrollToTopBtn.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
}

.form-btn-link {
  background: var(--e-global-color-hover); /* Orange background */
  line-height: 22px;
  font-size: 20px;
  color: var(--e-global-color-secondary); /* Text color */
  padding: 19px 44px !important; /* Correct padding and !important */
  display: inline-block;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none !important; /* Remove underline - !important added */
  text-align: center;
  transition: all ease-in-out 0.3s;
  border: 1px solid var(--e-global-color-hover);
  position: relative;
  z-index: 900;
  cursor: pointer;
}

.form-btn-link:hover {
  transform: translateY(-5px);
  background: var(--e-global-color-dark-bluish) !important; /* Hover background */
  color: var(--e-global-color-secondary); /* Hover text color */
  transition: ease-in-out 0.3s;
  border: 1px solid var(--e-global-color-dark-bluish);
}



  .social-share-btns-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  font-size: 0;
  top: 50%;
  margin: -30px 0;
  text-align: center;
  width: 100%;
  z-index: 111;
}

.social-share-btns {
  display: inline-block;
  overflow: hidden;
  padding-top: 1rem;
}
.social-share-btns .share-btn {
  float: left;
  margin: 0 5px;
  padding: 8px 16px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  vertical-align: middle;
  -moz-transition: background 0.2s ease-in-out;
  -o-transition: background 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out;
  transition: background 0.2s ease-in-out;
}
.social-share-btns .share-btn i {
  margin-right: 5px;
  display: inline-block;
  font-size: 18px;
  vertical-align: middle;
}

.share-btn {
  background-color: #95a5a6;
}
.share-btn:hover {
  background-color: #798d8f;
}

.share-btn-twitter {
  background-color: #00aced;
}
.share-btn-twitter:hover {
  background-color: #0087ba;
}

.share-btn-facebook {
  background-color: #3b5998;
}
.share-btn-facebook:hover {
  background-color: #2d4373;
}

.share-btn-linkedin {
  background-color: #007bb6;
}
.share-btn-linkedin:hover {
  background-color: #005983;
}

.share-btn-reddit {
  background-color: #ED001C;
}
.share-btn-reddit:hover {
  background-color: #ba0016;
}

.share-btn-mail {
  background-color: #f1c40f;
}
.share-btn-mail:hover {
  background-color: #dab10d;
}


button.speaker-button {
  all: unset;
  cursor: pointer !important;
  font-size: 1.2em !important;
  padding: 0.2em !important;
  border-radius: 4px !important;
  line-height: 1 !important;
  background: none !important;
  border: none !important;
  color: inherit !important;
}

/* Optional hover */
button.speaker-button:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

