:root {
  --font-size-b1: 16px;
  --line-height-b1: 1.6;
  --color-body: #4a4a4a;
  --color-heading: #1a1a1a;
  --p-regular: 400;
  --bg-light: #f4f6f9;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

.btn {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  border-radius: 50px !important;
}

body {
  font-size: var(--font-size-b1);
  line-height: var(--line-height-b1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "DM Sans", sans-serif;
  color: var(--color-body);
  font-weight: var(--p-regular);
  position: relative;
  overflow-x: hidden;
  margin: 0;
  background: #fff;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}




body h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  font-family: "Red Hat Display", sans-serif;
}

body h2 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-family: "Red Hat Display", sans-serif;
}

body h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  font-family: "Red Hat Display", sans-serif;
}

body h4 {
  font-size: 1.3rem;
  line-height: 1.2;
  font-family: "Red Hat Display", sans-serif;
}

body h5 {
  font-size: 1.2rem;
  line-height: 1.2;
  font-family: "Red Hat Display", sans-serif;
}

body h6 {
  font-size: 1.1rem;
  line-height: 1.2;
  font-family: "Red Hat Display", sans-serif;
}

body p {
  font-size: 16px;
  line-height: 1.2;
  font-family: "DM Sans", sans-serif;
}



/* ==========================
   Mobile Typography
========================== */

@media (max-width: 768px) {

  body h1 {
    font-size: 2.2rem;
    /* ~35px */
    line-height: 1.2;
  }

  body h2 {
    font-size: 1.9rem;
    /* ~30px */
    line-height: 1.25;
  }

  body h3 {
    font-size: 1.5rem;
    /* ~24px */
    line-height: 1.3;
  }

  body h4 {
    font-size: 1.3rem;
    /* ~21px */
    line-height: 1.35;
  }

  body h5 {
    font-size: 1.15rem;
    /* ~18px */
    line-height: 1.4;
  }

  body h6 {
    font-size: 1rem;
    /* 16px */
    line-height: 1.4;
  }

  body p {
    font-size: 15px;
    line-height: 1.7;
  }

}

/* ==========================
   Small Mobile (480px)
========================== */

@media (max-width: 480px) {

  body h1 {
    font-size: 2rem;
    /* 32px */
  }

  body h2 {
    font-size: 1.75rem;
    /* 28px */
  }

  body h3 {
    font-size: 1.35rem;
    /* 22px */
  }

  body h4 {
    font-size: 1.2rem;
    /* 19px */
  }

  body h5 {
    font-size: 1.1rem;
    /* 17px */
  }

  body h6 {
    font-size: 1rem;
    /* 16px */
  }

  body p {
    font-size: 15px;
    line-height: 1.7;
  }

}




/* =========================================
   Scroll Animation Base
========================================= */
.animate-on-scroll {
  opacity: 0;
  will-change: opacity, transform, clip-path;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  /* Premium ease-out curve */
}

/* Ensure elements are visible immediately if JS fails or is disabled */
html.no-js .animate-on-scroll {
  opacity: 1;
  transform: none;
  clip-path: none;
}

/* =========================================
   Animation Variants
========================================= */
/* Fade In Up (Paragraphs, Buttons, Blocks) */
.fade-in-up {
  transform: translateY(40px);
}

/* Fade In Left/Right (Headings, Columns) */
.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

/* Scale In */
.scale-in {
  transform: scale(0.95);
}

/* Premium Image Reveal (Bottom-Left to Top-Right) */
.reveal-image {
  opacity: 1;
  /* Override base opacity for the mask effect */
  clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* =========================================
   Active (Visible) States
========================================= */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-image.is-visible {
  /* Expands to show the full image */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* =========================================
   Staggering Logic (Delay based on index)
========================================= */
/* Apply an inline style like style="--stagger: 1" to elements */
.animate-on-scroll[style*="--stagger"] {
  transition-delay: calc(var(--stagger) * 0.1s);
}

@media only screen and (max-width:768px) {
  .main-nav.active {
    /*top: 81px;*/
  }

  .mobile-close {
    display: none !important;
  }

  .logo {
    display: none !important;
  }

  html {
    overflow-x: hidden;
  }

  .logo-link img {
    width: 47% !important;
  }
}

.btn-dark {
  background: var(--color-heading);
  color: #fff;
}

.pt-80 {
  padding-top: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}