/**********     PAGE       *******/
* {
    margin: 0px;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Share Tech', sans-serif;
}
:root{
  /* fluid spacing */
  --space-1: clamp(8px, 1.6vw, 12px);
  --space-2: clamp(12px, 2.6vw, 18px);
  --space-3: clamp(16px, 3.2vw, 24px);

  /* fluid typography */
  --fs-0: clamp(14px, 3.6vw, 16px);
  --fs-1: clamp(18px, 4.6vw, 20px);
  --fs-2: clamp(22px, 6vw, 28px);

  /* controls */
  --btn-h: clamp(44px, 6.5vw, 52px);
  --radius: 12px;
}
html { scroll-padding-top: 80px; } /* match your desktop navbar height */
img  { max-width: 100%; height: auto; object-fit: cover; }


body{ font-size: var(--fs-0); line-height: 1.5; }
h1{ font-size: var(--fs-2); }
h2{ font-size: var(--fs-1); }

/* Make buttons/inputs nicely tappable by default */
.button,
.toggle-btn{ height: var(--btn-h); font-size: var(--fs-0); padding: 0 var(--space-2); border-radius: var(--radius); }
input, select, textarea{ font-size: var(--fs-0); padding: 0 var(--space-2); height: var(--btn-h); border-radius: var(--radius); }


body {
    background-color:aliceblue;
}

.navbar {
    background-color: transparent;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: fixed; /* changed from sticky to fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding-top: 2%;
    transition: top 0.3s ease;
  }
  .toggle-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #6A8A73;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
  }
  
  .toggle-btn.active {
    background-color: #ff6666;
  }
    
  
.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}
#navbar__logo{
    background-color: aliceblue;
    background-color:#C6D8AF;
    background-image: linear-gradient(to top,#C6D8AF 10%, #6A8A73 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;

}

.fa-game{
    margin-right: 0.5rem;
}

.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__items{
    height: 80px;
}

.navbar__links{
    color: #6A8A73;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;

}


.navbar__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
    margin-left: 2rem;
    margin-right: 3rem;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #6A8A73;
    color: aliceblue

}

.button:hover{
    background: #C6D8AF;
    transition: all 0.3s ease;
}

.navbar__links:hover{
    color:#C6D8AF;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px){
  /* NAV */
  .navbar__container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:64px;
    width:100%;
    padding:0 var(--space-2);
  }
  #mobile-menu{ display:flex; flex-direction:column; gap:4px; cursor:pointer; }
  .navbar__toggle .bar{ width:26px; height:3px; background:#6A8A73; transition:all .25s ease; }
  #mobile-menu.is-active .bar:nth-child(2){ opacity:0; }
  #mobile-menu.is-active .bar:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  #mobile-menu.is-active .bar:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

  /* Mobile menu sheet */
  .navbar__menu{
    position:absolute; top:64px; left:0; right:0;
    display:flex; flex-direction:column;
    background:aliceblue;
    padding:0; margin:0;
    opacity:0; pointer-events:none;
    transform:translateY(-6px);
    transition:opacity .2s ease, transform .2s ease;
    border-bottom:1px solid #e5eef6;
  }
  .navbar__menu.active{
    opacity:1; pointer-events:auto;
    transform:translateY(0);
    padding: var(--space-2) 0;
  }
  .navbar__menu li{ width:100%; text-align:center; margin: var(--space-1) 0; }
  .navbar__links{ display:block; width:100%; padding: var(--space-1) var(--space-2); }
  #navbar__logo{ padding-left:4px; font-size: clamp(20px, 5vw, 28px); }

  /* Buttons in the menu */
  .navbar__btn{ margin: var(--space-1) 0; text-align:center; }
  .button{ width:90%; margin:0 auto; height: var(--btn-h); }

  /* Keep anchors from hiding under fixed nav */
  html{ scroll-padding-top: 64px; }

  /* General page spacing under fixed nav (non-hero pages) */
  .content-offset{ padding-top: calc(64px + var(--space-2)); }

  /* ===== INDEX HERO: image as full-screen background ===== */
  .main__container{
    position: relative; overflow: hidden;
    flex-direction: column; justify-content: center; align-items:center;
    gap: 0;
    height: calc(10vh);            /* full screen minus navbar */
    padding: 10px 10px 10px;               /* keep content below nav */
    background: transparent !important;
  }
  .main__container::before{
    content:""; position:absolute; inset:0;
    padding: 100px;
    background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
    z-index:1;
  }
  .main__img--container{ position:absolute; inset:0; height:100%; z-index:0; }
  .main__img--container img{ width:100%; height:100%; object-fit:cover; }

  .main__content{
    position: relative; z-index:2;
    text-align:center; color:#fff;
    max-width: 40ch;                    /* prevent edge-to-edge text */
    margin: 0 auto;
    padding: 0 30px 270px 1px;
    background: transparent;
  }
  .main__content h1{
    margin-left:0;
    font-size: clamp(20px, 6vw, 30px);
    line-height:1.2;
    background-image:none; -webkit-text-fill-color: currentColor; color:#fff;
  }
  .main__btn{
    margin-left:0;
    width:100%; max-width:190px;
  }

  /* ===== TOMATO DASHBOARD: stack & center ===== */
  .status-wrap{ padding: 0 var(--space-2); }
  .predData{ width:100%; max-width:520px; margin:0 auto; padding: var(--space-3) var(--space-2); }
  .dashboard-grid{
    display:grid; grid-template-columns:1fr; gap: var(--space-2);
    padding: 0 var(--space-2);
  }
  .progress-container{ width: clamp(100px, 32vw, 140px); height: clamp(100px, 32vw, 140px); }
  .toggle-btn{ width:100%; }
}


  

/*HERO SECTION CSS*/

.main{
    background-color:#C6D8AF;
}

.main__container{
    display: flex;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self:center;
    margin: 0 auto;
    height: 90vh;
    background-color: aliceblue;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    
}

.main__content h1{
    font-size: 2rem;
    margin-left: 3rem;
    font-weight: bold;
    background-color:transparent;
    background-image: linear-gradient(to top,#C6D8AF 10%, #6A8A73 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;    
}
.main__btn{
    font-size: 1rem;
    margin-left: 3rem;
    background-color: #6A8A73;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color:aliceblue;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;

}

.main__btn a{
    position: relative;
    z-index: 2;
    color:aliceblue;
    text-decoration: none;
}
.main__btn:hover{
    background: #C6D8AF;
    transition: all 0.3s ease;
}
.main__img--container {
    z-index: 1;
    height: 115vh; /* Sets the container's height to 115% of the viewport height */
    overflow: hidden; /* Prevents image overflow if object-fit is applied */
}
.main__img--container img {
    width: 100%; /* Makes the image span the full width of the container */
    height: 100%; /* Makes the image span the full height of the container */
    object-fit: cover; /* Ensures the image maintains its aspect ratio while filling the container */
}

/* Services Section CSS */

.services{
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self:center;
    margin: 0 auto;
    height: 90vh;
    background-color: aliceblue;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    

}

.services h1{
    font-size: 4rem;
    margin-top: 4rem;
    font-weight: bold;
    background-color:#C6D8AF;
    background-image: linear-gradient(to top,#C6D8AF 20%, #6A8A73 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;   

}

.services h2{
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-left: 16rem;
    font-weight: bold;
    background-color:#C6D8AF;
    background-image: linear-gradient(to top,#6A8A73 0%, #C6D8AF 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;   

}
.services__img--container {
    display: flex;
    margin-top: 6rem;
    flex-direction: row;
    justify-content: center;
    gap: 40px; /* Adds space between the images */
    flex-wrap: wrap; /* Allows images to wrap if the screen is narrow */
    max-width: 100%;
}

.main__img {
    width: 100%;
    max-width: 300px;  /* Ensure images aren't too large */
    height: auto;      /* Maintain aspect ratio */
    border-radius: 8px;  /* Optional: add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Optional: add shadow for depth */
    transition: transform 0.3s ease;  /* Optional: add a hover effect */
}

.main__img:hover {
    transform: scale(1.05);  /* Optional: scale image on hover */
}
/* TEAM SECTION */
.team {
    margin-top: 4rem;
    background-image: url('images/ss1.jpg'); /* Make sure ss1.jpg is in the images folder */
    background-size: cover;                /* Ensure the image covers the entire section */
    background-position: center;           /* Center the image */
    height: 65vh;                         /* Make the section cover the entire viewport height */
    display: flex;                         /* Use flexbox to center content */
    justify-content: center;               /* Center the content horizontally */
                 
}
.title{
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self:center;
    margin: 0 auto;
    background-color: aliceblue;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}
.title h1{
    font-size: 4rem;
    font-weight: bold;
    padding: 300 300;
    margin-top: 3rem;
    margin-bottom: 2rem;
    background-color:#C6D8AF;
    background-image: linear-gradient(to top,#C6D8AF 20%, #6A8A73 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;   
}
.predData{
    background: white;
    width: 420px;
    border-radius: 8px;
    padding: 50px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;

}
.circular-progress{
    position: relative;
    height: 250px;
    width: 250px;
    background: #C6D8AF;
    border-radius: 50%;
    
}
.weatherNow{
    background: white;
    border-radius: 8px;
    padding: 50px 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 20px;
}
.weatherNow p{
    padding: 10px 10px;;
}
.progress-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto; /* Centers it and adds some spacing */
  }
  
  .progress-circle {
    transform: rotate(-90deg) scaleX(-1); /* This flips the direction */
}

  
  .progress-circle circle {
    fill: none;
    stroke-width: 12;
  }
  
  .progress-background {
    stroke: #e6e6e6;
  }
  
  .progress-bar {
    stroke: #00aaff;
    stroke-dasharray: 339.292; /* circumference = 2 * PI * 54 */
    stroke-dashoffset: 339.292; /* starts at 0% progress */
    transition: stroke-dashoffset 1s ease-out;
  }
  
  .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
  }
  /* --- Auth page (new, centered on full-screen background) --- */

/* keep auth content below the fixed navbar */
.under-nav { padding-top: 96px; }

/* full-bleed background image; set via inline style: style="--auth-bg:url('images/pic3.png')" */
.auth-hero {
  min-height: calc(100vh - 96px);
  position: relative;
  background: center / cover no-repeat;
  background-image: var(--auth-bg, none);
}

/* soft overlay so text stays readable on bright photos */
.auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(240, 248, 255, 0.55); /* aliceblue veil; tweak if needed */
}

/* perfect centering of the card */
.auth-center {
  position: relative;           /* above overlay */
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* the card */
.auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* headings, helpers */
.auth-title { margin: 0 0 .25rem; font-size: 1.9rem; line-height: 1.2; }
.auth-sub   { margin: 0 0 1rem;  opacity: .8; }

/* fields */
.auth-field {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
}
.auth-field + label,
label + .auth-field { margin-top: .6rem; display: block; }

/* errors + switch text */
.auth-error  { color: #c33; min-height: 1.25rem; margin-top: .5rem; }
.auth-switch { margin-top: .75rem; font-size: .95rem; }
.auth-switch a { color: #0a68ff; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* make the primary button centered and full width inside the card */
.auth-card .main__btn {
  width: 100%;
  margin-left: 0;               /* override any global left margin */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* --- Auth mobile tweaks (keeps it clean on small screens) --- */
@media (max-width: 960px) {
  .auth-center { padding: 16px; }
  .auth-card   { padding: 20px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
  .auth-title  { font-size: 1.6rem; }
  .auth-sub    { font-size: .95rem; }
}
/* keeps content below the fixed navbar */
.content-offset { padding-top: 110px; }

/* title spacing + responsive sizing */
.page-title {
  text-align: center;
  margin: 0 auto 24px;
  padding: 0 16px;
  font-size: clamp(1.75rem, 3vw + 1rem, 3.25rem);
  background-image: linear-gradient(to top,#C6D8AF 20%, #6A8A73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* reusable card look */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* center the Status card */
.status-wrap {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

/* ensure the predData card is a nice width */
.predData {
  width: 420px;          /* already your style; ensure px */
  padding: 28px 24px;    /* add inner padding */
}

/* grid for weather + sensors sections */
.dashboard-grid {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* keep the progress widget centered inside the card */
.progress-container { margin: 20px auto; }




/* .main-page {
    height: 100vh;
    display: flex;
} */

/**********     SIDE LINE      *******/
/* .side-line {
    background-color:#6A8A73;
    height: 50rem;
    width: 15%;
    z-index: 100;
    display:flex;
    


} */
/* 
.side-bar{
    background-color: #6A8A73;
    height: 100%;
    width: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;

}
.circle{
    height: 75px;
    width: 75px;
    background-color:#C6D8AF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
}

.right-pannel{
    background-color: #C6D8AF;
    height: 100%;
    width: 100%;


} */
/**********     SIDE BAR       *******/
/**********     RIGHT PANEL       *******/