
@media (max-width: 600px){
    .map_center_container {
        margin-top: 100px;
        padding: 0 15px;
        text-align: center;
    }

    .top_right_buttons {
        top: 10px;
        right: 10px;
    }

    .top_right_buttons button {
        padding: 8px 10px;
        font-size: 15px;
    }
    .map_center_container img {
        width: 50px;
    }

    .map_center_container h1 {
        font-size: 1.2rem;
        width: 100%;
        padding: 0 10px;
        color: black;
    }

    .map_background {
        height: 100vh;
        padding: 0;
    }

    /* SignUp Mobile View */
    .signup_background {
        background-image: url('images/mobile_bg.jpg');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        height: auto;
        width: 100vw;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

     .logo_corner {
        display: flex;              /* show again */
        flex-direction: column;     /* logo on top, text below */
        align-items: center;
        top: 15px;
        left: 3px;
    }

    .logo_corner img {
        width: 70px; /* smaller logo */
    }

    .eco_text {
        font-size: 18px; /* smaller text */
    }

    .sidebar {
        display: none !important;
    }

    .main_content {
        width: 100vw;
        min-height: unset;
        padding: 0 10px;
        align-items: center;
        justify-content: flex-start;
        margin-top: 80px; /* Space below logo */
        position: relative;
    }

    .panel_title {
        font-size: 1.3rem;
        text-align: center;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.5px;
        margin-top: 0;
    }

    .signup_center_container,.login_container {
        min-width: unset;
        max-width: 98vw;
        width: 100%;
        padding: 18px 8px;
        margin-bottom: 18px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .signup_center_container h1 {
        font-size: 1.1rem;
        margin-bottom: 14px;
        font-weight: 700;
        color: #222;
    }

    .signup_form label {
        font-size: 0.98rem;
        margin: 0.2em 0.3em;
        font-weight: 500;
    }

    .signup_form input {
        font-size: 1rem;
        padding: 10px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

 .callback_options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1em 0em;
}

.callback_options label {
    flex: 0 0 calc(50% - 10px); /* 2 per row */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    margin: 0;
}

.callback_options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;               /* remove browser default spacing */
    flex-shrink: 0;          /* prevent resizing */
    position: relative;
    top: 1px;                /* fine-tune vertical alignment */
}

    .signup_btn {
        font-size: 1rem;
        padding: 10px 0;
        margin: 0.5em 0em;
        border-radius: 6px;
    }

    .contact_info {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding: 0 10px;
        color: #fff;
        text-align: center;
        position: absolute;
        bottom: 100px;
        left: 0;
        width: 100%;
    }
    .contact_info p {
        font-size: 0.8rem;
    }

  .crm-header {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .crm-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .crm-header p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .crm-header h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  /* ✅ Plans stacked one below the other */
  .plan-container {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  .qr-container{
        flex-direction: column;
        align-items: center;
    }

  .plan-card {
    width: 90%;       /* take most of screen */
    min-width: unset;
    padding: 20px 16px;
  }

  .plan-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* ✅ Payment section below plans */
  .payment-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    padding: 0 15px;
  }

  .payment-instructions {
    font-size: 1rem;
    text-align: left;
    width: 100%;
    justify-self: center;
  }

  .qr-section {
    text-align: center;
    width: 100%;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }
  .page-wrapper {
        flex-direction: column;   /* stack sidebar and content */
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;              /* take full width */
        flex-direction: row;      /* icons in a row */
        justify-content: space-around;
        padding: 10px 0;
    }

    .main_content {
        flex: 1;
        padding-top: 60px;        /* reduce top padding */
        justify-content: flex-start; /* start from top */
    }

    .panel_title {
        font-size: 1.5em;
        top: 10px;
        margin-top: 0;
    }

    .login_container {
        max-width: 90%;           /* smaller width */
        margin: 0 auto;
    }

    .login_contact_info {
        position: static;         /* not fixed */
        margin-top: 20px;
        font-size: 12px;
        color: #ccc;              /* lighter for mobile */
    }
    .login_contact_info p {
        font-size: 0.8rem;
    }
    
    .confirm-payment {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 10px;
        display: flex;
        justify-content: center;
        background: rgba(255,255,255,0.95); /* optional: subtle bg */
    }

    .confirm-payment button {
        width: 90%;
        padding: 14px 0;
        font-size: 18px;
    }
    
    
      .success-container h1 {
        font-size: 1.5em;
    }
    .success-container p {
        font-size: 1em;
        padding: 0em 2em;
    }
    .success-container .success-img{
        width: 300px;  
        height: 300px;
    }
    
    .error-msg {
    font-size: 10px;
    white-space: nowrap;
}

.footer_nav{
    display: grid;
    justify-content: flex-end;
    gap: 1em;
}

.refund_text{
    text-align: right;
}
 .policies a p{
    font-size: 0.8em;
    whitespace: no-wrap;
}
    
    
}

@media (max-width: 991px) {
    .signup_background {
        background-image: url('images/mobile_bg.jpg');
        background-size: cover;
        background-position: top center; /* ensure it stays centered */
        min-height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        padding: 0;
        overflow: hidden; /* prevent scrollbars for bg */
    }

      .logo_corner {
        display: flex;              /* show again */
        flex-direction: column;     /* logo on top, text below */
        align-items: center;
        top: 15px;
        left: 3px;
    }

    .logo_corner img {
        width: 70px; /* smaller logo */
    }

    .eco_text {
        font-size: 18px; /* smaller text */
    }

    .main_content {
        width: 100%;
        padding: 0 12px;
        margin-top: 20px; /* pushes below logo */
    }

    .contact_info {
        font-size: 0.8rem;
        color: #fff;
        text-align: center;
        padding: 0 10px;
        margin-top: 20px;
    }
    .contact_info p{
        font-size: 0.8rem;
    }
    .page-wrapper {
        flex-direction: column;   /* stack sidebar and content */
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;              /* take full width */
        flex-direction: row;      /* icons in a row */
        justify-content: space-around;
        padding: 10px 0;
    }

    .main_content {
        flex: 1;
        padding-top: 60px;        /* reduce top padding */
        justify-content: flex-start; /* start from top */
    }

    .panel_title {
        font-size: 1.5em;
        top: 10px;
        margin-top: 0;
    }

    .login_container {
        max-width: 90%;           /* smaller width */
        margin: 0 auto;
    }

    .login_contact_info {
        position: static;         /* not fixed */
        margin-top: 20px;
        font-size: 12px;
        color: #ccc;              /* lighter for mobile */
    }
}

@media (max-width: 375px){
    .features{
        gap: 1em;
    }
    .signup_body{
        height: 150vh;
    }
    .signup_background{
        min-height: 150vh;
    }
       .logo_corner {
        display: flex;              /* show again */
        flex-direction: column;     /* logo on top, text below */
        align-items: center;
        top: 15px;
        left:3px;
    }

    .logo_corner img {
        width: 70px; /* smaller logo */
    }

    .eco_text {
        font-size: 18px; /* smaller text */
    }
      .contact_info {
        text-align: center;
        position: absolute;
        bottom: 15px;
        left: 0;
        width: 100%;
    }
    .crm-header {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .crm-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .crm-header p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .crm-header h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  /* ✅ Plans stacked one below the other */
  .plan-container {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
    .qr-container{
        flex-direction: column;
        align-items: center;
    }

  .plan-card {
    width: 90%;       /* take most of screen */
    min-width: unset;
    padding: 20px 16px;
  }

  .plan-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* ✅ Payment section below plans */
  .payment-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    padding: 0 15px;
  }

  .payment-instructions {
    font-size: 1rem;
    text-align: left;
    width: 100%;
    justify-self: center;
  }

  .qr-section {
    text-align: center;
    width: 100%;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }
  
  .page-wrapper {
        flex-direction: column;   /* stack sidebar and content */
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;              /* take full width */
        flex-direction: row;      /* icons in a row */
        justify-content: space-around;
        padding: 10px 0;
    }

    .main_content {
        flex: 1;
        padding-top: 60px;        /* reduce top padding */
        justify-content: flex-start; /* start from top */
    }

    .panel_title {
        font-size: 1.5em;
        top: 10px;
        margin-top: 0;
    }

    .login_container {
        margin-top: -10em;
        max-width: 90%;           /* smaller width */
        margin: 0 auto;
    }

    .login_contact_info {
        position: static;         /* not fixed */
        margin-top: 20px;
        font-size: 12px;
        color: #ccc;              /* lighter for mobile */
        margin-bottom: -30em;
    }
    .policies a p{
    font-size: 0.8em;
    whitespace: no-wrap;
}
}

@media (width: 344px){
    .signup_body{
        height: 100vh;
    }
    .signup_background{
        min-height: 100vh;
    }
      .logo_corner {
        display: flex;              /* show again */
        flex-direction: column;     /* logo on top, text below */
        align-items: center;
        top: 15px;
        left: 3px;
    }

    .logo_corner img {
        width: 70px; /* smaller logo */
    }

    .eco_text {
        font-size: 18px; /* smaller text */
    }
    .contact_info {
        text-align: center;
        position: absolute;
        bottom: 50px;
        left: 0;
        width: 100%;
    }
    .crm-header {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .crm-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .crm-header p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .crm-header h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  /* ✅ Plans stacked one below the other */
  .plan-container {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

    .qr-container{
        flex-direction: column;
        align-items: center;
    }

  .plan-card {
    width: 90%;       /* take most of screen */
    min-width: unset;
    padding: 20px 16px;
  }

  .plan-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* ✅ Payment section below plans */
  .payment-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    padding: 0 15px;
  }

  .payment-instructions {
    font-size: 1rem;
    text-align: left;
    width: 100%;
    justify-self: center;
  }

  .qr-section {
    text-align: center;
    width: 100%;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }
  
  .page-wrapper {
        flex-direction: column;   /* stack sidebar and content */
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;              /* take full width */
        flex-direction: row;      /* icons in a row */
        justify-content: space-around;
        padding: 10px 0;
    }

    .main_content {
        flex: 1;
        padding-top: 60px;        /* reduce top padding */
        justify-content: flex-start; /* start from top */
    }

    .panel_title {
        font-size: 1.5em;
        top: 10px;
        margin-top: 0;
    }

    .login_container {
        max-width: 90%;           /* smaller width */
        margin: 0 auto;
    }

    .login_contact_info {
        position: static;         /* not fixed */
        margin-top: 20px;
        font-size: 12px;
        color: #ccc;              /* lighter for mobile */
    }
    .footer_nav{
        white-space: nowrap;
        font-size: 0.9em;
    }
     .policies a p{
   font-size: 0.8em;
    whitespace: no-wrap;
}
    
}

@media (min-width: 376px) and (max-width: 600px) {
     .logo_corner {
        display: flex;              /* show again */
        flex-direction: column;     /* logo on top, text below */
        align-items: center;
        top: 15px;
        left: 3px;
    }

    .logo_corner img {
        width: 70px; /* smaller logo */
    }

    .eco_text {
        font-size: 18px; /* smaller text */
    }
  .signup_background {
    height: 110vh;
    padding: 30px 15px;
  }
  .main_content {
    margin-top: 0px;
  }
  .panel_title {
    font-size: 2em;
    margin-top: 0;
  }
  .signup_center_container,.login_container {
    max-width: 95vw;
  }
  .contact_info {
    font-size: 0.9rem;
    bottom: -30px;
  }

  /* ✅ Callback options fix for iPhone */
.callback_options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1em 0em;
}

.callback_options label {
    flex: 0 0 calc(50% - 10px); /* 2 per row */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    margin: 0;
}

.callback_options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;               /* remove browser default spacing */
    flex-shrink: 0;          /* prevent resizing */
    position: relative;
    top: 1px;                /* fine-tune vertical alignment */
}
  .crm-header {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .crm-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .crm-header p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .crm-header h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  /* ✅ Plans stacked one below the other */
  .plan-container {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

    .qr-container{
        flex-direction: column;
        align-items: center;
    }

  .plan-card {
    width: 90%;       /* take most of screen */
    min-width: unset;
    padding: 20px 16px;
  }

  .plan-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* ✅ Payment section below plans */
  .payment-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    padding: 0 15px;
  }

  .payment-instructions {
    font-size: 1rem;
    text-align: left;
    width: 100%;
    justify-self: center;
  }

  .qr-section {
    text-align: center;
    width: 100%;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }
  
  .page-wrapper {
        flex-direction: column;   /* stack sidebar and content */
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;              /* take full width */
        flex-direction: row;      /* icons in a row */
        justify-content: space-around;
        padding: 10px 0;
    }

    .main_content {
        flex: 1;
        padding-top: 60px;        /* reduce top padding */
        justify-content: flex-start; /* start from top */
    }

    .panel_title {
        font-size: 1.5em;
        top: 10px;
        margin-top: 0;
    }

    .login_container {
        max-width: 90%;           /* smaller width */
        margin: 0 auto;
    }

    .login_contact_info {
        position: static;         /* not fixed */
        margin-top: 20px;
        font-size: 12px;
        color: #ccc;              /* lighter for mobile */
    }
     .policies a p{
    font-size: 0.8em;
    whitespace: no-wrap;
}
    
}


/* Mobile & small phones (iPhone 15/16/17 and similar) */
@media (max-width: 480px) {

  .logo_corner {
      display: flex;              /* show again */
      flex-direction: column;     /* logo on top, text below */
      align-items: center;
      top: 15px;
      left: 3px;
  }

  .logo_corner img {
      width: clamp(60px, 15vw, 80px); /* scalable logo */
  }

  .eco_text {
      font-size: clamp(16px, 4vw, 18px); /* scalable text */
  }

  .signup_background {
      height: 110vh;
      padding: 30px 15px;
  }

  .main_content {
      margin-top: 0px;
  }

  .panel_title {
      font-size: clamp(1.5em, 5vw, 2em);
      margin-top: 0;
  }

  .signup_center_container,
  .login_container {
      max-width: 95vw;
  }

  .contact_info {
      font-size: 0.9rem;
      bottom: -30px;
  }

  /* Callback options fix for small phones */
  .callback_options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding: 1em 0em;
  }

  .callback_options label {
      flex: 0 0 calc(50% - 10px); /* 2 per row */
      box-sizing: border-box;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.95rem;
      margin: 0;
  }

  .callback_options input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin: 0;       
      flex-shrink: 0;  
      position: relative;
      top: 1px;       
  }

  .crm-header {
      margin-top: 20px;
      padding: 0 15px;
      text-align: center;
  }

  .crm-header h1 {
      font-size: clamp(1.3rem, 6vw, 1.6rem);
      margin-bottom: 6px;
  }

  .crm-header p {
      font-size: clamp(0.9rem, 3vw, 1rem);
      margin-bottom: 20px;
  }

  .crm-header h2 {
      font-size: clamp(1.1rem, 4vw, 1.3rem);
      margin-bottom: 18px;
  }

  /* Plans stacked vertically */
  .plan-container {
      flex-direction: column !important;
      align-items: center;
      gap: 20px;
      width: 100%;
  }

  .qr-container {
      flex-direction: column;
      align-items: center;
  }

  .plan-card {
      width: 90%;      
      min-width: unset;
      padding: 20px 16px;
  }

  .plan-btn {
      width: 100%;
      padding: 12px;
      font-size: 0.95rem;
  }

  /* Payment section below plans */
  .payment-section {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      width: 100%;
      padding: 0 15px;
  }

  .payment-instructions {
      font-size: 1rem;
      text-align: left;
      width: 100%;
      justify-self: center;
  }

  .qr-section {
      text-align: center;
      width: 100%;
  }

  .qr-code {
      width: 200px;
      height: 200px;
  }

  .page-wrapper {
      flex-direction: column;   
      min-height: 100vh;
  }

  .sidebar {
      width: 100%;              
      flex-direction: row;      
      justify-content: space-around;
      padding: 10px 0;
  }

  .main_content {
      flex: 1;
      padding-top: 60px;        
      justify-content: flex-start; 
  }

  .login_container {
      max-width: 90%;           
      margin: 0 auto;
  }

  .login_contact_info {
      position: static;         
      margin-top: 20px;
      font-size: 12px;
      color: #ccc;              
  }
   .policies a p{
    font-size: 0.8em;
    whitespace: no-wrap;
}

}

@media (width: 540px){
    .signup_body{
        height: 130vh;
    }
    .signup_background{
        min-height: 130vh;
    }
    .logo_corner{
        left: 10px;
    }
      .contact_info {
        text-align: center;
        position: absolute;
        bottom: 0px;
        left: 0;
        width: 100%;
    }
    .policies a p{
    font-size: 0.8em;
    whitespace: no-wrap;
}
}

@media (width: 768px){
    .sidebar{
        display:none !important;
    }
    .logo_corner{
        top: 40px;
        left: 20px;
    }
    .logo_corner img {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
    .plan-container {
        flex-direction: row;
        align-items: center;
        gap: 3em;
    }
    .payment-section {
        flex-direction: column;
        align-items: center;
    }
    .qr-code {
        width: 160px;
        height: 160px;
    }
}


@media (width: 820px){
    .sidebar{
        display:none !important;
    }
    .logo_corner{
        top: 40px;
        left: 20px;
    }
    .logo_corner img {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
    .plan-container {
        flex-direction: row;
        align-items: center;
        gap: 10em;
    }
    .qr-code {
        width: 160px;
        height: 160px;
    }
}

@media (width: 853px){
    .sidebar{
        display:none !important;
    }
    .logo_corner{
        top: 40px;
        left: 20px;
    }
    .logo_corner img {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
}

@media (width: 912px){
    .sidebar{
        display:none !important;
    }
    .logo_corner{
        top: 40px;
        left: 20px;
    }
    .logo_corner img {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
}





/* Small laptops (old, budget, 1024–1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .signup_body, .main_content {
        min-height: 180vh;
    }
    .sidebar {
        margin-left: 5em;
        margin-right: 5em;
    }
    .logo_corner {
        top: 60px;
        left: 30px;
    }
    .logo_corner img {
        width: 9em;
    }
    .eco_text {
        font-size: 0.9em;
    }
}

/* Medium laptops (1366–1439px, very common) */
@media (min-width: 1366px) and (max-width: 1439px) {
    .signup_body, .main_content {
        min-height: 170vh;
    }
    .sidebar {
        margin-left: 6em;
        margin-right: 6em;
    }
    .logo_corner img {
        width: 6em;
    }
}

/* Large laptops (1440–1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .signup_body, .main_content {
        min-height: 150vh;
    }
    .sidebar {
        margin-left: 10em;
        margin-right: 10em;
    }
    .logo_corner {
        top: 60px;
    }
    .logo_corner img {
        width: 12em;
    }
}

/* Full HD & above (1920px and up) */
@media (min-width: 1920px) {
    .signup_body, .main_content {
        min-height: 120vh;
    }
    .sidebar {
        margin-left: 15em;
        margin-right: 15em;
    }
    .logo_corner img {
        width: 14em;
    }
}

@media (width: 1024px){
    .feature-item{
        width: 150px;
    }
}



