@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap);

:root {
    /* Body text - Stays between 14px and 18px */
    --p: clamp(0.875rem, 0.5vw + 0.75rem, 1.125rem);
  
    /* H6 - Smallest Heading */
    --h6: clamp(1rem, 0.6vw + 0.9rem, 1.2rem);
  
    /* H5 - Subtitles/Card Titles */
    --h5: clamp(1.125rem, 0.8vw + 1rem, 1.5rem);
  
    /* H4 */
    --h4: clamp(1.35rem, 1.2vw + 1.1rem, 1.9rem);
  
    /* H3 */
    --h3: clamp(1.6rem, 1.8vw + 1.2rem, 2.4rem);
  
    /* H2 - Section Titles */
    --h2: clamp(2rem, 2.5vw + 1.5rem, 3.2rem);
  
    /* H1 - Main Hero Title */
    --h1: clamp(2.5rem, 4vw + 2rem, 4.5rem);

    /* Slate Palette */
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --clr-1:#8a2be2;
    --clr-2:#ff69b4;
    --clr-3:#FFC107;

    --clr-white:#ffffff;
    --clr-black:#060606;

    --gradient:linear-gradient(to right ,var(--clr-1) 0%,var(--clr-2) 100%);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
}



*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    scroll-padding-top: 250px;
}

body {
    background: var(--slate-50);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}


h1,
h2,
h3,
h4,
h5,
h6{
    color: var(--slate-900);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    font-weight: 800;
    text-wrap: balance;
    margin-block-end: 0.5em;
}

h1 {
  font-size: var(--h1);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 { 
    font-size: var(--h2);
    line-height: 1.2;
    font-weight: 700; 
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h3 { 
    font-size: var(--h3);
    line-height: 1.2;   
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;  
}

h4 { 
    font-size: var(--h4); 
    line-height: 1.3;
    font-weight: 600; 
    margin-bottom: 0.8rem;
}

h5 { 
    font-size: var(--h5); 
    line-height: 1.4; 
    font-weight: 600; 

}

h6 { 
    font-size: var(--h6); 
    line-height: 1.4;
    font-weight: 600;  
}


a {
    color: var(--clr-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--clr-black);
}

p  { 
    line-height: 1.6; 
    color: var(--slate-800);
    font-weight: 500; 
    max-width: 65ch;
    margin-block-end: 1.25rem;
    font-size: var(--p);
}


/* Scrollbar Start*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-1);
}

/* scrollbar End */


/* ========== COMPONENTS ============= */

hr{
    margin: 1rem 0;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:var(--gradient);
  color: var(--slate-50);
  cursor: pointer;
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--clr-3);
  width: fit-content; 
  padding: 0.5rem 2rem;
  font-size: 0.6rem;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,63,241,0.5), 0 6px 0 var(--clr-3);
}


.container{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem; 
}

section{
  margin-top: 5rem;
}

section h2{
  font-size: var(--h4);
  text-align: center;
  color: var(--clr-slate-600);
}
section h3{
  font-size: var(--h5);
  text-align: center;
  color: var(--clr-slate-300);
}
section h4{
  font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1.125rem);
  font-weight: 600;
  text-align: center;
  color: var(--clr-slate-400);
  margin: 1.5rem 0;
}

.gradient{
  background-image: linear-gradient(to right ,#8a2be2,#ff69b4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.limit-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* xs */
@media (min-width:475px) {
  .container{
    max-width: 475px;
  }
}

/* sm */
@media (min-width:640px) {
  .container{
    max-width: 640px;
  }
  section h2{
  font-size: var(--h3);
  }
  section h3{
  font-size: var(--h4);
  }
  section h4{
  font-size: var(--h6);
  }
}

/* md */
@media (min-width:768px) {
  .container{
    max-width: 768px;
  }

  .btn{
    font-size: 0.7rem;
    padding: 0.7rem 2rem;
  }
}

/* lg */
@media (min-width:1024px) {
  .container{
    width: 95%;
    max-width: 1024px;
  }
  section{
    margin-top: 6rem;
  }
  section h2{
  font-size: var(--h2);
  }

  .btn{
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

/* xl */
@media (min-width:1280px) {
  .container{
    max-width: 1280px;
  }
}

/* 2xl */
@media (min-width:1536px) {
  .container{
    max-width: 1536px;
  }
}



/* xs */
/* @media (min-width:475px) {} */

/* sm */
/* @media (min-width:640px) {} */

/* md */
/* @media (min-width:768px) {} */

/* lg */
/* @media (min-width:1024px) {} */

/* xl */
/* @media (min-width:1280px) {} */

/* 2xl */
/* @media (min-width:1536px) {} */


