/* ------------ GOOGLE FONTS -------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ------------ VARIABLES CSS ------------ */
:root {
  --header-height: 3.5rem;

  /* Colours */
  --first-color: #e63900;
  --black-color: #000000;
  --black-color-light: #666666;
  --white-color: #ffffff;
  --title-color: #000000;
  --text-color: #595959;
  --text-color-light: #a3a3a3;
  --body-color: #dedede;
  /* --background-color-light: #f4e9e1; */
  --background-color-light: #ffffff;
  --container-color: #d4d4d4;
  --new-light-green:#122700;
  --new-dark-green:#93c01f;

  /* Font and typography */
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /* Font weight */
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* z index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 3rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/* ------------ BASE ------------ */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ------------ REUSABLE CSS CLASSES ------------ */
.section {
  padding-block: 4rem 2rem;
}

.section__title-1,
.section__title-2 {
  position: relative;
  font-size: var(--h1-font-size);
  width: max-content;
  margin: 0.75rem auto 2rem;
}

.section__title-1 span,
.section__title-2 span {
  z-index: 5;
  position: relative;
}

.section__title-1::after,
.section__title-2::after {
  content: "";
  width: 40px;
  height: 28px;
  background-color: #fc3d0333;
  position: absolute;
  top: -4px;
  right: -8px;
}

.section__title-2::after {
  top: initial;
  bottom: -4px;
}

.geometric-box {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--first-color);
  rotate: -30deg;
}

.geometric-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--black-color);
  left: -5px;
  top: -5px;
}

.bg__color-light {
  background-color: var(--background-color-light);
}

/* LegalMoov Button Styles */
.btn-legalmoov {
  background-color: #82b016;
  border-color: #82b016;
  color: white;
  border-radius: 10px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-legalmoov:hover {
  background-color: #71980f;
  border-color: #71980f;
  color: white;
}

.btn-outline-legalmoov {
  background-color: transparent;
  border: 1px solid #82b016;
  color: #82b016;
  border-radius: 10px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-outline-legalmoov:hover {
  background-color: #82b016;
  border-color: #82b016;
  color: white;
}

/* Small button variations */
.btn-sm.btn-legalmoov {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-sm.btn-outline-legalmoov {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Ensure buttons are the same size */
.btn-sm.btn-legalmoov,
.btn-sm.btn-outline-legalmoov {
  height: auto;
  line-height: 1.4;
}

.bg-legalmoov {
  background-color: #82b016 !important;
}

.bg-legalmoov-light {
  background-color: #f2f7e7 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-legalmoov,
  .btn-outline-legalmoov {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}


/* -----Green Buttons & words------ */
.green-button{
  background-color: var( --new-light-green);
}
.green-words{
  color: var(--new-dark-green);
}

/*  BUTTON ANIMATION STYLES */
.btn__animated {
  /* Base transition for smooth effect */
  transition: all 0.3s ease;
  
  /* Initial state */
  transform: scale(1);
}

/* Hover Animation */
.btn__animated:hover {
  /* Slightly larger on hover */
  transform: scale(1.05);
  
  /* Optional: add a subtle shadow for depth */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

.btn__pulse {
  animation: pulse 2s infinite;
}

/* Subtle Bounce Effect */
@keyframes subtle-bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-3px);
  }
}

.btn__bounce:hover {
  animation: subtle-bounce 0.5s;
}

/* Typing Animation Styles */
.typing__container {
  position: relative;
  height: 3rem;
  overflow: hidden;
}

.typing__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid currentColor;
  animation: 
      typing 3s steps(40, end) forwards,
      blink-cursor 0.7s step-end infinite,
      hide-cursor 0.1s forwards 3s;
}

@keyframes typing {
  from { 
      width: 0;
      border-right-color: currentColor;
  }
  to { 
      width: 100%; 
      border-right-color: transparent;
  }
}

@keyframes blink-cursor {
  0%, 100% { border-right-color: currentColor; }
  50% { border-right-color: transparent; }
}

@keyframes hide-cursor {
  to {
    border-right-color: transparent;
  }
}

/* Fade-In Alternative */
.fade-in-text {
  opacity: 0;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Staggered Reveal */
.staggered-text {
  display: inline-block;
  opacity: 0;
  animation: staggerReveal 0.5s forwards;
}

@keyframes staggerReveal {
  from { 
      opacity: 0;
      transform: translateY(20px);
  }
  to { 
      opacity: 1;
      transform: translateY(0);
  }
}

/* ---------------- HEADER & NAV ------------------ */
.header,
.mobile__nav {
  background-color: var(--background-color-light)  !important;
}

.nav-link {
    color: var(--black-color-light) !important;
}

.nav-link:hover {
    color: var(--black-color) !important;
}

.nav__icon {
    font-size: var(--h2-font-size) !important;
}

.nav__link {
    position: relative;
    color: var(--text-color-light);
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    transition: color .3s;
}

.nav__link::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--black-color-light);
    position: absolute;
    left: 0;
    bottom: -.5rem;
    transition: width .3s;
}

.nav__link:hover::after {
    width: 40%;
}

.nav__close {
    position: absolute;
    font-size: 1.5rem;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

.nav__link {
    color: var(--text-color) !important;
} 

/* --------------ERROR HANDLING-------------- */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.error-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 3rem;
  animation: fadeIn 0.5s ease-in-out;
}
.error-code {
  font-size: 6rem;
  margin-bottom: 0;
  color: #dc3545;
}
.btn-back {
  transition: all 0.3s ease;
}
.btn-back:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.icon-lock {
  font-size: 5rem;
  color: #dc3545;
  margin-bottom: 1.5rem;
}

/* Active link */


/*RESPONSIVENESS*/
/* Small devices (phones) */
@media screen and (max-width: 575px) {

}

/* Medium devices (tablets) */
@media screen and (min-width: 576px) and (max-width: 991px) {

}

/* Large devices (laptops/desktops) */
@media screen and (min-width: 992px) and (max-width: 1150) {

} 



/* 🌗 Light & Dark Mode with Smooth Transitions */
/* body {
  background: var(--background);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
} */

/* :root {
  --background: #f8f9fa;
  --card-bg: white;
  --text-color: #212529;
  --button-bg: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --button-hover: rgba(37, 117, 252, 0.3);
  --input-bg: white;
  --input-text: #212529;
  --placeholder-color: #6c757d;
}

body.dark-mode {
  --background: #181818;
  --card-bg: #222;
  --text-color: #f8f9fa;
  --button-bg: linear-gradient(135deg, #4c669f 0%, #3b5998 100%);
  --button-hover: rgba(59, 89, 152, 0.3);
  --input-bg: #495057;
  --input-text: #f8f9fa;
  --placeholder-color: rgba(255, 255, 255, 0.6);
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-in-out;
}

h2,
label,
small,
p,
a {
  color: var(--text-color) !important;
}

.btn-primary {
  background: var(--button-bg);
  color: white;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
} */

/* .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px var(--button-hover);
}

.dark-mode-toggle {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

.form-control {
  background: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--text-color);
  transition: all 0.3s;
}

.form-control:focus {
  background: var(--input-bg);
  color: var(--input-text);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

