:root{
  --teal:#0EA5A4;
  --coral:#FB7185;
  --yellow:#FACC15;
  --navy:#1E293B;
  --light:#F8FAFC;
  --radius:22px;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family:'Inter',sans-serif;
  color:var(--navy);
  line-height:1.7;
}

h1,h2,h3{
  font-family:'Poppins',sans-serif;
  font-weight:700;
}

.highlight {
  background: var(--yellow);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  display: inline-block;   
  
}

.stroketext {
  text-shadow: -1px -1px 3px #000, 1px -1px 3px #000, -1px 1px 3px #000, 1px 1px 3px #000, -2px -2px 3px #000, 2px -2px 3px #000, -2px 2px 3px #000, 2px 2px 3px #000;
}

a{text-decoration:none;color:inherit;}

.not-front section a,
.how-it-works a
{
  color: var(--teal);
}

.not-front section a:hover, 
.how-it-works a:hover 
{
  text-decoration: underline;
}

.container{
  max-width:1100px;
  margin:auto;
  padding:0 1.5rem;
}


.img-float-right {
  float:right; 
  margin-right: 40px; 
  margin-left: 10px; 
  border:1px solid #eee; 
  border-radius:5px;
}


/* ================= NAVIGATION ================= */

.nav{
  position:fixed;
  top:0;
  width:100%;
  background:white;
  padding:0.8rem 0;
  z-index:1000;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.menu{
  display:none;
  gap:2rem;
  font-weight:500;
}

.menu a:hover{
  color:var(--teal);
}

.hamburger{
  font-size:1.6rem;
  cursor:pointer;
}

.mobile-menu{
  display:none;
  flex-direction:column;
  padding:1rem 1.5rem;
  background:white;
}

.mobile-menu a{
  padding:0.8rem 0;
  border-bottom:1px solid #eee;
}

/* ================= HERO ================= */

.hero{
  margin-top:90px;
  position:relative;
  color:white;
  padding:6rem 1.5rem;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.1)),
    url('assets/splash.avif');
  
  background-size:cover;
  background-position:center;
}

.hero h1{
  font-size:2.6rem;
  margin-bottom:1.2rem;
}

.hero p{
  font-size:1.15rem;
  margin-bottom:1.8rem;
  max-width:650px;
}

.btn{
  display:inline-block;
  padding:1rem 1.8rem;
  border-radius:40px;
  font-weight:600;
  margin:0.4rem 0.6rem 0.4rem 0;
  transition:0.3s;
}

.btn-primary{
  background:white;
  color:var(--teal);
}

.not-front .btn-primary {
  background: var(--teal);
  color: white;
}

.btn-accent{
  background:var(--coral);
  color:white;
}

.btn:hover{
  transform:translateY(-3px);
}

/* ================= SECTIONS ================= */

section{
  padding:4rem 0;
}

.not-front section {
  margin-top: 50px;
}

.not-front section .container { 
  padding-bottom: 20px;
}


.bg-light{
  background:var(--light);
}

.grid{
  display:grid;
  gap:2rem;
  margin-top:3rem;
}

.card{
  background:white;
  padding:2rem;
  border-radius:var(--radius);
  box-shadow:0 12px 30px rgba(0,0,0,0.05);
  /*transition:0.3s;*/
}

.card:hover{
  /*transform:translateY(-6px);*/
}

.center{text-align:center;}

/* ================= CAROUSEL ================= */

.carousel{
  position:relative;
  max-width:700px;
  margin:3rem auto 0;
  min-height:120px;
}

.testimonial{
  position:absolute;
  width:100%;
  opacity:0;
  transition:opacity 0.6s ease;
  font-style:italic;
  font-size:1.1rem;
}

.testimonial.active{
  opacity:1;
  position:relative;
}

/* ================= FOOTER ================= */

footer{
  background:var(--navy);
  color:white;
  text-align:center;
  padding:3rem 1rem;
  margin-top:4rem;
}


.logo {
  position: relative;
  font-family: Poppins, sans-serif;  
}

.logo-text {
  position: absolute;
  font-size: 2em;
  padding-left: 10px;
  top: 5px;
}



/* ================= RESPONSIVE ================= */

@media(min-width:800px){

  .menu{
    display:flex;
  }

  .hamburger{
    display:none;
  }

  .grid-2{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width: 600px) {
  
  .img-float-right {
    float: none;
    clear: both;
    display: block;
    margin: auto;
  }  
  
  
.hero{
  margin-top:90px;
  position:relative;
  color:white;
  padding:6rem 1.5rem;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3)),
    url('assets/splash.avif');
  
  background-size:cover;
  background-position:center;
}
  
  
  
}


@media(max-width: 500px) {
  
  .img-float-right {
    float: none;
    clear: both;
    display: block;
    margin: auto;
  }  
  
  
.hero{
  margin-top:90px;
  position:relative;
  color:white;
  padding:10px 3px;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3)),
    url('assets/splash.avif');
  
  background-size:cover;
  background-position:center;
}
  
.hero h1{
  font-size:2.4rem;
  margin-bottom:1.2rem;
}
  
  
}



