/* Set a default root font size */
html {
  font-size: 16px; /* Default size */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  html {
    font-size: 14px; /* Slightly smaller font for medium devices */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12px; /* Smaller font for small devices */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 10px; /* Even smaller font for very small devices */
  }
}

/* Custom Font Size and Line-Height in rem */
.font-13-line-30 {
  font-size: 0.8125rem;
  line-height: 1.875rem;
}
.font-14 {
  font-size: 0.875rem;
}
.font-14-line-75 {
  font-size: 0.875rem;
  line-height: 4.6875rem;
}
.font-16-line-20 {
  font-size: 1rem;
  line-height: 1.25rem;
}
.font-16-line-24 {
  font-size: 1rem;
  line-height: 1.5rem;
}
.font-18-line-28 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.font-18-line-27 {
  font-size: 1.125rem;
  line-height: 1.6875rem;
}
.font-20-line-30 {
  font-size: 1.25rem;
  line-height: 1.875rem;
}
.font-24-line-75 {
  font-size: 1.5rem;
  line-height: 4.6875rem;
}
.font-24-line-50 {
  font-size: 1.5rem;
  line-height: 3.125rem;
}
.font-36-line-75 {
  font-size: 2.25rem;
  line-height: 4.6875rem;
}
.font-40-line-50 {
  font-size: 2.5rem;
  line-height: 3.125rem;
}
.font-48-line-50 {
  font-size: 3rem;
  line-height: 3.125rem;
}
.font-48-line-75 {
  font-size: 3rem;
  line-height: 4.6875rem;
}
.font-48-line-58 {
  font-size: 3rem;
  line-height: 3.625rem;
}
.font-64-line-75 {
  font-size: 4rem;
  line-height: 4.6875rem;
}
.font-64-line-50 {
  font-size: 4rem;
  line-height: 3.125rem;
}
.font-96-line-100 {
  font-size: 6rem;
  line-height: 6.25rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body[data-aos-duration="4000"] [data-aos],
[data-aos][data-aos][data-aos-duration="4000"] {
  transition-duration: 4000ms;
}

body {
  font-size: 16px;
  overflow-x: hidden;
  background: white;
  font-family: "IBM Plex Sans JP", sans-serif;
  scroll-behavior: smooth;
  padding-top: 89px;
  margin: auto;
  max-width: 1950px;
}

img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
}

a {
  text-decoration: none;
  color: white;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
}

h3 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 3.125rem;
}

h4 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 3.125rem;
}

h5 {
  font-size: 1.5rem;
  line-height: 3.125rem;
}

p,
li {
  font-size: 1.25rem;
  line-height: 1.875rem;
}

@media (min-width: 1024px) {
  h2 {
    font-size: 4rem;
  }
  h3 {
    font-size: 3rem;
  }
  h4 {
    font-size: 2.5rem;
  }
  p,
  li {
    font-size: 1.25rem;
  }
}
.float-right {
  float: right;
}

.icon {
  width: 50px;
  height: 50px;
  font-weight: 700;
  align-self: flex-end; /* Move the icon to the right */
  margin-top: auto; /* Push the icon to the bottom */
  margin-left: auto; /* Push the icon to the right */
}

@media (min-width: 1024px) {
  .icon {
    scale: 1.8;
  }
}

.d-none {
  display: none;
}

/* Custom padding for sections and containers */
.custom-padding {
  padding: 9rem 2rem 4rem;
}
@media (min-width: 768px) {
  .custom-padding {
    padding: 9rem 3.2rem 4rem;
  }
}
@media (min-width: 1024px) {
  .custom-padding {
    padding: 7rem 4rem 4rem;
  }
}
@media (min-width: 1440px) {
  .custom-padding {
    padding: 9rem 6rem;
  }
}
@media (min-width: 1520px) {
  .custom-padding {
    padding: 11rem;
  }
}

/* Blinking effect */
@keyframes blink {
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes height {
  0% {
    height: 0;
  }
  25% {
    height: 75px;
  }
  50% {
    height: 150px;
  }
  100% {
    height: fit-content;
  }
}

@keyframes grow-shrink {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

@keyframes opacity {
  0% {
    opacity: 0.5;
  }
  25% {
    opacity: 0.65
  }
  50% {
    opacity: 0.80;
  }
  75% {
    opacity: 0.90
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes anti-spin {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/* red underline */
.red-underline {
  position: relative;
  text-decoration: none;
}

.red-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background-color: red;
}

/* Spinner Wrapper */
.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30vh;
  min-width: 60vw;
  position: relative;
  width: 100%;
}

/* Outer Spinner */
.spinner {
  border-radius: 50%;
  position: absolute;
}

.spinner-2 {
  background: linear-gradient(to right, #4d514e, #6e6768); /* Green to Red */
  width: 8rem;
  height: 9rem;
  animation: spin 2s linear infinite;
}

.spinner-1 {
  background: linear-gradient(to right, #0A4019, #A30617); /* Red to Green */
  width: 8rem;
  height: 9rem;
  animation: anti-spin 2s linear infinite;
}

/* Spinner Icon (center image) */
.spinner-icon {
  width: 5rem;
  position: absolute;
  animation: pulse 2s infinite;
}

.custom-tooltip {
  --bs-tooltip-bg: black;
  --bs-tooltip-color: white;
  --bs-tooltip-border-radius: 30px;
}

/* form sumbit modal */
.modal {
  --bs-modal-border-radius: 12px;
}
.modal-header {
  border-bottom: none;
}
.modal-content {
  padding: 1rem;
  background-color: white;
}
.modal-body {
  text-align: center;
  padding: 4rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 5px;
}
.modal-heading {
  font-size: 20px;
  font-weight: 600;
}
.modal-label {
  text-align: center !important;
  max-width: 439px;
  font-size: 16px !important;
  line-height: 24px;
}

@media screen and (min-width: 1024px) {
  .modal {
    --bs-modal-width: 748px;
  }
}

.animate-arrow {
  animation: fade 2s infinite;
  width: 75px; 
  margin-bottom: 10px;
}

.chevron {
  width: 40px;
  transition: transform 0.3s ease;
}

.chevron-rotated {
  transform: rotate(90deg);
}

.custom-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 2rem;
}

.custom-list li {
  padding-left: 3.5rem;
  background-image: url("https://res.cloudinary.com/ddbwlvuly/image/upload/v1729616694/check-icon_wa6k90.svg");
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.blinking-line {
  width: 2px;
  height: 90px;
  background-color: #6C6C6C;
  animation: blink 1s step-end infinite; /* Blinking animation */
}

@media screen and (min-width: 1420px) {
  .blinking-line {
    height: 158px;
  }
}

/* Newsletter section */
.newsletter {
  padding: 9rem 0px;
}

.underlay {
  background-color: #0A4019;
  margin: auto;
  width: 75%;
  max-width: 1300px;
  height: 100px;
  border-radius: 35px;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 3rem;
  width: 100%;
  border-radius: 35px;
  box-shadow: 0px 2px 2px 2px rgba(16, 24, 40, 0.05);
  text-align: left;
  margin-top: -70px;
  background-color: #FFF6F6;
  max-width: 1573px;
}

.newsletter-text {
  color: #3b3b3b;
  margin-block: 14px;
  text-align: left;
  max-width: 680px;
}

.newsletter-input {
  border: 1px solid #6C6C6C;
  margin-left: 30px;
  font-size: 18px;
  background-color: #FFF6F6;
  color: #6C6C6C;
}

.newsletter-input::placeholder {
  color: #6C6C6C;
  opacity: 1; /* Ensures full opacity across browsers */
}

.newsletter-input:focus {
  border-color: 6C6C6C;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.newsletter-button {
  font-weight: 400;
  font-size: 2rem;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  background-color: white;
  color: #0A4019;
}

.newsletter-button:hover {
  color: white;
  background: #0A4019;
  border: 1px solid #0A4019;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

@media screen and (min-width: 768px) {
  .newsletter-form {
    padding: 4rem 6rem;
  }
}

@media screen and (min-width: 1024px) {
  .newsletter {
    padding: 5rem;
  }
  .newsletter-input {
    font-size: 24px;
  }
  .newsletter-form {
    padding: 4rem 6rem;
  }
}


@media screen and (min-width: 1420px) {
  .newsletter {
    padding: 12rem;
  }
  .newsletter-form {
    height: 70vh;
    border-radius: 100px;
    max-height: 678px;
    margin: auto;
    margin-top: -4rem;
    padding: 5rem 8rem;
  }
  .newsletter-input {
    font-size: 48px;
  }
}
@media screen and (min-width: 1560px) {
  .newsletter-form {
    padding: 6rem 12rem;
  }
}

/* Footer */
.footer {
  padding: 9rem 4rem 6rem;
  position: relative;
  background-color: #0A4019;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
}

.footer-container {
  width: 100%;
  display: flex;
  align-items: start;
  gap: 4rem;
}

.footer-logo {
  width: 17rem;
  margin-bottom: 2rem;
}

.footer-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 27px;
  color: white;
  text-align: left;
}

.footer a:hover{
  text-decoration: underline;
  font-weight: bolder;
}

@media screen and (min-width: 768px) {
  .footer {
    align-items: start;
  }
  .footer-text {
    text-align: left;
  }
  .footer-container {
    justify-content: space-between;
  }
  .cont-2 {
    justify-content: space-between;
  }
}

@media screen and (min-width: 1020px) {
  .footer {
    padding: 5rem;
    /* height: 563px; */
  }
  .footer-text {
    font-size: 18px;
  }
}