html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* color variable  */

:root {
  /* Primary & Accent Colors */
  --primary-text-dark: #0f172a;
  --secondary-text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --white-color: #ffffff;

  /* Background Colors */
  --bg-gradient-start: #f0f2f5;
  --bg-gradient-end: #e8ecf0;

  /* Font Families */
  --font-primary: "Inter", sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}



body {
  font-family: var(--font-secondary);
  background: #ffffff;
  overflow-x: hidden;
}

ul {
  list-style-type: none;
}

h1,
h2,
h3,
h4 {
  /* text-transform: capitalize; */
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-text-dark);

}
h3 {
   font-size: 18px;
  font-weight: 600;
  color: var(--secondary-text-dark);
  margin-bottom: 15px;
}
h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white-color);
}
p {
  /* margin-bottom: 40px; */
  color: var(--text-gray);
  line-height: 1.6;
  font-weight: 300;
  font-size: 18px;
}
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}


a {
  text-decoration: none;
  color: var(--primary-text-dark); 
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--hover-color);
  /* text-decoration: underline; */
}

a:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  border-radius: 4px;
}


/* .container {
  width: 90vw;
  max-width: 1200px; 
  margin: 0 auto;
} */

/* .section {
  padding: 5rem 0; 
} */


/* Initial state (hidden before animation) */
h1, h2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
}

/* Optional: stagger effect */
h1 {
  animation-delay: 0.2s;
}
h2 {
  animation-delay: 0.5s;
}
h3 {
  animation-delay: 0.8s;
}

/* Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section {
  view-timeline-name: --section;
  view-timeline-axis: block;
}

section h1,
section h2 ,
section h3 {
  opacity: 0; 
  animation: fadeUp 1s ease-out forwards;
  animation-timeline: --section;
  animation-range: entry 0% cover 30%; 
}

section h2 {
  animation-delay: 0.2s;
}
section h3 {
  animation-delay: 0.4s;
}
section h4 {
  animation-delay: 0.6s;
}