 

:root {

  /* Colors */
  --accent: #54c758; /* green for highlights */
  --white: hsla(0, 0%, 100%, 1);
  --white-2: hsl(0, 14%, 98%);
  --black-coral: hsla(220, 12%, 43%, 1);
  --eerie-black: hsl(240, 6%, 10%);
  --light-gray: hsl(0, 0%, 80%);
  --red-crayola: hsl(341, 100%, 49%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);

  --title-color:#4caf50;
   --bg-color1: #f4fff5;

  /* Typography */
  --ff-league-spartan: 'League Spartan', sans-serif;
  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-6: 1.3rem;

  /* Font weight */
  --fw-700: 700;

  /* Spacing */
  --section-padding: 60px;

  /* Shadow */
  --shadow-1: 0 6px 24px var(--black_5);

  /* Border Radius */
  --radius-5: 5px;

}










 


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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


li {
    list-style: none;
}

a,
img,
span,
button,
ion-icon{display: block;}


a {
    color: inherit;
    text-decoration: none;

}

img {
    height: none;
}

input,
button,
textarea {
    background:none;
    border: none;
    font: inherit;
}


input,
textarea {width: 100%;}

button { cursor: pointer;}

ion-icon{pointer-events: none;}

html{
    /* font-family: var(--ff-manrope); */
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--black-coral);
    font-size: 1.6rem;
    line-height: 1.7;
    
}

body.nav-active { overflow: hidden;}


::-webkit-scrollbar{ width: 10px;}

::-webkit-scrollbar-track{background-color: hsl(0,0%, 98%);}

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 70%);}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/



 .container {
    padding-inline: 15px;
 }

 .section{
    padding-block: var(--section-padding);
 }

 .h1,.h2,.h3{
    color: var(--title-color);
    font-family: var(--ff-league-spartan);
    line-height: 1.2;
 }

 .h1{
    font-size: var(--fs-1);
 }
 .h2{
    font-size: var(--fs-2);
 }
 .h3{
    font-size: var(--fs-3);
 }


 .w-100{
    width: 100%;
 }



 .section-title,
 .section-text{text-align: center;}

 .section-text{font-size: var(--fs-6);}

 .grid-list{
    display: grid;
    gap:30px;
 }

 .img-holder{
    aspect-ratio: var(--width)/var(--height);
    background-color: var(--light-gray);
    width: calc(var(--width) * 1px);
    height: calc(var(--height) * 1px);


 }

 .img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
 



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/





.about {background-color: var(--bg-color1);}

 

.about :is(.section-title, .section-text){
    text-align: left;
}

.about .section-title{margin-block-end: 5px;}

.about .section-text:not(:last-child){margin-block-end: 18px;}

.about .h3 { margin-block: 15px 18px;}


.about-item{
    display: flex;
    align-items: flex-start;
    gap: 5px;
}


.about-icon{
    color: var(--red-crayola);
    flex-shrink: 0;
    margin-block-start: 2px;
}


.about-item:not(:last-child){margin-block-end: 12px;}

.about-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Optional: If you want a subtle overlay for readability */
.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-banner:hover::after {
  opacity: 0.1;
}



  

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/



/* 🌱 Base Styles */
.plant-care {
  padding: 40px 0; /* same vertical spacing as other sections */
  background-color: #f9f9f9;
  text-align: center;
}

.plant-care h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--title-color);
}

.plant-care p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.care-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* 1 column for mobile */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.care-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.care-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.care-card h3 {
  font-size: 20px;
  color: #2a7b40;
  margin-bottom: 10px;
}

.care-card ul {
  margin: 0 0 15px 20px;
  padding: 0;
  color: #444;
}

.care-card li {
  margin-bottom: 6px;
  font-size: 15px;
}

.care-card strong {
  color: #2a7b40;
}

.care-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
}

/* 📱 Small devices (≥576px) */
@media (min-width: 576px) {
  .care-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .care-card img {
    height: 220px;
  }

  .about-banner {
    max-width: 540px;
  }

  .about-banner img {
    height: 300px;
  }
}

/* 💻 Medium devices (≥768px) */
@media (min-width: 768px) 

{
  .about-banner {
    max-width: 720px;
  }

  .about-banner img {
    height: 400px;
  }
  .plant-care h2 {
    font-size: 30px;
  }

  .care-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .care-card {
    padding: 24px;
  }

  .care-card img {
    height: 240px;
  }
}

/* 🖥️ Large devices (≥992px) */
@media (min-width: 992px) {
  .about-banner {
    max-width: 960px;
  }

  .about-banner img {
    height: 500px;
  }

  .care-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .plant-care h2 {
    font-size: 32px;
  }

  .care-card {
    padding: 26px;
  }

  .care-card img {
    height: 250px;
  }
}

/* 🖥️ Extra large (≥1200px) */
@media (min-width: 1200px) {
  .care-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .care-card img {
    height: 260px;
  }
  
}





/*-------- Responsive for larger than 575px screen  */


@media ( min-width: 575px) {

/* REUSED */

.container{
  max-width: 540px;
  width: 100%;
  margin-inline: auto;

} 

}





/*-------- Responsive for larger than 768px screen  */


@media ( min-width: 768px) {

/* RESUED */

.container { max-width: 720px;}

.section-text { --fs-5: 2rem;}


/* ABOUT */


.about .grid-list { grid-template-columns: 1fr 1fr;}

}

/*-------- Responsive for larger than 992px screen  */


@media ( min-width: 992px) {

 


:root {

/* SPACING */

--section-padding: 120px;
 
}

 
/* REUSED */

.container{ max-width: 960px;}

 
}


/*-------- Responsive for larger than 1200px screen  */


@media ( min-width: 1200px) {



/* REUSED STYLE */


.container  { max-width: 1140px;}


/* ABOUT */


.about .grid-list { gap: 50px;}
 

}

/*-------- Responsive for larger than 1400px screen  */

@media ( min-width: 1400px) {


/* REUSED */


 
 



/* ABOUT */


.about .wrapper { gap: 100px;}

.about .grid-list { gap: 60px; }



}
